libavcodec/h264dsp.c File Reference

H.264 / AVC / MPEG4 part10 DSP functions. More...

#include <stdint.h>
#include "avcodec.h"
#include "h264dsp.h"

Go to the source code of this file.

Defines

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

Functions

static av_always_inline
av_flatten void 
h264_loop_filter_luma_c (uint8_t *pix, int xstride, int ystride, int alpha, int beta, int8_t *tc0)
static void h264_v_loop_filter_luma_c (uint8_t *pix, int stride, int alpha, int beta, int8_t *tc0)
static void h264_h_loop_filter_luma_c (uint8_t *pix, int stride, int alpha, int beta, int8_t *tc0)
static av_always_inline
av_flatten void 
h264_loop_filter_luma_intra_c (uint8_t *pix, int xstride, int ystride, int alpha, int beta)
static void h264_v_loop_filter_luma_intra_c (uint8_t *pix, int stride, int alpha, int beta)
static void h264_h_loop_filter_luma_intra_c (uint8_t *pix, int stride, int alpha, int beta)
static av_always_inline
av_flatten void 
h264_loop_filter_chroma_c (uint8_t *pix, int xstride, int ystride, int alpha, int beta, int8_t *tc0)
static void h264_v_loop_filter_chroma_c (uint8_t *pix, int stride, int alpha, int beta, int8_t *tc0)
static void h264_h_loop_filter_chroma_c (uint8_t *pix, int stride, int alpha, int beta, int8_t *tc0)
static av_always_inline
av_flatten void 
h264_loop_filter_chroma_intra_c (uint8_t *pix, int xstride, int ystride, int alpha, int beta)
static void h264_v_loop_filter_chroma_intra_c (uint8_t *pix, int stride, int alpha, int beta)
static void h264_h_loop_filter_chroma_intra_c (uint8_t *pix, int stride, int alpha, int beta)
void ff_h264dsp_init (H264DSPContext *c)


Detailed Description

H.264 / AVC / MPEG4 part10 DSP functions.

Author:
Michael Niedermayer <michaelni@gmx.at>

Definition in file h264dsp.c.


Define Documentation

#define H264_WEIGHT ( W,
 ) 

Definition at line 34 of file h264dsp.c.

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

Definition at line 32 of file h264dsp.c.

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

Definition at line 33 of file h264dsp.c.


Function Documentation

void ff_h264dsp_init ( H264DSPContext c  ) 

Definition at line 275 of file h264dsp.c.

Referenced by common_init().

static void h264_h_loop_filter_chroma_c ( uint8_t *  pix,
int  stride,
int  alpha,
int  beta,
int8_t *  tc0 
) [static]

Definition at line 242 of file h264dsp.c.

Referenced by ff_h264dsp_init().

static void h264_h_loop_filter_chroma_intra_c ( uint8_t *  pix,
int  stride,
int  alpha,
int  beta 
) [static]

Definition at line 270 of file h264dsp.c.

Referenced by ff_h264dsp_init().

static void h264_h_loop_filter_luma_c ( uint8_t *  pix,
int  stride,
int  alpha,
int  beta,
int8_t *  tc0 
) [static]

Definition at line 148 of file h264dsp.c.

Referenced by ff_h264dsp_init().

static void h264_h_loop_filter_luma_intra_c ( uint8_t *  pix,
int  stride,
int  alpha,
int  beta 
) [static]

Definition at line 205 of file h264dsp.c.

Referenced by ff_h264dsp_init().

static av_always_inline av_flatten void h264_loop_filter_chroma_c ( uint8_t *  pix,
int  xstride,
int  ystride,
int  alpha,
int  beta,
int8_t *  tc0 
) [static]

Definition at line 210 of file h264dsp.c.

Referenced by h264_h_loop_filter_chroma_c(), and h264_v_loop_filter_chroma_c().

static av_always_inline av_flatten void h264_loop_filter_chroma_intra_c ( uint8_t *  pix,
int  xstride,
int  ystride,
int  alpha,
int  beta 
) [static]

static av_always_inline av_flatten void h264_loop_filter_luma_c ( uint8_t *  pix,
int  xstride,
int  ystride,
int  alpha,
int  beta,
int8_t *  tc0 
) [static]

Definition at line 102 of file h264dsp.c.

Referenced by h264_h_loop_filter_luma_c(), and h264_v_loop_filter_luma_c().

static av_always_inline av_flatten void h264_loop_filter_luma_intra_c ( uint8_t *  pix,
int  xstride,
int  ystride,
int  alpha,
int  beta 
) [static]

Definition at line 153 of file h264dsp.c.

Referenced by h264_h_loop_filter_luma_intra_c(), and h264_v_loop_filter_luma_intra_c().

static void h264_v_loop_filter_chroma_c ( uint8_t *  pix,
int  stride,
int  alpha,
int  beta,
int8_t *  tc0 
) [static]

Definition at line 238 of file h264dsp.c.

Referenced by ff_h264dsp_init().

static void h264_v_loop_filter_chroma_intra_c ( uint8_t *  pix,
int  stride,
int  alpha,
int  beta 
) [static]

Definition at line 266 of file h264dsp.c.

Referenced by ff_h264dsp_init().

static void h264_v_loop_filter_luma_c ( uint8_t *  pix,
int  stride,
int  alpha,
int  beta,
int8_t *  tc0 
) [static]

Definition at line 144 of file h264dsp.c.

Referenced by ff_h264dsp_init().

static void h264_v_loop_filter_luma_intra_c ( uint8_t *  pix,
int  stride,
int  alpha,
int  beta 
) [static]

Definition at line 201 of file h264dsp.c.

Referenced by ff_h264dsp_init().


Generated on Fri Oct 26 02:36:52 2012 for FFmpeg by  doxygen 1.5.8