19 #ifndef AVDEVICE_V4L2_COMMON_H
20 #define AVDEVICE_V4L2_COMMON_H
22 #undef __STRICT_ANSI__ //workaround due to broken kernel headers
27 #include <sys/ioctl.h>
30 #if HAVE_SYS_VIDEOIO_H
31 #include <sys/videoio.h>
34 #include <asm/types.h>
36 #include <linux/videodev2.h>
static enum AVPixelFormat pix_fmt
uint32_t ff_fmt_ff2v4l(enum AVPixelFormat pix_fmt, enum AVCodecID codec_id)
const struct fmt_map ff_fmt_conversion_table[]
Main libavdevice API header.
AVCodecID
Identify the syntax and semantics of the bitstream.
enum AVPixelFormat ff_fmt_v4l2ff(uint32_t v4l2_fmt, enum AVCodecID codec_id)
simple assert() macros that are a bit more flexible than ISO C assert().
enum AVCodecID ff_fmt_v4l2codec(uint32_t v4l2_fmt)
enum AVPixelFormat ff_fmt
AVPixelFormat
Pixel format.