libcamera: Rename V4L2Device to V4L2VideoDevice
In preparation of creating a new V4L2Device base class, rename V4L2Device to V4L2VideoDevice. This is a project wide rename without any intended functional change. Signed-off-by: Jacopo Mondi <jacopo@jmondi.org> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
parent
20807a8c17
commit
3a6c4bd146
19 changed files with 130 additions and 129 deletions
|
@ -20,7 +20,7 @@
|
|||
#include "media_device.h"
|
||||
#include "pipeline_handler.h"
|
||||
#include "utils.h"
|
||||
#include "v4l2_device.h"
|
||||
#include "v4l2_videodevice.h"
|
||||
|
||||
namespace libcamera {
|
||||
|
||||
|
@ -41,7 +41,7 @@ public:
|
|||
|
||||
void bufferReady(Buffer *buffer);
|
||||
|
||||
V4L2Device *video_;
|
||||
V4L2VideoDevice *video_;
|
||||
Stream stream_;
|
||||
};
|
||||
|
||||
|
@ -262,7 +262,7 @@ bool PipelineHandlerVimc::match(DeviceEnumerator *enumerator)
|
|||
std::unique_ptr<VimcCameraData> data = utils::make_unique<VimcCameraData>(this);
|
||||
|
||||
/* Locate and open the capture video node. */
|
||||
data->video_ = new V4L2Device(media->getEntityByName("Raw Capture 1"));
|
||||
data->video_ = new V4L2VideoDevice(media->getEntityByName("Raw Capture 1"));
|
||||
if (data->video_->open())
|
||||
return false;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue