Home
last modified time | relevance | path

Searched refs:src_height (Results 1 – 25 of 76) sorted by relevance

1234

/external/libvpx/libvpx/third_party/libyuv/source/
Dscale.cc36 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 …]
Dscale_argb.cc33 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 …]
Dconvert_to_argb.cc35 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()
Dscale_common.cc861 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 …]
Dconvert_to_i420.cc34 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/
Dscale.cc36 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 …]
Dscale_argb.cc33 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 …]
Dconvert_to_argb.cc35 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()
Dscale_common.cc891 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 …]
Dconvert_to_i420.cc34 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/
Drotate_argb_test.cc19 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 …]
Dscale_argb_test.cc26 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 …]
Drotate_test.cc19 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 …]
Dscale_test.cc24 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/
Drescaler.c22 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()
Drescaler.h41 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/
Dscale.h32 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,
Dscale_argb.h24 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/
Dscale.h32 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,
Dscale_argb.h24 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/
Dvideoframe.cc108 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/
Dradeon_blit.c275 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/
Drotation.md12 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/
Dwebrtcvideoframefactory_unittest.cc63 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/
Dr200_blit.c400 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()

1234