Home
last modified time | relevance | path

Searched refs:halfheight (Results 1 – 14 of 14) sorted by relevance

/external/libyuv/files/source/
Drotate.cc1053 int halfheight = (height + 1) >> 1; in I420Rotate() local
1058 halfheight = (height + 1) >> 1; in I420Rotate()
1060 src_u = src_u + (halfheight - 1) * src_stride_u; in I420Rotate()
1061 src_v = src_v + (halfheight - 1) * src_stride_v; in I420Rotate()
1083 halfwidth, halfheight); in I420Rotate()
1086 halfwidth, halfheight); in I420Rotate()
1094 halfwidth, halfheight); in I420Rotate()
1097 halfwidth, halfheight); in I420Rotate()
1105 halfwidth, halfheight); in I420Rotate()
1108 halfwidth, halfheight); in I420Rotate()
[all …]
Dconvert.cc46 int halfheight = (height + 1) >> 1; in I420Copy() local
48 src_u = src_u + (halfheight - 1) * src_stride_u; in I420Copy()
49 src_v = src_v + (halfheight - 1) * src_stride_v; in I420Copy()
56 int halfheight = (height + 1) >> 1; in I420Copy() local
60 CopyPlane(src_u, src_stride_u, dst_u, dst_stride_u, halfwidth, halfheight); in I420Copy()
61 CopyPlane(src_v, src_stride_v, dst_v, dst_stride_v, halfwidth, halfheight); in I420Copy()
313 int halfheight = (height + 1) >> 1; in I411ToI420() local
318 halfwidth, halfheight, // to 1/2 width, 1/2 height in I411ToI420()
325 halfwidth, halfheight, // to 1/2 width, 1/2 height in I411ToI420()
350 int halfheight = (height + 1) >> 1; in I400ToI420() local
[all …]
Dformat_conversion.cc362 int halfheight = (height + 1) >> 1; in BayerToI420() local
364 dst_u = dst_u + (halfheight - 1) * dst_stride_u; in BayerToI420()
365 dst_v = dst_v + (halfheight - 1) * dst_stride_v; in BayerToI420()
445 int halfheight = (height + 1) >> 1; in I420ToBayer() local
447 src_u = src_u + (halfheight - 1) * src_stride_u; in I420ToBayer()
448 src_v = src_v + (halfheight - 1) * src_stride_v; in I420ToBayer()
Dplanar_functions.cc248 int halfheight = (height + 1) >> 1; in I420Mirror() local
250 src_u = src_u + (halfheight - 1) * src_stride_u; in I420Mirror()
251 src_v = src_v + (halfheight - 1) * src_stride_v; in I420Mirror()
258 int halfheight = (height + 1) >> 1; in I420Mirror() local
262 MirrorPlane(src_u, src_stride_u, dst_u, dst_stride_u, halfwidth, halfheight); in I420Mirror()
263 MirrorPlane(src_v, src_stride_v, dst_v, dst_stride_v, halfwidth, halfheight); in I420Mirror()
964 int halfheight = (height + 1) >> 1; in I420Rect() local
970 SetPlane(start_u, dst_stride_u, halfwidth, halfheight, value_u); in I420Rect()
971 SetPlane(start_v, dst_stride_v, halfwidth, halfheight, value_v); in I420Rect()
Dconvert_from.cc137 int halfheight = (height + 1) >> 1; in I420ToI444() local
140 ScalePlaneBilinear(halfwidth, halfheight, in I420ToI444()
147 ScalePlaneBilinear(halfwidth, halfheight, in I420ToI444()
187 int halfheight = (height + 1) >> 1; in I420ToI411() local
191 ScalePlaneBilinear(halfwidth, halfheight, // from 1/2 width, 1/2 height in I420ToI411()
198 ScalePlaneBilinear(halfwidth, halfheight, // from 1/2 width, 1/2 height in I420ToI411()
1341 int halfheight = (height + 1) / 2; in ConvertFromI420() local
1346 dst_u = dst_v + halfwidth * halfheight; in ConvertFromI420()
1349 dst_v = dst_u + halfwidth * halfheight; in ConvertFromI420()
Dconvert_argb.cc1198 int halfheight = (abs_src_height + 1) / 2; in ConvertToARGB() local
1203 halfwidth * (halfheight + crop_y / 2) + crop_x / 2; in ConvertToARGB()
1208 halfwidth * (halfheight + crop_y / 2) + crop_x / 2; in ConvertToARGB()
Dscale.cc2936 int halfheight = (src_height + 1) >> 1; in I420Scale() local
2938 src_u = src_u + (halfheight - 1) * src_stride_u; in I420Scale()
2939 src_v = src_v + (halfheight - 1) * src_stride_v; in I420Scale()
2999 int halfheight = (src_height + 1) >> 1; in Scale() local
3001 src_u = src_u + (halfheight - 1) * src_stride_u; in Scale()
3002 src_v = src_v + (halfheight - 1) * src_stride_v; in Scale()
/external/libvpx/libvpx/third_party/libyuv/source/
Drotate.cc1164 int halfheight = (height + 1) >> 1; in I420Rotate() local
1173 halfheight = (height + 1) >> 1; in I420Rotate()
1175 src_u = src_u + (halfheight - 1) * src_stride_u; in I420Rotate()
1176 src_v = src_v + (halfheight - 1) * src_stride_v; in I420Rotate()
1198 halfwidth, halfheight); in I420Rotate()
1201 halfwidth, halfheight); in I420Rotate()
1209 halfwidth, halfheight); in I420Rotate()
1212 halfwidth, halfheight); in I420Rotate()
1220 halfwidth, halfheight); in I420Rotate()
1223 halfwidth, halfheight); in I420Rotate()
[all …]
Dconvert.cc71 int halfheight = (height + 1) >> 1; in I420Copy() local
80 halfheight = (height + 1) >> 1; in I420Copy()
82 src_u = src_u + (halfheight - 1) * src_stride_u; in I420Copy()
83 src_v = src_v + (halfheight - 1) * src_stride_v; in I420Copy()
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()
168 int halfheight = (height + 1) >> 1; in I400ToI420() local
176 halfheight = (height + 1) >> 1; in I400ToI420()
181 SetPlane(dst_u, dst_stride_u, halfwidth, halfheight, 128); in I400ToI420()
182 SetPlane(dst_v, dst_stride_v, halfwidth, halfheight, 128); in I400ToI420()
[all …]
Dformat_conversion.cc307 int halfheight; in BayerToI420() local
309 halfheight = (height + 1) >> 1; in BayerToI420()
311 dst_u = dst_u + (halfheight - 1) * dst_stride_u; in BayerToI420()
312 dst_v = dst_v + (halfheight - 1) * dst_stride_v; in BayerToI420()
413 int halfheight; in I420ToBayer() local
415 halfheight = (height + 1) >> 1; in I420ToBayer()
417 src_u = src_u + (halfheight - 1) * src_stride_u; in I420ToBayer()
418 src_v = src_v + (halfheight - 1) * src_stride_v; in I420ToBayer()
Dconvert_from.cc371 int halfheight = (height + 1) >> 1; in I420ToNV12() local
379 halfheight = (height + 1) >> 1; in I420ToNV12()
381 dst_uv = dst_uv + (halfheight - 1) * dst_stride_uv; in I420ToNV12()
395 halfwidth *= halfheight; in I420ToNV12()
396 halfheight = 1; in I420ToNV12()
430 for (y = 0; y < halfheight; ++y) { in I420ToNV12()
1126 int halfheight = (height + 1) / 2; in ConvertFromI420() local
1131 dst_u = dst_v + halfwidth * halfheight; in ConvertFromI420()
1134 dst_v = dst_u + halfwidth * halfheight; in ConvertFromI420()
Dconvert_to_argb.cc225 int halfheight = (abs_src_height + 1) / 2; in ConvertToARGB() local
230 halfwidth * (halfheight + crop_y / 2) + crop_x / 2; in ConvertToARGB()
235 halfwidth * (halfheight + crop_y / 2) + crop_x / 2; in ConvertToARGB()
Dconvert_to_i420.cc267 int halfheight = (abs_src_height + 1) / 2; in ConvertToI420() local
272 halfwidth * (halfheight + crop_y / 2) + crop_x / 2; in ConvertToI420()
277 halfwidth * (halfheight + crop_y / 2) + crop_x / 2; in ConvertToI420()
Dplanar_functions.cc458 int halfheight = (height + 1) >> 1; in I420Mirror() local
466 halfheight = (height + 1) >> 1; in I420Mirror()
468 src_u = src_u + (halfheight - 1) * src_stride_u; in I420Mirror()
469 src_v = src_v + (halfheight - 1) * src_stride_v; in I420Mirror()
478 MirrorPlane(src_u, src_stride_u, dst_u, dst_stride_u, halfwidth, halfheight); in I420Mirror()
479 MirrorPlane(src_v, src_stride_v, dst_v, dst_stride_v, halfwidth, halfheight); in I420Mirror()
1110 int halfheight = (height + 1) >> 1; in I420Rect() local
1124 SetPlane(start_u, dst_stride_u, halfwidth, halfheight, value_u); in I420Rect()
1125 SetPlane(start_v, dst_stride_v, halfwidth, halfheight, value_v); in I420Rect()