/external/chromium_org/printing/ |
H A D | pdf_metafile_cg_mac.cc | 193 const float source_height = local 199 (source_height > rect.size.height))) || 201 (source_height < rect.size.height))); 204 float y_scaling_factor = rect.size.height / source_height; 219 ((rect.size.height - (source_height * scaling_factor)) / 2) : 0;
|
/external/chromium_org/third_party/libvpx/source/libvpx/vpx_scale/generic/ |
H A D | vpx_scale.c | 211 * unsigned int source_height : Height of input image. 241 unsigned int source_height, 272 unsigned char *source_base; /* = (unsigned char *) ((source_pitch >= 0) ? source : (source + ((source_height-1) * source_pitch))); */ 281 offset = (source_height - 1); 346 if (source_height == dest_height) { 402 if (source_height == dest_height) { 413 if (dest_height > source_height) { 415 source_band_height = dest_band_height * source_height / dest_height; 430 if (k * source_band_height + i < (int) source_height) { 235 Scale2D( unsigned char *source, int source_pitch, unsigned int source_width, unsigned int source_height, unsigned char *dest, int dest_pitch, unsigned int dest_width, unsigned int dest_height, unsigned char *temp_area, unsigned char temp_area_height, unsigned int hscale, unsigned int hratio, unsigned int vscale, unsigned int vratio, unsigned int interlaced ) argument
|
/external/libvpx/libvpx/vpx_scale/generic/ |
H A D | vpx_scale.c | 211 * unsigned int source_height : Height of input image. 241 unsigned int source_height, 272 unsigned char *source_base; /* = (unsigned char *) ((source_pitch >= 0) ? source : (source + ((source_height-1) * source_pitch))); */ 281 offset = (source_height - 1); 346 if (source_height == dest_height) { 402 if (source_height == dest_height) { 413 if (dest_height > source_height) { 415 source_band_height = dest_band_height * source_height / dest_height; 430 if (k * source_band_height + i < (int) source_height) { 235 Scale2D( unsigned char *source, int source_pitch, unsigned int source_width, unsigned int source_height, unsigned char *dest, int dest_pitch, unsigned int dest_width, unsigned int dest_height, unsigned char *temp_area, unsigned char temp_area_height, unsigned int hscale, unsigned int hratio, unsigned int vscale, unsigned int vratio, unsigned int interlaced ) argument
|
/external/chromium_org/skia/ext/ |
H A D | convolver_unittest.cc | 216 unsigned int source_height, 231 unsigned int offset = source_height * p / dest_height; 234 source_height - offset)); 240 source.allocN32Pixels(source_width, source_height); 286 VLOG(1) << "from:" << source_width << "x" << source_height 323 unsigned int source_height = source_sizes[i][1]; local 327 VerifySIMD(source_width, source_height, dest_width, dest_height); 215 VerifySIMD(unsigned int source_width, unsigned int source_height, unsigned int dest_width, unsigned int dest_height) argument
|
/external/chromium_org/media/base/ |
H A D | yuv_convert.cc | 228 int source_height, 238 if ((yuv_type == YV12 && (source_width < 2 || source_height < 2)) || 239 (yuv_type == YV16 && (source_width < 2 || source_height < 1)) || 272 y_buf += (source_height - 1) * y_pitch; 273 u_buf += ((source_height >> y_shift) - 1) * uv_pitch; 274 v_buf += ((source_height >> y_shift) - 1) * uv_pitch; 275 source_height = -source_height; 284 tmp = source_height; 285 source_height 223 ScaleYUVToRGB32(const uint8* y_buf, const uint8* u_buf, const uint8* v_buf, uint8* rgb_buf, int source_width, int source_height, int width, int height, int y_pitch, int uv_pitch, int rgb_pitch, YUVType yuv_type, Rotate view_rotate, ScaleFilter filter) argument 413 ScaleYUVToRGB32WithRect(const uint8* y_buf, const uint8* u_buf, const uint8* v_buf, uint8* rgb_buf, int source_width, int source_height, int dest_width, int dest_height, int dest_rect_left, int dest_rect_top, int dest_rect_right, int dest_rect_bottom, int y_pitch, int uv_pitch, int rgb_pitch) argument 506 DCHECK(source_row < source_height); const uint8* y0_ptr = y_buf + y_pitch * source_row + source_y_left; const uint8* u0_ptr = u_buf + uv_pitch * source_uv_row + source_uv_left; const uint8* v0_ptr = v_buf + uv_pitch * source_uv_row + source_uv_left; const uint8* y1_ptr = NULL; const uint8* u1_ptr = NULL; const uint8* v1_ptr = NULL; if (source_row + 1 >= source_height) argument [all...] |
/external/chromium_org/gpu/command_buffer/service/ |
H A D | gles2_cmd_decoder.cc | 9885 int source_width, source_height, dest_width, dest_height; local 9892 source_height = size.height(); 9893 if (source_width <= 0 || source_height <= 0) { 9901 source_texture->target(), 0, &source_width, &source_height)) { 9910 source_texture->target(), level, source_width, source_height, 1)) { 9948 dest_height != source_height || 9955 GL_TEXTURE_2D, level, internal_format, source_width, source_height, 9965 source_height, 1, 0, internal_format, dest_type, true); 9989 source_width, source_height, 10001 source_width, source_height, [all...] |