FFmpeg
|
#include "get_bits.h"
#include "hevcdec.h"
#include "bit_depth_template.c"
#include "dsp.h"
#include "h26x/h2656_sao_template.c"
#include "h26x/h2656_inter_template.c"
#include "h26x/h2656_deblock_template.c"
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 | TR_4x4_LUMA(dst, src, step, assign) |
#define | TR_4(dst, src, dstep, sstep, assign, end) |
#define | TR_8(dst, src, dstep, sstep, assign, end) |
#define | TR_16(dst, src, dstep, sstep, assign, end) |
#define | TR_32(dst, src, dstep, sstep, assign, end) |
#define | IDCT_VAR4(H) int limit2 = FFMIN(col_limit + 4, H) |
#define | IDCT_VAR8(H) |
#define | IDCT_VAR16(H) IDCT_VAR8(H) |
#define | IDCT_VAR32(H) IDCT_VAR8(H) |
#define | IDCT(H) |
#define | IDCT_DC(H) |
#define | ff_hevc_pel_filters ff_hevc_qpel_filters |
#define | DECL_HV_FILTER(f) |
#define | FW_PUT(p, f, t) |
#define | FW_PUT_UNI(p, f, t) |
#define | FW_PUT_UNI_W(p, f, t) |
#define | FW_PUT_FUNCS(f, t, dir) |
#define | QPEL_FILTER(src, stride) |
#define | EPEL_FILTER(src, stride) |
#define | P3 pix[-4 * xstride] |
#define | P2 pix[-3 * xstride] |
#define | P1 pix[-2 * xstride] |
#define | P0 pix[-1 * xstride] |
#define | Q0 pix[0 * xstride] |
#define | Q1 pix[1 * 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[-1 * xstride + 3 * ystride] |
#define | TQ0 pix[0 * xstride + 3 * ystride] |
#define | TQ1 pix[1 * 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 width, int height, GetBitContext *gb, int pcm_bit_depth) |
static av_always_inline void FUNC() | add_residual (uint8_t *_dst, const int16_t *res, ptrdiff_t stride, int size) |
static void FUNC() | add_residual4x4 (uint8_t *_dst, const int16_t *res, ptrdiff_t stride) |
static void FUNC() | add_residual8x8 (uint8_t *_dst, const int16_t *res, ptrdiff_t stride) |
static void FUNC() | add_residual16x16 (uint8_t *_dst, const int16_t *res, ptrdiff_t stride) |
static void FUNC() | add_residual32x32 (uint8_t *_dst, const int16_t *res, ptrdiff_t stride) |
static void FUNC() | transform_rdpcm (int16_t *_coeffs, int16_t log2_size, int mode) |
static void FUNC() | dequant (int16_t *coeffs, int16_t log2_size) |
static void FUNC() | transform_4x4_luma (int16_t *coeffs) |
static void FUNC() | put_hevc_pel_bi_pixels (uint8_t *_dst, ptrdiff_t _dststride, const uint8_t *_src, ptrdiff_t _srcstride, const int16_t *src2, int height, intptr_t mx, intptr_t my, int width) |
static void FUNC() | put_hevc_pel_bi_w_pixels (uint8_t *_dst, ptrdiff_t _dststride, const uint8_t *_src, ptrdiff_t _srcstride, const int16_t *src2, int height, int denom, int wx0, int wx1, int ox0, int ox1, intptr_t mx, intptr_t my, int width) |
static void FUNC() | put_hevc_qpel_bi_h (uint8_t *_dst, ptrdiff_t _dststride, const uint8_t *_src, ptrdiff_t _srcstride, const int16_t *src2, int height, intptr_t mx, intptr_t my, int width) |
static void FUNC() | put_hevc_qpel_bi_v (uint8_t *_dst, ptrdiff_t _dststride, const uint8_t *_src, ptrdiff_t _srcstride, const int16_t *src2, int height, intptr_t mx, intptr_t my, int width) |
static void FUNC() | put_hevc_qpel_bi_hv (uint8_t *_dst, ptrdiff_t _dststride, const uint8_t *_src, ptrdiff_t _srcstride, const int16_t *src2, int height, intptr_t mx, intptr_t my, int width) |
static void FUNC() | put_hevc_qpel_bi_w_h (uint8_t *_dst, ptrdiff_t _dststride, const uint8_t *_src, ptrdiff_t _srcstride, const int16_t *src2, int height, int denom, int wx0, int wx1, int ox0, int ox1, intptr_t mx, intptr_t my, int width) |
static void FUNC() | put_hevc_qpel_bi_w_v (uint8_t *_dst, ptrdiff_t _dststride, const uint8_t *_src, ptrdiff_t _srcstride, const int16_t *src2, int height, int denom, int wx0, int wx1, int ox0, int ox1, intptr_t mx, intptr_t my, int width) |
static void FUNC() | put_hevc_qpel_bi_w_hv (uint8_t *_dst, ptrdiff_t _dststride, const uint8_t *_src, ptrdiff_t _srcstride, const int16_t *src2, int height, int denom, int wx0, int wx1, int ox0, int ox1, intptr_t mx, intptr_t my, int width) |
static void FUNC() | put_hevc_epel_bi_h (uint8_t *_dst, ptrdiff_t _dststride, const uint8_t *_src, ptrdiff_t _srcstride, const int16_t *src2, int height, intptr_t mx, intptr_t my, int width) |
static void FUNC() | put_hevc_epel_bi_v (uint8_t *_dst, ptrdiff_t _dststride, const uint8_t *_src, ptrdiff_t _srcstride, const int16_t *src2, int height, intptr_t mx, intptr_t my, int width) |
static void FUNC() | put_hevc_epel_bi_hv (uint8_t *_dst, ptrdiff_t _dststride, const uint8_t *_src, ptrdiff_t _srcstride, const int16_t *src2, int height, intptr_t mx, intptr_t my, int width) |
static void FUNC() | put_hevc_epel_bi_w_h (uint8_t *_dst, ptrdiff_t _dststride, const uint8_t *_src, ptrdiff_t _srcstride, const int16_t *src2, int height, int denom, int wx0, int wx1, int ox0, int ox1, intptr_t mx, intptr_t my, int width) |
static void FUNC() | put_hevc_epel_bi_w_v (uint8_t *_dst, ptrdiff_t _dststride, const uint8_t *_src, ptrdiff_t _srcstride, const int16_t *src2, int height, int denom, int wx0, int wx1, int ox0, int ox1, intptr_t mx, intptr_t my, int width) |
static void FUNC() | put_hevc_epel_bi_w_hv (uint8_t *_dst, ptrdiff_t _dststride, const uint8_t *_src, ptrdiff_t _srcstride, const int16_t *src2, int height, int denom, int wx0, int wx1, int ox0, int ox1, intptr_t mx, intptr_t my, int width) |
static void FUNC() | hevc_loop_filter_luma (uint8_t *_pix, ptrdiff_t _xstride, ptrdiff_t _ystride, int beta, const int *_tc, const uint8_t *_no_p, const uint8_t *_no_q) |
static void FUNC() | hevc_loop_filter_chroma (uint8_t *_pix, ptrdiff_t _xstride, ptrdiff_t _ystride, const int *_tc, const uint8_t *_no_p, const uint8_t *_no_q) |
static void FUNC() | hevc_h_loop_filter_chroma (uint8_t *pix, ptrdiff_t stride, const int32_t *tc, const uint8_t *no_p, const uint8_t *no_q) |
static void FUNC() | hevc_v_loop_filter_chroma (uint8_t *pix, ptrdiff_t stride, const int32_t *tc, const uint8_t *no_p, const uint8_t *no_q) |
static void FUNC() | hevc_h_loop_filter_luma (uint8_t *pix, ptrdiff_t stride, int beta, const int32_t *tc, const uint8_t *no_p, const uint8_t *no_q) |
static void FUNC() | hevc_v_loop_filter_luma (uint8_t *pix, ptrdiff_t stride, int beta, const int32_t *tc, const uint8_t *no_p, const uint8_t *no_q) |
Definition at line 133 of file dsp_template.c.
#define SCALE | ( | dst, | |
x | |||
) | (dst) = av_clip_int16(((x) + add) >> shift) |
Definition at line 134 of file dsp_template.c.
Definition at line 136 of file dsp_template.c.
Definition at line 173 of file dsp_template.c.
Definition at line 186 of file dsp_template.c.
Definition at line 202 of file dsp_template.c.
Definition at line 218 of file dsp_template.c.
Definition at line 234 of file dsp_template.c.
#define IDCT_VAR8 | ( | H | ) |
Definition at line 239 of file dsp_template.c.
Definition at line 240 of file dsp_template.c.
#define IDCT | ( | H | ) |
#define IDCT_DC | ( | H | ) |
Definition at line 267 of file dsp_template.c.
#define ff_hevc_pel_filters ff_hevc_qpel_filters |
Definition at line 303 of file dsp_template.c.
#define DECL_HV_FILTER | ( | f | ) |
#define FW_PUT | ( | p, | |
f, | |||
t | |||
) |
#define FW_PUT_UNI | ( | p, | |
f, | |||
t | |||
) |
Definition at line 316 of file dsp_template.c.
#define FW_PUT_UNI_W | ( | p, | |
f, | |||
t | |||
) |
Definition at line 324 of file dsp_template.c.
#define FW_PUT_FUNCS | ( | f, | |
t, | |||
dir | |||
) |
Definition at line 404 of file dsp_template.c.
#define P3 pix[-4 * xstride] |
Definition at line 801 of file dsp_template.c.
#define P2 pix[-3 * xstride] |
Definition at line 802 of file dsp_template.c.
#define P1 pix[-2 * xstride] |
Definition at line 803 of file dsp_template.c.
#define P0 pix[-1 * xstride] |
Definition at line 804 of file dsp_template.c.
#define Q0 pix[0 * xstride] |
Definition at line 805 of file dsp_template.c.
#define Q1 pix[1 * xstride] |
Definition at line 806 of file dsp_template.c.
#define Q2 pix[2 * xstride] |
Definition at line 807 of file dsp_template.c.
#define Q3 pix[3 * xstride] |
Definition at line 808 of file dsp_template.c.
#define TP3 pix[-4 * xstride + 3 * ystride] |
Definition at line 811 of file dsp_template.c.
#define TP2 pix[-3 * xstride + 3 * ystride] |
Definition at line 812 of file dsp_template.c.
#define TP1 pix[-2 * xstride + 3 * ystride] |
Definition at line 813 of file dsp_template.c.
#define TP0 pix[-1 * xstride + 3 * ystride] |
Definition at line 814 of file dsp_template.c.
#define TQ0 pix[0 * xstride + 3 * ystride] |
Definition at line 815 of file dsp_template.c.
#define TQ1 pix[1 * xstride + 3 * ystride] |
Definition at line 816 of file dsp_template.c.
#define TQ2 pix[2 * xstride + 3 * ystride] |
Definition at line 817 of file dsp_template.c.
#define TQ3 pix[3 * xstride + 3 * ystride] |
Definition at line 818 of file dsp_template.c.
|
static |
Definition at line 31 of file dsp_template.c.
|
static |
Definition at line 46 of file dsp_template.c.
Referenced by add_residual16x16(), add_residual32x32(), add_residual4x4(), and add_residual8x8().
|
static |
Definition at line 63 of file dsp_template.c.
|
static |
Definition at line 69 of file dsp_template.c.
|
static |
Definition at line 75 of file dsp_template.c.
|
static |
Definition at line 81 of file dsp_template.c.
|
static |
Definition at line 87 of file dsp_template.c.
|
static |
Definition at line 109 of file dsp_template.c.
|
static |
Definition at line 151 of file dsp_template.c.
|
static |
Definition at line 349 of file dsp_template.c.
|
static |
Definition at line 375 of file dsp_template.c.
|
static |
Definition at line 414 of file dsp_template.c.
|
static |
Definition at line 442 of file dsp_template.c.
|
static |
Definition at line 470 of file dsp_template.c.
|
static |
Definition at line 510 of file dsp_template.c.
|
static |
Definition at line 538 of file dsp_template.c.
|
static |
Definition at line 566 of file dsp_template.c.
|
static |
Definition at line 615 of file dsp_template.c.
|
static |
Definition at line 642 of file dsp_template.c.
|
static |
Definition at line 668 of file dsp_template.c.
|
static |
Definition at line 708 of file dsp_template.c.
|
static |
Definition at line 734 of file dsp_template.c.
|
static |
Definition at line 760 of file dsp_template.c.
|
static |
Definition at line 822 of file dsp_template.c.
Referenced by hevc_h_loop_filter_luma(), and hevc_v_loop_filter_luma().
|
static |
Definition at line 867 of file dsp_template.c.
Referenced by hevc_h_loop_filter_chroma(), and hevc_v_loop_filter_chroma().
|
static |
Definition at line 888 of file dsp_template.c.
|
static |
Definition at line 895 of file dsp_template.c.
|
static |
Definition at line 902 of file dsp_template.c.
|
static |
Definition at line 910 of file dsp_template.c.