/external/libyuv/files/unit_test/ |
D | convert_test.cc | 46 #define SUBSAMPLE(v, a) ((((v) + (a)-1)) / (a)) macro 66 const int kSrcHalfWidth = SUBSAMPLE(kWidth, SRC_SUBSAMP_X); \ 67 const int kSrcHalfHeight = SUBSAMPLE(kHeight, SRC_SUBSAMP_Y); \ 68 const int kDstHalfWidth = SUBSAMPLE(kWidth, DST_SUBSAMP_X); \ 69 const int kDstHalfHeight = SUBSAMPLE(kHeight, DST_SUBSAMP_Y); \ 167 SUBSAMPLE(kWidth, SRC_SUBSAMP_X) * SUBSAMPLE(kHeight, SRC_SUBSAMP_Y); \ 172 align_buffer_page_end(dst_u_c, SUBSAMPLE(kWidth, SUBSAMP_X) * \ 173 SUBSAMPLE(kHeight, SUBSAMP_Y)); \ 174 align_buffer_page_end(dst_v_c, SUBSAMPLE(kWidth, SUBSAMP_X) * \ 175 SUBSAMPLE(kHeight, SUBSAMP_Y)); \ [all …]
|
D | planar_test.cc | 1214 #define SUBSAMPLE(v, a) ((((v) + (a)-1)) / (a)) macro 1224 const int kStrideUV = SUBSAMPLE(width, 2); in TestI420Blend() 1225 const int kSizeUV = kStrideUV * SUBSAMPLE(height, 2); in TestI420Blend()
|
/external/libaom/libaom/third_party/libyuv/source/ |
D | scale.cc | 30 #define SUBSAMPLE(v, a, s) (v < 0) ? (-((-v + a) >> s)) : ((v + a) >> s) macro 1575 int src_halfwidth = SUBSAMPLE(src_width, 1, 1); in I420Scale() 1576 int src_halfheight = SUBSAMPLE(src_height, 1, 1); in I420Scale() 1577 int dst_halfwidth = SUBSAMPLE(dst_width, 1, 1); in I420Scale() 1578 int dst_halfheight = SUBSAMPLE(dst_height, 1, 1); in I420Scale() 1607 int src_halfwidth = SUBSAMPLE(src_width, 1, 1); in I420Scale_16() 1608 int src_halfheight = SUBSAMPLE(src_height, 1, 1); in I420Scale_16() 1609 int dst_halfwidth = SUBSAMPLE(dst_width, 1, 1); in I420Scale_16() 1610 int dst_halfheight = SUBSAMPLE(dst_height, 1, 1); in I420Scale_16() 1656 int src_halfwidth = SUBSAMPLE(src_width, 1, 1); in ScaleOffset() [all …]
|
D | convert.cc | 25 #define SUBSAMPLE(v, a, s) (v < 0) ? (-((-v + a) >> s)) : ((v + a) >> s) macro 41 const int dst_uv_width = SUBSAMPLE(dst_y_width, 1, 1); in I4xxToI420() 42 const int dst_uv_height = SUBSAMPLE(dst_y_height, 1, 1); in I4xxToI420() 108 const int src_uv_width = SUBSAMPLE(width, 1, 1); in I422ToI420() 149 const int src_uv_width = SUBSAMPLE(width, 3, 2); in I411ToI420()
|
D | convert_from.cc | 27 #define SUBSAMPLE(v, a, s) (v < 0) ? (-((-v + a) >> s)) : ((v + a) >> s) macro 43 const int src_uv_width = SUBSAMPLE(src_y_width, 1, 1); in I420ToI4xx() 44 const int src_uv_height = SUBSAMPLE(src_y_height, 1, 1); in I420ToI4xx()
|
/external/libvpx/libvpx/third_party/libyuv/source/ |
D | scale.cc | 30 #define SUBSAMPLE(v, a, s) (v < 0) ? (-((-v + a) >> s)) : ((v + a) >> s) macro 1657 int src_halfwidth = SUBSAMPLE(src_width, 1, 1); in I420Scale() 1658 int src_halfheight = SUBSAMPLE(src_height, 1, 1); in I420Scale() 1659 int dst_halfwidth = SUBSAMPLE(dst_width, 1, 1); in I420Scale() 1660 int dst_halfheight = SUBSAMPLE(dst_height, 1, 1); in I420Scale() 1694 int src_halfwidth = SUBSAMPLE(src_width, 1, 1); in I420Scale_16() 1695 int src_halfheight = SUBSAMPLE(src_height, 1, 1); in I420Scale_16() 1696 int dst_halfwidth = SUBSAMPLE(dst_width, 1, 1); in I420Scale_16() 1697 int dst_halfheight = SUBSAMPLE(dst_height, 1, 1); in I420Scale_16()
|
D | convert.cc | 25 #define SUBSAMPLE(v, a, s) (v < 0) ? (-((-v + a) >> s)) : ((v + a) >> s) macro 49 const int dst_uv_width = SUBSAMPLE(dst_y_width, 1, 1); in I4xxToI420() 50 const int dst_uv_height = SUBSAMPLE(dst_y_height, 1, 1); in I4xxToI420() 212 const int src_uv_width = SUBSAMPLE(width, 1, 1); in I422ToI420()
|
D | convert_from.cc | 27 #define SUBSAMPLE(v, a, s) (v < 0) ? (-((-v + a) >> s)) : ((v + a) >> s) macro 51 const int src_uv_width = SUBSAMPLE(src_y_width, 1, 1); in I420ToI4xx() 52 const int src_uv_height = SUBSAMPLE(src_y_height, 1, 1); in I420ToI4xx()
|
/external/libyuv/files/source/ |
D | scale.cc | 30 #define SUBSAMPLE(v, a, s) (v < 0) ? (-((-v + a) >> s)) : ((v + a) >> s) macro 1735 int src_halfwidth = SUBSAMPLE(src_width, 1, 1); in I420Scale() 1736 int src_halfheight = SUBSAMPLE(src_height, 1, 1); in I420Scale() 1737 int dst_halfwidth = SUBSAMPLE(dst_width, 1, 1); in I420Scale() 1738 int dst_halfheight = SUBSAMPLE(dst_height, 1, 1); in I420Scale() 1772 int src_halfwidth = SUBSAMPLE(src_width, 1, 1); in I420Scale_16() 1773 int src_halfheight = SUBSAMPLE(src_height, 1, 1); in I420Scale_16() 1774 int dst_halfwidth = SUBSAMPLE(dst_width, 1, 1); in I420Scale_16() 1775 int dst_halfheight = SUBSAMPLE(dst_height, 1, 1); in I420Scale_16()
|
D | convert_from.cc | 27 #define SUBSAMPLE(v, a, s) (v < 0) ? (-((-v + a) >> s)) : ((v + a) >> s) macro 51 const int src_uv_width = SUBSAMPLE(src_y_width, 1, 1); in I420ToI4xx() 52 const int src_uv_height = SUBSAMPLE(src_y_height, 1, 1); in I420ToI4xx()
|
D | convert.cc | 25 #define SUBSAMPLE(v, a, s) (v < 0) ? (-((-v + a) >> s)) : ((v + a) >> s) macro 49 const int dst_uv_width = SUBSAMPLE(dst_y_width, 1, 1); in I4xxToI420() 50 const int dst_uv_height = SUBSAMPLE(dst_y_height, 1, 1); in I4xxToI420() 212 const int src_uv_width = SUBSAMPLE(width, 1, 1); in I422ToI420()
|