27 #include "libavutil/ffversion.h"
30 #define E AV_OPT_FLAG_ENCODING_PARAM
31 #define D AV_OPT_FLAG_DECODING_PARAM
32 #define A AV_OPT_FLAG_AUDIO_PARAM
33 #define V AV_OPT_FLAG_VIDEO_PARAM
34 #define OFFSET(x) offsetof(AVDeviceCapabilitiesQuery, x)
42 {.i64 = -1}, -1, INT_MAX,
E|
D|
A },
44 {.i64 = -1}, -1, INT_MAX,
E|
D|
A },
46 {.i64 = -1}, -1, INT_MAX,
E|
D|
A },
50 {.str =
NULL}, -1, INT_MAX,
E|
D|
V },
52 {.str =
NULL}, -1, INT_MAX,
E|
D|
V },
54 {.dbl = -1}, -1, INT_MAX,
E|
D|
V },
72 return FFMPEG_CONFIGURATION;
77 #define LICENSE_PREFIX "libavdevice license: "
99 }
while (category != c1 && category != c2);
128 void *
data,
size_t data_size)
136 void *
data,
size_t data_size)
155 (*caps)->device_context =
s;
174 if (!s || !caps || !(*caps))
202 (*device_list)->default_device = -1;