/external/libyuv/files/unit_test/ |
H A D | scale_argb_test.cc | 21 int dst_width, int dst_height, 30 int dst_argb_plane_size = (dst_width + b * 2) * (dst_height + b * 2) * 4; 52 dst_width, dst_height, f); 57 dst_width, dst_height, f); 65 dst_width, dst_height, f); 75 dst_width, dst_height, f); 88 for (i = b; i < (dst_height + b); ++i) { 108 const int dst_height = src_height / 2; local 112 dst_width, dst_height, 123 const int dst_height local 20 ARGBTestFilter(int src_width, int src_height, int dst_width, int dst_height, FilterMode f, int benchmark_iterations) argument 138 const int dst_height = src_height / 5; local 153 const int dst_height = src_height / 8; local 168 const int dst_height = src_height / 16; local 183 const int dst_height = src_height * 3 / 4; local 198 int dst_height = src_height * 3 / 8; local 213 int dst_height = 768; local 228 int dst_height = 1272; local 244 int dst_height = 480; local [all...] |
H A D | rotate_argb_test.cc | 21 int dst_width, int dst_height, 30 int dst_argb_plane_size = (dst_width + b * 2) * (dst_height + b * 2) * 4; 84 for (i = b; i < (dst_height + b); ++i) { 103 const int dst_height = 720; local 106 dst_width, dst_height, kRotate0, 115 const int dst_height = 1280; local 118 dst_width, dst_height, kRotate90, 127 const int dst_height = 720; local 130 dst_width, dst_height, kRotate180, 139 const int dst_height local 20 ARGBTestRotate(int src_width, int src_height, int dst_width, int dst_height, libyuv::RotationMode mode, int runs) argument 151 const int dst_height = 719; local 163 const int dst_height = 1277; local 175 const int dst_height = 719; local 187 const int dst_height = 1277; local [all...] |
H A D | scale_test.cc | 21 int dst_width, int dst_height, 38 int dst_height_uv = (dst_height + rounding) >> 1; 40 int dst_y_plane_size = (dst_width + b * 2) * (dst_height + b * 2); 78 dst_width, dst_height, f); 87 dst_width, dst_height, f); 99 dst_width, dst_height, f); 113 dst_width, dst_height, f); 126 for (i = b; i < (dst_height + b); ++i) { 169 const int dst_height = src_height / 2; local 173 dst_width, dst_height, 20 TestFilter(int src_width, int src_height, int dst_width, int dst_height, FilterMode f, int rounding, int benchmark_iterations) argument 184 const int dst_height = src_height / 4; local 199 const int dst_height = src_height / 5; local 214 const int dst_height = src_height / 8; local 229 const int dst_height = src_height / 16; local 244 const int dst_height = src_height * 3 / 4; local 259 int dst_height = src_height * 3 / 8; local 274 int dst_height = 768; local 289 int dst_height = 1272; local 304 int dst_height = 480; local 319 int dst_height = 480; local 335 int dst_height = 552; local 350 int dst_height = 276; local 365 int dst_height = 276; local [all...] |
/external/chromium_org/chrome/browser/profiles/ |
H A D | profile_info_util.cc | 69 int dst_height) { 74 std::min(dst_width, dst_height)) - kAvatarIconBorder; 77 gfx::Canvas canvas(gfx::Size(dst_width, dst_height), ui::SCALE_FACTOR_100P, 83 int y1 = dst_height - length - 1; 66 GetAvatarIconForTitleBar(const gfx::Image& image, bool is_gaia_picture, int dst_width, int dst_height) argument
|
/external/chromium_org/chrome/browser/ui/views/ |
H A D | avatar_menu_button.cc | 62 int dst_height = Round(button_icon_.height() * scale); local 67 int dst_y = Round((height() - dst_height) / 2.0); 69 button_icon_.height(), dst_x, dst_y, dst_width, dst_height, false);
|
/external/chromium_org/third_party/libwebp/utils/ |
H A D | rescaler.h | 34 int dst_width, dst_height; // destination dimensions member in struct:__anon11629 43 int dst_width, int dst_height, int dst_stride,
|
H A D | rescaler.c | 28 uint8_t* const dst, int dst_width, int dst_height, 35 wrk->dst_height = dst_height; 48 ((int64_t)dst_height << RFIX) / (x_sub * src_height) : 49 ((int64_t)dst_height << RFIX) / (x_add * src_height); 27 WebPRescalerInit(WebPRescaler* const wrk, int src_width, int src_height, uint8_t* const dst, int dst_width, int dst_height, int dst_stride, int num_channels, int x_add, int x_sub, int y_add, int y_sub, int32_t* const work) argument
|
/external/webp/src/utils/ |
H A D | rescaler.h | 34 int dst_width, dst_height; // destination dimensions member in struct:__anon28045 43 int dst_width, int dst_height, int dst_stride,
|
H A D | rescaler.c | 28 uint8_t* const dst, int dst_width, int dst_height, 35 wrk->dst_height = dst_height; 48 ((int64_t)dst_height << RFIX) / (x_sub * src_height) : 49 ((int64_t)dst_height << RFIX) / (x_add * src_height); 27 WebPRescalerInit(WebPRescaler* const wrk, int src_width, int src_height, uint8_t* const dst, int dst_width, int dst_height, int dst_stride, int num_channels, int x_add, int x_sub, int y_add, int y_sub, int32_t* const work) argument
|
/external/pixman/test/ |
H A D | scaling-crash-test.c | 20 int32_t dst_height, 56 dstbuf = (uint32_t *)malloc (dst_width * dst_height * 4); 59 memset (dstbuf, 0x33, dst_width * dst_height * 4); 71 PIXMAN_a8r8g8b8, dst_width, dst_height, dstbuf, dst_width * 4); 82 src_x, src_y, 0, 0, 0, 0, dst_width, dst_height); 87 for (i = 0; i < dst_width * dst_height; i++) 19 run_test(int32_t dst_width, int32_t dst_height, int32_t src_width, int32_t src_height, int32_t src_x, int32_t src_y, int32_t scale_x, int32_t scale_y, pixman_filter_t filter, pixman_repeat_t repeat) argument
|
H A D | affine-test.c | 34 int dst_width, dst_height; local 60 dst_height = prng_rand_n (MAX_DST_HEIGHT) + 1; 73 dst_y = -(dst_height / 4) + prng_rand_n (dst_height * 3 / 2); 75 h = prng_rand_n (dst_height * 3 / 2 - dst_y); 78 dstbuf = (uint32_t *)malloc (dst_stride * dst_height); 81 prng_randmemset (dstbuf, dst_stride * dst_height, 0); 93 dst_fmt, dst_width, dst_height, dstbuf, dst_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); [all...] |
H A D | blitters-test.c | 230 int dst_width, dst_height; local 282 dst_height = pixman_image_get_height (dst_img); 291 dst_y = prng_rand_n (dst_height); 337 h = prng_rand_n (dst_height - dst_y + 1); 345 printf ("src_width=%d, src_height=%d, dst_width=%d, dst_height=%d\n", 346 src_width, src_height, dst_width, dst_height); 362 for (i = 0; i < dst_height; i++)
|
H A D | composite-traps-test.c | 54 int dst_width, dst_height; local 150 dst_height = prng_rand_n (MAX_DST_HEIGHT) + 1; 154 dst_bits = (uint32_t *)make_random_bytes (dst_stride * dst_height); 157 dst_y = -(dst_height / 4) + prng_rand_n (dst_height * 3 / 2); 160 dst_format, dst_width, dst_height, dst_bits, dst_stride); 196 clip_boxes[i].y1 = prng_rand_n (dst_height); 200 clip_boxes[i].y1 + prng_rand_n (dst_height - clip_boxes[i].y1); 220 for (i = 0; i < dst_stride * dst_height / 4; i++) 230 for (i = 0; i < dst_height; [all...] |
H A D | scaling-test.c | 60 int dst_width, dst_height; local 114 dst_height = prng_rand_n (MAX_DST_HEIGHT) + 1; 135 dst_y = -(dst_height / 4) + prng_rand_n (dst_height * 3 / 2); 137 h = prng_rand_n (dst_height * 3 / 2 - dst_y); 141 dstbuf = (uint32_t *)malloc (dst_stride * dst_height); 145 prng_randmemset (dstbuf, dst_stride * dst_height, 0); 157 dst_fmt, dst_width, dst_height, dstbuf, dst_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); [all...] |
/external/chromium/chrome/browser/ui/gtk/ |
H A D | nine_box.cc | 113 int dst_height = dst->allocation.height; local 120 int y2 = images_[6] ? dst_height - gdk_pixbuf_get_height(images_[6]) : y1; 159 TileImage(cr, images_[7], x1, y2, x2 - x1, dst_height - y2, opacity);
|
/external/chromium_org/content/browser/renderer_host/ |
H A D | compositing_iosurface_transformer_mac.cc | 49 // (0,0)x(dst_width,dst_height). 51 bool flip_y, float dst_width, float dst_height) { 56 { 0.0f, dst_height }, 59 { dst_width, dst_height } 50 DrawQuad(float src_x, float src_y, float src_width, float src_height, bool flip_y, float dst_width, float dst_height) argument
|
/external/chromium_org/third_party/libjingle/source/talk/media/base/ |
H A D | videoframe.cc | 170 size_t VideoFrame::StretchToBuffer(size_t dst_width, size_t dst_height, argument 178 size_t needed = SizeOf(dst_width, dst_height); 181 uint8* dst_u = dst_y + dst_width * dst_height; 182 uint8* dst_v = dst_u + ((dst_width + 1) >> 1) * ((dst_height + 1) >> 1); 187 dst_width, dst_height, interpolate, vert_crop); 207 VideoFrame* VideoFrame::Stretch(size_t dst_width, size_t dst_height, argument 210 static_cast<int>(dst_height),
|
/external/chromium_org/third_party/libjingle/source/talk/media/webrtc/ |
H A D | webrtctexturevideoframe.cc | 153 size_t dst_width, size_t dst_height, uint8* dst_buffer, size_t size, 165 size_t dst_width, size_t dst_height, bool interpolate, 152 StretchToBuffer( size_t dst_width, size_t dst_height, uint8* dst_buffer, size_t size, bool interpolate, bool vert_crop) const argument 164 Stretch( size_t dst_width, size_t dst_height, bool interpolate, bool vert_crop) const argument
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/r200/ |
H A D | r200_blit.c | 456 * @param[in] dst_height destination image height 477 unsigned dst_height, 503 if (reg_height + dst_y_offset > dst_height) 504 reg_height = dst_height - dst_y_offset; 540 emit_cb_setup(r200, dst_bo, dst_offset, dst_mesaformat, dst_pitch, dst_width, dst_height); 463 r200_blit(struct gl_context *ctx, struct radeon_bo *src_bo, intptr_t src_offset, gl_format src_mesaformat, unsigned src_pitch, unsigned src_width, unsigned src_height, unsigned src_x_offset, unsigned src_y_offset, struct radeon_bo *dst_bo, intptr_t dst_offset, gl_format dst_mesaformat, unsigned dst_pitch, unsigned dst_width, unsigned dst_height, unsigned dst_x_offset, unsigned dst_y_offset, unsigned reg_width, unsigned reg_height, unsigned flip_y) argument
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/radeon/ |
H A D | radeon_blit.c | 334 * @param[in] dst_height destination image height 355 unsigned dst_height, 381 if (reg_height + dst_y_offset > dst_height) 382 reg_height = dst_height - dst_y_offset; 418 emit_cb_setup(r100, dst_bo, dst_offset, dst_mesaformat, dst_pitch, dst_width, dst_height); 341 r100_blit(struct gl_context *ctx, struct radeon_bo *src_bo, intptr_t src_offset, gl_format src_mesaformat, unsigned src_pitch, unsigned src_width, unsigned src_height, unsigned src_x_offset, unsigned src_y_offset, struct radeon_bo *dst_bo, intptr_t dst_offset, gl_format dst_mesaformat, unsigned dst_pitch, unsigned dst_width, unsigned dst_height, unsigned dst_x_offset, unsigned dst_y_offset, unsigned reg_width, unsigned reg_height, unsigned flip_y) argument
|
/external/mesa3d/src/mesa/drivers/dri/r200/ |
H A D | r200_blit.c | 456 * @param[in] dst_height destination image height 477 unsigned dst_height, 503 if (reg_height + dst_y_offset > dst_height) 504 reg_height = dst_height - dst_y_offset; 540 emit_cb_setup(r200, dst_bo, dst_offset, dst_mesaformat, dst_pitch, dst_width, dst_height); 463 r200_blit(struct gl_context *ctx, struct radeon_bo *src_bo, intptr_t src_offset, gl_format src_mesaformat, unsigned src_pitch, unsigned src_width, unsigned src_height, unsigned src_x_offset, unsigned src_y_offset, struct radeon_bo *dst_bo, intptr_t dst_offset, gl_format dst_mesaformat, unsigned dst_pitch, unsigned dst_width, unsigned dst_height, unsigned dst_x_offset, unsigned dst_y_offset, unsigned reg_width, unsigned reg_height, unsigned flip_y) argument
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
H A D | radeon_blit.c | 334 * @param[in] dst_height destination image height 355 unsigned dst_height, 381 if (reg_height + dst_y_offset > dst_height) 382 reg_height = dst_height - dst_y_offset; 418 emit_cb_setup(r100, dst_bo, dst_offset, dst_mesaformat, dst_pitch, dst_width, dst_height); 341 r100_blit(struct gl_context *ctx, struct radeon_bo *src_bo, intptr_t src_offset, gl_format src_mesaformat, unsigned src_pitch, unsigned src_width, unsigned src_height, unsigned src_x_offset, unsigned src_y_offset, struct radeon_bo *dst_bo, intptr_t dst_offset, gl_format dst_mesaformat, unsigned dst_pitch, unsigned dst_width, unsigned dst_height, unsigned dst_x_offset, unsigned dst_y_offset, unsigned reg_width, unsigned reg_height, unsigned flip_y) argument
|
/external/libyuv/files/source/ |
H A D | scale_argb.cc | 795 int dst_width, int dst_height, 813 for (int y = 0; y < dst_height; ++y) { 828 int dst_width, int dst_height, 847 int row_step = src_height / dst_height; 850 for (int y = 0; y < dst_height; ++y) { 862 int dst_width, int dst_height, 866 assert(dst_height > 0); 886 int dy = (src_height << 16) / dst_height; 890 for (int j = 0; j < dst_height; ++j) { 931 int dst_width, int dst_height, 794 ScaleARGBDown2(int , int , int dst_width, int dst_height, int src_stride, int dst_stride, const uint8* src_ptr, uint8* dst_ptr, FilterMode filtering) argument 827 ScaleARGBDownEven(int src_width, int src_height, int dst_width, int dst_height, int src_stride, int dst_stride, const uint8* src_ptr, uint8* dst_ptr, FilterMode filtering) argument 861 ScaleARGBBilinear(int src_width, int src_height, int dst_width, int dst_height, int src_stride, int dst_stride, const uint8* src_ptr, uint8* dst_ptr) argument 930 ScaleARGBSimple(int src_width, int src_height, int dst_width, int dst_height, int src_stride, int dst_stride, const uint8* src_ptr, uint8* dst_ptr) argument 948 ScaleARGBAnySize(int src_width, int src_height, int dst_width, int dst_height, int src_stride, int dst_stride, const uint8* src_ptr, uint8* dst_ptr, FilterMode filtering) argument 967 ScaleARGB(const uint8* src, int src_stride, int src_width, int src_height, uint8* dst, int dst_stride, int dst_width, int dst_height, FilterMode filtering) argument 1011 ARGBScale(const uint8* src_argb, int src_stride_argb, int src_width, int src_height, uint8* dst_argb, int dst_stride_argb, int dst_width, int dst_height, FilterMode filtering) argument [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r600/ |
H A D | r600_blit.c | 389 unsigned dst_height = u_minify(info->dst.res->height0, info->dst.level); local 395 dst_height == info->src.res->height0 && 399 info->dst.y1 == dst_height && 403 info->src.y1 == dst_height &&
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/ |
H A D | image.c | 84 VGfloat dst_width, VGfloat dst_height) 92 dst_bounds[3] = dst_height; 81 vg_get_copy_coords(VGfloat *src_loc, VGfloat src_width, VGfloat src_height, VGfloat *dst_loc, VGfloat dst_width, VGfloat dst_height) argument
|