Home
last modified time | relevance | path

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

12345

/external/libvpx/libvpx/third_party/libyuv/source/
Dscale.cc37 int src_height, in ScalePlaneDown2() argument
54 (void)src_height; in ScalePlaneDown2()
134 int src_height, in ScalePlaneDown2_16() argument
151 (void)src_height; in ScalePlaneDown2_16()
189 int src_height, in ScalePlaneDown4() argument
203 (void)src_height; in ScalePlaneDown4()
256 int src_height, in ScalePlaneDown4_16() argument
270 (void)src_height; in ScalePlaneDown4_16()
300 int src_height, in ScalePlaneDown34() argument
315 (void)src_height; in ScalePlaneDown34()
[all …]
Dscale_argb.cc34 int src_height, in ScaleARGBDown2() argument
55 (void)src_height; in ScaleARGBDown2()
129 int src_height, in ScaleARGBDown4Box() argument
151 (void)src_height; in ScaleARGBDown4Box()
187 int src_height, in ScaleARGBDownEven() argument
206 (void)src_height; in ScaleARGBDownEven()
208 assert(IS_ALIGNED(src_height, 2)); in ScaleARGBDownEven()
253 int src_height, in ScaleARGBBilinearDown() argument
343 const int max_y = (src_height - 1) << 16; in ScaleARGBBilinearDown()
369 int src_height, in ScaleARGBBilinearUp() argument
[all …]
Dscale_common.cc1020 void ScalePlaneVertical(int src_height, in ScalePlaneVertical() argument
1037 const int max_y = (src_height > 1) ? ((src_height - 1) << 16) - 1 : 0; in ScalePlaneVertical()
1040 assert(src_height != 0); in ScalePlaneVertical()
1090 void ScalePlaneVertical_16(int src_height, in ScalePlaneVertical_16() argument
1107 const int max_y = (src_height > 1) ? ((src_height - 1) << 16) - 1 : 0; in ScalePlaneVertical_16()
1110 assert(src_height != 0); in ScalePlaneVertical_16()
1163 int src_height, in ScaleFilterReduce() argument
1170 if (src_height < 0) { in ScaleFilterReduce()
1171 src_height = -src_height; in ScaleFilterReduce()
1175 if (dst_width * 2 >= src_width && dst_height * 2 >= src_height) { in ScaleFilterReduce()
[all …]
/external/libaom/libaom/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 …]
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_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()
/external/libyuv/files/source/
Dscale.cc37 int src_height, in ScalePlaneDown2() argument
54 (void)src_height; in ScalePlaneDown2()
141 int src_height, in ScalePlaneDown2_16() argument
158 (void)src_height; in ScalePlaneDown2_16()
204 int src_height, in ScalePlaneDown4() argument
218 (void)src_height; in ScalePlaneDown4()
278 int src_height, in ScalePlaneDown4_16() argument
292 (void)src_height; in ScalePlaneDown4_16()
330 int src_height, in ScalePlaneDown34() argument
345 (void)src_height; in ScalePlaneDown34()
[all …]
Dscale_argb.cc34 int src_height, in ScaleARGBDown2() argument
55 (void)src_height; in ScaleARGBDown2()
129 int src_height, in ScaleARGBDown4Box() argument
151 (void)src_height; in ScaleARGBDown4Box()
187 int src_height, in ScaleARGBDownEven() argument
206 (void)src_height; in ScaleARGBDownEven()
208 assert(IS_ALIGNED(src_height, 2)); in ScaleARGBDownEven()
253 int src_height, in ScaleARGBBilinearDown() argument
344 const int max_y = (src_height - 1) << 16; in ScaleARGBBilinearDown()
370 int src_height, in ScaleARGBBilinearUp() argument
[all …]
Dscale_common.cc1018 void ScalePlaneVertical(int src_height, in ScalePlaneVertical() argument
1035 const int max_y = (src_height > 1) ? ((src_height - 1) << 16) - 1 : 0; in ScalePlaneVertical()
1038 assert(src_height != 0); in ScalePlaneVertical()
1098 void ScalePlaneVertical_16(int src_height, in ScalePlaneVertical_16() argument
1115 const int max_y = (src_height > 1) ? ((src_height - 1) << 16) - 1 : 0; in ScalePlaneVertical_16()
1118 assert(src_height != 0); in ScalePlaneVertical_16()
1181 int src_height, in ScaleFilterReduce() argument
1188 if (src_height < 0) { in ScaleFilterReduce()
1189 src_height = -src_height; in ScaleFilterReduce()
1193 if (dst_width * 2 >= src_width && dst_height * 2 >= src_height) { in ScaleFilterReduce()
[all …]
Dconvert_to_argb.cc39 int src_height, in ConvertToARGB() argument
48 int abs_src_height = (src_height < 0) ? -src_height : src_height; in ConvertToARGB()
65 crop_width <= 0 || src_height == 0 || crop_height == 0) { in ConvertToARGB()
68 if (src_height < 0) { in ConvertToARGB()
150 src_uv = sample + aligned_src_width * (src_height + crop_y / 2) + crop_x; in ConvertToARGB()
156 src_uv = sample + aligned_src_width * (src_height + crop_y / 2) + crop_x; in ConvertToARGB()
/external/libyuv/files/unit_test/
Dscale_argb_test.cc27 int src_height, in ARGBTestFilter() argument
34 if (!SizeValid(src_width, src_height, dst_width, dst_height)) { in ARGBTestFilter()
41 (Abs(src_width) + b * 2) * (Abs(src_height) + b * 2) * 4LL; in ARGBTestFilter()
66 src_width, src_height, dst_argb_c + (dst_stride_argb * b) + b * 4, in ARGBTestFilter()
70 src_width, src_height, dst_argb_opt + (dst_stride_argb * b) + b * 4, in ARGBTestFilter()
76 src_width, src_height, dst_argb_c + (dst_stride_argb * b) + b * 4, in ARGBTestFilter()
85 src_width, src_height, in ARGBTestFilter()
122 int src_height, in TileARGBScale() argument
138 int r = ARGBScaleClip(src_argb, src_stride_argb, src_width, src_height, in TileARGBScale()
150 int src_height, in ARGBClipTestFilter() argument
[all …]
Drotate_argb_test.cc20 int src_height, in TestRotateBpp() argument
31 if (src_height < 1) { in TestRotateBpp()
32 src_height = 1; in TestRotateBpp()
41 int src_argb_plane_size = src_stride_argb * abs(src_height); 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()
87 int src_height, in ARGBTestRotate() argument
94 TestRotateBpp(src_width, src_height, dst_width, dst_height, mode, in ARGBTestRotate()
[all …]
Drotate_test.cc20 int src_height, in I420TestRotate() argument
30 if (src_height == 0) { in I420TestRotate()
31 src_height = 1; in I420TestRotate()
39 int src_i420_y_size = src_width * Abs(src_height); in I420TestRotate()
40 int src_i420_uv_size = ((src_width + 1) / 2) * ((Abs(src_height) + 1) / 2); in I420TestRotate()
61 (dst_width + 1) / 2, src_width, src_height, mode); in I420TestRotate()
70 (dst_width + 1) / 2, src_width, src_height, mode); in I420TestRotate()
139 int src_height, in NV12TestRotate() argument
149 if (src_height == 0) { // allow negative for inversion test. in NV12TestRotate()
150 src_height = 1; in NV12TestRotate()
[all …]
Dscale_test.cc25 int src_height, in TestFilter() argument
32 if (!SizeValid(src_width, src_height, dst_width, dst_height)) { in TestFilter()
39 int src_height_uv = (Abs(src_height) + 1) >> 1; in TestFilter()
41 int64 src_y_plane_size = (Abs(src_width) + b * 2) * (Abs(src_height) + b * 2); in TestFilter()
85 src_height, dst_y_c + (dst_stride_y * b) + b, dst_stride_y, in TestFilter()
97 src_height, dst_y_opt + (dst_stride_y * b) + b, dst_stride_y, in TestFilter()
153 int src_height, in TestFilter_16() argument
158 if (!SizeValid(src_width, src_height, dst_width, dst_height)) { in TestFilter_16()
165 int src_height_uv = (Abs(src_height) + 1) >> 1; in TestFilter_16()
167 int64 src_y_plane_size = (Abs(src_width) + b * 2) * (Abs(src_height) + b * 2); in TestFilter_16()
[all …]
/external/webp/src/utils/
Drescaler_utils.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()
77 int WebPRescalerGetScaledDimensions(int src_width, int src_height, in WebPRescalerGetScaledDimensions() argument
89 (int)(((uint64_t)src_width * height + src_height / 2) / src_height); in WebPRescalerGetScaledDimensions()
94 (int)(((uint64_t)src_height * width + src_width / 2) / src_width); in WebPRescalerGetScaledDimensions()
Drescaler_utils.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/test/
Dvp9_scale_test.cc60 const int src_height = kSizesToTest[h]; in RunTest() local
70 const int dst_height = src_height * sf_up / sf_down; in RunTest()
81 if (src_width > 4 * dst_width || src_height > 4 * dst_height) { in RunTest()
84 ASSERT_NO_FATAL_FAILURE(ResetScaleImages(src_width, src_height, in RunTest()
94 filter_type, phase_scaler, src_width, src_height, dst_width, in RunTest()
156 const int src_height = 720; in TEST_P() local
165 const int dst_height = src_height * sf_up / sf_down; in TEST_P()
174 ResetScaleImages(src_width, src_height, dst_width, dst_height)); in TEST_P()
194 filter_type, phase_scaler, src_width, src_height, dst_width, in TEST_P()
/external/libaom/libaom/third_party/libyuv/include/libyuv/
Dscale.h33 int src_width, int src_height,
40 int src_width, int src_height,
59 int src_width, int src_height,
70 int src_width, int src_height,
82 int src_width, int src_height,
90 int ScaleOffset(const uint8* src_i420, int src_width, int src_height,
/external/libyuv/files/include/libyuv/
Dscale.h34 int src_height,
45 int src_height,
70 int src_height,
89 int src_height,
110 int src_height,
125 int src_height,
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_copy_image.c43 int src_width, int src_height) in copy_miptrees() argument
57 src_width, src_height)) in copy_miptrees()
65 src_width, src_height); in copy_miptrees()
76 int src_width, int src_height) in intel_copy_image_sub_data() argument
117 src_width, src_height); in intel_copy_image_sub_data()
131 src_width, src_height); in intel_copy_image_sub_data()
/external/libvpx/libvpx/third_party/libyuv/include/libyuv/
Dscale.h34 int src_height,
45 int src_height,
70 int src_height,
89 int src_height,
110 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/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/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_blit.c267 unsigned src_width, unsigned src_height, in emit_draw_packet() argument
277 calc_tex_coords(src_width, src_height, in emit_draw_packet()
339 unsigned src_height, in r100_blit() argument
369 if (reg_height + src_y_offset > src_height) in r100_blit()
370 reg_height = src_height - src_y_offset; in r100_blit()
387 src_width, src_height, src_pitch, src_offset, in r100_blit()
408 emit_tx_setup(r100, src_mesaformat, src_bo, src_offset, src_width, src_height, src_pitch); in r100_blit()
412 emit_draw_packet(r100, src_width, src_height, in r100_blit()

12345