Libav
|
#include <string.h>
#include "checkasm.h"
#include "libavcodec/avcodec.h"
#include "libavcodec/h264pred.h"
#include "libavutil/common.h"
#include "libavutil/internal.h"
#include "libavutil/intreadwrite.h"
Go to the source code of this file.
Macros | |
#define | SIZEOF_PIXEL ((bit_depth + 7) / 8) |
#define | BUF_SIZE (3 * 16 * 17) |
#define | check_pred_func(func, name, mode_name) |
#define | randomize_buffers() |
#define | src0 (buf0 + 4 * 16) /* Offset to allow room for top and left */ |
#define | src1 (buf1 + 4 * 16) |
Functions | |
static void | check_pred4x4 (H264PredContext *h, uint8_t *buf0, uint8_t *buf1, int codec, int chroma_format, int bit_depth) |
static void | check_pred8x8 (H264PredContext *h, uint8_t *buf0, uint8_t *buf1, int codec, int chroma_format, int bit_depth) |
static void | check_pred16x16 (H264PredContext *h, uint8_t *buf0, uint8_t *buf1, int codec, int chroma_format, int bit_depth) |
static void | check_pred8x8l (H264PredContext *h, uint8_t *buf0, uint8_t *buf1, int codec, int chroma_format, int bit_depth) |
void | checkasm_check_h264pred (void) |
Variables | |
static const int | codec_ids [4] = { AV_CODEC_ID_H264, AV_CODEC_ID_VP8, AV_CODEC_ID_RV40, AV_CODEC_ID_SVQ3 } |
static const char *const | pred4x4_modes [4][15] |
static const char *const | pred8x8_modes [4][11] |
static const char *const | pred16x16_modes [4][9] |
static const uint32_t | pixel_mask [3] = { 0xffffffff, 0x01ff01ff, 0x03ff03ff } |
#define SIZEOF_PIXEL ((bit_depth + 7) / 8) |
Definition at line 119 of file h264pred.c.
Referenced by check_pred4x4(), check_pred8x8(), and check_pred8x8l().
#define BUF_SIZE (3 * 16 * 17) |
Definition at line 120 of file h264pred.c.
Referenced by check_pred16x16(), check_pred4x4(), check_pred8x8(), check_pred8x8l(), and checkasm_check_h264pred().
Definition at line 122 of file h264pred.c.
Referenced by check_pred16x16(), check_pred4x4(), check_pred8x8(), and check_pred8x8l().
#define randomize_buffers | ( | ) |
Definition at line 127 of file h264pred.c.
Referenced by check_pred16x16(), check_pred4x4(), check_pred8x8(), and check_pred8x8l().
#define src0 (buf0 + 4 * 16) /* Offset to allow room for top and left */ |
Definition at line 138 of file h264pred.c.
Referenced by check_pred16x16(), check_pred4x4(), check_pred8x8(), check_pred8x8l(), checkasm_check_bswapdsp(), extract_even2avg(), extract_odd2avg(), ict_float(), ict_int(), main(), mix_2_to_1_s16p_flt_c(), mix_2_to_1_s16p_q8_c(), mix_2_to_6_fltp_flt_c(), mix_6_to_2_fltp_flt_c(), MIX_FUNC_GENERIC(), ps_mul_pair_single_c(), rct_int(), resample_linear(), resample_nearest(), resample_one(), and wmv2_mspel8_v_lowpass().
#define src1 (buf1 + 4 * 16) |
Definition at line 139 of file h264pred.c.
Referenced by bswap16UV_c(), check_pred16x16(), check_pred4x4(), check_pred8x8(), check_pred8x8l(), checkasm_check_bswapdsp(), chroma_mc(), dct_sad8x8_c(), dither_int_to_float_triangular_c(), extract_even2avg(), extract_odd2avg(), hcscale(), ict_float(), ict_int(), interleaveBytes(), main(), mix_2_to_1_s16p_flt_c(), mix_2_to_1_s16p_q8_c(), mix_2_to_6_fltp_flt_c(), mix_6_to_2_fltp_flt_c(), MIX_FUNC_GENERIC(), rct_int(), sse(), swscale(), upsample_plane_c(), vp8_mc_chroma(), vu9_to_vu12(), wmv2_mspel8_v_lowpass(), yuv2yuyv422_1(), and yvu9_to_yuy2().
|
static |
Definition at line 141 of file h264pred.c.
Referenced by checkasm_check_h264pred().
|
static |
Definition at line 162 of file h264pred.c.
Referenced by checkasm_check_h264pred().
|
static |
Definition at line 181 of file h264pred.c.
Referenced by checkasm_check_h264pred().
|
static |
Definition at line 201 of file h264pred.c.
Referenced by checkasm_check_h264pred().
Definition at line 232 of file h264pred.c.
|
static |
Definition at line 29 of file h264pred.c.
Referenced by check_pred8x8l(), and checkasm_check_h264pred().
|
static |
Definition at line 31 of file h264pred.c.
Referenced by check_pred4x4(), and check_pred8x8l().
|
static |
Definition at line 67 of file h264pred.c.
Referenced by check_pred8x8().
|
static |
Definition at line 94 of file h264pred.c.
Referenced by check_pred16x16().
|
static |
Definition at line 117 of file h264pred.c.