34#define MAX_LINE_SIZE 1920
36#define randomize_buffers(buf, size) \
38 for (int j = 0; j < size; j += 2) \
39 AV_WN32(buf + j, rnd()); \
44 static const int input_sizes[] = {1, 2, 3, 4, 5, 6, 7, 8, 16, 17, 21, 31,
45 32, 64, 128, 256, 512, 1024,
49 const int dst_stride = src_stride;
65 memset(&
c, 0,
sizeof(
c));
66 c.opts.src_format = src_pix_fmt;
83 call_ref(&
c, (uint8_t *)dst_ref, dst_stride,
85 call_new(&
c, (uint8_t *)dst_new, dst_stride,
88 checkasm_check(uint16_t, dst_ref, dst_stride, dst_new,
93 dst_stride, (
const uint8_t *)
src, src_stride,
#define LOCAL_ALIGNED_8(t, v,...)
const AVPixFmtDescriptor * av_pix_fmt_desc_get(enum AVPixelFormat pix_fmt)
@ AV_PIX_FMT_XYZ12LE
packed XYZ 4:4:4, 36 bpp, (msb) 12X, 12Y, 12Z (lsb), the 2-byte value for each X/Y/Z is stored as lit...
@ AV_PIX_FMT_RGB48LE
packed RGB 16:16:16, 48bpp, 16R, 16G, 16B, the 2-byte value for each R/G/B component is stored as lit...
#define FF_ARRAY_ELEMS(a)
Descriptor that unambiguously describes how the bits of a pixel are stored in the up to 4 data planes...
static const int input_sizes[]
#define randomize_buffers(buf, size)
void checkasm_check_sw_xyz2rgb(void)
static void check_xyz12Torgb48le(void)
av_cold void ff_sws_init_xyzdsp(SwsInternal *c)
av_cold int ff_sws_fill_xyztables(SwsInternal *c)