Go to the documentation of this file.
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,
93 dst_stride, (
const uint8_t *)
src, src_stride,
@ 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...
void checkasm_check_sw_xyz2rgb(void)
const AVPixFmtDescriptor * av_pix_fmt_desc_get(enum AVPixelFormat pix_fmt)
#define check_func(func,...)
#define FF_ARRAY_ELEMS(a)
static void check_xyz12Torgb48le(void)
static const int input_sizes[]
#define LOCAL_ALIGNED_8(t, v,...)
@ 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...
Undefined Behavior In the C some operations are like signed integer dereferencing freed accessing outside allocated Undefined Behavior must not occur in a C it is not safe even if the output of undefined operations is unused The unsafety may seem nit picking but Optimizing compilers have in fact optimized code on the assumption that no undefined Behavior occurs Optimizing code based on wrong assumptions can and has in some cases lead to effects beyond the output of computations The signed integer overflow problem in speed critical code Code which is highly optimized and works with signed integers sometimes has the problem that often the output of the computation does not c
av_cold void ff_sws_init_xyzdsp(SwsInternal *c)
av_cold int ff_sws_fill_xyztables(SwsInternal *c)
Descriptor that unambiguously describes how the bits of a pixel are stored in the up to 4 data planes...
#define declare_func(ret,...)
#define checkasm_check(prefix,...)
#define randomize_buffers(buf, size)