mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-24 17:15:07 +03:00
libcamera: v4l2_videodevice: Rename exportBuffers() to allocateBuffers()
To prepare for the rework of buffer allocation that will differentiate export and allocation, rename exportBuffers() to allocateBuffers(). Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
This commit is contained in:
parent
556e03fea7
commit
46011623bc
12 changed files with 28 additions and 26 deletions
|
@ -112,15 +112,15 @@ protected:
|
|||
return TestFail;
|
||||
}
|
||||
|
||||
ret = capture->exportBuffers(bufferCount, &captureBuffers_);
|
||||
ret = capture->allocateBuffers(bufferCount, &captureBuffers_);
|
||||
if (ret < 0) {
|
||||
cerr << "Failed to export Capture Buffers" << endl;
|
||||
cerr << "Failed to allocate Capture Buffers" << endl;
|
||||
return TestFail;
|
||||
}
|
||||
|
||||
ret = output->exportBuffers(bufferCount, &outputBuffers_);
|
||||
ret = output->allocateBuffers(bufferCount, &outputBuffers_);
|
||||
if (ret < 0) {
|
||||
cerr << "Failed to export Output Buffers" << endl;
|
||||
cerr << "Failed to allocate Output Buffers" << endl;
|
||||
return TestFail;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue