Searched refs:halfwidth (Results 1 - 19 of 19) sorted by relevance

/external/chromium_org/third_party/libvpx/source/libvpx/third_party/libyuv/source/
H A Dconvert_to_argb.cc224 int halfwidth = (src_width + 1) / 2; local
228 (halfwidth * crop_y + crop_x) / 2;
230 halfwidth * (halfheight + crop_y / 2) + crop_x / 2;
233 (halfwidth * crop_y + crop_x) / 2;
235 halfwidth * (halfheight + crop_y / 2) + crop_x / 2;
238 src_u, halfwidth,
239 src_v, halfwidth,
249 int halfwidth = (src_width + 1) / 2; local
252 halfwidth * crop_y + crop_x / 2;
254 halfwidth * (abs_src_heigh
[all...]
H A Dconvert_to_i420.cc266 int halfwidth = (src_width + 1) / 2; local
270 (halfwidth * crop_y + crop_x) / 2;
272 halfwidth * (halfheight + crop_y / 2) + crop_x / 2;
275 (halfwidth * crop_y + crop_x) / 2;
277 halfwidth * (halfheight + crop_y / 2) + crop_x / 2;
280 src_u, halfwidth,
281 src_v, halfwidth,
293 int halfwidth = (src_width + 1) / 2; local
296 halfwidth * crop_y + crop_x / 2;
298 halfwidth * (abs_src_heigh
[all...]
H A Dconvert_from_argb.cc265 int halfwidth = (width + 1) >> 1; local
315 if (TestCpuFlag(kCpuHasSSE2) && halfwidth >= 16) {
317 if (IS_ALIGNED(halfwidth, 16)) {
326 if (TestCpuFlag(kCpuHasAVX2) && halfwidth >= 32) {
328 if (IS_ALIGNED(halfwidth, 32)) {
334 if (TestCpuFlag(kCpuHasNEON) && halfwidth >= 16) {
336 if (IS_ALIGNED(halfwidth, 16)) {
343 align_buffer_64(row_u, ((halfwidth + 15) & ~15) * 2);
344 uint8* row_v = row_u + ((halfwidth + 15) & ~15);
348 MergeUVRow_(row_u, row_v, dst_uv, halfwidth);
372 int halfwidth = (width + 1) >> 1; local
[all...]
H A Dconvert_from.cc370 int halfwidth = (width + 1) >> 1; local
392 if (src_stride_u == halfwidth &&
393 src_stride_v == halfwidth &&
394 dst_stride_uv == halfwidth * 2) {
395 halfwidth *= halfheight;
400 if (TestCpuFlag(kCpuHasSSE2) && halfwidth >= 16) {
402 if (IS_ALIGNED(halfwidth, 16)) {
413 if (TestCpuFlag(kCpuHasAVX2) && halfwidth >= 32) {
415 if (IS_ALIGNED(halfwidth, 32)) {
421 if (TestCpuFlag(kCpuHasNEON) && halfwidth >
1125 int halfwidth = (width + 1) / 2; local
1147 int halfwidth = (width + 1) / 2; local
[all...]
H A Dconvert.cc70 int halfwidth = (width + 1) >> 1; local
93 CopyPlane(src_u, src_stride_u, dst_u, dst_stride_u, halfwidth, halfheight);
94 CopyPlane(src_v, src_stride_v, dst_v, dst_stride_v, halfwidth, halfheight);
167 int halfwidth = (width + 1) >> 1; local
181 SetPlane(dst_u, dst_stride_u, halfwidth, halfheight, 128);
182 SetPlane(dst_v, dst_stride_v, halfwidth, halfheight, 128);
249 int halfwidth = (width + 1) >> 1; local
278 if (src_stride_uv == halfwidth * 2 &&
279 dst_stride_u == halfwidth &&
280 dst_stride_v == halfwidth) {
[all...]
H A Drotate.cc1163 int halfwidth = (width + 1) >> 1; local
1198 halfwidth, halfheight);
1201 halfwidth, halfheight);
1209 halfwidth, halfheight);
1212 halfwidth, halfheight);
1220 halfwidth, halfheight);
1223 halfwidth, halfheight);
1239 int halfwidth = (width + 1) >> 1; local
1272 halfwidth, halfheight);
1281 halfwidth, halfheigh
[all...]
H A Dplanar_functions.cc138 int halfwidth = (width + 1) >> 1; local
155 CopyPlane(src_u, src_stride_u, dst_u, dst_stride_u, halfwidth, height);
156 CopyPlane(src_v, src_stride_v, dst_v, dst_stride_v, halfwidth, height);
457 int halfwidth = (width + 1) >> 1; local
478 MirrorPlane(src_u, src_stride_u, dst_u, dst_stride_u, halfwidth, halfheight);
479 MirrorPlane(src_v, src_stride_v, dst_v, dst_stride_v, halfwidth, halfheight);
1109 int halfwidth = (width + 1) >> 1; local
1124 SetPlane(start_u, dst_stride_u, halfwidth, halfheight, value_u);
1125 SetPlane(start_v, dst_stride_v, halfwidth, halfheight, value_v);
/external/chromium_org/third_party/libyuv/source/
H A Dconvert_to_argb.cc224 int halfwidth = (src_width + 1) / 2; local
228 (halfwidth * crop_y + crop_x) / 2;
230 halfwidth * (halfheight + crop_y / 2) + crop_x / 2;
233 (halfwidth * crop_y + crop_x) / 2;
235 halfwidth * (halfheight + crop_y / 2) + crop_x / 2;
238 src_u, halfwidth,
239 src_v, halfwidth,
249 int halfwidth = (src_width + 1) / 2; local
252 halfwidth * crop_y + crop_x / 2;
254 halfwidth * (abs_src_heigh
[all...]
H A Dconvert_to_i420.cc266 int halfwidth = (src_width + 1) / 2; local
270 (halfwidth * crop_y + crop_x) / 2;
272 halfwidth * (halfheight + crop_y / 2) + crop_x / 2;
275 (halfwidth * crop_y + crop_x) / 2;
277 halfwidth * (halfheight + crop_y / 2) + crop_x / 2;
280 src_u, halfwidth,
281 src_v, halfwidth,
293 int halfwidth = (src_width + 1) / 2; local
296 halfwidth * crop_y + crop_x / 2;
298 halfwidth * (abs_src_heigh
[all...]
H A Dconvert_from_argb.cc257 int halfwidth = (width + 1) >> 1; local
265 align_buffer_64(row_u, ((halfwidth + 15) & ~15) * 2);
266 uint8* row_v = row_u + ((halfwidth + 15) & ~15);
308 if (TestCpuFlag(kCpuHasSSE2) && halfwidth >= 16) {
310 if (IS_ALIGNED(halfwidth, 16)) {
319 if (TestCpuFlag(kCpuHasAVX2) && halfwidth >= 32) {
321 if (IS_ALIGNED(halfwidth, 32)) {
327 if (TestCpuFlag(kCpuHasNEON) && halfwidth >= 16) {
329 if (IS_ALIGNED(halfwidth, 16)) {
337 MergeUVRow_(row_u, row_v, dst_uv, halfwidth);
360 int halfwidth = (width + 1) >> 1; local
[all...]
H A Dconvert_from.cc370 int halfwidth = (width + 1) >> 1; local
392 if (src_stride_u == halfwidth &&
393 src_stride_v == halfwidth &&
394 dst_stride_uv == halfwidth * 2) {
395 halfwidth *= halfheight;
400 if (TestCpuFlag(kCpuHasSSE2) && halfwidth >= 16) {
402 if (IS_ALIGNED(halfwidth, 16)) {
413 if (TestCpuFlag(kCpuHasAVX2) && halfwidth >= 32) {
415 if (IS_ALIGNED(halfwidth, 32)) {
421 if (TestCpuFlag(kCpuHasNEON) && halfwidth >
1125 int halfwidth = (width + 1) / 2; local
1147 int halfwidth = (width + 1) / 2; local
[all...]
H A Dconvert.cc70 int halfwidth = (width + 1) >> 1; local
93 CopyPlane(src_u, src_stride_u, dst_u, dst_stride_u, halfwidth, halfheight);
94 CopyPlane(src_v, src_stride_v, dst_v, dst_stride_v, halfwidth, halfheight);
167 int halfwidth = (width + 1) >> 1; local
181 SetPlane(dst_u, dst_stride_u, halfwidth, halfheight, 128);
182 SetPlane(dst_v, dst_stride_v, halfwidth, halfheight, 128);
249 int halfwidth = (width + 1) >> 1; local
278 if (src_stride_uv == halfwidth * 2 &&
279 dst_stride_u == halfwidth &&
280 dst_stride_v == halfwidth) {
[all...]
H A Drotate.cc1163 int halfwidth = (width + 1) >> 1; local
1198 halfwidth, halfheight);
1201 halfwidth, halfheight);
1209 halfwidth, halfheight);
1212 halfwidth, halfheight);
1220 halfwidth, halfheight);
1223 halfwidth, halfheight);
1239 int halfwidth = (width + 1) >> 1; local
1272 halfwidth, halfheight);
1281 halfwidth, halfheigh
[all...]
H A Dplanar_functions.cc138 int halfwidth = (width + 1) >> 1; local
155 CopyPlane(src_u, src_stride_u, dst_u, dst_stride_u, halfwidth, height);
156 CopyPlane(src_v, src_stride_v, dst_v, dst_stride_v, halfwidth, height);
457 int halfwidth = (width + 1) >> 1; local
478 MirrorPlane(src_u, src_stride_u, dst_u, dst_stride_u, halfwidth, halfheight);
479 MirrorPlane(src_v, src_stride_v, dst_v, dst_stride_v, halfwidth, halfheight);
1109 int halfwidth = (width + 1) >> 1; local
1124 SetPlane(start_u, dst_stride_u, halfwidth, halfheight, value_u);
1125 SetPlane(start_v, dst_stride_v, halfwidth, halfheight, value_v);
/external/libyuv/files/source/
H A Dconvert_from.cc50 int halfwidth = (width + 1) >> 1; local
53 if (TestCpuFlag(kCpuHasNEON) && IS_ALIGNED(halfwidth, 64)) {
57 if (IS_ALIGNED(halfwidth, 4)) {
60 if (TestCpuFlag(kCpuHasSSE2) && IS_ALIGNED(halfwidth, 32) &&
79 CopyRow(src_u, dst_u, halfwidth);
80 CopyRow(src_u, dst_u + dst_stride_u, halfwidth);
85 CopyRow(src_u, dst_u, halfwidth);
90 CopyRow(src_v, dst_v, halfwidth);
91 CopyRow(src_v, dst_v + dst_stride_v, halfwidth);
96 CopyRow(src_v, dst_v, halfwidth);
136 int halfwidth = (width + 1) >> 1; local
186 int halfwidth = (width + 1) >> 1; local
1340 int halfwidth = (width + 1) / 2; local
1362 int halfwidth = (width + 1) / 2; local
[all...]
H A Dconvert.cc55 int halfwidth = (width + 1) >> 1; local
60 CopyPlane(src_u, src_stride_u, dst_u, dst_stride_u, halfwidth, halfheight);
61 CopyPlane(src_v, src_stride_v, dst_v, dst_stride_v, halfwidth, halfheight);
148 int halfwidth = (width + 1) >> 1; local
153 IS_ALIGNED(halfwidth, 16) &&
170 HalfRow(src_u, src_stride_u, dst_u, halfwidth);
175 HalfRow(src_u, 0, dst_u, halfwidth);
180 HalfRow(src_v, src_stride_v, dst_v, halfwidth);
185 HalfRow(src_v, 0, dst_v, halfwidth);
228 int halfwidth local
312 int halfwidth = (width + 1) >> 1; local
349 int halfwidth = (width + 1) >> 1; local
424 int halfwidth = (width + 1) >> 1; local
1964 int halfwidth = (src_width + 1) / 2; local
1991 int halfwidth = (src_width + 1) / 2; local
[all...]
H A Drotate.cc1052 int halfwidth = (width + 1) >> 1; local
1083 halfwidth, halfheight);
1086 halfwidth, halfheight);
1094 halfwidth, halfheight);
1097 halfwidth, halfheight);
1105 halfwidth, halfheight);
1108 halfwidth, halfheight);
1128 int halfwidth = (width + 1) >> 1; local
1157 halfwidth, halfheight);
1166 halfwidth, halfheigh
[all...]
H A Dconvert_argb.cc1197 int halfwidth = (src_width + 1) / 2; local
1201 (halfwidth * crop_y + crop_x) / 2;
1203 halfwidth * (halfheight + crop_y / 2) + crop_x / 2;
1206 (halfwidth * crop_y + crop_x) / 2;
1208 halfwidth * (halfheight + crop_y / 2) + crop_x / 2;
1211 src_u, halfwidth,
1212 src_v, halfwidth,
1222 int halfwidth = (src_width + 1) / 2; local
1225 halfwidth * crop_y + crop_x / 2;
1227 halfwidth * (abs_src_heigh
[all...]
H A Dplanar_functions.cc257 int halfwidth = (width + 1) >> 1; local
262 MirrorPlane(src_u, src_stride_u, dst_u, dst_stride_u, halfwidth, halfheight);
263 MirrorPlane(src_v, src_stride_v, dst_v, dst_stride_v, halfwidth, halfheight);
963 int halfwidth = (width + 1) >> 1; local
970 SetPlane(start_u, dst_stride_u, halfwidth, halfheight, value_u);
971 SetPlane(start_v, dst_stride_v, halfwidth, halfheight, value_v);

Completed in 235 milliseconds