/external/libvpx/libvpx/third_party/libyuv/source/ |
D | scale.cc | 36 static void ScalePlaneDown2(int src_width, int src_height, in ScalePlaneDown2() argument 108 static void ScalePlaneDown2_16(int src_width, int src_height, in ScalePlaneDown2_16() argument 162 static void ScalePlaneDown4(int src_width, int src_height, in ScalePlaneDown4() argument 222 static void ScalePlaneDown4_16(int src_width, int src_height, in ScalePlaneDown4_16() argument 269 static void ScalePlaneDown34(int src_width, int src_height, in ScalePlaneDown34() argument 366 static void ScalePlaneDown34_16(int src_width, int src_height, in ScalePlaneDown34_16() argument 461 static void ScalePlaneDown38(int src_width, int src_height, in ScalePlaneDown38() argument 557 static void ScalePlaneDown38_16(int src_width, int src_height, in ScalePlaneDown38_16() argument 732 static void ScalePlaneBox(int src_width, int src_height, in ScalePlaneBox() argument 742 const int max_y = (src_height << 16); in ScalePlaneBox() [all …]
|
D | scale_argb.cc | 33 static void ScaleARGBDown2(int src_width, int src_height, in ScaleARGBDown2() argument 93 static void ScaleARGBDown4Box(int src_width, int src_height, in ScaleARGBDown4Box() argument 140 static void ScaleARGBDownEven(int src_width, int src_height, in ScaleARGBDownEven() argument 153 assert(IS_ALIGNED(src_height, 2)); in ScaleARGBDownEven() 187 static void ScaleARGBBilinearDown(int src_width, int src_height, in ScaleARGBBilinearDown() argument 272 const int max_y = (src_height - 1) << 16; in ScaleARGBBilinearDown() 297 static void ScaleARGBBilinearUp(int src_width, int src_height, in ScaleARGBBilinearUp() argument 310 const int max_y = (src_height - 1) << 16; in ScaleARGBBilinearUp() 405 if (src_height > 1) { in ScaleARGBBilinearUp() 442 static void ScaleYUVToARGBBilinearUp(int src_width, int src_height, in ScaleYUVToARGBBilinearUp() argument [all …]
|
D | convert_to_argb.cc | 35 int src_width, int src_height, in ConvertToARGB() argument 43 int abs_src_height = (src_height < 0) ? -src_height : src_height; in ConvertToARGB() 61 src_height == 0 || crop_height == 0) { in ConvertToARGB() 64 if (src_height < 0) { in ConvertToARGB() 156 src_uv = sample + aligned_src_width * (src_height + crop_y / 2) + crop_x; in ConvertToARGB() 164 src_uv = sample + aligned_src_width * (src_height + crop_y / 2) + crop_x; in ConvertToARGB()
|
D | scale_common.cc | 861 void ScalePlaneVertical(int src_height, in ScalePlaneVertical() argument 872 const int max_y = (src_height > 1) ? ((src_height - 1) << 16) - 1 : 0; in ScalePlaneVertical() 875 assert(src_height != 0); in ScalePlaneVertical() 935 void ScalePlaneVertical_16(int src_height, in ScalePlaneVertical_16() argument 946 const int max_y = (src_height > 1) ? ((src_height - 1) << 16) - 1 : 0; in ScalePlaneVertical_16() 949 assert(src_height != 0); in ScalePlaneVertical_16() 1011 enum FilterMode ScaleFilterReduce(int src_width, int src_height, in ScaleFilterReduce() argument 1017 if (src_height < 0) { in ScaleFilterReduce() 1018 src_height = -src_height; in ScaleFilterReduce() 1022 if (dst_width * 2 >= src_width && dst_height * 2 >= src_height) { in ScaleFilterReduce() [all …]
|
D | convert_to_i420.cc | 34 int src_width, int src_height, in ConvertToI420() argument 42 int abs_src_height = (src_height < 0) ? -src_height : src_height; in ConvertToI420() 59 src_height == 0 || crop_height == 0) { in ConvertToI420() 62 if (src_height < 0) { in ConvertToI420() 186 src_uv = sample + (src_width * src_height) + in ConvertToI420() 197 src_uv = sample + (src_width * src_height) + in ConvertToI420()
|
/external/libyuv/files/source/ |
D | scale.cc | 36 static void ScalePlaneDown2(int src_width, int src_height, in ScalePlaneDown2() argument 108 static void ScalePlaneDown2_16(int src_width, int src_height, in ScalePlaneDown2_16() argument 162 static void ScalePlaneDown4(int src_width, int src_height, in ScalePlaneDown4() argument 222 static void ScalePlaneDown4_16(int src_width, int src_height, in ScalePlaneDown4_16() argument 269 static void ScalePlaneDown34(int src_width, int src_height, in ScalePlaneDown34() argument 366 static void ScalePlaneDown34_16(int src_width, int src_height, in ScalePlaneDown34_16() argument 461 static void ScalePlaneDown38(int src_width, int src_height, in ScalePlaneDown38() argument 557 static void ScalePlaneDown38_16(int src_width, int src_height, in ScalePlaneDown38_16() argument 731 static void ScalePlaneBox(int src_width, int src_height, in ScalePlaneBox() argument 741 const int max_y = (src_height << 16); in ScalePlaneBox() [all …]
|
D | scale_argb.cc | 33 static void ScaleARGBDown2(int src_width, int src_height, in ScaleARGBDown2() argument 93 static void ScaleARGBDown4Box(int src_width, int src_height, in ScaleARGBDown4Box() argument 140 static void ScaleARGBDownEven(int src_width, int src_height, in ScaleARGBDownEven() argument 153 assert(IS_ALIGNED(src_height, 2)); in ScaleARGBDownEven() 187 static void ScaleARGBBilinearDown(int src_width, int src_height, in ScaleARGBBilinearDown() argument 264 const int max_y = (src_height - 1) << 16; in ScaleARGBBilinearDown() 289 static void ScaleARGBBilinearUp(int src_width, int src_height, in ScaleARGBBilinearUp() argument 302 const int max_y = (src_height - 1) << 16; in ScaleARGBBilinearUp() 389 if (src_height > 1) { in ScaleARGBBilinearUp() 426 static void ScaleYUVToARGBBilinearUp(int src_width, int src_height, in ScaleYUVToARGBBilinearUp() argument [all …]
|
D | convert_to_argb.cc | 35 int src_width, int src_height, in ConvertToARGB() argument 43 int abs_src_height = (src_height < 0) ? -src_height : src_height; in ConvertToARGB() 61 src_height == 0 || crop_height == 0) { in ConvertToARGB() 64 if (src_height < 0) { in ConvertToARGB() 156 src_uv = sample + aligned_src_width * (src_height + crop_y / 2) + crop_x; in ConvertToARGB() 164 src_uv = sample + aligned_src_width * (src_height + crop_y / 2) + crop_x; in ConvertToARGB()
|
D | scale_common.cc | 891 void ScalePlaneVertical(int src_height, in ScalePlaneVertical() argument 902 const int max_y = (src_height > 1) ? ((src_height - 1) << 16) - 1 : 0; in ScalePlaneVertical() 905 assert(src_height != 0); in ScalePlaneVertical() 957 void ScalePlaneVertical_16(int src_height, in ScalePlaneVertical_16() argument 968 const int max_y = (src_height > 1) ? ((src_height - 1) << 16) - 1 : 0; in ScalePlaneVertical_16() 971 assert(src_height != 0); in ScalePlaneVertical_16() 1033 enum FilterMode ScaleFilterReduce(int src_width, int src_height, in ScaleFilterReduce() argument 1039 if (src_height < 0) { in ScaleFilterReduce() 1040 src_height = -src_height; in ScaleFilterReduce() 1044 if (dst_width * 2 >= src_width && dst_height * 2 >= src_height) { in ScaleFilterReduce() [all …]
|
D | convert_to_i420.cc | 34 int src_width, int src_height, in ConvertToI420() argument 42 const int abs_src_height = (src_height < 0) ? -src_height : src_height; in ConvertToI420() 57 (src_height < 0) ? -abs_crop_height : abs_crop_height; in ConvertToI420() 61 src_height == 0 || crop_height == 0) { in ConvertToI420() 185 src_uv = sample + (src_width * src_height) + in ConvertToI420() 196 src_uv = sample + (src_width * src_height) + in ConvertToI420()
|
/external/libyuv/files/unit_test/ |
D | rotate_argb_test.cc | 19 void TestRotateBpp(int src_width, int src_height, in TestRotateBpp() argument 29 if (src_height < 1) { in TestRotateBpp() 30 src_height = 1; in TestRotateBpp() 39 int src_argb_plane_size = src_stride_argb * abs(src_height); in TestRotateBpp() 56 src_width, src_height, mode); in TestRotateBpp() 62 src_width, src_height, mode); in TestRotateBpp() 68 src_width, src_height, mode); in TestRotateBpp() 74 src_width, src_height, mode); in TestRotateBpp() 88 static void ARGBTestRotate(int src_width, int src_height, in ARGBTestRotate() argument 94 TestRotateBpp(src_width, src_height, in ARGBTestRotate() [all …]
|
D | scale_argb_test.cc | 26 static int ARGBTestFilter(int src_width, int src_height, in ARGBTestFilter() argument 30 if (!SizeValid(src_width, src_height, dst_width, dst_height)) { in ARGBTestFilter() 37 (Abs(src_height) + b * 2) * 4LL; in ARGBTestFilter() 62 src_width, src_height, in ARGBTestFilter() 67 src_width, src_height, in ARGBTestFilter() 74 src_width, src_height, in ARGBTestFilter() 84 src_width, src_height, in ARGBTestFilter() 119 int src_width, int src_height, in TileARGBScale() argument 134 src_width, src_height, in TileARGBScale() 146 static int ARGBClipTestFilter(int src_width, int src_height, in ARGBClipTestFilter() argument [all …]
|
D | rotate_test.cc | 19 static void I420TestRotate(int src_width, int src_height, in I420TestRotate() argument 27 if (src_height == 0) { in I420TestRotate() 28 src_height = 1; in I420TestRotate() 36 int src_i420_y_size = src_width * Abs(src_height); in I420TestRotate() 37 int src_i420_uv_size = ((src_width + 1) / 2) * ((Abs(src_height) + 1) / 2); in I420TestRotate() 60 src_width, src_height, mode); in I420TestRotate() 72 src_width, src_height, mode); in I420TestRotate() 144 static void NV12TestRotate(int src_width, int src_height, in NV12TestRotate() argument 152 if (src_height == 0) { // allow negative for inversion test. in NV12TestRotate() 153 src_height = 1; in NV12TestRotate() [all …]
|
D | scale_test.cc | 24 static int TestFilter(int src_width, int src_height, in TestFilter() argument 28 if (!SizeValid(src_width, src_height, dst_width, dst_height)) { in TestFilter() 35 int src_height_uv = (Abs(src_height) + 1) >> 1; in TestFilter() 37 int64 src_y_plane_size = (Abs(src_width) + b * 2) * (Abs(src_height) + b * 2); in TestFilter() 80 src_width, src_height, in TestFilter() 93 src_width, src_height, in TestFilter() 152 static int TestFilter_16(int src_width, int src_height, in TestFilter_16() argument 155 if (!SizeValid(src_width, src_height, dst_width, dst_height)) { in TestFilter_16() 162 int src_height_uv = (Abs(src_height) + 1) >> 1; in TestFilter_16() 165 (Abs(src_height) + b * 2); in TestFilter_16() [all …]
|
/external/webp/src/utils/ |
D | rescaler.c | 22 void WebPRescalerInit(WebPRescaler* const wrk, int src_width, int src_height, in WebPRescalerInit() argument 27 const int y_add = src_height, y_sub = dst_height; in WebPRescalerInit() 29 wrk->y_expand = (src_height < dst_height); in WebPRescalerInit() 31 wrk->src_height = src_height; in WebPRescalerInit() 73 int WebPRescalerGetScaledDimensions(int src_width, int src_height, in WebPRescalerGetScaledDimensions() argument 84 width = (src_width * height + src_height / 2) / src_height; in WebPRescalerGetScaledDimensions() 88 height = (src_height * width + src_width / 2) / src_width; in WebPRescalerGetScaledDimensions()
|
D | rescaler.h | 41 int src_width, src_height; // source dimensions member 51 int src_width, int src_height, 61 int WebPRescalerGetScaledDimensions(int src_width, int src_height, 81 return (rescaler->src_y >= rescaler->src_height); in WebPRescalerInputDone()
|
/external/libvpx/libvpx/third_party/libyuv/include/libyuv/ |
D | 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,
|
D | scale_argb.h | 24 int src_width, int src_height, 32 int src_width, int src_height, 45 int src_width, int src_height,
|
/external/libyuv/files/include/libyuv/ |
D | 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,
|
D | scale_argb.h | 24 int src_width, int src_height, 32 int src_width, int src_height, 44 int src_width, int src_height,
|
/external/webrtc/talk/media/base/ |
D | videoframe.cc | 108 int32_t src_height = static_cast<int>(GetHeight()); in CopyToPlanes() local 115 src_width, src_height) == 0; in CopyToPlanes() 165 size_t src_height = GetHeight(); in StretchToPlanes() local 166 if (width == src_width && height == src_height) { in StretchToPlanes() 176 if (src_width * height > src_height * width) { in StretchToPlanes() 178 src_width = ROUNDTO2(src_height * width / height); in StretchToPlanes() 183 } else if (src_width * height < src_height * width) { in StretchToPlanes() 185 src_height = src_width * height / width; in StretchToPlanes() 187 static_cast<int32_t>((GetHeight() - src_height) >> 2); in StretchToPlanes() 198 static_cast<int>(src_width), static_cast<int>(src_height), in StretchToPlanes()
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
D | radeon_blit.c | 275 unsigned src_width, unsigned src_height, in emit_draw_packet() argument 285 calc_tex_coords(src_width, src_height, in emit_draw_packet() 347 unsigned src_height, in r100_blit() argument 377 if (reg_height + src_y_offset > src_height) in r100_blit() 378 reg_height = src_height - src_y_offset; in r100_blit() 395 src_width, src_height, src_pitch, src_offset, in r100_blit() 416 emit_tx_setup(r100, src_mesaformat, src_bo, src_offset, src_width, src_height, src_pitch); in r100_blit() 420 emit_draw_packet(r100, src_width, src_height, in r100_blit()
|
/external/libyuv/files/docs/ |
D | 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… 19 * Converts the cropped region to I420. Supports inverted source for src_height negative. 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);
|
/external/webrtc/talk/media/webrtc/ |
D | webrtcvideoframefactory_unittest.cc | 63 int src_height, in VerifyFrame() argument 68 EXPECT_EQ(dest_frame->GetHeight(), src_height); in VerifyFrame() 73 EXPECT_EQ(dest_frame->GetWidth(), src_height); in VerifyFrame() 77 EXPECT_EQ(dest_frame->GetHeight(), src_height); in VerifyFrame()
|
/external/mesa3d/src/mesa/drivers/dri/r200/ |
D | r200_blit.c | 400 unsigned src_width, unsigned src_height, in emit_draw_packet() argument 410 calc_tex_coords(src_width, src_height, in emit_draw_packet() 469 unsigned src_height, in r200_blit() argument 499 if (reg_height + src_y_offset > src_height) in r200_blit() 500 reg_height = src_height - src_y_offset; in r200_blit() 517 src_width, src_height, src_pitch, in r200_blit() 538 …emit_tx_setup(r200, src_mesaformat, dst_mesaformat, src_bo, src_offset, src_width, src_height, src… in r200_blit() 542 emit_draw_packet(r200, src_width, src_height, in r200_blit()
|