FFmpeg
Functions | Variables
raw.c File Reference
#include "libavutil/macros.h"
#include "avcodec.h"
#include "raw.h"

Go to the source code of this file.

Functions

const struct PixelFormatTagavpriv_get_raw_pix_fmt_tags (void)
 
unsigned int avcodec_pix_fmt_to_codec_tag (enum AVPixelFormat fmt)
 Return a value representing the fourCC code associated to the pixel format pix_fmt, or 0 if no associated fourCC code can be found. More...
 
static enum AVPixelFormat find_pix_fmt (const PixelFormatTag *tags, unsigned int fourcc)
 
enum AVPixelFormat avpriv_pix_fmt_find (enum PixelFormatTagLists list, unsigned fourcc)
 

Variables

static const PixelFormatTag raw_pix_fmt_tags []
 
static const PixelFormatTag pix_fmt_bps_avi []
 
static const PixelFormatTag pix_fmt_bps_mov []
 

Detailed Description

Raw Video Codec

Definition in file raw.c.

Function Documentation

◆ avpriv_get_raw_pix_fmt_tags()

const struct PixelFormatTag* avpriv_get_raw_pix_fmt_tags ( void  )

Definition at line 311 of file raw.c.

Referenced by main().

◆ find_pix_fmt()

static enum AVPixelFormat find_pix_fmt ( const PixelFormatTag tags,
unsigned int  fourcc 
)
static

Definition at line 352 of file raw.c.

Referenced by avpriv_pix_fmt_find().

◆ avpriv_pix_fmt_find()

enum AVPixelFormat avpriv_pix_fmt_find ( enum PixelFormatTagLists  list,
unsigned  fourcc 
)

Variable Documentation

◆ raw_pix_fmt_tags

const PixelFormatTag raw_pix_fmt_tags[]
static

◆ pix_fmt_bps_avi

const PixelFormatTag pix_fmt_bps_avi[]
static
Initial value:

Definition at line 327 of file raw.c.

Referenced by avpriv_pix_fmt_find().

◆ pix_fmt_bps_mov

const PixelFormatTag pix_fmt_bps_mov[]
static
Initial value:

Definition at line 340 of file raw.c.

Referenced by avpriv_pix_fmt_find().

AV_PIX_FMT_RGB444LE
@ AV_PIX_FMT_RGB444LE
packed RGB 4:4:4, 16bpp, (msb)4X 4R 4G 4B(lsb), little-endian, X=unused/undefined
Definition: pixfmt.h:136
AV_PIX_FMT_BGR24
@ AV_PIX_FMT_BGR24
packed RGB 8:8:8, 24bpp, BGRBGR...
Definition: pixfmt.h:76
AV_PIX_FMT_BGRA
@ AV_PIX_FMT_BGRA
packed BGRA 8:8:8:8, 32bpp, BGRABGRA...
Definition: pixfmt.h:102
AV_PIX_FMT_RGB555BE
@ AV_PIX_FMT_RGB555BE
packed RGB 5:5:5, 16bpp, (msb)1X 5R 5G 5B(lsb), big-endian , X=unused/undefined
Definition: pixfmt.h:114
AV_PIX_FMT_RGB24
@ AV_PIX_FMT_RGB24
packed RGB 8:8:8, 24bpp, RGBRGB...
Definition: pixfmt.h:75
AV_PIX_FMT_ARGB
@ AV_PIX_FMT_ARGB
packed ARGB 8:8:8:8, 32bpp, ARGBARGB...
Definition: pixfmt.h:99
AV_PIX_FMT_RGB555LE
@ AV_PIX_FMT_RGB555LE
packed RGB 5:5:5, 16bpp, (msb)1X 5R 5G 5B(lsb), little-endian, X=unused/undefined
Definition: pixfmt.h:115
AV_PIX_FMT_PAL8
@ AV_PIX_FMT_PAL8
8 bits with AV_PIX_FMT_RGB32 palette
Definition: pixfmt.h:84
AV_PIX_FMT_NONE
@ AV_PIX_FMT_NONE
Definition: pixfmt.h:72