Media interface implementation
This commit is contained in:
26
utility.h
Normal file
26
utility.h
Normal file
@@ -0,0 +1,26 @@
|
||||
#ifndef UTILITY_H
|
||||
#define UTILITY_H
|
||||
struct _GstPineSrcBin;
|
||||
typedef struct _GstPineSrcBin GstPineSrcBin;
|
||||
struct device_data
|
||||
{
|
||||
char path[261];
|
||||
int fd;
|
||||
struct media_v2_topology topology;
|
||||
struct media_device_info info;
|
||||
|
||||
struct media_v2_entity *entities;
|
||||
size_t num_entities;
|
||||
struct media_v2_interface *interfaces;
|
||||
size_t num_interfaces;
|
||||
struct media_v2_pad *pads;
|
||||
size_t num_pads;
|
||||
struct media_v2_link *links;
|
||||
size_t num_links;
|
||||
};
|
||||
void gst_pinesrcbin_configure_device(GstPineSrcBin * self, const char *conf_name);
|
||||
void gst_pinesrcbin_get_gst_caps_data(const char * conf_name,
|
||||
int *width, int * height, const char **format,
|
||||
struct v4l2_fract *interval);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user