FFmpeg
Macros | Functions
h264dsp_template.c File Reference

H.264 / AVC / MPEG-4 part10 DSP functions. More...

#include "bit_depth_template.c"

Go to the source code of this file.

Macros

#define op_scale1(x)   block[x] = av_clip_pixel( (block[x]*weight + offset) >> log2_denom )
 
#define op_scale2(x)   dst[x] = av_clip_pixel( (src[x]*weights + dst[x]*weightd + offset) >> (log2_denom+1))
 
#define H264_WEIGHT(W)
 

Functions

static av_always_inline av_flatten void FUNCC() h264_loop_filter_luma (uint8_t *p_pix, ptrdiff_t xstride, ptrdiff_t ystride, int inner_iters, int alpha, int beta, int8_t *tc0)
 
static void FUNCC() h264_v_loop_filter_luma (uint8_t *pix, ptrdiff_t stride, int alpha, int beta, int8_t *tc0)
 
static void FUNCC() h264_h_loop_filter_luma (uint8_t *pix, ptrdiff_t stride, int alpha, int beta, int8_t *tc0)
 
static void FUNCC() h264_h_loop_filter_luma_mbaff (uint8_t *pix, ptrdiff_t stride, int alpha, int beta, int8_t *tc0)
 
static av_always_inline av_flatten void FUNCC() h264_loop_filter_luma_intra (uint8_t *p_pix, ptrdiff_t xstride, ptrdiff_t ystride, int inner_iters, int alpha, int beta)
 
static void FUNCC() h264_v_loop_filter_luma_intra (uint8_t *pix, ptrdiff_t stride, int alpha, int beta)
 
static void FUNCC() h264_h_loop_filter_luma_intra (uint8_t *pix, ptrdiff_t stride, int alpha, int beta)
 
static void FUNCC() h264_h_loop_filter_luma_mbaff_intra (uint8_t *pix, ptrdiff_t stride, int alpha, int beta)
 
static av_always_inline av_flatten void FUNCC() h264_loop_filter_chroma (uint8_t *p_pix, ptrdiff_t xstride, ptrdiff_t ystride, int inner_iters, int alpha, int beta, int8_t *tc0)
 
static void FUNCC() h264_v_loop_filter_chroma (uint8_t *pix, ptrdiff_t stride, int alpha, int beta, int8_t *tc0)
 
static void FUNCC() h264_h_loop_filter_chroma (uint8_t *pix, ptrdiff_t stride, int alpha, int beta, int8_t *tc0)
 
static void FUNCC() h264_h_loop_filter_chroma_mbaff (uint8_t *pix, ptrdiff_t stride, int alpha, int beta, int8_t *tc0)
 
static void FUNCC() h264_h_loop_filter_chroma422 (uint8_t *pix, ptrdiff_t stride, int alpha, int beta, int8_t *tc0)
 
static void FUNCC() h264_h_loop_filter_chroma422_mbaff (uint8_t *pix, ptrdiff_t stride, int alpha, int beta, int8_t *tc0)
 
static av_always_inline av_flatten void FUNCC() h264_loop_filter_chroma_intra (uint8_t *p_pix, ptrdiff_t xstride, ptrdiff_t ystride, int inner_iters, int alpha, int beta)
 
static void FUNCC() h264_v_loop_filter_chroma_intra (uint8_t *pix, ptrdiff_t stride, int alpha, int beta)
 
static void FUNCC() h264_h_loop_filter_chroma_intra (uint8_t *pix, ptrdiff_t stride, int alpha, int beta)
 
static void FUNCC() h264_h_loop_filter_chroma_mbaff_intra (uint8_t *pix, ptrdiff_t stride, int alpha, int beta)
 
static void FUNCC() h264_h_loop_filter_chroma422_intra (uint8_t *pix, ptrdiff_t stride, int alpha, int beta)
 
static void FUNCC() h264_h_loop_filter_chroma422_mbaff_intra (uint8_t *pix, ptrdiff_t stride, int alpha, int beta)
 

Detailed Description

H.264 / AVC / MPEG-4 part10 DSP functions.

Author
Michael Niedermayer micha.nosp@m.elni.nosp@m.@gmx..nosp@m.at

Definition in file h264dsp_template.c.

Macro Definition Documentation

#define op_scale1 (   x)    block[x] = av_clip_pixel( (block[x]*weight + offset) >> log2_denom )

Definition at line 30 of file h264dsp_template.c.

#define op_scale2 (   x)    dst[x] = av_clip_pixel( (src[x]*weights + dst[x]*weightd + offset) >> (log2_denom+1))

Definition at line 31 of file h264dsp_template.c.

#define H264_WEIGHT (   W)

Definition at line 32 of file h264dsp_template.c.

Function Documentation

static av_always_inline av_flatten void FUNCC() h264_loop_filter_luma ( uint8_t p_pix,
ptrdiff_t  xstride,
ptrdiff_t  ystride,
int  inner_iters,
int  alpha,
int  beta,
int8_t *  tc0 
)
static
static void FUNCC() h264_v_loop_filter_luma ( uint8_t pix,
ptrdiff_t  stride,
int  alpha,
int  beta,
int8_t *  tc0 
)
static

Definition at line 152 of file h264dsp_template.c.

Referenced by check_loop_filter().

static void FUNCC() h264_h_loop_filter_luma ( uint8_t pix,
ptrdiff_t  stride,
int  alpha,
int  beta,
int8_t *  tc0 
)
static

Definition at line 156 of file h264dsp_template.c.

Referenced by check_loop_filter().

static void FUNCC() h264_h_loop_filter_luma_mbaff ( uint8_t pix,
ptrdiff_t  stride,
int  alpha,
int  beta,
int8_t *  tc0 
)
static

Definition at line 160 of file h264dsp_template.c.

Referenced by check_loop_filter().

static av_always_inline av_flatten void FUNCC() h264_loop_filter_luma_intra ( uint8_t p_pix,
ptrdiff_t  xstride,
ptrdiff_t  ystride,
int  inner_iters,
int  alpha,
int  beta 
)
static
static void FUNCC() h264_v_loop_filter_luma_intra ( uint8_t pix,
ptrdiff_t  stride,
int  alpha,
int  beta 
)
static

Definition at line 218 of file h264dsp_template.c.

Referenced by check_loop_filter_intra().

static void FUNCC() h264_h_loop_filter_luma_intra ( uint8_t pix,
ptrdiff_t  stride,
int  alpha,
int  beta 
)
static

Definition at line 222 of file h264dsp_template.c.

Referenced by check_loop_filter_intra().

static void FUNCC() h264_h_loop_filter_luma_mbaff_intra ( uint8_t pix,
ptrdiff_t  stride,
int  alpha,
int  beta 
)
static

Definition at line 226 of file h264dsp_template.c.

Referenced by check_loop_filter_intra().

static av_always_inline av_flatten void FUNCC() h264_loop_filter_chroma ( uint8_t p_pix,
ptrdiff_t  xstride,
ptrdiff_t  ystride,
int  inner_iters,
int  alpha,
int  beta,
int8_t *  tc0 
)
static
static void FUNCC() h264_v_loop_filter_chroma ( uint8_t pix,
ptrdiff_t  stride,
int  alpha,
int  beta,
int8_t *  tc0 
)
static

Definition at line 264 of file h264dsp_template.c.

Referenced by check_loop_filter().

static void FUNCC() h264_h_loop_filter_chroma ( uint8_t pix,
ptrdiff_t  stride,
int  alpha,
int  beta,
int8_t *  tc0 
)
static

Definition at line 268 of file h264dsp_template.c.

Referenced by check_loop_filter().

static void FUNCC() h264_h_loop_filter_chroma_mbaff ( uint8_t pix,
ptrdiff_t  stride,
int  alpha,
int  beta,
int8_t *  tc0 
)
static

Definition at line 272 of file h264dsp_template.c.

Referenced by check_loop_filter().

static void FUNCC() h264_h_loop_filter_chroma422 ( uint8_t pix,
ptrdiff_t  stride,
int  alpha,
int  beta,
int8_t *  tc0 
)
static

Definition at line 276 of file h264dsp_template.c.

static void FUNCC() h264_h_loop_filter_chroma422_mbaff ( uint8_t pix,
ptrdiff_t  stride,
int  alpha,
int  beta,
int8_t *  tc0 
)
static

Definition at line 280 of file h264dsp_template.c.

static av_always_inline av_flatten void FUNCC() h264_loop_filter_chroma_intra ( uint8_t p_pix,
ptrdiff_t  xstride,
ptrdiff_t  ystride,
int  inner_iters,
int  alpha,
int  beta 
)
static
static void FUNCC() h264_v_loop_filter_chroma_intra ( uint8_t pix,
ptrdiff_t  stride,
int  alpha,
int  beta 
)
static

Definition at line 309 of file h264dsp_template.c.

Referenced by check_loop_filter_intra().

static void FUNCC() h264_h_loop_filter_chroma_intra ( uint8_t pix,
ptrdiff_t  stride,
int  alpha,
int  beta 
)
static

Definition at line 313 of file h264dsp_template.c.

Referenced by check_loop_filter_intra().

static void FUNCC() h264_h_loop_filter_chroma_mbaff_intra ( uint8_t pix,
ptrdiff_t  stride,
int  alpha,
int  beta 
)
static

Definition at line 317 of file h264dsp_template.c.

Referenced by check_loop_filter_intra().

static void FUNCC() h264_h_loop_filter_chroma422_intra ( uint8_t pix,
ptrdiff_t  stride,
int  alpha,
int  beta 
)
static

Definition at line 321 of file h264dsp_template.c.

static void FUNCC() h264_h_loop_filter_chroma422_mbaff_intra ( uint8_t pix,
ptrdiff_t  stride,
int  alpha,
int  beta 
)
static

Definition at line 325 of file h264dsp_template.c.