/external/libyuv/files/unit_test/ |
rotate_argb_test.cc | 20 static int ARGBTestRotate(int src_width, int src_height, 24 int src_argb_plane_size = (src_width + b * 2) * (src_height + b * 2) * 4; 25 int src_stride_argb = (b * 2 + src_width) * 4; 37 for (j = b; j < (src_width + b) * 4; ++j) { 51 src_width, src_height, mode); 55 src_width, src_height, mode); 62 src_width, src_height, mode); 71 src_width, src_height, mode); 100 const int src_width = 1280; local 105 int err = ARGBTestRotate(src_width, src_height 112 const int src_width = 1280; local 124 const int src_width = 1280; local 136 const int src_width = 1280; local 148 const int src_width = 1277; local 160 const int src_width = 1277; local 172 const int src_width = 1277; local 184 const int src_width = 1277; local [all...] |
scale_argb_test.cc | 20 static int ARGBTestFilter(int src_width, int src_height, 24 int src_argb_plane_size = (src_width + b * 2) * (src_height + b * 2) * 4; 25 int src_stride_argb = (b * 2 + src_width) * 4; 37 for (j = b; j < (src_width + b) * 4; ++j) { 50 src_width, src_height, 55 src_width, src_height, 63 src_width, src_height, 73 src_width, src_height, 105 const int src_width = 1280; local 107 const int dst_width = src_width / 2 120 const int src_width = 1280; local 135 const int src_width = 1280; local 150 const int src_width = 1280; local 165 const int src_width = 1280; local 180 const int src_width = 1280; local 195 int src_width = 1280; local 210 int src_width = 1280; local 225 int src_width = 2880 * 2; local 241 int src_width = 1280; local [all...] |
scale_test.cc | 20 static int TestFilter(int src_width, int src_height, 24 int src_width_uv = (src_width + rounding) >> 1; 27 int src_y_plane_size = (src_width + b * 2) * (src_height + b * 2); 30 int src_stride_y = b * 2 + src_width; 50 for (j = b; j < (src_width + b); ++j) { 74 src_width, src_height, 83 src_width, src_height, 95 src_width, src_height, 109 src_width, src_height, 166 const int src_width = 1280 local 181 const int src_width = 1280; local 196 const int src_width = 1280; local 211 const int src_width = 1280; local 226 const int src_width = 1280; local 241 const int src_width = 1280; local 256 int src_width = 1280; local 271 int src_width = 1280; local 286 int src_width = 2880 * 2; local 301 int src_width = 1280; local 316 int src_width = 1280; local 332 int src_width = 686; local 347 int src_width = 686; local 362 int src_width = 684; local [all...] |
/external/chromium_org/third_party/libwebp/utils/ |
rescaler.h | 33 int src_width, src_height; // source dimensions member in struct:__anon14860 41 void WebPRescalerInit(WebPRescaler* const wrk, int src_width, int src_height,
|
/external/webp/src/utils/ |
rescaler.h | 33 int src_width, src_height; // source dimensions member in struct:__anon31307 41 void WebPRescalerInit(WebPRescaler* const wrk, int src_width, int src_height,
|
/external/chromium_org/third_party/libjingle/source/talk/media/base/ |
videoframe.cc | 90 int32 src_width = static_cast<int>(GetWidth()); local 98 src_width, src_height) == 0; 128 size_t src_width = GetWidth(); local 130 if (width == src_width && height == src_height) { 140 if (src_width * height > src_height * width) { 142 src_width = ROUNDTO2(src_height * width / height); 143 int32 iwidth_offset = ROUNDTO2((GetWidth() - src_width) / 2); 147 } else if (src_width * height < src_height * width) { 149 src_height = src_width * height / width; 164 static_cast<int>(src_width), static_cast<int>(src_height) [all...] |
/external/chromium_org/content/browser/renderer_host/ |
compositing_iosurface_transformer_mac_unittest.cc | 421 int src_width; member in struct:content::__anon10521::TestParameters 467 const gfx::Size src_size(params.src_width, params.src_height); 475 gfx::Rect(0, 1, params.src_width, params.src_height - 1), 479 gfx::Rect(1, 0, params.src_width - 1, params.src_height), 483 gfx::Rect(1, 1, params.src_width - 1, params.src_height - 2), 487 gfx::Rect(1, 1, params.src_width - 2, params.src_height - 1), 504 const gfx::Size src_size(params.src_width, params.src_height); 512 src_bitmap, gfx::Rect(0, 1, params.src_width, params.src_height - 1), 516 src_bitmap, gfx::Rect(1, 0, params.src_width - 1, params.src_height), 522 gfx::Rect(1, 1, params.src_width - 1, params.src_height - 2) [all...] |
/external/pixman/test/ |
affine-test.c | 33 int src_width, src_height; local 57 src_width = prng_rand_n (MAX_SRC_WIDTH) + 1; 61 src_stride = src_width * src_bpp + prng_rand_n (MAX_STRIDE) * src_bpp; 70 src_x = -(src_width / 4) + prng_rand_n (src_width * 3 / 2); 90 src_fmt, src_width, src_height, srcbuf, src_stride); 213 printf ("src_width=%d, src_height=%d, dst_width=%d, dst_height=%d\n", 214 src_width, src_height, dst_width, dst_height); 227 clip_boxes[i].x1 = prng_rand_n (src_width); 230 clip_boxes[i].x1 + prng_rand_n (src_width - clip_boxes[i].x1) [all...] |
blitters-test.c | 229 int src_width, src_height; local 277 src_width = pixman_image_get_width (src_img); 288 src_x = prng_rand_n (src_width); 305 src_width, 345 printf ("src_width=%d, src_height=%d, dst_width=%d, dst_height=%d\n", 346 src_width, src_height, dst_width, dst_height);
|
composite-traps-test.c | 97 int src_width = prng_rand_n (MAX_SRC_WIDTH) + 1; local 99 int src_stride = src_width * src_bpp + prng_rand_n (MAX_STRIDE) * src_bpp; 102 src_x = -(src_width / 4) + prng_rand_n (src_width * 3 / 2); 110 src_format, src_width, src_height, bits, src_stride); 121 clip_boxes[i].x1 = prng_rand_n (src_width); 124 clip_boxes[i].x1 + prng_rand_n (src_width - clip_boxes[i].x1);
|
scaling-test.c | 58 int src_width, src_height; local 100 src_width = prng_rand_n (MAX_SRC_WIDTH) + 1; 115 src_stride = src_width * src_bpp + prng_rand_n (MAX_STRIDE) * src_bpp; 130 src_x = -(src_width / 4) + prng_rand_n (src_width * 3 / 2); 151 src_fmt, src_width, src_height, srcbuf, src_stride); 248 printf ("src_width=%d, src_height=%d, dst_width=%d, dst_height=%d\n", 249 src_width, src_height, dst_width, dst_height); 262 clip_boxes[i].x1 = prng_rand_n (src_width); 265 clip_boxes[i].x1 + prng_rand_n (src_width - clip_boxes[i].x1) [all...] |
/external/chromium_org/skia/ext/ |
convolver_unittest.cc | 92 int src_width = kSize; local 94 int src_row_stride = src_width * 4; 99 int dest_width = src_width / 2; 116 BGRAConvolve2D(&input[0], src_width, true, filter_x, filter_y,
|
/external/libvpx/libvpx/vp9/common/ |
vp9_postproc.c | 363 const int src_width = src_widths[i] - 4; local 370 src_height, src_width, ppl);
|
/frameworks/native/services/surfaceflinger/ |
DisplayDevice.cpp | 423 float src_width = viewport.width(); local 427 if (src_width != dst_width || src_height != dst_height) { 428 float sx = dst_width / src_width;
|
/external/chromium_org/ui/surface/ |
accelerated_surface_transformer_win_unittest.cc | 740 int src_width = dims[dim(rng_)]; local 741 if (src_width < dst_width) 742 std::swap(dst_width, src_width); 747 static_cast<int64>(src_width) * dst_height / dst_width); 753 gfx::Size(src_width, src_height), // Src size (larger) 781 int src_width = dims[dim(rng_)]; local 782 if (dst_width < src_width) 783 std::swap(src_width, dst_width); 787 static_cast<int64>(src_width) * dst_height / dst_width); 793 gfx::Size(src_width, src_height), // Src size (smaller [all...] |
/external/chromium_org/third_party/libjingle/source/talk/base/ |
linuxwindowpicker.cc | 363 unsigned int src_width; local 390 &src_width, &src_height, &border_width, 412 src_width, 467 int src_width, 534 static_cast<double>(src_width); 539 int scaled_width = round(src_width * scale);
|
/external/opencv/cv/src/ |
cvlkpyramid.cpp | 229 int src_width = src_size.width, dst_width = src_size.width-2; local 231 float* buffer1 = buffer0 + src_width; 241 for( x = 0; x < src_width; x++ ) [all...] |
/external/pixman/pixman/ |
pixman-fast-path.c | 1219 int32_t src_width; local 1259 src_width = 0; 1261 while (src_width < REPEAT_MIN_WIDTH && src_width <= sx) 1262 src_width += src_image->bits.width; 1264 src_stride = (src_width * (src_bpp >> 3) + 3) / (int) sizeof (uint32_t); 1268 src_width, 1, &extended_src[0], src_stride, 1277 src_width = src_image->bits.width; 1286 sx = MOD (sx, src_width); 1295 for (i = 0; i < src_width; ) 1465 int src_width, src_height; local [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/ps3/spulibs/ |
bilin_scaler.c | 134 unsigned int src_width = parms.src_pixel_width; local 140 unsigned int src_linestride_y = src_width; 141 unsigned int src_dbl_linestride_y = src_width<<1; 142 unsigned int src_linestride_vu = src_width>>1; 143 unsigned int src_dbl_linestride_vu = src_width; 169 vector float vf_x_scale = spu_splats( (float)src_width/(float)dst_width ); 440 unsigned int src_width = parms.src_pixel_width; local 446 unsigned int src_linestride_y = src_width; 447 unsigned int src_dbl_linestride_y = src_width<<1; 448 unsigned int src_linestride_vu = src_width>>1 743 unsigned int src_width = parms.src_pixel_width; local 1031 unsigned int src_width = parms.src_pixel_width; local [all...] |