mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-13 07:19:45 +03:00
libcamera: base: Rename FileDescriptor to SharedFD
Now that we have a UniqueFD class, the name FileDescriptor is ambiguous. Rename it to SharedFD. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Hirokazu Honda <hiroh@chromium.org> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
This commit is contained in:
parent
3dc3e2e61e
commit
5c85e70240
28 changed files with 424 additions and 427 deletions
|
@ -743,7 +743,7 @@ CameraDevice::createFrameBuffer(const buffer_handle_t camera3buffer,
|
|||
|
||||
std::vector<FrameBuffer::Plane> planes(buf.numPlanes());
|
||||
for (size_t i = 0; i < buf.numPlanes(); ++i) {
|
||||
FileDescriptor fd{ camera3buffer->data[i] };
|
||||
SharedFD fd{ camera3buffer->data[i] };
|
||||
if (!fd.isValid()) {
|
||||
LOG(HAL, Fatal) << "No valid fd";
|
||||
return nullptr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue