Home
last modified time | relevance | path

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

123

/external/libyuv/files/unit_test/
Dscale_argb_test.cc20 static int ARGBTestFilter(int src_width, int src_height, in ARGBTestFilter() argument
24 int src_argb_plane_size = (src_width + b * 2) * (src_height + b * 2) * 4; in ARGBTestFilter()
36 for (i = b; i < (src_height + b); ++i) { in ARGBTestFilter()
50 src_width, src_height, in ARGBTestFilter()
55 src_width, src_height, in ARGBTestFilter()
63 src_width, src_height, in ARGBTestFilter()
73 src_width, src_height, in ARGBTestFilter()
106 const int src_height = 720; in TEST_F() local
108 const int dst_height = src_height / 2; in TEST_F()
111 int max_diff = ARGBTestFilter(src_width, src_height, in TEST_F()
[all …]
Dscale_test.cc20 static int TestFilter(int src_width, int src_height, in TestFilter() argument
25 int src_height_uv = (src_height + rounding) >> 1; in TestFilter()
27 int src_y_plane_size = (src_width + b * 2) * (src_height + b * 2); in TestFilter()
49 for (i = b; i < (src_height + b); ++i) { in TestFilter()
74 src_width, src_height, in TestFilter()
83 src_width, src_height, in TestFilter()
95 src_width, src_height, in TestFilter()
109 src_width, src_height, in TestFilter()
167 const int src_height = 720; in TEST_F() local
169 const int dst_height = src_height / 2; in TEST_F()
[all …]
Drotate_argb_test.cc20 static int ARGBTestRotate(int src_width, int src_height, in ARGBTestRotate() argument
24 int src_argb_plane_size = (src_width + b * 2) * (src_height + b * 2) * 4; in ARGBTestRotate()
36 for (i = b; i < (src_height + b); ++i) { in ARGBTestRotate()
51 src_width, src_height, mode); in ARGBTestRotate()
55 src_width, src_height, mode); in ARGBTestRotate()
62 src_width, src_height, mode); in ARGBTestRotate()
71 src_width, src_height, mode); in ARGBTestRotate()
101 const int src_height = 720; in TEST_F() local
105 int err = ARGBTestRotate(src_width, src_height, in TEST_F()
113 const int src_height = 720; in TEST_F() local
[all …]
/external/libvpx/libvpx/third_party/libyuv/source/
Dscale.cc39 static void ScalePlaneDown2(int src_width, int src_height, in ScalePlaneDown2() argument
93 static void ScalePlaneDown2_16(int src_width, int src_height, in ScalePlaneDown2_16() argument
153 static void ScalePlaneDown4(int src_width, int src_height, in ScalePlaneDown4() argument
196 static void ScalePlaneDown4_16(int src_width, int src_height, in ScalePlaneDown4_16() argument
243 static void ScalePlaneDown34(int src_width, int src_height, in ScalePlaneDown34() argument
323 static void ScalePlaneDown34_16(int src_width, int src_height, in ScalePlaneDown34_16() argument
419 static void ScalePlaneDown38(int src_width, int src_height, in ScalePlaneDown38() argument
496 static void ScalePlaneDown38_16(int src_width, int src_height, in ScalePlaneDown38_16() argument
717 static void ScalePlaneBox(int src_width, int src_height, in ScalePlaneBox() argument
727 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
84 static void ScaleARGBDown4Box(int src_width, int src_height, in ScaleARGBDown4Box() argument
126 static void ScaleARGBDownEven(int src_width, int src_height, in ScaleARGBDownEven() argument
139 assert(IS_ALIGNED(src_height, 2)); in ScaleARGBDownEven()
166 static void ScaleARGBBilinearDown(int src_width, int src_height, in ScaleARGBBilinearDown() argument
249 const int max_y = (src_height - 1) << 16; in ScaleARGBBilinearDown()
274 static void ScaleARGBBilinearUp(int src_width, int src_height, in ScaleARGBBilinearUp() argument
287 const int max_y = (src_height - 1) << 16; in ScaleARGBBilinearUp()
374 if (src_height > 1) { in ScaleARGBBilinearUp()
411 static void ScaleYUVToARGBBilinearUp(int src_width, int src_height, in ScaleYUVToARGBBilinearUp() argument
[all …]
Dscale_common.cc625 uint16* dst_ptr, int src_width, int src_height) { in ScaleAddRows_C() argument
628 assert(src_height > 0); in ScaleAddRows_C()
633 for (y = 0; y < src_height; ++y) { in ScaleAddRows_C()
643 uint32* dst_ptr, int src_width, int src_height) { in ScaleAddRows_16_C() argument
646 assert(src_height > 0); in ScaleAddRows_16_C()
651 for (y = 0; y < src_height; ++y) { in ScaleAddRows_16_C()
869 void ScalePlaneVertical(int src_height, in ScalePlaneVertical() argument
880 const int max_y = (src_height > 1) ? ((src_height - 1) << 16) - 1 : 0; in ScalePlaneVertical()
883 assert(src_height != 0); in ScalePlaneVertical()
951 void ScalePlaneVertical_16(int src_height, in ScalePlaneVertical_16() argument
[all …]
Dconvert_to_argb.cc36 int src_width, int src_height, in ConvertToARGB() argument
44 int abs_src_height = (src_height < 0) ? -src_height : src_height; in ConvertToARGB()
62 src_height == 0 || crop_height == 0) { in ConvertToARGB()
65 if (src_height < 0) { in ConvertToARGB()
187 src_uv = sample + aligned_src_width * (src_height + crop_y / 2) + crop_x; in ConvertToARGB()
195 src_uv = sample + aligned_src_width * (src_height + crop_y / 2) + crop_x; in ConvertToARGB()
Dconvert_to_i420.cc35 int src_width, int src_height, in ConvertToI420() argument
43 int abs_src_height = (src_height < 0) ? -src_height : src_height; in ConvertToI420()
60 src_height == 0 || crop_height == 0) { in ConvertToI420()
63 if (src_height < 0) { in ConvertToI420()
221 src_uv = sample + aligned_src_width * (src_height + crop_y / 2) + crop_x; in ConvertToI420()
231 src_uv = sample + aligned_src_width * (src_height + crop_y / 2) + crop_x; in ConvertToI420()
/external/libvpx/libvpx/third_party/libyuv/include/libyuv/
Dscale.h32 int src_width, int src_height,
38 int src_width, int src_height,
57 int src_width, int src_height,
68 int src_width, int src_height,
80 int src_width, int src_height,
88 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,
Drotate.h42 int src_width, int src_height, enum RotationMode mode);
51 int src_width, int src_height, enum RotationMode mode);
57 int src_width, int src_height, enum RotationMode mode);
Dscale_row.h66 void ScalePlaneVertical(int src_height,
73 void ScalePlaneVertical_16(int src_height,
81 enum FilterMode ScaleFilterReduce(int src_width, int src_height,
100 void ScaleSlope(int src_width, int src_height,
168 uint16* dst_ptr, int src_width, int src_height);
170 uint32* dst_ptr, int src_width, int src_height);
234 int src_height);
Dconvert_argb.h183 int src_width, int src_height,
215 int src_width, int src_height,
/external/libyuv/files/source/
Dscale.cc873 int src_height) { in ScaleAddRows_SSE2() argument
1756 uint16* dst_ptr, int src_width, int src_height) { in ScaleAddRows_SSE2() argument
1795 "+rm"(src_height) // %5 in ScaleAddRows_SSE2()
2273 uint16* dst_ptr, int src_width, int src_height) { in ScaleAddRows_C() argument
2275 assert(src_height > 0); in ScaleAddRows_C()
2279 for (int y = 0; y < src_height; ++y) { in ScaleAddRows_C()
2618 static void ScalePlaneBox(int src_width, int src_height, in ScalePlaneBox() argument
2625 int dy = (src_height << 16) / dst_height; in ScalePlaneBox()
2628 int maxy = (src_height << 16); in ScalePlaneBox()
2630 dst_height * 2 > src_height) { in ScalePlaneBox()
[all …]
Dscale_argb.cc827 static void ScaleARGBDownEven(int src_width, int src_height, in ScaleARGBDownEven() argument
833 assert(IS_ALIGNED(src_height, 2)); in ScaleARGBDownEven()
847 int row_step = src_height / dst_height; in ScaleARGBDownEven()
861 static void ScaleARGBBilinear(int src_width, int src_height, in ScaleARGBBilinear() argument
886 int dy = (src_height << 16) / dst_height; in ScaleARGBBilinear()
889 int maxy = (src_height > 1) ? ((src_height - 1) << 16) - 1 : 0; in ScaleARGBBilinear()
930 static void ScaleARGBSimple(int src_width, int src_height, in ScaleARGBSimple() argument
935 int dy = (src_height << 16) / dst_height; in ScaleARGBSimple()
948 static void ScaleARGBAnySize(int src_width, int src_height, in ScaleARGBAnySize() argument
954 ScaleARGBSimple(src_width, src_height, dst_width, dst_height, in ScaleARGBAnySize()
[all …]
/external/libyuv/files/include/libyuv/
Dscale.h31 int src_width, int src_height,
50 int src_width, int src_height,
61 int src_width, int src_height,
69 int ScaleOffset(const uint8* src, int src_width, int src_height,
Drotate.h42 int src_width, int src_height, RotationMode mode);
51 int src_width, int src_height, RotationMode mode);
Dconvert_argb.h186 int src_width, int src_height,
218 int src_width, int src_height,
/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/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()
/external/webp/src/utils/
Drescaler.c258 void WebPRescalerInit(WebPRescaler* const wrk, int src_width, int src_height, in WebPRescalerInit() argument
264 wrk->src_height = src_height; in WebPRescalerInit()
279 ((int64_t)dst_height << RFIX) / (x_sub * src_height) : in WebPRescalerInit()
280 ((int64_t)dst_height << RFIX) / (x_add * src_height); in WebPRescalerInit()
Drescaler.h33 int src_width, src_height; // source dimensions member
42 int src_width, int src_height,
/external/mesa3d/src/mesa/main/
Dtexcompress_etc.c98 unsigned src_height) in _mesa_etc1_unpack_rgba8888() argument
102 src_width, src_height); in _mesa_etc1_unpack_rgba8888()
/external/webp/src/enc/
Dpicture_rescale.c175 int src_width, int src_height, int src_stride, in RescalePlane() argument
182 WebPRescalerInit(&rescaler, src_width, src_height, in RescalePlane()
186 src_height, dst_height, in RescalePlane()
189 while (y < src_height) { in RescalePlane()
190 y += WebPRescalerImport(&rescaler, src_height - y, in RescalePlane()
/external/pdfium/core/src/fxge/win32/
Dfx_win32_gdipext.cpp312 int src_height = pSource->GetHeight(); in _StretchMonoToGray() local
313 int src_count = src_width * src_height; in _StretchMonoToGray()
316 int y_unit = src_height / dest_height; in _StretchMonoToGray()
324 src_y_start = src_y_start * src_height / dest_height; in _StretchMonoToGray()
350 int src_width = pBitmap->GetWidth(), src_height = pBitmap->GetHeight(); in OutputImageMask() local
353 if (src_width == 1 && src_height == 1) { in OutputImageMask()
372 if (!bMonoDevice && abs(dest_width) < src_width && abs(dest_height) < src_height) { in OutputImageMask()
382 if (src_width * src_height > 10000) { in OutputImageMask()
406 …CallFunc(GdipCreateBitmapFromScan0)(src_width, src_height, src_pitch, PixelFormat1bppIndexed, scan… in OutputImageMask()
420 int src_width = pSrcRect->Width(), src_height = pSrcRect->Height(); in OutputImage() local
[all …]

123