FreeRDP
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Modules Pages
camera_v4l.h
1
20#ifndef CAMERA_V4L_H
21#define CAMERA_V4L_H
22
23#include <winpr/synch.h>
24#include <winpr/wtypes.h>
25
26#include "../camera.h"
27
28typedef struct
29{
30 void* start;
31 size_t length;
32
34
35typedef struct
36{
38
39 /* members used to call the callback */
40 CameraDevice* dev;
41 int streamIndex;
42 ICamHalSampleCapturedCallback sampleCallback;
43
44 BOOL streaming;
45 int fd;
46 uint8_t h264UnitId; /* UVC H264 UnitId, if 0 then UVC H264 is not supported */
47
48 size_t nBuffers;
49 CamV4lBuffer* buffers;
50 HANDLE captureThread;
51
53
54#endif /* CAMERA_V4L_H */