31 #define randomize_buffers(buf, size) \
34 for (j = 0; j < size; j+=4) \
35 AV_WN32(buf + j, rnd()); \
40 {12,16,12}, {16,16,16}, {20,23,25}, {32,18,48}, {8,128,16}, {128,128,128}
43 #define MAX_STRIDE 128
44 #define MAX_HEIGHT 128
62 for (
i = 0;
i < 6;
i ++) {
87 int lumStride,
int chromStride,
int srcStride);
93 for (
i = 0;
i < 6;
i ++) {
129 uint8_t *,
int,
int,
int,
int,
int);
135 for (
int i = 0;
i <= 16;
i++) {
141 int src0_offset = 0, src0_stride =
MAX_STRIDE;
142 int src1_offset = 0, src1_stride =
MAX_STRIDE;
143 int dst_offset = 0, dst_stride = 2 *
MAX_STRIDE;
150 src0_offset = (
h-1)*src0_stride;
151 src0_stride = -src0_stride;
154 src1_offset = (
h-1)*src1_stride;
155 src1_stride = -src1_stride;
158 dst_offset = (
h-1)*dst_stride;
159 dst_stride = -dst_stride;
163 w,
h, src0_stride, src1_stride, dst_stride);
165 w,
h, src0_stride, src1_stride, dst_stride);
169 2 *
w + 2,
h + 1,
"dst");
188 report(
"shuffle_bytes_2103");
191 report(
"shuffle_bytes_0321");
194 report(
"shuffle_bytes_1230");
197 report(
"shuffle_bytes_3012");
200 report(
"shuffle_bytes_3210");
206 report(
"interleave_bytes");