/aosp_15_r20/external/libyuv/source/ |
H A D | convert_to_argb.cc | 43 int src_width, in ConvertToARGB() argument 50 int aligned_src_width = (src_width + 1) & ~1; in ConvertToARGB() 69 if (dst_argb == NULL || sample == NULL || src_width <= 0 || crop_width <= 0 || in ConvertToARGB() 100 src = sample + (src_width * crop_y + crop_x) * 3; in ConvertToARGB() 101 r = RGB24ToARGB(src, src_width * 3, dst_argb, dst_stride_argb, crop_width, in ConvertToARGB() 105 src = sample + (src_width * crop_y + crop_x) * 3; in ConvertToARGB() 106 r = RAWToARGB(src, src_width * 3, dst_argb, dst_stride_argb, crop_width, in ConvertToARGB() 111 src = sample + (src_width * crop_y + crop_x) * 4; in ConvertToARGB() 112 r = ARGBToARGB(src, src_width * 4, dst_argb, dst_stride_argb, in ConvertToARGB() 117 src = sample + (src_width * crop_y + crop_x) * 4; in ConvertToARGB() [all …]
|
H A D | scale.cc | 38 static void ScalePlaneDown2(int src_width, in ScalePlaneDown2() argument 55 (void)src_width; in ScalePlaneDown2() 158 static void ScalePlaneDown2_16(int src_width, in ScalePlaneDown2_16() argument 175 (void)src_width; in ScalePlaneDown2_16() 209 void ScalePlaneDown2_16To8(int src_width, in ScalePlaneDown2_16To8() argument 222 (src_width & 1) in ScalePlaneDown2_16To8() 258 static void ScalePlaneDown4(int src_width, in ScalePlaneDown4() argument 272 (void)src_width; in ScalePlaneDown4() 339 static void ScalePlaneDown4_16(int src_width, in ScalePlaneDown4_16() argument 353 (void)src_width; in ScalePlaneDown4_16() [all …]
|
H A D | convert_to_i420.cc | 38 int src_width, in ConvertToI420() argument 45 int aligned_src_width = (src_width + 1) & ~1; in ConvertToI420() 66 if (!dst_y || !dst_u || !dst_v || !sample || src_width <= 0 || in ConvertToI420() 113 src = sample + (src_width * crop_y + crop_x) * 2; in ConvertToI420() 114 r = RGB565ToI420(src, src_width * 2, dst_y, dst_stride_y, dst_u, in ConvertToI420() 119 src = sample + (src_width * crop_y + crop_x) * 2; in ConvertToI420() 120 r = ARGB1555ToI420(src, src_width * 2, dst_y, dst_stride_y, dst_u, in ConvertToI420() 125 src = sample + (src_width * crop_y + crop_x) * 2; in ConvertToI420() 126 r = ARGB4444ToI420(src, src_width * 2, dst_y, dst_stride_y, dst_u, in ConvertToI420() 131 src = sample + (src_width * crop_y + crop_x) * 3; in ConvertToI420() [all …]
|
H A D | scale_uv.cc | 58 static void ScaleUVDown2(int src_width, in ScaleUVDown2() argument 79 (void)src_width; in ScaleUVDown2() 191 static int ScaleUVDown4Box(int src_width, in ScaleUVDown4Box() argument 215 (void)src_width; in ScaleUVDown4Box() 268 static void ScaleUVDownEven(int src_width, in ScaleUVDownEven() argument 287 (void)src_width; in ScaleUVDownEven() 289 assert(IS_ALIGNED(src_width, 2)); in ScaleUVDownEven() 350 static int ScaleUVBilinearDown(int src_width, in ScaleUVBilinearDown() argument 369 (src_width >= 32768) ? ScaleUVFilterCols64_C : ScaleUVFilterCols_C; in ScaleUVBilinearDown() 377 if (xr > src_width) { in ScaleUVBilinearDown() [all …]
|
H A D | scale_argb.cc | 34 static void ScaleARGBDown2(int src_width, in ScaleARGBDown2() argument 55 (void)src_width; in ScaleARGBDown2() 154 static int ScaleARGBDown4Box(int src_width, in ScaleARGBDown4Box() argument 181 (void)src_width; in ScaleARGBDown4Box() 223 static void ScaleARGBDownEven(int src_width, in ScaleARGBDownEven() argument 242 (void)src_width; in ScaleARGBDownEven() 244 assert(IS_ALIGNED(src_width, 2)); in ScaleARGBDownEven() 309 static int ScaleARGBBilinearDown(int src_width, in ScaleARGBBilinearDown() argument 328 (src_width >= 32768) ? ScaleARGBFilterCols64_C : ScaleARGBFilterCols_C; in ScaleARGBBilinearDown() 336 if (xr > src_width) { in ScaleARGBBilinearDown() [all …]
|
/aosp_15_r20/external/libaom/third_party/libyuv/source/ |
H A D | convert_to_argb.cc | 43 int src_width, in ConvertToARGB() argument 50 int aligned_src_width = (src_width + 1) & ~1; in ConvertToARGB() 69 if (dst_argb == NULL || sample == NULL || src_width <= 0 || crop_width <= 0 || in ConvertToARGB() 100 src = sample + (src_width * crop_y + crop_x) * 3; in ConvertToARGB() 101 r = RGB24ToARGB(src, src_width * 3, dst_argb, dst_stride_argb, crop_width, in ConvertToARGB() 105 src = sample + (src_width * crop_y + crop_x) * 3; in ConvertToARGB() 106 r = RAWToARGB(src, src_width * 3, dst_argb, dst_stride_argb, crop_width, in ConvertToARGB() 111 src = sample + (src_width * crop_y + crop_x) * 4; in ConvertToARGB() 112 r = ARGBToARGB(src, src_width * 4, dst_argb, dst_stride_argb, in ConvertToARGB() 117 src = sample + (src_width * crop_y + crop_x) * 4; in ConvertToARGB() [all …]
|
H A D | scale.cc | 37 static void ScalePlaneDown2(int src_width, in ScalePlaneDown2() argument 54 (void)src_width; in ScalePlaneDown2() 149 static void ScalePlaneDown2_16(int src_width, in ScalePlaneDown2_16() argument 166 (void)src_width; in ScalePlaneDown2_16() 212 static void ScalePlaneDown4(int src_width, in ScalePlaneDown4() argument 226 (void)src_width; in ScalePlaneDown4() 288 static void ScalePlaneDown4_16(int src_width, in ScalePlaneDown4_16() argument 302 (void)src_width; in ScalePlaneDown4_16() 337 static void ScalePlaneDown34(int src_width, in ScalePlaneDown34() argument 352 (void)src_width; in ScalePlaneDown34() [all …]
|
H A D | convert_to_i420.cc | 38 int src_width, in ConvertToI420() argument 45 int aligned_src_width = (src_width + 1) & ~1; in ConvertToI420() 66 if (!dst_y || !dst_u || !dst_v || !sample || src_width <= 0 || in ConvertToI420() 105 src = sample + (src_width * crop_y + crop_x) * 2; in ConvertToI420() 106 r = RGB565ToI420(src, src_width * 2, dst_y, dst_stride_y, dst_u, in ConvertToI420() 111 src = sample + (src_width * crop_y + crop_x) * 2; in ConvertToI420() 112 r = ARGB1555ToI420(src, src_width * 2, dst_y, dst_stride_y, dst_u, in ConvertToI420() 117 src = sample + (src_width * crop_y + crop_x) * 2; in ConvertToI420() 118 r = ARGB4444ToI420(src, src_width * 2, dst_y, dst_stride_y, dst_u, in ConvertToI420() 123 src = sample + (src_width * crop_y + crop_x) * 3; in ConvertToI420() [all …]
|
H A D | scale_argb.cc | 33 static void ScaleARGBDown2(int src_width, in ScaleARGBDown2() argument 54 (void)src_width; in ScaleARGBDown2() 144 static void ScaleARGBDown4Box(int src_width, in ScaleARGBDown4Box() argument 166 (void)src_width; in ScaleARGBDown4Box() 202 static void ScaleARGBDownEven(int src_width, in ScaleARGBDownEven() argument 221 (void)src_width; in ScaleARGBDownEven() 223 assert(IS_ALIGNED(src_width, 2)); in ScaleARGBDownEven() 278 static void ScaleARGBBilinearDown(int src_width, in ScaleARGBBilinearDown() argument 297 (src_width >= 32768) ? ScaleARGBFilterCols64_C : ScaleARGBFilterCols_C; in ScaleARGBBilinearDown() 305 if (xr > src_width) { in ScaleARGBBilinearDown() [all …]
|
H A D | scale_uv.cc | 58 static void ScaleUVDown2(int src_width, in ScaleUVDown2() argument 79 (void)src_width; in ScaleUVDown2() 198 static void ScaleUVDown4Box(int src_width, in ScaleUVDown4Box() argument 220 (void)src_width; in ScaleUVDown4Box() 267 static void ScaleUVDownEven(int src_width, in ScaleUVDownEven() argument 286 (void)src_width; in ScaleUVDownEven() 288 assert(IS_ALIGNED(src_width, 2)); in ScaleUVDownEven() 353 static void ScaleUVBilinearDown(int src_width, in ScaleUVBilinearDown() argument 372 (src_width >= 32768) ? ScaleUVFilterCols64_C : ScaleUVFilterCols_C; in ScaleUVBilinearDown() 380 if (xr > src_width) { in ScaleUVBilinearDown() [all …]
|
/aosp_15_r20/external/libvpx/third_party/libyuv/source/ |
H A D | convert_to_argb.cc | 48 int src_width, in ConvertToARGB() argument 55 int aligned_src_width = (src_width + 1) & ~1; in ConvertToARGB() 74 if (dst_argb == NULL || sample == NULL || src_width <= 0 || crop_width <= 0 || in ConvertToARGB() 105 src = sample + (src_width * crop_y + crop_x) * 3; in ConvertToARGB() 106 r = RGB24ToARGB(src, src_width * 3, dst_argb, dst_stride_argb, crop_width, in ConvertToARGB() 110 src = sample + (src_width * crop_y + crop_x) * 3; in ConvertToARGB() 111 r = RAWToARGB(src, src_width * 3, dst_argb, dst_stride_argb, crop_width, in ConvertToARGB() 116 src = sample + (src_width * crop_y + crop_x) * 4; in ConvertToARGB() 117 r = ARGBToARGB(src, src_width * 4, dst_argb, dst_stride_argb, in ConvertToARGB() 122 src = sample + (src_width * crop_y + crop_x) * 4; in ConvertToARGB() [all …]
|
H A D | convert_to_i420.cc | 38 int src_width, in ConvertToI420() argument 45 int aligned_src_width = (src_width + 1) & ~1; in ConvertToI420() 66 if (!dst_y || !dst_u || !dst_v || !sample || src_width <= 0 || in ConvertToI420() 105 src = sample + (src_width * crop_y + crop_x) * 2; in ConvertToI420() 106 r = RGB565ToI420(src, src_width * 2, dst_y, dst_stride_y, dst_u, in ConvertToI420() 111 src = sample + (src_width * crop_y + crop_x) * 2; in ConvertToI420() 112 r = ARGB1555ToI420(src, src_width * 2, dst_y, dst_stride_y, dst_u, in ConvertToI420() 117 src = sample + (src_width * crop_y + crop_x) * 2; in ConvertToI420() 118 r = ARGB4444ToI420(src, src_width * 2, dst_y, dst_stride_y, dst_u, in ConvertToI420() 123 src = sample + (src_width * crop_y + crop_x) * 3; in ConvertToI420() [all …]
|
H A D | scale.cc | 36 static void ScalePlaneDown2(int src_width, in ScalePlaneDown2() argument 53 (void)src_width; in ScalePlaneDown2() 133 static void ScalePlaneDown2_16(int src_width, in ScalePlaneDown2_16() argument 150 (void)src_width; in ScalePlaneDown2_16() 188 static void ScalePlaneDown4(int src_width, in ScalePlaneDown4() argument 202 (void)src_width; in ScalePlaneDown4() 255 static void ScalePlaneDown4_16(int src_width, in ScalePlaneDown4_16() argument 269 (void)src_width; in ScalePlaneDown4_16() 299 static void ScalePlaneDown34(int src_width, in ScalePlaneDown34() argument 314 (void)src_width; in ScalePlaneDown34() [all …]
|
H A D | scale_argb.cc | 33 static void ScaleARGBDown2(int src_width, in ScaleARGBDown2() argument 54 (void)src_width; in ScaleARGBDown2() 128 static void ScaleARGBDown4Box(int src_width, in ScaleARGBDown4Box() argument 150 (void)src_width; in ScaleARGBDown4Box() 186 static void ScaleARGBDownEven(int src_width, in ScaleARGBDownEven() argument 205 (void)src_width; in ScaleARGBDownEven() 207 assert(IS_ALIGNED(src_width, 2)); in ScaleARGBDownEven() 252 static void ScaleARGBBilinearDown(int src_width, in ScaleARGBBilinearDown() argument 271 (src_width >= 32768) ? ScaleARGBFilterCols64_C : ScaleARGBFilterCols_C; in ScaleARGBBilinearDown() 279 if (xr > src_width) { in ScaleARGBBilinearDown() [all …]
|
/aosp_15_r20/external/libyuv/unit_test/ |
H A D | rotate_test.cc | 25 static void I420TestRotate(int src_width, in I420TestRotate() argument 33 if (src_width < 1) { in I420TestRotate() 34 src_width = 1; in I420TestRotate() 45 int src_i420_y_size = src_width * Abs(src_height); in I420TestRotate() 46 int src_i420_uv_size = ((src_width + 1) / 2) * ((Abs(src_height) + 1) / 2); in I420TestRotate() 62 I420Rotate(src_i420, src_width, src_i420 + src_i420_y_size, in I420TestRotate() 63 (src_width + 1) / 2, src_i420 + src_i420_y_size + src_i420_uv_size, in I420TestRotate() 64 (src_width + 1) / 2, dst_i420_c, dst_width, in I420TestRotate() 67 (dst_width + 1) / 2, src_width, src_height, mode); in I420TestRotate() 72 src_i420, src_width, src_i420 + src_i420_y_size, (src_width + 1) / 2, in I420TestRotate() [all …]
|
H A D | scale_argb_test.cc | 32 static int ARGBTestFilter(int src_width, in ARGBTestFilter() argument 40 if (!SizeValid(src_width, src_height, dst_width, dst_height)) { in ARGBTestFilter() 47 (Abs(src_width) + b * 2) * (Abs(src_height) + b * 2) * 4LL; in ARGBTestFilter() 48 int src_stride_argb = (b * 2 + Abs(src_width)) * 4; in ARGBTestFilter() 73 src_width, src_height, dst_argb_c + (dst_stride_argb * b) + b * 4, in ARGBTestFilter() 77 src_width, src_height, dst_argb_opt + (dst_stride_argb * b) + b * 4, in ARGBTestFilter() 83 src_width, src_height, dst_argb_c + (dst_stride_argb * b) + b * 4, in ARGBTestFilter() 92 src_width, src_height, in ARGBTestFilter() 128 int src_width, in TileARGBScale() argument 145 int r = ARGBScaleClip(src_argb, src_stride_argb, src_width, src_height, in TileARGBScale() [all …]
|
H A D | scale_test.cc | 39 static int I420TestFilter(int src_width, in I420TestFilter() argument 47 if (!SizeValid(src_width, src_height, dst_width, dst_height)) { in I420TestFilter() 52 int src_width_uv = (Abs(src_width) + 1) >> 1; in I420TestFilter() 55 int64_t src_y_plane_size = (Abs(src_width)) * (Abs(src_height)); in I420TestFilter() 58 int src_stride_y = Abs(src_width); in I420TestFilter() 96 src_width, src_height, dst_y_c, dst_stride_y, dst_u_c, in I420TestFilter() 104 src_width, src_height, dst_y_opt, dst_stride_y, dst_u_opt, in I420TestFilter() 158 static int I420TestFilter_12(int src_width, in I420TestFilter_12() argument 166 if (!SizeValid(src_width, src_height, dst_width, dst_height)) { in I420TestFilter_12() 171 int src_width_uv = (Abs(src_width) + 1) >> 1; in I420TestFilter_12() [all …]
|
H A D | rotate_argb_test.cc | 19 void TestRotateBpp(int src_width, in TestRotateBpp() argument 28 if (src_width < 1) { in TestRotateBpp() 29 src_width = 1; in TestRotateBpp() 40 int src_stride_argb = src_width * kBpp; in TestRotateBpp() 57 src_width, src_height, mode); in TestRotateBpp() 62 src_width, src_height, mode); in TestRotateBpp() 67 src_width, src_height, mode); in TestRotateBpp() 72 src_width, src_height, mode); in TestRotateBpp() 86 static void ARGBTestRotate(int src_width, in ARGBTestRotate() argument 94 TestRotateBpp(src_width, src_height, dst_width, dst_height, mode, in ARGBTestRotate() [all …]
|
/aosp_15_r20/external/mesa3d/src/gallium/auxiliary/gallivm/ |
H A D | lp_bld_gather.c | 83 unsigned src_width, in lp_build_gather_elem() argument 91 LLVMTypeRef src_type = LLVMIntTypeInContext(gallivm->context, src_width); in lp_build_gather_elem() 121 } else if (!util_is_power_of_two_or_zero(src_width)) { in lp_build_gather_elem() 132 if (((src_width / 24) * 24 == src_width) && in lp_build_gather_elem() 133 util_is_power_of_two_or_zero(src_width / 24)) { in lp_build_gather_elem() 134 LLVMSetAlignment(res, src_width / 24); in lp_build_gather_elem() 140 assert(src_width <= dst_width); in lp_build_gather_elem() 141 if (src_width < dst_width) { in lp_build_gather_elem() 146 LLVMConstInt(dst_elem_type, dst_width - src_width, 0), ""); in lp_build_gather_elem() 166 unsigned src_width, in lp_build_gather_elem_vec() argument [all …]
|
/aosp_15_r20/external/ComputeLibrary/tests/validation/reference/ |
H A D | ReductionOperation.cpp | 190 const unsigned int src_width = src.shape().x(); in compute_reduction_operation() local 215 for(unsigned int x = 0; x < src_width; ++x) in compute_reduction_operation() 217 const int in_offset = du * src_height * src_width + x; in compute_reduction_operation() 218 const int out_offset = du * src_width + x; in compute_reduction_operation() 221 … reduce_operation_arg_min_max<T, OT>(src_row_ptr, reduce_elems, op, src_width) : in compute_reduction_operation() 222 … reduce_operation<T, OT>(src_row_ptr, reduce_elems, op, src_width, policy); in compute_reduction_operation() 232 for(unsigned int x = 0; x < src_width; ++x) in compute_reduction_operation() 236 … const int in_offset = du * src_depth * src_height * src_width + y * src_width + x; in compute_reduction_operation() 237 const int out_offset = du * src_width * src_height + y * src_width + x; in compute_reduction_operation() 240 … reduce_operation_arg_min_max<T, OT>(src_row_ptr, reduce_elems, op, src_width * src_height) : in compute_reduction_operation() [all …]
|
/aosp_15_r20/prebuilts/vndk/v34/x86_64/include/external/libyuv/files/include/libyuv/ |
D | scale.h | 33 int src_width, 44 int src_width, 56 int src_width, 81 int src_width, 100 int src_width, 119 int src_width, 148 int src_width, 167 int src_width, 186 int src_width, 214 int src_width, [all …]
|
/aosp_15_r20/prebuilts/vndk/v34/arm64/include/external/libyuv/files/include/libyuv/ |
D | scale.h | 33 int src_width, 44 int src_width, 56 int src_width, 81 int src_width, 100 int src_width, 119 int src_width, 148 int src_width, 167 int src_width, 186 int src_width, 214 int src_width, [all …]
|
/aosp_15_r20/prebuilts/vndk/v34/x86/include/external/libyuv/files/include/libyuv/ |
D | scale.h | 33 int src_width, 44 int src_width, 56 int src_width, 81 int src_width, 100 int src_width, 119 int src_width, 148 int src_width, 167 int src_width, 186 int src_width, 214 int src_width, [all …]
|
/aosp_15_r20/prebuilts/vndk/v34/arm/include/external/libyuv/files/include/libyuv/ |
D | scale.h | 33 int src_width, 44 int src_width, 56 int src_width, 81 int src_width, 100 int src_width, 119 int src_width, 148 int src_width, 167 int src_width, 186 int src_width, 214 int src_width, [all …]
|
/aosp_15_r20/external/libyuv/include/libyuv/ |
H A D | scale.h | 34 int src_width, 45 int src_width, 57 int src_width, 82 int src_width, 101 int src_width, 120 int src_width, 149 int src_width, 168 int src_width, 187 int src_width, 215 int src_width, [all …]
|