Lines Matching defs:width
38 static void check_add_int16(HuffYUVDSPContext c, unsigned mask, int width, const char * name)
40 uint16_t *src0 = av_mallocz(width * sizeof(uint16_t));
41 uint16_t *src1 = av_mallocz(width * sizeof(uint16_t));
42 uint16_t *dst0 = av_mallocz(width * sizeof(uint16_t));
43 uint16_t *dst1 = av_mallocz(width * sizeof(uint16_t));
50 randomize_buffers(src0, width);
51 memcpy(src1, src0, width * sizeof(uint16_t));
54 call_ref(dst0, src0, mask, width);
55 call_new(dst1, src1, mask, width);
56 if (memcmp(dst0, dst1, width * sizeof(uint16_t)))
58 bench_new(dst1, src1, mask, width);
70 int width = 16 * av_clip(rnd(), 16, 128);
74 /*! test width not multiple of mmsize */
75 check_add_int16(c, 65535, width, "add_int16_rnd_width");