FFmpeg
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
h264chroma_init.c File Reference
#include <assert.h>
#include <stdint.h>
#include "libavutil/attributes.h"
#include "libavcodec/h264chroma.h"

Go to the source code of this file.

Macros

#define H264_CHROMA_MC(OPNAME, OP)
 
#define op_avg(a, b)   a = (((a)+(((b) + 32)>>6)+1)>>1)
 
#define op_put(a, b)   a = (((b) + 32)>>6)
 

Functions

av_cold void ff_h264chroma_init_sh4 (H264ChromaContext *c, int bit_depth)
 

Macro Definition Documentation

#define H264_CHROMA_MC (   OPNAME,
  OP 
)

Definition at line 29 of file h264chroma_init.c.

#define op_avg (   a,
  b 
)    a = (((a)+(((b) + 32)>>6)+1)>>1)

Definition at line 112 of file h264chroma_init.c.

#define op_put (   a,
  b 
)    a = (((b) + 32)>>6)

Definition at line 113 of file h264chroma_init.c.

Function Documentation

av_cold void ff_h264chroma_init_sh4 ( H264ChromaContext c,
int  bit_depth 
)

Definition at line 120 of file h264chroma_init.c.

Referenced by ff_h264chroma_init().