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:
Laurent Pinchart 2021-11-28 05:45:34 +02:00
parent 3dc3e2e61e
commit 5c85e70240
28 changed files with 424 additions and 427 deletions

View file

@ -15,8 +15,8 @@
#include <linux/bcm2835-isp.h>
#include <libcamera/base/file_descriptor.h>
#include <libcamera/base/log.h>
#include <libcamera/base/shared_fd.h>
#include <libcamera/base/span.h>
#include <libcamera/control_ids.h>
@ -164,7 +164,7 @@ private:
bool processPending_;
/* LS table allocation passed in from the pipeline handler. */
FileDescriptor lsTableHandle_;
SharedFD lsTableHandle_;
void *lsTable_;
/* Distinguish the first camera start from others. */