FreeRDP
Loading...
Searching...
No Matches
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
28
typedef
struct
29
{
30
void
* start;
31
size_t
length;
32
33
}
CamV4lBuffer
;
34
35
typedef
struct
36
{
37
CRITICAL_SECTION
lock;
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
52
}
CamV4lStream
;
53
54
#endif
/* CAMERA_V4L_H */
CamV4lBuffer
Definition
camera_v4l.h:29
CamV4lStream
Definition
camera_v4l.h:36
CameraDevice
Definition
camera.h:135
RTL_CRITICAL_SECTION
Definition
include/winpr/synch.h:158
channels
rdpecam
client
v4l
camera_v4l.h
Generated by
1.9.8