Home
last modified time | relevance | path

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

/external/libyuv/files/source/
Dgeneral.cc74 int src_width, int src_height, in I420Crop() argument
80 if (src_width == dst_width && src_height == dst_height) { in I420Crop()
84 if (dst_width > src_width || dst_height > src_height) { in I420Crop()
94 int half_dst_height= src_height / 2; in I420Crop()
95 int crop_height = ( src_height - dst_height ) / 2; in I420Crop()
103 i = src_width * src_height; // ilum in I420Crop()
111 i = src_width * src_height + half_dst_height * halfsrc_width; // ilum + Cr in I420Crop()
123 int src_height, uint8* dst_frame, in I420CropPad() argument
126 if (src_width < 1 || dst_width < 1 || src_height < 1 || dst_height < 1) { in I420CropPad()
129 if (src_width == dst_width && src_height == dst_height) { in I420CropPad()
[all …]
Dscale.cc853 int src_height) { in ScaleAddRows_SSE2() argument
1671 int src_height);
2237 int src_height) { in ScaleAddRows_SSE2() argument
2268 "+r"(src_height) // %3 in ScaleAddRows_SSE2()
2710 uint16* dst_ptr, int src_width, int src_height) { in ScaleAddRows_C() argument
2712 assert(src_height > 0); in ScaleAddRows_C()
2716 for (int y = 0; y < src_height; ++y) { in ScaleAddRows_C()
2731 static void ScalePlaneDown2(int src_width, int src_height, in ScalePlaneDown2() argument
2737 assert(src_height % 2 == 0); in ScalePlaneDown2()
2773 static void ScalePlaneDown4(int src_width, int src_height, in ScalePlaneDown4() argument
[all …]
/external/libyuv/files/unit_test/
Dscale_test.cc32 int src_height = 720; in TEST_F() local
34 int src_height_uv = (src_height + 1) >> 1; in TEST_F()
36 int src_y_plane_size = (src_width + (2 * b)) * (src_height + (2 * b)); in TEST_F()
47 int dst_height = src_height >> 2; in TEST_F()
82 for (i = b; i < (src_height + b); i += 4) { in TEST_F()
116 src_width, src_height, in TEST_F()
/external/libyuv/files/include/libyuv/
Dscale.h38 int src_width, int src_height,
49 int Scale(const uint8* src, int src_width, int src_height,
56 int src_width, int src_height,
Dgeneral.h36 int src_height, uint8* dst_frame,
42 int src_width, int src_height,
/external/webp/src/enc/
Dpicture.c278 int src_width, int src_height, int src_stride, in RescalePlane() argument
285 ((int64_t)dst_height << RFIX) / (dst_width * src_height) : in RescalePlane()
286 ((int64_t)dst_height << RFIX) / (src_width * src_height); in RescalePlane()
287 int y_accum = src_height; in RescalePlane()
293 for (y = 0; y < src_height; ++y) { in RescalePlane()
299 for (; y_accum <= 0; y_accum += src_height) { in RescalePlane()
/external/webp/src/dec/
Dwebpi.h36 int src_width, src_height; // source dimensions member
Dio.c424 int src_width, int src_height, in InitRescaler() argument
431 wrk->src_height = src_height; in InitRescaler()
445 ((int64_t)dst_height << RFIX) / (x_sub * src_height) : in InitRescaler()
446 ((int64_t)dst_height << RFIX) / (x_add * src_height); in InitRescaler()