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
|
@ -38,9 +38,11 @@ protected:
|
|||
Timer timeout;
|
||||
int ret;
|
||||
|
||||
ret = capture_->exportBuffers(bufferCount, &buffers_);
|
||||
if (ret < 0)
|
||||
ret = capture_->allocateBuffers(bufferCount, &buffers_);
|
||||
if (ret < 0) {
|
||||
std::cout << "Failed to allocate buffers" << std::endl;
|
||||
return TestFail;
|
||||
}
|
||||
|
||||
capture_->bufferReady.connect(this, &CaptureAsyncTest::receiveBuffer);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue