v4l2: Rename FrameMetadata to V4L2FrameMetadata

With the upcoming FrameBuffer API a new library wide FrameMetadata
object will be added which will replace the specific implementation in
the V4L2 compatibility layer.

Avoid name collisions while the new FrameBuffer API is added by renaming
the V4L2 compatibility layer specific implementation until it can be
replaced with the library wide implementation.

Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
Niklas Söderlund 2020-01-09 14:26:59 +01:00
parent 5f316d0035
commit 35ac23dca1
3 changed files with 12 additions and 12 deletions

View file

@ -174,8 +174,8 @@ void V4L2CameraProxy::querycap(std::shared_ptr<Camera> camera)
void V4L2CameraProxy::updateBuffers()
{
std::vector<FrameMetadata> completedBuffers = vcam_->completedBuffers();
for (FrameMetadata &fmd : completedBuffers) {
std::vector<V4L2FrameMetadata> completedBuffers = vcam_->completedBuffers();
for (V4L2FrameMetadata &fmd : completedBuffers) {
struct v4l2_buffer &buf = buffers_[fmd.index()];
switch (fmd.status()) {