Home
last modified time | relevance | path

Searched refs:SUBSAMPLE (Results 1 – 11 of 11) sorted by relevance

/external/libyuv/files/unit_test/
Dconvert_test.cc31 #define SUBSAMPLE(v, a) ((((v) + (a)-1)) / (a)) macro
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 …]
Dplanar_test.cc1211 #define SUBSAMPLE(v, a) ((((v) + (a)-1)) / (a)) macro
1221 const int kStrideUV = SUBSAMPLE(width, 2); in TestI420Blend()
1222 const int kSizeUV = kStrideUV * SUBSAMPLE(height, 2); in TestI420Blend()
/external/libaom/libaom/third_party/libyuv/source/
Dscale.cc30 #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 …]
Dconvert.cc25 #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()
Dconvert_from.cc27 #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/libyuv/files/source/
Dscale.cc30 #define SUBSAMPLE(v, a, s) (v < 0) ? (-((-v + a) >> s)) : ((v + a) >> s) macro
1742 int src_halfwidth = SUBSAMPLE(src_width, 1, 1); in I420Scale()
1743 int src_halfheight = SUBSAMPLE(src_height, 1, 1); in I420Scale()
1744 int dst_halfwidth = SUBSAMPLE(dst_width, 1, 1); in I420Scale()
1745 int dst_halfheight = SUBSAMPLE(dst_height, 1, 1); in I420Scale()
1779 int src_halfwidth = SUBSAMPLE(src_width, 1, 1); in I420Scale_16()
1780 int src_halfheight = SUBSAMPLE(src_height, 1, 1); in I420Scale_16()
1781 int dst_halfwidth = SUBSAMPLE(dst_width, 1, 1); in I420Scale_16()
1782 int dst_halfheight = SUBSAMPLE(dst_height, 1, 1); in I420Scale_16()
1835 int src_halfwidth = SUBSAMPLE(src_width, 1, 1); in ScaleOffset()
[all …]
Dconvert.cc25 #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()
126 const int src_uv_width = SUBSAMPLE(width, 1, 1); in I422ToI420()
Dconvert_from.cc27 #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/libvpx/libvpx/third_party/libyuv/source/
Dscale.cc30 #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()
Dconvert.cc25 #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()
Dconvert_from.cc27 #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()