Libav
|
#include "config.h"
#include "libavutil/cpu.h"
#include "libavutil/x86/cpu.h"
#include "libavcodec/hevcdsp.h"
Go to the source code of this file.
Macros | |
#define | LFC_FUNC(DIR, DEPTH, OPT) void ff_hevc_ ## DIR ## _loop_filter_chroma_ ## DEPTH ## _ ## OPT(uint8_t *pix, ptrdiff_t stride, int *tc, uint8_t *no_p, uint8_t *no_q); |
#define | LFL_FUNC(DIR, DEPTH, OPT) void ff_hevc_ ## DIR ## _loop_filter_luma_ ## DEPTH ## _ ## OPT(uint8_t *pix, ptrdiff_t stride, int beta, int *tc, uint8_t *no_p, uint8_t *no_q); |
#define | LFC_FUNCS(type, depth) |
#define | LFL_FUNCS(type, depth) |
#define | idct_dc_proto(size, bitd, opt) void ff_hevc_idct_ ## size ## _dc_add_ ## bitd ## _ ## opt(uint8_t *dst, int16_t *coeffs, ptrdiff_t stride) |
#define | IDCT_FUNCS(W, opt) |
#define | GET_PIXELS(width, depth, cf) |
#define | INTERP_HV_FUNC(width, cf) |
#define | QPEL_FUNC_HV(width, depth, cf_h, cf_v, cf_hv) |
#define | QPEL_FUNCS(width, depth, cf_h, cf_v, cf_hv) |
#define | EPEL_FUNC_HV(width, depth, cf_h, cf_v, cf_hv) |
#define | EPEL_FUNCS(width, depth, cf_h, cf_v, cf_hv) |
#define | PUT_PRED(width, depth, cf_uw, cf_w) |
#define | SET_LUMA_FUNCS(tabname, funcname, depth, cf) |
#define | SET_CHROMA_FUNCS(tabname, funcname, depth, cf) |
#define | SET_QPEL_FUNCS(v, h, depth, cf, name) SET_LUMA_FUNCS (put_hevc_qpel[v][h], name, depth, cf) |
#define | SET_EPEL_FUNCS(v, h, depth, cf, name) SET_CHROMA_FUNCS(put_hevc_epel[v][h], name, depth, cf) |
Functions | |
idct_dc_proto (4, 8, mmxext) | |
idct_dc_proto (8, 8, mmxext) | |
idct_dc_proto (16, 8, sse2) | |
idct_dc_proto (32, 8, sse2) | |
idct_dc_proto (32, 8, avx2) | |
idct_dc_proto (4, 10, mmxext) | |
idct_dc_proto (8, 10, sse2) | |
idct_dc_proto (16, 10, sse2) | |
idct_dc_proto (32, 10, sse2) | |
idct_dc_proto (8, 10, avx) | |
idct_dc_proto (16, 10, avx) | |
idct_dc_proto (32, 10, avx) | |
idct_dc_proto (16, 10, avx2) | |
idct_dc_proto (32, 10, avx2) | |
IDCT_FUNCS (4x4, mmxext) | |
IDCT_FUNCS (8x8, mmxext) | |
IDCT_FUNCS (8x8, sse2) | |
IDCT_FUNCS (16x16, sse2) | |
IDCT_FUNCS (32x32, sse2) | |
IDCT_FUNCS (16x16, avx2) | |
IDCT_FUNCS (32x32, avx2) | |
void | ff_hevc_dsp_init_x86 (HEVCDSPContext *c, const int bit_depth) |
#define LFC_FUNC | ( | DIR, | |
DEPTH, | |||
OPT | |||
) | void ff_hevc_ ## DIR ## _loop_filter_chroma_ ## DEPTH ## _ ## OPT(uint8_t *pix, ptrdiff_t stride, int *tc, uint8_t *no_p, uint8_t *no_q); |
Definition at line 29 of file hevcdsp_init.c.
#define LFL_FUNC | ( | DIR, | |
DEPTH, | |||
OPT | |||
) | void ff_hevc_ ## DIR ## _loop_filter_luma_ ## DEPTH ## _ ## OPT(uint8_t *pix, ptrdiff_t stride, int beta, int *tc, uint8_t *no_p, uint8_t *no_q); |
Definition at line 32 of file hevcdsp_init.c.
#define LFC_FUNCS | ( | type, | |
depth | |||
) |
Definition at line 35 of file hevcdsp_init.c.
#define LFL_FUNCS | ( | type, | |
depth | |||
) |
Definition at line 39 of file hevcdsp_init.c.
#define idct_dc_proto | ( | size, | |
bitd, | |||
opt | |||
) | void ff_hevc_idct_ ## size ## _dc_add_ ## bitd ## _ ## opt(uint8_t *dst, int16_t *coeffs, ptrdiff_t stride) |
Definition at line 48 of file hevcdsp_init.c.
#define IDCT_FUNCS | ( | W, | |
opt | |||
) |
Definition at line 69 of file hevcdsp_init.c.
#define GET_PIXELS | ( | width, | |
depth, | |||
cf | |||
) |
Definition at line 81 of file hevcdsp_init.c.
#define INTERP_HV_FUNC | ( | width, | |
cf | |||
) |
Definition at line 105 of file hevcdsp_init.c.
#define QPEL_FUNC_HV | ( | width, | |
depth, | |||
cf_h, | |||
cf_v, | |||
cf_hv | |||
) |
Definition at line 135 of file hevcdsp_init.c.
#define QPEL_FUNCS | ( | width, | |
depth, | |||
cf_h, | |||
cf_v, | |||
cf_hv | |||
) |
Definition at line 138 of file hevcdsp_init.c.
#define EPEL_FUNC_HV | ( | width, | |
depth, | |||
cf_h, | |||
cf_v, | |||
cf_hv | |||
) |
Definition at line 178 of file hevcdsp_init.c.
#define EPEL_FUNCS | ( | width, | |
depth, | |||
cf_h, | |||
cf_v, | |||
cf_hv | |||
) |
Definition at line 181 of file hevcdsp_init.c.
#define PUT_PRED | ( | width, | |
depth, | |||
cf_uw, | |||
cf_w | |||
) |
Definition at line 204 of file hevcdsp_init.c.
#define SET_LUMA_FUNCS | ( | tabname, | |
funcname, | |||
depth, | |||
cf | |||
) |
Referenced by ff_hevc_dsp_init_x86().
#define SET_CHROMA_FUNCS | ( | tabname, | |
funcname, | |||
depth, | |||
cf | |||
) |
Referenced by ff_hevc_dsp_init_x86().
#define SET_QPEL_FUNCS | ( | v, | |
h, | |||
depth, | |||
cf, | |||
name | |||
) | SET_LUMA_FUNCS (put_hevc_qpel[v][h], name, depth, cf) |
Referenced by ff_hevc_dsp_init_x86().
#define SET_EPEL_FUNCS | ( | v, | |
h, | |||
depth, | |||
cf, | |||
name | |||
) | SET_CHROMA_FUNCS(put_hevc_epel[v][h], name, depth, cf) |
Referenced by ff_hevc_dsp_init_x86().
idct_dc_proto | ( | 4 | , |
8 | , | ||
mmxext | |||
) |
idct_dc_proto | ( | 8 | , |
8 | , | ||
mmxext | |||
) |
idct_dc_proto | ( | 16 | , |
8 | , | ||
sse2 | |||
) |
idct_dc_proto | ( | 32 | , |
8 | , | ||
sse2 | |||
) |
idct_dc_proto | ( | 32 | , |
8 | , | ||
avx2 | |||
) |
idct_dc_proto | ( | 4 | , |
10 | , | ||
mmxext | |||
) |
idct_dc_proto | ( | 8 | , |
10 | , | ||
sse2 | |||
) |
idct_dc_proto | ( | 16 | , |
10 | , | ||
sse2 | |||
) |
idct_dc_proto | ( | 32 | , |
10 | , | ||
sse2 | |||
) |
idct_dc_proto | ( | 8 | , |
10 | , | ||
avx | |||
) |
idct_dc_proto | ( | 16 | , |
10 | , | ||
avx | |||
) |
idct_dc_proto | ( | 32 | , |
10 | , | ||
avx | |||
) |
idct_dc_proto | ( | 16 | , |
10 | , | ||
avx2 | |||
) |
idct_dc_proto | ( | 32 | , |
10 | , | ||
avx2 | |||
) |
IDCT_FUNCS | ( | 4x4 | , |
mmxext | |||
) |
IDCT_FUNCS | ( | 8x8 | , |
mmxext | |||
) |
IDCT_FUNCS | ( | 8x8 | , |
sse2 | |||
) |
IDCT_FUNCS | ( | 16x16 | , |
sse2 | |||
) |
IDCT_FUNCS | ( | 32x32 | , |
sse2 | |||
) |
IDCT_FUNCS | ( | 16x16 | , |
avx2 | |||
) |
IDCT_FUNCS | ( | 32x32 | , |
avx2 | |||
) |
void ff_hevc_dsp_init_x86 | ( | HEVCDSPContext * | c, |
const int | bit_depth | ||
) |
Definition at line 239 of file hevcdsp_init.c.
Referenced by ff_hevc_dsp_init().