capture
capture_native.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2020 Axis Communications AB
3  */
4 
20 #ifndef _CAPTURE_NATIVE_H_
21 #define _CAPTURE_NATIVE_H_
22 
23 #ifdef __cplusplus
24 extern "C" {
25 #endif
26 
27 #include <stdlib.h>
28 
29 typedef struct _media_native media_native;
30 
42 media_native *
43 capture_open_native (int width, int height);
44 
62 media_native *
63 capture_open_native_channel (unsigned int channel, int width, int height);
64 
74 void
75 capture_start_native (media_native *nat);
76 
90 void *
91 capture_get_image_native (media_native *nat);
92 
103 void
104 capture_close_native (media_native *nat);
105 
106 #ifdef __cplusplus
107 }
108 #endif
109 
110 #endif
media_native * capture_open_native_channel(unsigned int channel, int width, int height)
Open a connection to retrieve architecture dependent YUV images from a specific video channel...
void * capture_get_image_native(media_native *nat)
Read an architecture dependent YUV image.
media_native * capture_open_native(int width, int height)
Open a connection to retrieve architecture dependent YUV images.
void capture_close_native(media_native *nat)
Close connection to native image reading.
void capture_start_native(media_native *nat)
Add an initial capture request for a native image.