Home
last modified time | relevance | path

Searched refs:halfwidth (Results 1 – 25 of 35) sorted by relevance

12

/external/libyuv/files/source/
Dconvert_to_argb.cc193 int halfwidth = (src_width + 1) / 2; in ConvertToARGB() local
197 (halfwidth * crop_y + crop_x) / 2; in ConvertToARGB()
199 halfwidth * (halfheight + crop_y / 2) + crop_x / 2; in ConvertToARGB()
202 (halfwidth * crop_y + crop_x) / 2; in ConvertToARGB()
204 halfwidth * (halfheight + crop_y / 2) + crop_x / 2; in ConvertToARGB()
206 r = I420ToARGB(src_y, src_width, src_u, halfwidth, src_v, halfwidth, in ConvertToARGB()
212 int halfwidth = (src_width + 1) / 2; in ConvertToARGB() local
216 (halfwidth * crop_y + crop_x) / 2; in ConvertToARGB()
218 halfwidth * (halfheight + crop_y / 2) + crop_x / 2; in ConvertToARGB()
219 r = H420ToARGB(src_y, src_width, src_u, halfwidth, src_v, halfwidth, in ConvertToARGB()
[all …]
Dconvert_to_i420.cc193 int halfwidth = (src_width + 1) / 2; in ConvertToI420() local
196 src_v = sample + src_width * abs_src_height + halfwidth * (crop_y / 2) + in ConvertToI420()
199 halfwidth * (halfheight + (crop_y / 2)) + (crop_x / 2); in ConvertToI420()
201 src_u = sample + src_width * abs_src_height + halfwidth * (crop_y / 2) + in ConvertToI420()
204 halfwidth * (halfheight + (crop_y / 2)) + (crop_x / 2); in ConvertToI420()
206 r = I420Rotate(src_y, src_width, src_u, halfwidth, src_v, halfwidth, in ConvertToI420()
216 int halfwidth = (src_width + 1) / 2; in ConvertToI420() local
218 src_v = sample + src_width * abs_src_height + halfwidth * crop_y + in ConvertToI420()
221 halfwidth * (abs_src_height + crop_y) + (crop_x / 2); in ConvertToI420()
223 src_u = sample + src_width * abs_src_height + halfwidth * crop_y + in ConvertToI420()
[all …]
Dconvert.cc83 int halfwidth = (width + 1) >> 1; in I420Copy() local
104 CopyPlane(src_u, src_stride_u, dst_u, dst_stride_u, halfwidth, halfheight); in I420Copy()
105 CopyPlane(src_v, src_stride_v, dst_v, dst_stride_v, halfwidth, halfheight); in I420Copy()
125 int halfwidth = (width + 1) >> 1; in I010Copy() local
146 CopyPlane_16(src_u, src_stride_u, dst_u, dst_stride_u, halfwidth, halfheight); in I010Copy()
147 CopyPlane_16(src_v, src_stride_v, dst_v, dst_stride_v, halfwidth, halfheight); in I010Copy()
167 int halfwidth = (width + 1) >> 1; in I010ToI420() local
188 Convert16To8Plane(src_u, src_stride_u, dst_u, dst_stride_u, 16384, halfwidth, in I010ToI420()
190 Convert16To8Plane(src_v, src_stride_v, dst_v, dst_stride_v, 16384, halfwidth, in I010ToI420()
232 int halfwidth = (width + 1) >> 1; in I422ToNV21() local
[all …]
Dconvert_from_argb.cc265 int halfwidth = (width + 1) >> 1; in ARGBToNV12() local
353 if (IS_ALIGNED(halfwidth, 16)) { in ARGBToNV12()
361 if (IS_ALIGNED(halfwidth, 32)) { in ARGBToNV12()
369 if (IS_ALIGNED(halfwidth, 16)) { in ARGBToNV12()
377 if (IS_ALIGNED(halfwidth, 16)) { in ARGBToNV12()
385 if (IS_ALIGNED(halfwidth, 8)) { in ARGBToNV12()
392 align_buffer_64(row_u, ((halfwidth + 31) & ~31) * 2); in ARGBToNV12()
393 uint8_t* row_v = row_u + ((halfwidth + 31) & ~31); in ARGBToNV12()
397 MergeUVRow_(row_u, row_v, dst_uv, halfwidth); in ARGBToNV12()
406 MergeUVRow_(row_u, row_v, dst_uv, halfwidth); in ARGBToNV12()
[all …]
Drotate.cc432 int halfwidth = (width + 1) >> 1; in I420Rotate() local
459 RotatePlane90(src_u, src_stride_u, dst_u, dst_stride_u, halfwidth, in I420Rotate()
461 RotatePlane90(src_v, src_stride_v, dst_v, dst_stride_v, halfwidth, in I420Rotate()
466 RotatePlane270(src_u, src_stride_u, dst_u, dst_stride_u, halfwidth, in I420Rotate()
468 RotatePlane270(src_v, src_stride_v, dst_v, dst_stride_v, halfwidth, in I420Rotate()
473 RotatePlane180(src_u, src_stride_u, dst_u, dst_stride_u, halfwidth, in I420Rotate()
475 RotatePlane180(src_v, src_stride_v, dst_v, dst_stride_v, halfwidth, in I420Rotate()
558 int halfwidth = (width + 1) >> 1; in NV12ToI420Rotate() local
584 dst_stride_v, halfwidth, halfheight); in NV12ToI420Rotate()
589 dst_stride_v, halfwidth, halfheight); in NV12ToI420Rotate()
[all …]
Dplanar_functions.cc240 int halfwidth = (width + 1) >> 1; in I422Copy() local
258 CopyPlane(src_u, src_stride_u, dst_u, dst_stride_u, halfwidth, height); in I422Copy()
259 CopyPlane(src_v, src_stride_v, dst_v, dst_stride_v, halfwidth, height); in I422Copy()
522 int halfwidth = (width + 1) >> 1; in NV21ToNV12() local
537 if (src_stride_vu == halfwidth * 2 && dst_stride_uv == halfwidth * 2) { in NV21ToNV12()
538 halfwidth *= halfheight; in NV21ToNV12()
546 if (IS_ALIGNED(halfwidth, 16)) { in NV21ToNV12()
556 UVToVURow(src_vu, dst_uv, halfwidth); in NV21ToNV12()
1064 int halfwidth = (width + 1) >> 1; in I420Mirror() local
1085 MirrorPlane(src_u, src_stride_u, dst_u, dst_stride_u, halfwidth, halfheight); in I420Mirror()
[all …]
Dconvert_from.cc84 int halfwidth = (width + 1) >> 1; in I420ToI010() local
105 Convert8To16Plane(src_u, src_stride_u, dst_u, dst_stride_u, 1024, halfwidth, in I420ToI010()
107 Convert8To16Plane(src_v, src_stride_v, dst_v, dst_stride_v, 1024, halfwidth, in I420ToI010()
509 int halfwidth = (width + 1) / 2; in I420ToNV12() local
515 halfwidth, halfheight); in I420ToNV12()
/external/libaom/libaom/third_party/libyuv/source/
Dconvert_to_argb.cc184 int halfwidth = (src_width + 1) / 2; in ConvertToARGB() local
188 (halfwidth * crop_y + crop_x) / 2; in ConvertToARGB()
190 halfwidth * (halfheight + crop_y / 2) + crop_x / 2; in ConvertToARGB()
193 (halfwidth * crop_y + crop_x) / 2; in ConvertToARGB()
195 halfwidth * (halfheight + crop_y / 2) + crop_x / 2; in ConvertToARGB()
198 src_u, halfwidth, in ConvertToARGB()
199 src_v, halfwidth, in ConvertToARGB()
209 int halfwidth = (src_width + 1) / 2; in ConvertToARGB() local
212 (halfwidth * crop_y + crop_x) / 2; in ConvertToARGB()
214 halfwidth * (halfheight + crop_y / 2) + crop_x / 2; in ConvertToARGB()
[all …]
Dconvert_to_i420.cc222 int halfwidth = (src_width + 1) / 2; in ConvertToI420() local
226 (halfwidth * crop_y + crop_x) / 2; in ConvertToI420()
228 halfwidth * (halfheight + crop_y / 2) + crop_x / 2; in ConvertToI420()
231 (halfwidth * crop_y + crop_x) / 2; in ConvertToI420()
233 halfwidth * (halfheight + crop_y / 2) + crop_x / 2; in ConvertToI420()
236 src_u, halfwidth, in ConvertToI420()
237 src_v, halfwidth, in ConvertToI420()
249 int halfwidth = (src_width + 1) / 2; in ConvertToI420() local
252 halfwidth * crop_y + crop_x / 2; in ConvertToI420()
254 halfwidth * (abs_src_height + crop_y) + crop_x / 2; in ConvertToI420()
[all …]
Drotate.cc358 int halfwidth = (width + 1) >> 1; in I420Rotate() local
393 halfwidth, halfheight); in I420Rotate()
396 halfwidth, halfheight); in I420Rotate()
404 halfwidth, halfheight); in I420Rotate()
407 halfwidth, halfheight); in I420Rotate()
415 halfwidth, halfheight); in I420Rotate()
418 halfwidth, halfheight); in I420Rotate()
434 int halfwidth = (width + 1) >> 1; in NV12ToI420Rotate() local
467 halfwidth, halfheight); in NV12ToI420Rotate()
476 halfwidth, halfheight); in NV12ToI420Rotate()
[all …]
Dconvert_from.cc373 int halfwidth = (width + 1) >> 1; in I420ToNV12() local
395 if (src_stride_u == halfwidth && in I420ToNV12()
396 src_stride_v == halfwidth && in I420ToNV12()
397 dst_stride_uv == halfwidth * 2) { in I420ToNV12()
398 halfwidth *= halfheight; in I420ToNV12()
405 if (IS_ALIGNED(halfwidth, 16)) { in I420ToNV12()
413 if (IS_ALIGNED(halfwidth, 32)) { in I420ToNV12()
421 if (IS_ALIGNED(halfwidth, 16)) { in I420ToNV12()
430 MergeUVRow_(src_u, src_v, dst_uv, halfwidth); in I420ToNV12()
1263 int halfwidth = (width + 1) / 2; in ConvertFromI420() local
[all …]
Dconvert_from_argb.cc264 int halfwidth = (width + 1) >> 1; in ARGBToNV12() local
321 if (IS_ALIGNED(halfwidth, 16)) { in ARGBToNV12()
329 if (IS_ALIGNED(halfwidth, 32)) { in ARGBToNV12()
337 if (IS_ALIGNED(halfwidth, 16)) { in ARGBToNV12()
344 align_buffer_64(row_u, ((halfwidth + 31) & ~31) * 2); in ARGBToNV12()
345 uint8* row_v = row_u + ((halfwidth + 31) & ~31); in ARGBToNV12()
349 MergeUVRow_(row_u, row_v, dst_uv, halfwidth); in ARGBToNV12()
358 MergeUVRow_(row_u, row_v, dst_uv, halfwidth); in ARGBToNV12()
373 int halfwidth = (width + 1) >> 1; in ARGBToNV21() local
430 if (IS_ALIGNED(halfwidth, 16)) { in ARGBToNV21()
[all …]
Dconvert.cc70 int halfwidth = (width + 1) >> 1; in I420Copy() local
93 CopyPlane(src_u, src_stride_u, dst_u, dst_stride_u, halfwidth, halfheight); in I420Copy()
94 CopyPlane(src_v, src_stride_v, dst_v, dst_stride_v, halfwidth, halfheight); in I420Copy()
167 int halfwidth = (width + 1) >> 1; in I400ToI420() local
181 SetPlane(dst_u, dst_stride_u, halfwidth, halfheight, 128); in I400ToI420()
182 SetPlane(dst_v, dst_stride_v, halfwidth, halfheight, 128); in I400ToI420()
246 int halfwidth = (width + 1) >> 1; in X420ToI420() local
275 if (src_stride_uv == halfwidth * 2 && in X420ToI420()
276 dst_stride_u == halfwidth && in X420ToI420()
277 dst_stride_v == halfwidth) { in X420ToI420()
[all …]
Dplanar_functions.cc129 int halfwidth = (width + 1) >> 1; in I422Copy() local
146 CopyPlane(src_u, src_stride_u, dst_u, dst_stride_u, halfwidth, height); in I422Copy()
147 CopyPlane(src_v, src_stride_v, dst_v, dst_stride_v, halfwidth, height); in I422Copy()
454 int halfwidth = (width + 1) >> 1; in I420Mirror() local
475 MirrorPlane(src_u, src_stride_u, dst_u, dst_stride_u, halfwidth, halfheight); in I420Mirror()
476 MirrorPlane(src_v, src_stride_v, dst_v, dst_stride_v, halfwidth, halfheight); in I420Mirror()
1162 int halfwidth = (width + 1) >> 1; in I420Rect() local
1177 SetPlane(start_u, dst_stride_u, halfwidth, halfheight, value_u); in I420Rect()
1178 SetPlane(start_v, dst_stride_v, halfwidth, halfheight, value_v); in I420Rect()
2350 int halfwidth = (width + 1) >> 1; in YUY2ToNV12() local
[all …]
/external/libvpx/libvpx/third_party/libyuv/source/
Dconvert_to_argb.cc193 int halfwidth = (src_width + 1) / 2; in ConvertToARGB() local
197 (halfwidth * crop_y + crop_x) / 2; in ConvertToARGB()
199 halfwidth * (halfheight + crop_y / 2) + crop_x / 2; in ConvertToARGB()
202 (halfwidth * crop_y + crop_x) / 2; in ConvertToARGB()
204 halfwidth * (halfheight + crop_y / 2) + crop_x / 2; in ConvertToARGB()
206 r = I420ToARGB(src_y, src_width, src_u, halfwidth, src_v, halfwidth, in ConvertToARGB()
215 int halfwidth = (src_width + 1) / 2; in ConvertToARGB() local
218 (halfwidth * crop_y + crop_x) / 2; in ConvertToARGB()
220 halfwidth * (halfheight + crop_y / 2) + crop_x / 2; in ConvertToARGB()
221 r = J420ToARGB(src_y, src_width, src_u, halfwidth, src_v, halfwidth, in ConvertToARGB()
[all …]
Dconvert_to_i420.cc193 int halfwidth = (src_width + 1) / 2; in ConvertToI420() local
197 (halfwidth * crop_y + crop_x) / 2; in ConvertToI420()
199 halfwidth * (halfheight + crop_y / 2) + crop_x / 2; in ConvertToI420()
202 (halfwidth * crop_y + crop_x) / 2; in ConvertToI420()
204 halfwidth * (halfheight + crop_y / 2) + crop_x / 2; in ConvertToI420()
206 r = I420Rotate(src_y, src_width, src_u, halfwidth, src_v, halfwidth, in ConvertToI420()
216 int halfwidth = (src_width + 1) / 2; in ConvertToI420() local
218 src_v = sample + src_width * abs_src_height + halfwidth * crop_y + in ConvertToI420()
221 halfwidth * (abs_src_height + crop_y) + crop_x / 2; in ConvertToI420()
223 src_u = sample + src_width * abs_src_height + halfwidth * crop_y + in ConvertToI420()
[all …]
Drotate.cc401 int halfwidth = (width + 1) >> 1; in I420Rotate() local
428 RotatePlane90(src_u, src_stride_u, dst_u, dst_stride_u, halfwidth, in I420Rotate()
430 RotatePlane90(src_v, src_stride_v, dst_v, dst_stride_v, halfwidth, in I420Rotate()
435 RotatePlane270(src_u, src_stride_u, dst_u, dst_stride_u, halfwidth, in I420Rotate()
437 RotatePlane270(src_v, src_stride_v, dst_v, dst_stride_v, halfwidth, in I420Rotate()
442 RotatePlane180(src_u, src_stride_u, dst_u, dst_stride_u, halfwidth, in I420Rotate()
444 RotatePlane180(src_v, src_stride_v, dst_v, dst_stride_v, halfwidth, in I420Rotate()
467 int halfwidth = (width + 1) >> 1; in NV12ToI420Rotate() local
493 dst_stride_v, halfwidth, halfheight); in NV12ToI420Rotate()
498 dst_stride_v, halfwidth, halfheight); in NV12ToI420Rotate()
[all …]
Dconvert.cc83 int halfwidth = (width + 1) >> 1; in I420Copy() local
104 CopyPlane(src_u, src_stride_u, dst_u, dst_stride_u, halfwidth, halfheight); in I420Copy()
105 CopyPlane(src_v, src_stride_v, dst_v, dst_stride_v, halfwidth, halfheight); in I420Copy()
125 int halfwidth = (width + 1) >> 1; in I010Copy() local
146 CopyPlane_16(src_u, src_stride_u, dst_u, dst_stride_u, halfwidth, halfheight); in I010Copy()
147 CopyPlane_16(src_v, src_stride_v, dst_v, dst_stride_v, halfwidth, halfheight); in I010Copy()
167 int halfwidth = (width + 1) >> 1; in I010ToI420() local
188 Convert16To8Plane(src_u, src_stride_u, dst_u, dst_stride_u, 16384, halfwidth, in I010ToI420()
190 Convert16To8Plane(src_v, src_stride_v, dst_v, dst_stride_v, 16384, halfwidth, in I010ToI420()
252 int halfwidth = (width + 1) >> 1; in I400ToI420() local
[all …]
Dconvert_from_argb.cc232 int halfwidth = (width + 1) >> 1; in ARGBToNV12() local
304 if (IS_ALIGNED(halfwidth, 16)) { in ARGBToNV12()
312 if (IS_ALIGNED(halfwidth, 32)) { in ARGBToNV12()
320 if (IS_ALIGNED(halfwidth, 16)) { in ARGBToNV12()
328 if (IS_ALIGNED(halfwidth, 16)) { in ARGBToNV12()
335 align_buffer_64(row_u, ((halfwidth + 31) & ~31) * 2); in ARGBToNV12()
336 uint8_t* row_v = row_u + ((halfwidth + 31) & ~31); in ARGBToNV12()
340 MergeUVRow_(row_u, row_v, dst_uv, halfwidth); in ARGBToNV12()
349 MergeUVRow_(row_u, row_v, dst_uv, halfwidth); in ARGBToNV12()
368 int halfwidth = (width + 1) >> 1; in ARGBToNV21() local
[all …]
Dplanar_functions.cc240 int halfwidth = (width + 1) >> 1; in I422Copy() local
258 CopyPlane(src_u, src_stride_u, dst_u, dst_stride_u, halfwidth, height); in I422Copy()
259 CopyPlane(src_v, src_stride_v, dst_v, dst_stride_v, halfwidth, height); in I422Copy()
940 int halfwidth = (width + 1) >> 1; in I420Mirror() local
961 MirrorPlane(src_u, src_stride_u, dst_u, dst_stride_u, halfwidth, halfheight); in I420Mirror()
962 MirrorPlane(src_v, src_stride_v, dst_v, dst_stride_v, halfwidth, halfheight); in I420Mirror()
1181 int halfwidth = (width + 1) >> 1; in I420Blend() local
1206 if (IS_ALIGNED(halfwidth, 8)) { in I420Blend()
1214 if (IS_ALIGNED(halfwidth, 32)) { in I420Blend()
1227 if (IS_ALIGNED(halfwidth, 16)) { in I420Blend()
[all …]
Dconvert_from.cc84 int halfwidth = (width + 1) >> 1; in I420ToI010() local
105 Convert8To16Plane(src_u, src_stride_u, dst_u, dst_stride_u, 1024, halfwidth, in I420ToI010()
107 Convert8To16Plane(src_v, src_stride_v, dst_v, dst_stride_v, 1024, halfwidth, in I420ToI010()
485 int halfwidth = (width + 1) / 2; in I420ToNV12() local
491 halfwidth, halfheight); in I420ToNV12()
/external/icu/icu4c/source/data/translit/
DHan_Spacedhan.txt13 :: fullwidth-halfwidth;
Dit_am.txt11 ::[:Latin:] fullwidth-halfwidth();
Dit_ja.txt14 ::[:Latin:] fullwidth-halfwidth();
DLatn_Kana.txt13 :: [:Latin:] fullwidth-halfwidth ();
382 :: ([[:Katakana:][\u309B\u309C\u30A0\u30FC\uFF70\uFF9E\uFF9F]] halfwidth-fullwidth);

12