FFmpeg
|
Go to the source code of this file.
Macros | |
#define | SET(dst, x) (dst) = (x) |
#define | SCALE(dst, x) (dst) = av_clip_int16(((x) + add) >> shift) |
#define | ADD_AND_SCALE(dst, x) (dst) = av_clip_pixel((dst) + av_clip_int16(((x) + add) >> shift)) |
#define | TR_4x4_LUMA(dst, src, step, assign) |
#define | TR_4(dst, src, dstep, sstep, assign) |
#define | TR_4_1(dst, src) TR_4(dst, src, 4, 4, SCALE) |
#define | TR_4_2(dst, src) TR_4(dst, src, 1, 1, ADD_AND_SCALE) |
#define | TR_8(dst, src, dstep, sstep, assign) |
#define | TR_16(dst, src, dstep, sstep, assign) |
#define | TR_32(dst, src, dstep, sstep, assign) |
#define | TR_8_1(dst, src) TR_8(dst, src, 8, 8, SCALE) |
#define | TR_16_1(dst, src) TR_16(dst, src, 16, 16, SCALE) |
#define | TR_32_1(dst, src) TR_32(dst, src, 32, 32, SCALE) |
#define | TR_8_2(dst, src) TR_8(dst, src, 1, 1, ADD_AND_SCALE) |
#define | TR_16_2(dst, src) TR_16(dst, src, 1, 1, ADD_AND_SCALE) |
#define | TR_32_2(dst, src) TR_32(dst, src, 1, 1, ADD_AND_SCALE) |
#define | IT32x32_even(i, w) ( src[ 0*w] * transform[ 0][i] ) + ( src[16*w] * transform[16][i] ) |
#define | IT32x32_odd(i, w) ( src[ 8*w] * transform[ 8][i] ) + ( src[24*w] * transform[24][i] ) |
#define | IT16x16(i, w) ( src[ 4*w] * transform[ 4][i] ) + ( src[12*w] * transform[12][i] ) + ( src[20*w] * transform[20][i] ) + ( src[28*w] * transform[28][i] ) |
#define | IT8x8(i, w) |
#define | IT4x4(i, w) |
#define | CMP(a, b) ((a) > (b) ? 1 : ((a) == (b) ? 0 : -1)) |
#define | CMP(a, b) ((a) > (b) ? 1 : ((a) == (b) ? 0 : -1)) |
#define | CMP(a, b) ((a) > (b) ? 1 : ((a) == (b) ? 0 : -1)) |
#define | CMP(a, b) ((a) > (b) ? 1 : ((a) == (b) ? 0 : -1)) |
#define | QPEL_FILTER_1(src, stride) |
#define | QPEL_FILTER_2(src, stride) |
#define | QPEL_FILTER_3(src, stride) |
#define | PUT_HEVC_QPEL_H(H) |
#define | PUT_HEVC_QPEL_V(V) |
#define | PUT_HEVC_QPEL_HV(H, V) |
#define | EPEL_FILTER(src, stride) (filter_0*src[x-stride] + filter_1*src[x] + filter_2*src[x+stride] + filter_3*src[x+2*stride]) |
#define | P3 pix[-4*xstride] |
#define | P2 pix[-3*xstride] |
#define | P1 pix[-2*xstride] |
#define | P0 pix[-xstride] |
#define | Q0 pix[0] |
#define | Q1 pix[xstride] |
#define | Q2 pix[2*xstride] |
#define | Q3 pix[3*xstride] |
#define | TP3 pix[-4*xstride+3*ystride] |
#define | TP2 pix[-3*xstride+3*ystride] |
#define | TP1 pix[-2*xstride+3*ystride] |
#define | TP0 pix[-xstride+3*ystride] |
#define | TQ0 pix[3*ystride] |
#define | TQ1 pix[xstride+3*ystride] |
#define | TQ2 pix[2*xstride+3*ystride] |
#define | TQ3 pix[3*xstride+3*ystride] |
Functions | |
static void FUNC() | put_pcm (uint8_t *_dst, ptrdiff_t _stride, int size, GetBitContext *gb, int pcm_bit_depth) |
static void FUNC() | transquant_bypass4x4 (uint8_t *_dst, int16_t *coeffs, ptrdiff_t _stride) |
static void FUNC() | transquant_bypass8x8 (uint8_t *_dst, int16_t *coeffs, ptrdiff_t _stride) |
static void FUNC() | transquant_bypass16x16 (uint8_t *_dst, int16_t *coeffs, ptrdiff_t _stride) |
static void FUNC() | transquant_bypass32x32 (uint8_t *_dst, int16_t *coeffs, ptrdiff_t _stride) |
static void FUNC() | transform_skip (uint8_t *_dst, int16_t *coeffs, ptrdiff_t _stride) |
static void FUNC() | transform_4x4_luma_add (uint8_t *_dst, int16_t *coeffs, ptrdiff_t _stride) |
static void FUNC() | transform_4x4_add (uint8_t *_dst, int16_t *coeffs, ptrdiff_t _stride) |
static void FUNC() | transform_8x8_add (uint8_t *_dst, int16_t *coeffs, ptrdiff_t _stride) |
static void FUNC() | transform_16x16_add (uint8_t *_dst, int16_t *coeffs, ptrdiff_t _stride) |
static void FUNC() | transform_32x32_add (uint8_t *_dst, int16_t *coeffs, ptrdiff_t _stride) |
static void FUNC() | sao_band_filter (uint8_t *_dst, uint8_t *_src, ptrdiff_t _stride, SAOParams *sao, int *borders, int width, int height, int c_idx, int class) |
static void FUNC() | sao_band_filter_0 (uint8_t *dst, uint8_t *src, ptrdiff_t stride, SAOParams *sao, int *borders, int width, int height, int c_idx) |
static void FUNC() | sao_band_filter_1 (uint8_t *dst, uint8_t *src, ptrdiff_t stride, SAOParams *sao, int *borders, int width, int height, int c_idx) |
static void FUNC() | sao_band_filter_2 (uint8_t *dst, uint8_t *src, ptrdiff_t stride, SAOParams *sao, int *borders, int width, int height, int c_idx) |
static void FUNC() | sao_band_filter_3 (uint8_t *_dst, uint8_t *_src, ptrdiff_t _stride, SAOParams *sao, int *borders, int width, int height, int c_idx) |
static void FUNC() | sao_edge_filter_0 (uint8_t *_dst, uint8_t *_src, ptrdiff_t _stride, SAOParams *sao, int *borders, int _width, int _height, int c_idx, uint8_t vert_edge, uint8_t horiz_edge, uint8_t diag_edge) |
static void FUNC() | sao_edge_filter_1 (uint8_t *_dst, uint8_t *_src, ptrdiff_t _stride, SAOParams *sao, int *borders, int _width, int _height, int c_idx, uint8_t vert_edge, uint8_t horiz_edge, uint8_t diag_edge) |
static void FUNC() | sao_edge_filter_2 (uint8_t *_dst, uint8_t *_src, ptrdiff_t _stride, SAOParams *sao, int *borders, int _width, int _height, int c_idx, uint8_t vert_edge, uint8_t horiz_edge, uint8_t diag_edge) |
static void FUNC() | sao_edge_filter_3 (uint8_t *_dst, uint8_t *_src, ptrdiff_t _stride, SAOParams *sao, int *borders, int _width, int _height, int c_idx, uint8_t vert_edge, uint8_t horiz_edge, uint8_t diag_edge) |
static void FUNC() | put_hevc_qpel_pixels (int16_t *dst, ptrdiff_t dststride, uint8_t *_src, ptrdiff_t _srcstride, int width, int height, int16_t *mcbuffer) |
static void FUNC() | put_hevc_epel_pixels (int16_t *dst, ptrdiff_t dststride, uint8_t *_src, ptrdiff_t _srcstride, int width, int height, int mx, int my, int16_t *mcbuffer) |
static void FUNC() | put_hevc_epel_h (int16_t *dst, ptrdiff_t dststride, uint8_t *_src, ptrdiff_t _srcstride, int width, int height, int mx, int my, int16_t *mcbuffer) |
static void FUNC() | put_hevc_epel_v (int16_t *dst, ptrdiff_t dststride, uint8_t *_src, ptrdiff_t _srcstride, int width, int height, int mx, int my, int16_t *mcbuffer) |
static void FUNC() | put_hevc_epel_hv (int16_t *dst, ptrdiff_t dststride, uint8_t *_src, ptrdiff_t _srcstride, int width, int height, int mx, int my, int16_t *mcbuffer) |
static void FUNC() | put_unweighted_pred (uint8_t *_dst, ptrdiff_t _dststride, int16_t *src, ptrdiff_t srcstride, int width, int height) |
static void FUNC() | put_weighted_pred_avg (uint8_t *_dst, ptrdiff_t _dststride, int16_t *src1, int16_t *src2, ptrdiff_t srcstride, int width, int height) |
static void FUNC() | weighted_pred (uint8_t denom, int16_t wlxFlag, int16_t olxFlag, uint8_t *_dst, ptrdiff_t _dststride, int16_t *src, ptrdiff_t srcstride, int width, int height) |
static void FUNC() | weighted_pred_avg (uint8_t denom, int16_t wl0Flag, int16_t wl1Flag, int16_t ol0Flag, int16_t ol1Flag, uint8_t *_dst, ptrdiff_t _dststride, int16_t *src1, int16_t *src2, ptrdiff_t srcstride, int width, int height) |
static void FUNC() | hevc_loop_filter_luma (uint8_t *_pix, ptrdiff_t _xstride, ptrdiff_t _ystride, int *_beta, int *_tc, uint8_t *_no_p, uint8_t *_no_q) |
static void FUNC() | hevc_loop_filter_chroma (uint8_t *_pix, ptrdiff_t _xstride, ptrdiff_t _ystride, int *_tc, uint8_t *_no_p, uint8_t *_no_q) |
static void FUNC() | hevc_h_loop_filter_chroma (uint8_t *pix, ptrdiff_t stride, int *tc, uint8_t *no_p, uint8_t *no_q) |
static void FUNC() | hevc_v_loop_filter_chroma (uint8_t *pix, ptrdiff_t stride, int *tc, uint8_t *no_p, uint8_t *no_q) |
static void FUNC() | hevc_h_loop_filter_luma (uint8_t *pix, ptrdiff_t stride, int *beta, int *tc, uint8_t *no_p, uint8_t *no_q) |
static void FUNC() | hevc_v_loop_filter_luma (uint8_t *pix, ptrdiff_t stride, int *beta, int *tc, uint8_t *no_p, uint8_t *no_q) |
#define SET | ( | dst, | |
x | |||
) | (dst) = (x) |
Definition at line 28 of file hevcdsp_template.c.
#define SCALE | ( | dst, | |
x | |||
) | (dst) = av_clip_int16(((x) + add) >> shift) |
Definition at line 29 of file hevcdsp_template.c.
Referenced by avfilter_register_all(), and transform_4x4_luma_add().
#define ADD_AND_SCALE | ( | dst, | |
x | |||
) | (dst) = av_clip_pixel((dst) + av_clip_int16(((x) + add) >> shift)) |
Definition at line 30 of file hevcdsp_template.c.
Referenced by transform_4x4_luma_add().
Referenced by transform_4x4_luma_add().
Definition at line 166 of file hevcdsp_template.c.
Definition at line 182 of file hevcdsp_template.c.
Referenced by transform_4x4_add().
#define TR_4_2 | ( | dst, | |
src | |||
) | TR_4(dst, src, 1, 1, ADD_AND_SCALE) |
Definition at line 183 of file hevcdsp_template.c.
Referenced by transform_4x4_add().
Definition at line 208 of file hevcdsp_template.c.
Definition at line 223 of file hevcdsp_template.c.
Definition at line 238 of file hevcdsp_template.c.
Definition at line 254 of file hevcdsp_template.c.
Referenced by transform_8x8_add().
Definition at line 255 of file hevcdsp_template.c.
Referenced by transform_16x16_add().
Definition at line 256 of file hevcdsp_template.c.
Referenced by transform_32x32_add().
#define TR_8_2 | ( | dst, | |
src | |||
) | TR_8(dst, src, 1, 1, ADD_AND_SCALE) |
Definition at line 258 of file hevcdsp_template.c.
Referenced by transform_8x8_add().
#define TR_16_2 | ( | dst, | |
src | |||
) | TR_16(dst, src, 1, 1, ADD_AND_SCALE) |
Definition at line 259 of file hevcdsp_template.c.
Referenced by transform_16x16_add().
#define TR_32_2 | ( | dst, | |
src | |||
) | TR_32(dst, src, 1, 1, ADD_AND_SCALE) |
Definition at line 260 of file hevcdsp_template.c.
Referenced by transform_32x32_add().
#define IT16x16 | ( | i, | |
w | |||
) | ( src[ 4*w] * transform[ 4][i] ) + ( src[12*w] * transform[12][i] ) + ( src[20*w] * transform[20][i] ) + ( src[28*w] * transform[28][i] ) |
#define IT8x8 | ( | i, | |
w | |||
) |
#define IT4x4 | ( | i, | |
w | |||
) |
Referenced by find_block_motion(), sao_edge_filter_0(), sao_edge_filter_1(), sao_edge_filter_2(), and sao_edge_filter_3().
#define PUT_HEVC_QPEL_H | ( | H | ) |
Definition at line 840 of file hevcdsp_template.c.
#define PUT_HEVC_QPEL_V | ( | V | ) |
Definition at line 858 of file hevcdsp_template.c.
Definition at line 876 of file hevcdsp_template.c.
#define EPEL_FILTER | ( | src, | |
stride | |||
) | (filter_0*src[x-stride] + filter_1*src[x] + filter_2*src[x+stride] + filter_3*src[x+2*stride]) |
Definition at line 942 of file hevcdsp_template.c.
Referenced by put_hevc_epel_h(), put_hevc_epel_hv(), and put_hevc_epel_v().
#define P3 pix[-4*xstride] |
Definition at line 1148 of file hevcdsp_template.c.
Referenced by hevc_loop_filter_luma().
#define P2 pix[-3*xstride] |
Definition at line 1149 of file hevcdsp_template.c.
Referenced by hevc_loop_filter_luma().
#define P1 pix[-2*xstride] |
Definition at line 1150 of file hevcdsp_template.c.
Referenced by hevc_loop_filter_chroma(), and hevc_loop_filter_luma().
#define P0 pix[-xstride] |
Definition at line 1151 of file hevcdsp_template.c.
Referenced by hevc_loop_filter_chroma(), and hevc_loop_filter_luma().
#define Q0 pix[0] |
Definition at line 1152 of file hevcdsp_template.c.
Referenced by hevc_loop_filter_chroma(), and hevc_loop_filter_luma().
#define Q1 pix[xstride] |
Definition at line 1153 of file hevcdsp_template.c.
Referenced by hevc_loop_filter_chroma(), and hevc_loop_filter_luma().
#define Q2 pix[2*xstride] |
Definition at line 1154 of file hevcdsp_template.c.
Referenced by hevc_loop_filter_luma().
#define Q3 pix[3*xstride] |
Definition at line 1155 of file hevcdsp_template.c.
Referenced by hevc_loop_filter_luma().
#define TP3 pix[-4*xstride+3*ystride] |
Definition at line 1158 of file hevcdsp_template.c.
Referenced by hevc_loop_filter_luma().
#define TP2 pix[-3*xstride+3*ystride] |
Definition at line 1159 of file hevcdsp_template.c.
Referenced by hevc_loop_filter_luma().
#define TP1 pix[-2*xstride+3*ystride] |
Definition at line 1160 of file hevcdsp_template.c.
Referenced by hevc_loop_filter_luma().
#define TP0 pix[-xstride+3*ystride] |
Definition at line 1161 of file hevcdsp_template.c.
Referenced by hevc_loop_filter_luma().
#define TQ0 pix[3*ystride] |
Definition at line 1162 of file hevcdsp_template.c.
Referenced by hevc_loop_filter_luma().
#define TQ1 pix[xstride+3*ystride] |
Definition at line 1163 of file hevcdsp_template.c.
Referenced by hevc_loop_filter_luma().
#define TQ2 pix[2*xstride+3*ystride] |
Definition at line 1164 of file hevcdsp_template.c.
Referenced by hevc_loop_filter_luma().
#define TQ3 pix[3*xstride+3*ystride] |
Definition at line 1165 of file hevcdsp_template.c.
Referenced by hevc_loop_filter_luma().
|
static |
Definition at line 32 of file hevcdsp_template.c.
|
static |
Definition at line 46 of file hevcdsp_template.c.
|
static |
Definition at line 62 of file hevcdsp_template.c.
|
static |
Definition at line 77 of file hevcdsp_template.c.
|
static |
Definition at line 93 of file hevcdsp_template.c.
Definition at line 108 of file hevcdsp_template.c.
|
static |
Definition at line 128 of file hevcdsp_template.c.
Definition at line 185 of file hevcdsp_template.c.
Definition at line 262 of file hevcdsp_template.c.
|
static |
Definition at line 285 of file hevcdsp_template.c.
|
static |
Definition at line 308 of file hevcdsp_template.c.
|
static |
Definition at line 345 of file hevcdsp_template.c.
Referenced by sao_band_filter_0(), sao_band_filter_1(), sao_band_filter_2(), and sao_band_filter_3().
|
static |
Definition at line 400 of file hevcdsp_template.c.
|
static |
Definition at line 408 of file hevcdsp_template.c.
|
static |
Definition at line 416 of file hevcdsp_template.c.
|
static |
Definition at line 424 of file hevcdsp_template.c.
|
static |
Definition at line 432 of file hevcdsp_template.c.
|
static |
Definition at line 542 of file hevcdsp_template.c.
|
static |
Definition at line 635 of file hevcdsp_template.c.
|
static |
Definition at line 723 of file hevcdsp_template.c.
|
static |
Definition at line 813 of file hevcdsp_template.c.
|
static |
Definition at line 924 of file hevcdsp_template.c.
|
static |
Definition at line 945 of file hevcdsp_template.c.
|
static |
Definition at line 967 of file hevcdsp_template.c.
|
static |
Definition at line 990 of file hevcdsp_template.c.
|
static |
Definition at line 1031 of file hevcdsp_template.c.
|
static |
Definition at line 1054 of file hevcdsp_template.c.
|
static |
Definition at line 1080 of file hevcdsp_template.c.
|
static |
Definition at line 1113 of file hevcdsp_template.c.
|
static |
Definition at line 1167 of file hevcdsp_template.c.
Referenced by hevc_h_loop_filter_luma(), and hevc_v_loop_filter_luma().
|
static |
Definition at line 1261 of file hevcdsp_template.c.
Referenced by hevc_h_loop_filter_chroma(), and hevc_v_loop_filter_chroma().
|
static |
Definition at line 1296 of file hevcdsp_template.c.
|
static |
Definition at line 1302 of file hevcdsp_template.c.
|
static |
Definition at line 1308 of file hevcdsp_template.c.