FFmpeg
|
#include <string.h>
#include "libavutil/common.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/mem_internal.h"
#include "libavutil/pixdesc.h"
#include "libswscale/rgb2rgb.h"
#include "libswscale/swscale.h"
#include "libswscale/swscale_internal.h"
#include "checkasm.h"
Go to the source code of this file.
Macros | |
#define | randomize_buffers(buf, size) |
#define | MAX_STRIDE 128 |
#define | MAX_HEIGHT 128 |
#define | NUM_LINES 5 |
#define | MAX_LINE_SIZE 1920 |
#define | BUFSIZE (NUM_LINES * MAX_LINE_SIZE) |
#define | MAX_LINE_SIZE 1920 |
Functions | |
static void | check_shuffle_bytes (void *func, const char *report) |
static void | check_uyvy_to_422p (void) |
static int | cmp_off_by_n (const uint8_t *ref, const uint8_t *test, size_t n, int accuracy) |
static void | check_rgb24toyv12 (SwsContext *sws) |
static void | check_interleave_bytes (void) |
static void | check_deinterleave_bytes (void) |
static void | check_rgb_to_y (SwsContext *sws) |
static void | check_rgb_to_uv (SwsContext *sws) |
void | checkasm_check_sw_rgb (void) |
Variables | |
static const uint8_t | width [] = {12, 16, 20, 32, 36, 128} |
struct { | |
uint8_t w | |
uint8_t h | |
uint8_t s | |
} | planes [] |
static const int | input_sizes [] = {8, 128, 1080, MAX_LINE_SIZE} |
static enum AVPixelFormat | rgb_formats [] |
#define randomize_buffers | ( | buf, | |
size | |||
) |
#define BUFSIZE (NUM_LINES * MAX_LINE_SIZE) |
|
static |
Definition at line 48 of file sw_rgb.c.
Referenced by checkasm_check_sw_rgb().
|
static |
Definition at line 74 of file sw_rgb.c.
Referenced by checkasm_check_sw_rgb().
|
static |
Definition at line 121 of file sw_rgb.c.
Referenced by check_rgb24toyv12().
|
static |
Definition at line 130 of file sw_rgb.c.
Referenced by checkasm_check_sw_rgb().
|
static |
Definition at line 204 of file sw_rgb.c.
Referenced by checkasm_check_sw_rgb().
|
static |
Definition at line 272 of file sw_rgb.c.
Referenced by checkasm_check_sw_rgb().
|
static |
Definition at line 357 of file sw_rgb.c.
Referenced by checkasm_check_sw_rgb().
|
static |
Definition at line 402 of file sw_rgb.c.
Referenced by checkasm_check_sw_rgb().
|
static |
Definition at line 40 of file sw_rgb.c.
Referenced by check_deinterleave_bytes(), check_rgb24toyv12(), check_rgb_to_uv(), check_rgb_to_y(), check_shuffle_bytes(), and check_uyvy_to_422p().
uint8_t w |
Definition at line 41 of file sw_rgb.c.
Referenced by check_deinterleave_bytes(), check_interleave_bytes(), check_rgb_to_uv(), check_rgb_to_y(), and check_uyvy_to_422p().
uint8_t h |
Definition at line 41 of file sw_rgb.c.
Referenced by check_deinterleave_bytes(), check_interleave_bytes(), and check_uyvy_to_422p().
uint8_t s |
Definition at line 41 of file sw_rgb.c.
Referenced by check_uyvy_to_422p().
const { ... } planes[] |
Referenced by check_uyvy_to_422p().
|
static |
Definition at line 347 of file sw_rgb.c.
Referenced by check_chrConvertRange(), check_draw_edges(), check_hscale(), check_input_planar_rgb_to_a(), check_input_planar_rgb_to_uv(), check_input_planar_rgb_to_y(), check_lumConvertRange(), check_output_yuv2gbrp(), check_rgb24toyv12(), check_rgb_to_uv(), check_rgb_to_y(), check_semiplanar(), check_yuv2rgb(), check_yuv2yuv1(), and check_yuv2yuvX().
|
static |
Definition at line 348 of file sw_rgb.c.
Referenced by check_rgb_to_uv(), and check_rgb_to_y().