Go to the source code of this file.
|
static void | check_deblock_chroma (HEVCDSPContext *h, int bit_depth, int c) |
|
static void | randomize_luma_buffers (int type, int *beta, int32_t tc[2], uint8_t *buf, ptrdiff_t xstride, ptrdiff_t ystride, int bit_depth) |
|
static void | check_deblock_luma (HEVCDSPContext *h, int bit_depth, int c) |
|
void | checkasm_check_hevc_deblock (void) |
|
|
static const uint32_t | pixel_mask [3] = { 0xffffffff, 0x03ff03ff, 0x0fff0fff } |
|
◆ SIZEOF_PIXEL
◆ BUF_STRIDE
#define BUF_STRIDE (16 * 2) |
◆ BUF_LINES
◆ BUF_OFFSET
◆ BUF_SIZE
◆ randomize_buffers
#define randomize_buffers |
( |
|
buf0, |
|
|
|
buf1, |
|
|
|
size |
|
) |
| |
Value: do { \
int k; \
for (k = 0; k <
size; k += 4) { \
} \
} while (0)
Definition at line 38 of file hevc_deblock.c.
◆ P3
#define P3 buf[-4 * xstride] |
◆ P2
#define P2 buf[-3 * xstride] |
◆ P1
#define P1 buf[-2 * xstride] |
◆ P0
#define P0 buf[-1 * xstride] |
◆ Q0
#define Q0 buf[0 * xstride] |
◆ Q1
#define Q1 buf[1 * xstride] |
◆ Q2
#define Q2 buf[2 * xstride] |
◆ Q3
#define Q3 buf[3 * xstride] |
◆ TC25
#define TC25 |
( |
|
x | ) |
((tc[x] * 5 + 1) >> 1) |
◆ MASK
#define MASK |
( |
|
x | ) |
(uint16_t)(x & ((1 << (bit_depth)) - 1)) |
◆ GET
#define GET |
( |
|
x | ) |
((SIZEOF_PIXEL == 1) ? *(uint8_t*)(&x) : *(uint16_t*)(&x)) |
◆ SET
Value: do { \
*(uint8_t*)(&x) = z; \
else \
*(uint16_t*)(&x) = z; \
} while (0)
Definition at line 100 of file hevc_deblock.c.
◆ RANDCLIP
#define RANDCLIP |
( |
|
x, |
|
|
|
diff |
|
) |
| |
◆ check_deblock_chroma()
static void check_deblock_chroma |
( |
HEVCDSPContext * |
h, |
|
|
int |
bit_depth, |
|
|
int |
c |
|
) |
| |
|
static |
◆ randomize_luma_buffers()
static void randomize_luma_buffers |
( |
int |
type, |
|
|
int * |
beta, |
|
|
int32_t |
tc[2], |
|
|
uint8_t * |
buf, |
|
|
ptrdiff_t |
xstride, |
|
|
ptrdiff_t |
ystride, |
|
|
int |
bit_depth |
|
) |
| |
|
static |
◆ check_deblock_luma()
static void check_deblock_luma |
( |
HEVCDSPContext * |
h, |
|
|
int |
bit_depth, |
|
|
int |
c |
|
) |
| |
|
static |
◆ checkasm_check_hevc_deblock()
void checkasm_check_hevc_deblock |
( |
void |
| ) |
|
◆ pixel_mask
const uint32_t pixel_mask[3] = { 0xffffffff, 0x03ff03ff, 0x0fff0fff } |
|
static |