/external/libvpx/libvpx/third_party/libyuv/source/ |
convert_to_argb.cc | 27 // src_width is used for source stride computation 35 int src_width, int src_height, 40 int aligned_src_width = (src_width + 1) & ~1; 60 src_width <= 0 || crop_width <= 0 || 93 src = sample + (src_width * crop_y + crop_x) * 3; 94 r = RGB24ToARGB(src, src_width * 3, 99 src = sample + (src_width * crop_y + crop_x) * 3; 100 r = RAWToARGB(src, src_width * 3, 105 src = sample + (src_width * crop_y + crop_x) * 4; 106 r = ARGBToARGB(src, src_width * 4 [all...] |
convert_to_i420.cc | 23 // src_width is used for source stride computation 34 int src_width, int src_height, 39 int aligned_src_width = (src_width + 1) & ~1; 58 src_width <= 0 || crop_width <= 0 || 104 src = sample + (src_width * crop_y + crop_x) * 2; 105 r = RGB565ToI420(src, src_width * 2, 112 src = sample + (src_width * crop_y + crop_x) * 2; 113 r = ARGB1555ToI420(src, src_width * 2, 120 src = sample + (src_width * crop_y + crop_x) * 2; 121 r = ARGB4444ToI420(src, src_width * 2 [all...] |
scale.cc | 36 static void ScalePlaneDown2(int src_width, int src_height, 108 static void ScalePlaneDown2_16(int src_width, int src_height, 162 static void ScalePlaneDown4(int src_width, int src_height, 222 static void ScalePlaneDown4_16(int src_width, int src_height, 269 static void ScalePlaneDown34(int src_width, int src_height, 366 static void ScalePlaneDown34_16(int src_width, int src_height, 461 static void ScalePlaneDown38(int src_width, int src_height, 557 static void ScalePlaneDown38_16(int src_width, int src_height, 732 static void ScalePlaneBox(int src_width, int src_height, 743 ScaleSlope(src_width, src_height, dst_width, dst_height, kFilterBox [all...] |
scale_argb.cc | 33 static void ScaleARGBDown2(int src_width, int src_height, 93 static void ScaleARGBDown4Box(int src_width, int src_height, 140 static void ScaleARGBDownEven(int src_width, int src_height, 152 assert(IS_ALIGNED(src_width, 2)); 187 static void ScaleARGBBilinearDown(int src_width, int src_height, 199 (src_width >= 32768) ? ScaleARGBFilterCols64_C : ScaleARGBFilterCols_C; 207 if (xr > src_width) { 208 xr = src_width; 255 if (TestCpuFlag(kCpuHasSSSE3) && src_width < 32768) { 297 static void ScaleARGBBilinearUp(int src_width, int src_height [all...] |
/external/libyuv/files/source/ |
convert_to_argb.cc | 27 // src_width is used for source stride computation 35 int src_width, int src_height, 40 int aligned_src_width = (src_width + 1) & ~1; 60 src_width <= 0 || crop_width <= 0 || 93 src = sample + (src_width * crop_y + crop_x) * 3; 94 r = RGB24ToARGB(src, src_width * 3, 99 src = sample + (src_width * crop_y + crop_x) * 3; 100 r = RAWToARGB(src, src_width * 3, 105 src = sample + (src_width * crop_y + crop_x) * 4; 106 r = ARGBToARGB(src, src_width * 4 [all...] |
convert_to_i420.cc | 23 // src_width is used for source stride computation 34 int src_width, int src_height, 39 int aligned_src_width = (src_width + 1) & ~1; 60 src_width <= 0 || crop_width <= 0 || 103 src = sample + (src_width * crop_y + crop_x) * 2; 104 r = RGB565ToI420(src, src_width * 2, 111 src = sample + (src_width * crop_y + crop_x) * 2; 112 r = ARGB1555ToI420(src, src_width * 2, 119 src = sample + (src_width * crop_y + crop_x) * 2; 120 r = ARGB4444ToI420(src, src_width * 2 [all...] |
scale.cc | 36 static void ScalePlaneDown2(int src_width, int src_height, 108 static void ScalePlaneDown2_16(int src_width, int src_height, 162 static void ScalePlaneDown4(int src_width, int src_height, 222 static void ScalePlaneDown4_16(int src_width, int src_height, 269 static void ScalePlaneDown34(int src_width, int src_height, 366 static void ScalePlaneDown34_16(int src_width, int src_height, 461 static void ScalePlaneDown38(int src_width, int src_height, 557 static void ScalePlaneDown38_16(int src_width, int src_height, 731 static void ScalePlaneBox(int src_width, int src_height, 742 ScaleSlope(src_width, src_height, dst_width, dst_height, kFilterBox [all...] |
scale_argb.cc | 33 static void ScaleARGBDown2(int src_width, int src_height, 93 static void ScaleARGBDown4Box(int src_width, int src_height, 140 static void ScaleARGBDownEven(int src_width, int src_height, 152 assert(IS_ALIGNED(src_width, 2)); 187 static void ScaleARGBBilinearDown(int src_width, int src_height, 199 (src_width >= 32768) ? ScaleARGBFilterCols64_C : ScaleARGBFilterCols_C; 207 if (xr > src_width) { 208 xr = src_width; 247 if (TestCpuFlag(kCpuHasSSSE3) && src_width < 32768) { 289 static void ScaleARGBBilinearUp(int src_width, int src_height [all...] |
/external/libyuv/files/unit_test/ |
rotate_test.cc | 19 static void I420TestRotate(int src_width, int src_height, 24 if (src_width < 1) { 25 src_width = 1; 36 int src_i420_y_size = src_width * Abs(src_height); 37 int src_i420_uv_size = ((src_width + 1) / 2) * ((Abs(src_height) + 1) / 2); 53 I420Rotate(src_i420, src_width, 54 src_i420 + src_i420_y_size, (src_width + 1) / 2, 55 src_i420 + src_i420_y_size + src_i420_uv_size, (src_width + 1) / 2, 60 src_width, src_height, mode); 64 I420Rotate(src_i420, src_width, [all...] |
rotate_argb_test.cc | 19 void TestRotateBpp(int src_width, int src_height, 26 if (src_width < 1) { 27 src_width = 1; 38 int src_stride_argb = src_width * kBpp; 56 src_width, src_height, mode); 62 src_width, src_height, mode); 68 src_width, src_height, mode); 74 src_width, src_height, mode); 88 static void ARGBTestRotate(int src_width, int src_height, 94 TestRotateBpp(src_width, src_height [all...] |
scale_argb_test.cc | 26 static int ARGBTestFilter(int src_width, int src_height, 30 if (!SizeValid(src_width, src_height, dst_width, dst_height)) { 36 int64 src_argb_plane_size = (Abs(src_width) + b * 2) * 38 int src_stride_argb = (b * 2 + Abs(src_width)) * 4; 62 src_width, src_height, 67 src_width, src_height, 74 src_width, src_height, 84 src_width, src_height, 119 int src_width, int src_height, 134 src_width, src_height [all...] |
scale_test.cc | 24 static int TestFilter(int src_width, int src_height, 28 if (!SizeValid(src_width, src_height, dst_width, dst_height)) { 34 int src_width_uv = (Abs(src_width) + 1) >> 1; 37 int64 src_y_plane_size = (Abs(src_width) + b * 2) * (Abs(src_height) + b * 2); 40 int src_stride_y = b * 2 + Abs(src_width); 80 src_width, src_height, 93 src_width, src_height, 152 static int TestFilter_16(int src_width, int src_height, 155 if (!SizeValid(src_width, src_height, dst_width, dst_height)) { 161 int src_width_uv = (Abs(src_width) + 1) >> 1 [all...] |
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
lp_bld_gather.c | 76 unsigned src_width, 82 LLVMTypeRef src_type = LLVMIntTypeInContext(gallivm->context, src_width); 94 assert(src_width <= dst_width); 95 if (src_width > dst_width) 97 if (src_width < dst_width) 107 * For SSE, typical values are length=4, src_width=32, dst_width=32. 110 * @param src_width src element width in bits 118 unsigned src_width, 128 src_width, dst_width, 142 src_width, dst_width [all...] |
lp_bld_gather.h | 46 unsigned src_width, 55 unsigned src_width,
|
/external/libvpx/libvpx/third_party/libyuv/include/libyuv/ |
scale.h | 32 int src_width, int src_height, 39 int src_width, int src_height, 58 int src_width, int src_height, 69 int src_width, int src_height, 81 int src_width, int src_height, 89 int ScaleOffset(const uint8* src_i420, int src_width, int src_height,
|
scale_argb.h | 24 int src_width, int src_height, 32 int src_width, int src_height, 45 int src_width, int src_height,
|
rotate_argb.h | 26 int src_width, int src_height, enum RotationMode mode);
|
/external/libyuv/files/include/libyuv/ |
scale.h | 32 int src_width, int src_height, 39 int src_width, int src_height, 58 int src_width, int src_height, 69 int src_width, int src_height, 81 int src_width, int src_height, 89 int ScaleOffset(const uint8* src_i420, int src_width, int src_height,
|
scale_argb.h | 24 int src_width, int src_height, 32 int src_width, int src_height, 44 int src_width, int src_height,
|
rotate_argb.h | 26 int src_width, int src_height, enum RotationMode mode);
|
/external/libyuv/files/docs/ |
rotation.md | 12 int src_width, int src_height, 18 * Crops the original image, which is src_width x src_height, to crop_width x crop_height. At this point the image is still not rotated. 35 int src_width, int src_height, 50 int src_width, int src_height, enum RotationMode mode); 57 Cropping can be achieved by adjusting the src_y/u/v pointers and src_width, src_height. 67 int src_width, int src_height, enum RotationMode mode); 74 int src_width, int src_height, enum RotationMode mode);
|
filtering.md | 16 If scaling down, the stepping rate is always src_width / dst_width. 18 dx = src_width / dst_width; 45 **Point** upsampling use stepping rate of src_width / dst_width and a starting coordinate of 0. 48 dx = src_width / dst_width; 55 dx = (src_width - 1) / (dst_width - 1); 64 dx = (src_width - 1) / (dst_width - 1); 70 dx = FixedDiv((src_width << 16) - 0x00010001, (dst << 16) - 0x00010000); 81 void ScaleSlope(int src_width, int src_height, 89 assert(src_width != 0); 95 *dx = FixedDiv(Abs(src_width), dst_width) [all...] |
/external/llvm/test/CodeGen/ARM/ |
2011-04-07-schediv.ll | 7 define void @t(i32 %src_width, float* nocapture %src_copy_start, float* nocapture %dst_copy_start, i32 %src_copy_start_index) nounwind optsize { 10 %0 = icmp eq i32 %src_width, 0 27 %exitcond = icmp eq i32 %2, %src_width
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/libyuv/include/libyuv/ |
scale.h | 41 int src_width, int src_height, 51 int src_width, int src_height, 58 int ScaleOffset(const uint8* src, int src_width, int src_height,
|
/external/webp/src/utils/ |
rescaler.c | 22 void WebPRescalerInit(WebPRescaler* const wrk, int src_width, int src_height, 26 const int x_add = src_width, x_sub = dst_width; 28 wrk->x_expand = (src_width < dst_width); 30 wrk->src_width = src_width; 73 int WebPRescalerGetScaledDimensions(int src_width, int src_height, 84 width = (src_width * height + src_height / 2) / src_height; 88 height = (src_height * width + src_width / 2) / src_width;
|