Files
pinesrcbin/utility.h
2021-03-27 21:52:03 +03:00

27 lines
685 B
C

#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