Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QV4L2CameraBuffers Struct Reference

#include <qv4l2camera_p.h>

+ Collaboration diagram for QV4L2CameraBuffers:

Classes

struct  MappedBuffer
 

Public Member Functions

 ~QV4L2CameraBuffers ()
 
void release (int index)
 
void unmapBuffers ()
 

Public Attributes

QAtomicInt ref
 
QMutex mutex
 
QList< MappedBuffermappedBuffers
 
int v4l2FileDescriptor = -1
 

Detailed Description

Definition at line 47 of file qv4l2camera_p.h.

Constructor & Destructor Documentation

◆ ~QV4L2CameraBuffers()

QV4L2CameraBuffers::~QV4L2CameraBuffers ( )

Definition at line 246 of file qv4l2camera.cpp.

References mutex, Q_ASSERT, unmapBuffers(), and v4l2FileDescriptor.

+ Here is the call graph for this function:

Member Function Documentation

◆ release()

void QV4L2CameraBuffers::release ( int  index)

Definition at line 255 of file qv4l2camera.cpp.

References mappedBuffers, mutex, qWarning, and v4l2FileDescriptor.

Referenced by QV4L2VideoBuffer::~QV4L2VideoBuffer().

+ Here is the caller graph for this function:

◆ unmapBuffers()

void QV4L2CameraBuffers::unmapBuffers ( )

Definition at line 271 of file qv4l2camera.cpp.

References mappedBuffers.

Referenced by ~QV4L2CameraBuffers().

+ Here is the caller graph for this function:

Member Data Documentation

◆ mappedBuffers

QList<MappedBuffer> QV4L2CameraBuffers::mappedBuffers

Definition at line 61 of file qv4l2camera_p.h.

Referenced by release(), and unmapBuffers().

◆ mutex

QMutex QV4L2CameraBuffers::mutex

Definition at line 56 of file qv4l2camera_p.h.

Referenced by ~QV4L2CameraBuffers(), and release().

◆ ref

QAtomicInt QV4L2CameraBuffers::ref

Definition at line 55 of file qv4l2camera_p.h.

◆ v4l2FileDescriptor

int QV4L2CameraBuffers::v4l2FileDescriptor = -1

Definition at line 62 of file qv4l2camera_p.h.

Referenced by ~QV4L2CameraBuffers(), QV4L2VideoBuffer::map(), and release().


The documentation for this struct was generated from the following files: