FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
v4l2_fmt.h File Reference
#include "libavcodec/avcodec.h"
#include "libavutil/pixfmt.h"

Go to the source code of this file.

Functions

enum AVPixelFormat ff_v4l2_format_v4l2_to_avfmt (uint32_t v4l2_fmt, enum AVCodecID avcodec)
 
uint32_t ff_v4l2_format_avcodec_to_v4l2 (enum AVCodecID avcodec)
 
uint32_t ff_v4l2_format_avfmt_to_v4l2 (enum AVPixelFormat avfmt)
 

Function Documentation

enum AVPixelFormat ff_v4l2_format_v4l2_to_avfmt ( uint32_t  v4l2_fmt,
enum AVCodecID  avcodec 
)

Definition at line 132 of file v4l2_fmt.c.

Referenced by v4l2_get_raw_format(), and v4l2_try_start().

uint32_t ff_v4l2_format_avcodec_to_v4l2 ( enum AVCodecID  avcodec)

Definition at line 112 of file v4l2_fmt.c.

Referenced by v4l2_get_coded_format().

uint32_t ff_v4l2_format_avfmt_to_v4l2 ( enum AVPixelFormat  avfmt)

Definition at line 122 of file v4l2_fmt.c.

Referenced by v4l2_try_raw_format().