FFmpeg
Functions
v4l2_fmt.h File Reference
#include <stdint.h>
#include "libavutil/pixfmt.h"
#include "codec_id.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

◆ ff_v4l2_format_v4l2_to_avfmt()

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_encode_init(), v4l2_get_raw_format(), and v4l2_try_start().

◆ ff_v4l2_format_avcodec_to_v4l2()

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().

◆ ff_v4l2_format_avfmt_to_v4l2()

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().