/external/libyuv/files/unit_test/ |
convert_test.cc | 31 #define SUBSAMPLE(v, a) ((((v) + (a)-1)) / (a)) 39 align_buffer_page_end(src_u, SUBSAMPLE(kWidth, SRC_SUBSAMP_X) * \ 40 SUBSAMPLE(kHeight, SRC_SUBSAMP_Y) + \ 42 align_buffer_page_end(src_v, SUBSAMPLE(kWidth, SRC_SUBSAMP_X) * \ 43 SUBSAMPLE(kHeight, SRC_SUBSAMP_Y) + \ 46 align_buffer_page_end(dst_u_c, SUBSAMPLE(kWidth, SUBSAMP_X) * \ 47 SUBSAMPLE(kHeight, SUBSAMP_Y)); \ 48 align_buffer_page_end(dst_v_c, SUBSAMPLE(kWidth, SUBSAMP_X) * \ 49 SUBSAMPLE(kHeight, SUBSAMP_Y)); \ 51 align_buffer_page_end(dst_u_opt, SUBSAMPLE(kWidth, SUBSAMP_X) * [all...] |
planar_test.cc | [all...] |
/external/libvpx/libvpx/third_party/libyuv/source/ |
scale.cc | 30 #define SUBSAMPLE(v, a, s) (v < 0) ? (-((-v + a) >> s)) : ((v + a) >> s) [all...] |
convert.cc | 25 #define SUBSAMPLE(v, a, s) (v < 0) ? (-((-v + a) >> s)) : ((v + a) >> s) 41 const int dst_uv_width = SUBSAMPLE(dst_y_width, 1, 1); 42 const int dst_uv_height = SUBSAMPLE(dst_y_height, 1, 1); 109 const int src_uv_width = SUBSAMPLE(width, 1, 1); 150 const int src_uv_width = SUBSAMPLE(width, 3, 2); [all...] |
convert_from.cc | 27 #define SUBSAMPLE(v, a, s) (v < 0) ? (-((-v + a) >> s)) : ((v + a) >> s) 43 const int src_uv_width = SUBSAMPLE(src_y_width, 1, 1); 44 const int src_uv_height = SUBSAMPLE(src_y_height, 1, 1); [all...] |
/external/libyuv/files/source/ |
scale.cc | 30 #define SUBSAMPLE(v, a, s) (v < 0) ? (-((-v + a) >> s)) : ((v + a) >> s) [all...] |
convert_from.cc | 27 #define SUBSAMPLE(v, a, s) (v < 0) ? (-((-v + a) >> s)) : ((v + a) >> s) 51 const int src_uv_width = SUBSAMPLE(src_y_width, 1, 1); 52 const int src_uv_height = SUBSAMPLE(src_y_height, 1, 1); [all...] |
convert.cc | 25 #define SUBSAMPLE(v, a, s) (v < 0) ? (-((-v + a) >> s)) : ((v + a) >> s) 49 const int dst_uv_width = SUBSAMPLE(dst_y_width, 1, 1); 50 const int dst_uv_height = SUBSAMPLE(dst_y_height, 1, 1); 126 const int src_uv_width = SUBSAMPLE(width, 1, 1); [all...] |