FFmpeg
4.0
|
#include <string.h>
#include "libavutil/intreadwrite.h"
#include "libavcodec/avcodec.h"
#include "libavcodec/hevcdsp.h"
#include "checkasm.h"
Go to the source code of this file.
Macros | |
#define | SIZEOF_PIXEL ((bit_depth + 7) / 8) |
#define | PIXEL_STRIDE (2*MAX_PB_SIZE + AV_INPUT_BUFFER_PADDING_SIZE) |
#define | BUF_SIZE (PIXEL_STRIDE * (64+2) * 2) |
#define | OFFSET_THRESH (1 << (bit_depth - 5)) |
#define | OFFSET_LENGTH 5 |
#define | randomize_buffers(buf0, buf1, size) |
#define | randomize_buffers2(buf, size) |
Functions | |
static void | check_sao_band (HEVCDSPContext h, int bit_depth) |
static void | check_sao_edge (HEVCDSPContext h, int bit_depth) |
void | checkasm_check_hevc_sao (void) |
Variables | |
static const uint32_t | pixel_mask [3] = { 0xffffffff, 0x03ff03ff, 0x0fff0fff } |
static const uint32_t | sao_size [5] = {8, 16, 32, 48, 64} |
#define SIZEOF_PIXEL ((bit_depth + 7) / 8) |
Definition at line 34 of file hevc_sao.c.
Referenced by check_sao_band(), and check_sao_edge().
#define PIXEL_STRIDE (2*MAX_PB_SIZE + AV_INPUT_BUFFER_PADDING_SIZE) |
Definition at line 35 of file hevc_sao.c.
Referenced by check_sao_band(), and check_sao_edge().
#define BUF_SIZE (PIXEL_STRIDE * (64+2) * 2) |
Definition at line 36 of file hevc_sao.c.
Referenced by check_sao_band(), and check_sao_edge().
#define OFFSET_THRESH (1 << (bit_depth - 5)) |
Definition at line 37 of file hevc_sao.c.
#define OFFSET_LENGTH 5 |
Definition at line 38 of file hevc_sao.c.
Referenced by check_sao_band(), and check_sao_edge().
#define randomize_buffers | ( | buf0, | |
buf1, | |||
size | |||
) |
Definition at line 40 of file hevc_sao.c.
Referenced by check_sao_band(), and check_sao_edge().
Definition at line 51 of file hevc_sao.c.
Referenced by check_sao_band(), and check_sao_edge().
|
static |
Definition at line 68 of file hevc_sao.c.
Referenced by checkasm_check_hevc_sao().
|
static |
Definition at line 99 of file hevc_sao.c.
Referenced by checkasm_check_hevc_sao().
Definition at line 131 of file hevc_sao.c.
|
static |
Definition at line 31 of file hevc_sao.c.
|
static |
Definition at line 32 of file hevc_sao.c.
Referenced by check_sao_band(), and check_sao_edge().