Searched refs:I420_SIZE (Results 1 – 4 of 4) sorted by relevance
/external/webrtc/talk/session/media/ |
D | yuvscaler_unittest.cc | 102 size_t isize = I420_SIZE(iw, ih); in TestScale() 103 size_t osize = I420_SIZE(ow, oh); in TestScale() 195 ALIGN16(uint8_t ibuf[I420_SIZE(iw, ih)]); in TEST_F() 196 ALIGN16(uint8_t obuf[I420_SIZE(ow, oh)]); in TEST_F() 212 scoped_ptr<uint8_t[]> ibuffer(new uint8_t[I420_SIZE(iw, ih) + kAlignment]); in TEST_F() 213 scoped_ptr<uint8_t[]> obuffer(new uint8_t[I420_SIZE(ow, oh) + kAlignment]); in TEST_F()
|
D | planarfunctions_unittest.cc | 513 new uint8_t[I420_SIZE(kHeight, kWidth) + kAlignment]); in TEST_F() 530 I420_SIZE(kHeight, kWidth), 1.e-6)); in TEST_F() 551 new uint8_t[I420_SIZE(kHeight, kWidth) + kAlignment]); in TEST_F() 577 I420_SIZE(kHeight, kWidth), 1.e-6)); in TEST_F() 598 new uint8_t[I420_SIZE(kHeight, kWidth) + kAlignment + unalignment]); in TEST_P() 622 I420_SIZE(kHeight, kWidth), 1.e-6)); in TEST_P() 644 new uint8_t[I420_SIZE(kHeight, kWidth) + kAlignment + unalignment]); in TEST_P() 669 I420_SIZE(kHeight, kWidth), 1.e-6)); in TEST_P() 692 new uint8_t[I420_SIZE(kHeight, kWidth) + kAlignment + unalignment]); \ 713 I420_SIZE(kHeight, kWidth), MSE)); \
|
/external/webrtc/talk/media/base/ |
D | testutils.cc | 293 stream->ReadAll(out, I420_SIZE(width, height), NULL, NULL); in LoadPlanarYuvTestImage() 308 fs.Write(img, I420_SIZE(w, h), NULL, NULL); in DumpPlanarYuvTestImage()
|
D | testutils.h | 51 #define I420_SIZE(w, h) (w * h + (((w + 1) / 2) * ((h + 1) / 2)) * 2) macro
|