Searched refs:SUBSAMPLE (Results 1 - 4 of 4) sorted by relevance
/external/chromium_org/third_party/libyuv/unit_test/ |
H A D | convert_test.cc | 37 #define SUBSAMPLE(v, a) ((((v) + (a) - 1)) / (a)) macro 46 SUBSAMPLE(kWidth, SRC_SUBSAMP_X) * \ 47 SUBSAMPLE(kHeight, SRC_SUBSAMP_Y) + OFF); \ 49 SUBSAMPLE(kWidth, SRC_SUBSAMP_X) * \ 50 SUBSAMPLE(kHeight, SRC_SUBSAMP_Y) + OFF); \ 53 SUBSAMPLE(kWidth, SUBSAMP_X) * \ 54 SUBSAMPLE(kHeight, SUBSAMP_Y)); \ 56 SUBSAMPLE(kWidth, SUBSAMP_X) * \ 57 SUBSAMPLE(kHeight, SUBSAMP_Y)); \ 60 SUBSAMPLE(kWidt [all...] |
/external/chromium_org/third_party/libyuv/source/ |
H A D | scale.cc | 33 #define SUBSAMPLE(v, a, s) (v < 0) ? (-((-v + a) >> s)) : ((v + a) >> s) macro 1604 int src_halfwidth = SUBSAMPLE(src_width, 1, 1); 1605 int src_halfheight = SUBSAMPLE(src_height, 1, 1); 1606 int dst_halfwidth = SUBSAMPLE(dst_width, 1, 1); 1607 int dst_halfheight = SUBSAMPLE(dst_height, 1, 1); 1635 int src_halfwidth = SUBSAMPLE(src_width, 1, 1); 1636 int src_halfheight = SUBSAMPLE(src_height, 1, 1); 1637 int dst_halfwidth = SUBSAMPLE(dst_width, 1, 1); 1638 int dst_halfheight = SUBSAMPLE(dst_height, 1, 1); 1683 int src_halfwidth = SUBSAMPLE(src_widt [all...] |
H A D | convert.cc | 25 #define SUBSAMPLE(v, a, s) (v < 0) ? (-((-v + a) >> s)) : ((v + a) >> s) macro 45 const int dst_uv_width = SUBSAMPLE(dst_y_width, 1, 1); 46 const int dst_uv_height = SUBSAMPLE(dst_y_height, 1, 1); 108 const int src_uv_width = SUBSAMPLE(width, 1, 1); 149 const int src_uv_width = SUBSAMPLE(width, 3, 2);
|
H A D | convert_from.cc | 28 #define SUBSAMPLE(v, a, s) (v < 0) ? (-((-v + a) >> s)) : ((v + a) >> s) macro 48 const int src_uv_width = SUBSAMPLE(src_y_width, 1, 1); 49 const int src_uv_height = SUBSAMPLE(src_y_height, 1, 1);
|
Completed in 98 milliseconds