Lines Matching refs:pary

110 void checkMonotonep24(uint8_t * pary, size_t size)  in checkMonotonep24()  argument
114 EXPECT_LT(i32_from_p24(pary + 3*(i-1)), i32_from_p24(pary + 3*i)); in checkMonotonep24()
197 std::vector<uint8_t> pary(size * 3); in TEST() local
217 memcpy_to_p24_from_i16(pary.data(), i16ary.data(), size /* note pary elem is 3 bytes */); in TEST()
223 1025, (unsigned) pary[1025*3], in TEST()
224 1025, (unsigned) pary[1025*3+1], in TEST()
225 1025, (unsigned) pary[1025*3+2] in TEST()
229 memcpy_to_float_from_p24(fary.data(), pary.data(), fary.size()); in TEST()
230 zeroFill(pary); in TEST()
233 memcpy_to_p24_from_float(pary.data(), fary.data(), size /* note pary elem is 3 bytes */); in TEST()
235 checkMonotonep24(pary.data(), pary.size() /* this is * 3*/); in TEST()
237 memcpy_to_i16_from_p24(i16ary.data(), pary.data(), i16ary.size()); in TEST()
238 zeroFill(pary); in TEST()
276 memcpy_to_p24_from_i16(pary.data(), i16ary.data(), size /* note pary elem is 3 bytes */); in TEST()
278 checkMonotonep24(pary.data(), pary.size() /* this is * 3*/); in TEST()
280 memcpy_to_i32_from_p24(i32ary.data(), pary.data(), i32ary.size()); in TEST()
281 zeroFill(pary); in TEST()
284 memcpy_to_p24_from_i32(pary.data(), i32ary.data(), size /* note pary elem is 3 bytes */); in TEST()
286 checkMonotonep24(pary.data(), pary.size() /* this is * 3*/); in TEST()
288 memcpy_to_q8_23_from_p24(i32ary.data(), pary.data(), i32ary.size()); in TEST()
289 zeroFill(pary); in TEST()
292 memcpy_to_p24_from_q8_23(pary.data(), i32ary.data(), size /* note pary elem is 3 bytes */); in TEST()
294 checkMonotonep24(pary.data(), pary.size() /* this is * 3*/); in TEST()
296 memcpy_to_i16_from_p24(i16ary.data(), pary.data(), i16ary.size()); in TEST()
297 zeroFill(pary); in TEST()
708 void checkAddedClampedp24(uint8_t *pary, const uint8_t *in1, in checkAddedClampedp24() argument
714 memcpy_to_q8_23_from_p24(outi32ary, pary, size); in checkAddedClampedp24()
792 uint8_t *pary = new uint8_t[65536 * 3]; in TEST() local
796 memcpy_to_p24_from_i16(pary, i16ref, 65536); in TEST()
799 memcpy(pref, pary, 65536 * sizeof(pary[0]) * 3); in TEST()
801 accumulate_p24(pary, padd, 65536); in TEST()
802 checkAddedClampedp24(pary, pref, padd, 65536); in TEST()
806 delete[] pary; in TEST()