|
FFmpeg
|
#include "libavutil/common.h"#include "libavutil/internal.h"#include "hevcdec.h"#include "threadframe.h"Go to the source code of this file.
Macros | |
| #define | LUMA 0 |
| #define | CB 1 |
| #define | CR 2 |
| #define | CTB(tab, x, y) ((tab)[(y) * s->ps.sps->ctb_width + (x)]) |
| #define | TC_CALC(qp, bs) |
Functions | |
| static int | chroma_tc (const HEVCContext *s, int qp_y, int c_idx, int tc_offset) |
| static int | get_qPy_pred (HEVCLocalContext *lc, const HEVCContext *s, int xBase, int yBase, int log2_cb_size) |
| void | ff_hevc_set_qPy (HEVCLocalContext *lc, int xBase, int yBase, int log2_cb_size) |
| static int | get_qPy (const HEVCContext *s, int xC, int yC) |
| static void | copy_CTB (uint8_t *dst, const uint8_t *src, int width, int height, ptrdiff_t stride_dst, ptrdiff_t stride_src) |
| static void | copy_pixel (uint8_t *dst, const uint8_t *src, int pixel_shift) |
| static void | copy_vert (uint8_t *dst, const uint8_t *src, int pixel_shift, int height, ptrdiff_t stride_dst, ptrdiff_t stride_src) |
| static void | copy_CTB_to_hv (const HEVCContext *s, const uint8_t *src, ptrdiff_t stride_src, int x, int y, int width, int height, int c_idx, int x_ctb, int y_ctb) |
| static void | restore_tqb_pixels (const HEVCContext *s, uint8_t *src1, const uint8_t *dst1, ptrdiff_t stride_src, ptrdiff_t stride_dst, int x0, int y0, int width, int height, int c_idx) |
| static void | sao_filter_CTB (HEVCLocalContext *lc, const HEVCContext *s, int x, int y) |
| static int | get_pcm (const HEVCContext *s, int x, int y) |
| static void | deblocking_filter_CTB (const HEVCContext *s, int x0, int y0) |
| static int | boundary_strength (const HEVCContext *s, const MvField *curr, const MvField *neigh, const RefPicList *neigh_refPicList) |
| void | ff_hevc_deblocking_boundary_strengths (HEVCLocalContext *lc, int x0, int y0, int log2_trafo_size) |
| void | ff_hevc_hls_filter (HEVCLocalContext *lc, int x, int y, int ctb_size) |
| void | ff_hevc_hls_filters (HEVCLocalContext *lc, int x_ctb, int y_ctb, int ctb_size) |
Variables | |
| static const uint8_t | tctable [54] |
| static const uint8_t | betatable [52] |
| #define LUMA 0 |
Definition at line 31 of file hevc_filter.c.
| #define CB 1 |
Definition at line 32 of file hevc_filter.c.
| #define CR 2 |
Definition at line 33 of file hevc_filter.c.
Definition at line 254 of file hevc_filter.c.
| #define TC_CALC | ( | qp, | |
| bs | |||
| ) |
Definition at line 480 of file hevc_filter.c.
|
static |
Definition at line 47 of file hevc_filter.c.
Referenced by deblocking_filter_CTB().
|
static |
Definition at line 76 of file hevc_filter.c.
Referenced by ff_hevc_set_qPy().
| void ff_hevc_set_qPy | ( | HEVCLocalContext * | lc, |
| int | xBase, | ||
| int | yBase, | ||
| int | log2_cb_size | ||
| ) |
Definition at line 119 of file hevc_filter.c.
Referenced by hls_coding_unit(), and hls_transform_unit().
|
static |
Definition at line 132 of file hevc_filter.c.
Referenced by deblocking_filter_CTB().
|
static |
Definition at line 140 of file hevc_filter.c.
Referenced by sao_filter_CTB().
|
static |
Definition at line 173 of file hevc_filter.c.
Referenced by sao_filter_CTB().
|
static |
Definition at line 181 of file hevc_filter.c.
Referenced by copy_CTB_to_hv(), and sao_filter_CTB().
|
static |
Definition at line 201 of file hevc_filter.c.
Referenced by sao_filter_CTB().
|
static |
Definition at line 221 of file hevc_filter.c.
Referenced by sao_filter_CTB().
|
static |
Definition at line 256 of file hevc_filter.c.
Referenced by ff_hevc_hls_filter().
|
static |
Definition at line 464 of file hevc_filter.c.
Referenced by deblocking_filter_CTB().
|
static |
Definition at line 485 of file hevc_filter.c.
Referenced by ff_hevc_hls_filter().
|
static |
Definition at line 659 of file hevc_filter.c.
Referenced by ff_hevc_deblocking_boundary_strengths().
| void ff_hevc_deblocking_boundary_strengths | ( | HEVCLocalContext * | lc, |
| int | x0, | ||
| int | y0, | ||
| int | log2_trafo_size | ||
| ) |
Definition at line 723 of file hevc_filter.c.
Referenced by hls_coding_unit(), hls_pcm_sample(), and hls_transform_tree().
| void ff_hevc_hls_filter | ( | HEVCLocalContext * | lc, |
| int | x, | ||
| int | y, | ||
| int | ctb_size | ||
| ) |
Definition at line 851 of file hevc_filter.c.
Referenced by ff_hevc_hls_filters(), hls_decode_entry(), and hls_decode_entry_wpp().
| void ff_hevc_hls_filters | ( | HEVCLocalContext * | lc, |
| int | x_ctb, | ||
| int | y_ctb, | ||
| int | ctb_size | ||
| ) |
Definition at line 888 of file hevc_filter.c.
Referenced by hls_decode_entry(), and hls_decode_entry_wpp().
|
static |
Definition at line 35 of file hevc_filter.c.
Referenced by chroma_tc().
|
static |
Definition at line 41 of file hevc_filter.c.
Referenced by deblocking_filter_CTB().
1.8.17