FFmpeg
|
#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.
#define BUF_SIZE (3 * 16 * 17) |
Definition at line 120 of file h264pred.c.
Definition at line 122 of file h264pred.c.
#define randomize_buffers | ( | ) |
Definition at line 138 of file h264pred.c.
#define src1 (buf1 + 4 * 16) |
Definition at line 139 of file h264pred.c.
|
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().
void checkasm_check_h264pred | ( | void | ) |
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.