FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
v4l2-common.c File Reference
#include "v4l2-common.h"

Go to the source code of this file.

Functions

uint32_t avpriv_fmt_ff2v4l (enum AVPixelFormat pix_fmt, enum AVCodecID codec_id)
 
enum AVPixelFormat avpriv_fmt_v4l2ff (uint32_t v4l2_fmt, enum AVCodecID codec_id)
 
enum AVCodecID avpriv_fmt_v4l2codec (uint32_t v4l2_fmt)
 

Variables

struct fmt_map avpriv_fmt_conversion_table []
 

Function Documentation

uint32_t avpriv_fmt_ff2v4l ( enum AVPixelFormat  pix_fmt,
enum AVCodecID  codec_id 
)

Definition at line 61 of file v4l2-common.c.

Referenced by device_try_init(), and write_header().

enum AVPixelFormat avpriv_fmt_v4l2ff ( uint32_t  v4l2_fmt,
enum AVCodecID  codec_id 
)

Definition at line 77 of file v4l2-common.c.

Referenced by list_formats(), and v4l2_read_header().

enum AVCodecID avpriv_fmt_v4l2codec ( uint32_t  v4l2_fmt)

Definition at line 91 of file v4l2-common.c.

Referenced by device_try_init(), and list_formats().

Variable Documentation

struct fmt_map avpriv_fmt_conversion_table[]

Definition at line 21 of file v4l2-common.c.

Referenced by device_try_init().