FFmpeg
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
h264chroma.c File Reference
#include "config.h"
#include "h264chroma.h"
#include "h264chroma_template.c"

Go to the source code of this file.

Macros

#define BIT_DEPTH   8
 
#define BIT_DEPTH   16
 
#define SET_CHROMA(depth)
 

Functions

void ff_h264chroma_init (H264ChromaContext *c, int bit_depth)
 

Macro Definition Documentation

#define BIT_DEPTH   8

Definition at line 26 of file h264chroma.c.

#define BIT_DEPTH   16

Definition at line 26 of file h264chroma.c.

#define SET_CHROMA (   depth)
Value:
c->put_h264_chroma_pixels_tab[0] = put_h264_chroma_mc8_ ## depth ## _c; \
c->put_h264_chroma_pixels_tab[1] = put_h264_chroma_mc4_ ## depth ## _c; \
c->put_h264_chroma_pixels_tab[2] = put_h264_chroma_mc2_ ## depth ## _c; \
c->avg_h264_chroma_pixels_tab[0] = avg_h264_chroma_mc8_ ## depth ## _c; \
c->avg_h264_chroma_pixels_tab[1] = avg_h264_chroma_mc4_ ## depth ## _c; \
c->avg_h264_chroma_pixels_tab[2] = avg_h264_chroma_mc2_ ## depth ## _c; \

Definition at line 30 of file h264chroma.c.

Referenced by ff_h264chroma_init().

Function Documentation

void ff_h264chroma_init ( H264ChromaContext c,
int  bit_depth 
)