FFmpeg
Loading...
Searching...
No Matches
h264dsp_init.c File Reference

Go to the source code of this file.

Macros

#define IDCT_ADD_FUNC(NUM, DEPTH, OPT)
 
#define IDCT_ADD_REP_FUNC(NUM, REP, DEPTH, OPT)
 
#define IDCT_ADD_REP_FUNC2(NUM, REP, DEPTH, OPT)
 
#define LF_FUNC(DIR, TYPE, DEPTH, OPT)
 
#define LF_IFUNC(DIR, TYPE, DEPTH, OPT)
 
#define LF_FUNCS(type, depth)
 
#define H264_WEIGHT(W, OPT)
 
#define H264_BIWEIGHT(W, OPT)
 
#define H264_BIWEIGHT_MMX(W)
 
#define H264_BIWEIGHT_SSE(W)
 
#define H264_WEIGHT_10(W, DEPTH, OPT)
 
#define H264_BIWEIGHT_10(W, DEPTH, OPT)
 
#define H264_BIWEIGHT_10_SSE(W, DEPTH)
 

Functions

void ff_h264_luma_dc_dequant_idct_sse2 (int16_t *output, int16_t *input, int qmul)
 
void ff_h264_loop_filter_strength_mmxext (int16_t bS[2][4][4], uint8_t nnz[40], int8_t ref[2][40], int16_t mv[2][40][2], int bidir, int edges, int step, int mask_mv0, int mask_mv1, int field)
 
av_cold void ff_h264dsp_init_x86 (H264DSPContext *c, const int bit_depth, const int chroma_format_idc)
 

Macro Definition Documentation

◆ IDCT_ADD_FUNC

#define IDCT_ADD_FUNC ( NUM,
DEPTH,
OPT )
Value:
void ff_h264_idct ## NUM ## _add_ ## DEPTH ## _ ## OPT(uint8_t *dst, \
int16_t *block, \
ptrdiff_t stride);
uint8_t ptrdiff_t const uint8_t ptrdiff_t int intptr_t intptr_t int int16_t * dst
Definition dsp.h:87
#define _
static int16_t block[64]
Definition dct.c:125
#define DEPTH
Definition v210enc.c:33
#define stride
#define OPT(name, field, help)
Definition vf_drawvg.c:2651

Definition at line 28 of file h264dsp_init.c.

◆ IDCT_ADD_REP_FUNC

#define IDCT_ADD_REP_FUNC ( NUM,
REP,
DEPTH,
OPT )
Value:
void ff_h264_idct ## NUM ## _add ## REP ## _ ## DEPTH ## _ ## OPT \
(uint8_t *dst, const int *block_offset, \
int16_t *block, ptrdiff_t stride, const uint8_t nnzc[5 * 8]);

Definition at line 48 of file h264dsp_init.c.

◆ IDCT_ADD_REP_FUNC2

#define IDCT_ADD_REP_FUNC2 ( NUM,
REP,
DEPTH,
OPT )
Value:
void ff_h264_idct ## NUM ## _add ## REP ## _ ## DEPTH ## _ ## OPT \
(uint8_t **dst, const int *block_offset, \
int16_t *block, ptrdiff_t stride, const uint8_t nnzc[15 * 8]);

Definition at line 64 of file h264dsp_init.c.

◆ LF_FUNC

#define LF_FUNC ( DIR,
TYPE,
DEPTH,
OPT )
Value:
void ff_deblock_ ## DIR ## _ ## TYPE ## _ ## DEPTH ## _ ## OPT(uint8_t *pix, \
ptrdiff_t stride, \
int alpha, \
int beta, \
int8_t *tc0);
#define TYPE
Definition ffv1dec.c:90
static const int16_t alpha[]
Definition ilbcdata.h:55
enum AVPixelFormat pix
Definition ohcodec.c:55

Definition at line 89 of file h264dsp_init.c.

◆ LF_IFUNC

#define LF_IFUNC ( DIR,
TYPE,
DEPTH,
OPT )
Value:
void ff_deblock_ ## DIR ## _ ## TYPE ## _ ## DEPTH ## _ ## OPT(uint8_t *pix, \
ptrdiff_t stride, \
int alpha, \
int beta);

Definition at line 95 of file h264dsp_init.c.

◆ LF_FUNCS

#define LF_FUNCS ( type,
depth )
Value:
LF_FUNC(h, luma, depth, sse2) \
LF_IFUNC(h, luma_intra, depth, sse2) \
LF_FUNC(v, luma, depth, sse2) \
LF_IFUNC(v, luma_intra, depth, sse2) \
LF_FUNC(h, chroma, depth, sse2) \
LF_IFUNC(h, chroma_intra, depth, sse2) \
LF_FUNC(h, chroma422, depth, sse2) \
LF_IFUNC(h, chroma422_intra, depth, sse2) \
LF_FUNC(v, chroma, depth, sse2) \
LF_IFUNC(v, chroma_intra, depth, sse2) \
LF_FUNC(h, luma, depth, avx) \
LF_IFUNC(h, luma_intra, depth, avx) \
LF_FUNC(v, luma, depth, avx) \
LF_IFUNC(v, luma_intra, depth, avx) \
LF_FUNC(h, chroma, depth, avx) \
LF_IFUNC(h, chroma_intra, depth, avx) \
LF_FUNC(h, chroma422, depth, avx) \
LF_IFUNC(h, chroma422_intra, depth, avx) \
LF_FUNC(v, chroma, depth, avx) \
LF_IFUNC(v, chroma_intra, depth, avx)
static av_always_inline void chroma(WaveformContext *s, AVFrame *in, AVFrame *out, int component, int intensity, int offset_y, int offset_x, int column, int mirror, int jobnr, int nb_jobs)
#define LF_FUNC(DIR, TYPE, DEPTH, OPT)

Definition at line 101 of file h264dsp_init.c.

◆ H264_WEIGHT

#define H264_WEIGHT ( W,
OPT )
Value:
void ff_h264_weight_ ## W ## _ ## OPT(uint8_t *dst, ptrdiff_t stride, \
int height, int log2_denom, \
int weight, int offset);
#define W(a, i, v)
Definition jpegls.h:119
unsigned offset
Definition libaomenc.c:763
const h264_weight_func weight
#define height
Definition dsp.h:89

Definition at line 132 of file h264dsp_init.c.

◆ H264_BIWEIGHT

#define H264_BIWEIGHT ( W,
OPT )
Value:
void ff_h264_biweight_ ## W ## _ ## OPT(uint8_t *dst, uint8_t *src, \
ptrdiff_t stride, int height, \
int log2_denom, int weightd, \
int weights, int offset);
static const int weights[]
Definition hevc_pel.c:32
#define src
Definition vp8dsp.c:248

Definition at line 137 of file h264dsp_init.c.

◆ H264_BIWEIGHT_MMX

#define H264_BIWEIGHT_MMX ( W)
Value:
H264_WEIGHT(W, mmxext) \
H264_BIWEIGHT(W, mmxext)
#define H264_WEIGHT(W)

Definition at line 143 of file h264dsp_init.c.

◆ H264_BIWEIGHT_SSE

#define H264_BIWEIGHT_SSE ( W)
Value:
H264_WEIGHT(W, sse2) \
H264_BIWEIGHT(W, sse2) \
H264_BIWEIGHT(W, ssse3)

Definition at line 147 of file h264dsp_init.c.

◆ H264_WEIGHT_10

#define H264_WEIGHT_10 ( W,
DEPTH,
OPT )
Value:
void ff_h264_weight_ ## W ## _ ## DEPTH ## _ ## OPT(uint8_t *dst, \
ptrdiff_t stride, \
int height, \
int log2_denom, \
int weight, \
int offset);

Definition at line 156 of file h264dsp_init.c.

◆ H264_BIWEIGHT_10

#define H264_BIWEIGHT_10 ( W,
DEPTH,
OPT )
Value:
void ff_h264_biweight_ ## W ## _ ## DEPTH ## _ ## OPT(uint8_t *dst, \
uint8_t *src, \
ptrdiff_t stride, \
int height, \
int log2_denom, \
int weightd, \
int weights, \
int offset);

Definition at line 164 of file h264dsp_init.c.

◆ H264_BIWEIGHT_10_SSE

#define H264_BIWEIGHT_10_SSE ( W,
DEPTH )
Value:
H264_WEIGHT_10(W, DEPTH, sse4) \
H264_BIWEIGHT_10(W, DEPTH, sse2) \
H264_BIWEIGHT_10(W, DEPTH, sse4)
#define H264_WEIGHT_10(W, DEPTH, OPT)

Definition at line 174 of file h264dsp_init.c.

Function Documentation

◆ ff_h264_luma_dc_dequant_idct_sse2()

void ff_h264_luma_dc_dequant_idct_sse2 ( int16_t * output,
int16_t * input,
int qmul )

◆ ff_h264_loop_filter_strength_mmxext()

void ff_h264_loop_filter_strength_mmxext ( int16_t bS[2][4][4],
uint8_t nnz[40],
int8_t ref[2][40],
int16_t mv[2][40][2],
int bidir,
int edges,
int step,
int mask_mv0,
int mask_mv1,
int field )

◆ ff_h264dsp_init_x86()

av_cold void ff_h264dsp_init_x86 ( H264DSPContext * c,
const int bit_depth,
const int chroma_format_idc )

Definition at line 184 of file h264dsp_init.c.

Referenced by ff_h264dsp_init(), and ff_h264dsp_init_x86().