Home
last modified time | relevance | path

Searched refs:kPixels (Results 1 – 2 of 2) sorted by relevance

/external/libyuv/files/unit_test/
Dcolor_test.cc41 const int kPixels = benchmark_width_ * benchmark_height_; \
44 align_buffer_page_end(orig_y, kPixels); \
47 align_buffer_page_end(orig_pixels, kPixels * 4); \
48 align_buffer_page_end(temp_y, kPixels); \
51 align_buffer_page_end(dst_pixels_opt, kPixels * 4); \
52 align_buffer_page_end(dst_pixels_c, kPixels * 4); \
54 MemRandomize(orig_pixels, kPixels * 4); \
55 MemRandomize(orig_y, kPixels); \
58 MemRandomize(temp_y, kPixels); \
61 MemRandomize(dst_pixels_opt, kPixels * 4); \
[all …]
Dplanar_test.cc2274 const int kPixels = benchmark_width_ * benchmark_height_; in TEST_F() local
2275 align_buffer_page_end(src_pixels, kPixels * 4); in TEST_F()
2276 align_buffer_page_end(dst_pixels_opt, kPixels); in TEST_F()
2277 align_buffer_page_end(dst_pixels_c, kPixels); in TEST_F()
2279 MemRandomize(src_pixels, kPixels * 4); in TEST_F()
2280 MemRandomize(dst_pixels_opt, kPixels); in TEST_F()
2281 memcpy(dst_pixels_c, dst_pixels_opt, kPixels); in TEST_F()
2292 for (int i = 0; i < kPixels; ++i) { in TEST_F()
2302 const int kPixels = benchmark_width_ * benchmark_height_; in TEST_F() local
2303 align_buffer_page_end(orig_pixels, kPixels); in TEST_F()
[all …]