26 #define E AV_OPT_FLAG_ENCODING_PARAM
27 #define D AV_OPT_FLAG_DECODING_PARAM
28 #define A AV_OPT_FLAG_AUDIO_PARAM
29 #define V AV_OPT_FLAG_VIDEO_PARAM
30 #define OFFSET(x) offsetof(AVDeviceCapabilitiesQuery, x)
38 {.i64 = -1}, -1, INT_MAX,
E|
D|
A },
40 {.i64 = -1}, -1, INT_MAX,
E|
D|
A },
42 {.i64 = -1}, -1, INT_MAX,
E|
D|
A },
46 {.str = NULL}, -1, INT_MAX,
E|
D|
V },
48 {.str = NULL}, -1, INT_MAX,
E|
D|
V },
50 {.dbl = -1}, -1, INT_MAX,
E|
D|
V },
68 return FFMPEG_CONFIGURATION;
73 #define LICENSE_PREFIX "libavdevice license: "
95 }
while (category != c1 && category != c2);
124 void *
data,
size_t data_size)
132 void *
data,
size_t data_size)
151 (*caps)->device_context =
s;
170 if (!s || !caps || !(*caps))
198 (*device_list)->default_device = -1;