/external/chromium_org/cc/layers/ |
H A D | contents_scaling_layer.cc | 11 float scale_x, 13 return gfx::ToCeiledSize(gfx::ScaleSize(bounds(), scale_x, scale_y)); 10 ComputeContentBoundsForScale( float scale_x, float scale_y) const argument
|
H A D | painted_scrollbar_layer.cc | 270 float scale_x = local 275 skcanvas.scale(SkFloatToScalar(scale_x),
|
/external/chromium_org/ui/gfx/ |
H A D | interpolated_transform_unittest.cc | 181 float scale_x = static_cast<float>( local 188 gfx::Point3F(scale_x, scale_y, 1)));
|
H A D | interpolated_transform.cc | 231 float scale_x = ValueBetween(t, start_scale_.x(), end_scale_.x()); local 234 result.Scale(scale_x, scale_y);
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xa/ |
H A D | xa_yuv.c | 123 float scale_x; local 140 scale_x = (float)src_w / (float)dst_w; 150 (float)src_x + scale_x * (x - dst_x), 152 scale_x * w, scale_y * h, x, y, w, h, yuv);
|
/external/mesa3d/src/gallium/state_trackers/xa/ |
H A D | xa_yuv.c | 123 float scale_x; local 140 scale_x = (float)src_w / (float)dst_w; 150 (float)src_x + scale_x * (x - dst_x), 152 scale_x * w, scale_y * h, x, y, w, h, yuv);
|
/external/pixman/test/ |
H A D | scaling-crash-test.c | 25 int32_t scale_x, 73 pixman_transform_init_scale (&transform, scale_x, scale_y); 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 | 41 pixman_fixed_t scale_x = 65536, scale_y = 65536; local 102 scale_x = -65536 * 3 + prng_rand_n (65536 * 6); 106 scale_y = scale_x; 107 pixman_transform_init_scale (&transform, scale_x, scale_y);
|
H A D | scaling-test.c | 69 pixman_fixed_t scale_x = 65536, scale_y = 65536; local 164 scale_x = -32768 * 3 + prng_rand_n (65536 * 5); 168 pixman_transform_init_scale (&transform, scale_x, scale_y); 244 printf ("op=%s, scale_x=%d, scale_y=%d, repeat=%d\n", 245 operator_name (op), scale_x, scale_y, repeat);
|
/external/chromium_org/cc/resources/ |
H A D | layer_quad.h | 50 void scale_x(float sx) { x_ *= sx; } function in class:cc::LayerQuad::Edge
|
/external/chromium_org/content/common/gpu/client/ |
H A D | gl_helper_scaling.h | 90 : scale_factor(factor), scale_x(x), scale_size(size) { 94 // |src| into an image of size |dst|. If |scale_x| is true, then 101 bool scale_x, 109 ops->push_back(ScaleOp(3, scale_x, dst)); 116 ops->push_back(ScaleOp(0, scale_x, dst << num_downscales)); 120 ops->push_back(ScaleOp(2, scale_x, dst << num_downscales)); 129 if (scale_x) { 140 bool scale_x; // Otherwise y member in struct:content::GLHelperScaling::ScaleOp 157 bool scale_x; member in struct:content::GLHelperScaling::ScalerStage 99 AddOps(int src, int dst, bool scale_x, bool allow3, std::deque<ScaleOp>* ops) argument
|
H A D | gl_helper_scaling.cc | 62 bool scale_x, 110 // If |scale_x| is true, we are scaling along the X axis, otherwise Y. 111 // If we are scaling in both X and Y, |scale_x| is ignored. 198 spec_.scale_x, 259 scale_x(scale_x_), 313 bool scale_x = current_queue->front().scale_x; local 342 if (!scale_x && x_ops->size() > 0 && x_ops->front().scale_factor <= 2) { 350 scale_x = true; 385 scale_x, 874 UseProgram(const gfx::Size& src_size, const gfx::Rect& src_subrect, const gfx::Size& dst_size, bool scale_x, bool flip_y, GLfloat color_weights[4]) argument [all...] |
H A D | gl_helper_unittest.cc | 244 if (scaler_stages[i].scale_x) { 354 if (scaler_stages[i].scale_x) { 363 if (scaler_stages[i].scale_x) { 373 if (!scaler_stages[i].scale_x) { 1484 void TestAddOps(int src, int dst, bool scale_x, bool allow3) { argument 1486 GLHelperScaling::ScaleOp::AddOps(src, dst, scale_x, allow3, &ops); 1492 EXPECT_EQ(ops[0].scale_x, scale_x); 1498 EXPECT_EQ(ops[i].scale_x, scale_x); [all...] |
/external/chromium_org/skia/ext/ |
H A D | image_operations.cc | 189 float scale_x = static_cast<float>(dest_width) / local 195 scale_x, &x_filter_);
|
/external/chromium_org/ash/wm/ |
H A D | window_animations.cc | 106 float scale_x = static_cast<float>(target_bounds.width()) / bounds.width(); local 111 gfx::Point3F(scale_x, scale_y, 1))); 348 float scale_x = static_cast<float>(new_bounds.width()) / local 354 out_transform.Scale(scale_x, scale_y); 368 const float scale_x = static_cast<float>(old_bounds.width()) / local 374 in_transform.Scale(scale_x, scale_y);
|
/external/chromium_org/third_party/skia/src/opts/ |
H A D | SkBitmapProcState_opts_SSSE3.cpp | 131 // @param scale_x vector of 8 bit components to multiply the pixel[0:3]. This 140 const __m128i& scale_x) { 166 return _mm_maddubs_epi16(a0, scale_x); 210 const __m128i& scale_x, 213 scale_x); 225 __m128i scale_x, 234 __m128i sum = _mm_maddubs_epi16(a0, scale_x); 252 const __m128i& scale_x, 255 scale_x); 291 const __m128i& scale_x, 136 ProcessPixelPairHelper(uint32_t pixel0, uint32_t pixel1, uint32_t pixel2, uint32_t pixel3, const __m128i& scale_x) argument 206 ProcessPixelPairZeroSubY(uint32_t pixel0, uint32_t pixel1, uint32_t pixel2, uint32_t pixel3, const __m128i& scale_x, const __m128i& alpha) argument 223 ProcessOnePixelZeroSubY(uint32_t pixel0, uint32_t pixel1, __m128i scale_x, __m128i alpha) argument 248 ProcessPixelPair(uint32_t pixel0, uint32_t pixel1, uint32_t pixel2, uint32_t pixel3, const __m128i& scale_x, const __m128i& y) argument 287 ProcessTwoPixelPairs(const uint32_t* row0, const uint32_t* row1, const int* x0, const int* x1, const __m128i& scale_x, const __m128i& all_y, const __m128i& neg_y, const __m128i& alpha) argument 316 ProcessTwoPixelPairsDXDY(const uint32_t* row00, const uint32_t* row01, const uint32_t* row10, const uint32_t* row11, const int* xy0, const int* xy1, const __m128i& scale_x, const __m128i& all_y, const __m128i& neg_y, const __m128i& alpha) argument 350 ProcessOnePixel(uint32_t pixel0, uint32_t pixel1, const __m128i& scale_x, const __m128i& y) argument 447 __m128i scale_x; local 481 __m128i scale_x = _mm_sub_epi8(sixteen_8bit, all_x); local 519 __m128i scale_x; local 555 __m128i scale_x = _mm_sub_epi8(sixteen_8bit, all_x); local 625 __m128i scale_x = _mm_unpacklo_epi8(sixteen_minus_xy, all_xy); local 677 __m128i scale_x = _mm_sub_epi8(sixteen_8bit, all_x); local [all...] |
/external/pixman/pixman/ |
H A D | pixman-filter.c | 303 pixman_fixed_t scale_x, 312 double sx = fabs (pixman_fixed_to_double (scale_x)); 302 pixman_filter_create_separable_convolution(int *n_values, pixman_fixed_t scale_x, pixman_fixed_t scale_y, pixman_kernel_t reconstruct_x, pixman_kernel_t reconstruct_y, pixman_kernel_t sample_x, pixman_kernel_t sample_y, int subsample_bits_x, int subsample_bits_y) argument
|
/external/skia/src/opts/ |
H A D | SkBitmapProcState_opts_SSSE3.cpp | 132 // @param scale_x vector of 8 bit components to multiply the pixel[0:3]. This 141 const __m128i& scale_x) { 167 return _mm_maddubs_epi16(a0, scale_x); 211 const __m128i& scale_x, 214 scale_x); 226 __m128i scale_x, 235 __m128i sum = _mm_maddubs_epi16(a0, scale_x); 253 const __m128i& scale_x, 256 scale_x); 292 const __m128i& scale_x, 137 ProcessPixelPairHelper(uint32_t pixel0, uint32_t pixel1, uint32_t pixel2, uint32_t pixel3, const __m128i& scale_x) argument 207 ProcessPixelPairZeroSubY(uint32_t pixel0, uint32_t pixel1, uint32_t pixel2, uint32_t pixel3, const __m128i& scale_x, const __m128i& alpha) argument 224 ProcessOnePixelZeroSubY(uint32_t pixel0, uint32_t pixel1, __m128i scale_x, __m128i alpha) argument 249 ProcessPixelPair(uint32_t pixel0, uint32_t pixel1, uint32_t pixel2, uint32_t pixel3, const __m128i& scale_x, const __m128i& y) argument 288 ProcessTwoPixelPairs(const uint32_t* row0, const uint32_t* row1, const int* x0, const int* x1, const __m128i& scale_x, const __m128i& all_y, const __m128i& neg_y, const __m128i& alpha) argument 317 ProcessTwoPixelPairsDXDY(const uint32_t* row00, const uint32_t* row01, const uint32_t* row10, const uint32_t* row11, const int* xy0, const int* xy1, const __m128i& scale_x, const __m128i& all_y, const __m128i& neg_y, const __m128i& alpha) argument 351 ProcessOnePixel(uint32_t pixel0, uint32_t pixel1, const __m128i& scale_x, const __m128i& y) argument 448 __m128i scale_x; local 482 __m128i scale_x = _mm_sub_epi8(sixteen_8bit, all_x); local 520 __m128i scale_x; local 556 __m128i scale_x = _mm_sub_epi8(sixteen_8bit, all_x); local 626 __m128i scale_x = _mm_unpacklo_epi8(sixteen_minus_xy, all_xy); local 678 __m128i scale_x = _mm_sub_epi8(sixteen_8bit, all_x); local [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/ |
H A D | brw_fs_visitor.cpp | 1182 fs_reg scale_x, scale_y; local 1206 scale_x = fs_reg(UNIFORM, c->prog_data.nr_params); 1230 emit(BRW_OPCODE_MUL, dst, src, scale_x); 1257 emit(BRW_OPCODE_MOV, limit, i == 0 ? scale_x : scale_y);
|
/external/chromium_org/third_party/webrtc/base/ |
H A D | x11windowpicker.cc | 516 double scale_x = static_cast<double>(dst_width) / local 520 double scale = rtc::_min(scale_y, scale_x);
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
H A D | brw_fs_visitor.cpp | 1182 fs_reg scale_x, scale_y; local 1206 scale_x = fs_reg(UNIFORM, c->prog_data.nr_params); 1230 emit(BRW_OPCODE_MUL, dst, src, scale_x); 1257 emit(BRW_OPCODE_MOV, limit, i == 0 ? scale_x : scale_y);
|
/external/pdfium/core/src/fxge/apple/ |
H A D | fx_quartz_device.cpp | 579 CGFloat scale_x = FXSYS_fabs(ctm.a);
local 581 src_left /= scale_x;
583 src_width /= scale_x;
590 rect_usr.size = CGSizeMake(pBitmap->GetWidth() / scale_x, pBitmap->GetHeight() / scale_y);
|
/external/pdfium/core/src/fxge/dib/ |
H A D | fx_dib_engine.cpp | 233 double scale_x = FXSYS_Div((FX_FLOAT)(m_SrcWidth), (FX_FLOAT)(m_DestWidth));
local 237 double src_left = FXSYS_Mul(scale_x, (FX_FLOAT)(clip_rect.left) + base_x);
238 double src_right = FXSYS_Mul(scale_x, (FX_FLOAT)(clip_rect.right) + base_x);
|
/external/opencv/cv/src/ |
H A D | cvimgwarp.cpp | 293 int scale_x = ssize.width/dsize.width; \ 295 int area = scale_x*scale_y; \ 296 float scale = 1.f/(scale_x*scale_y); \ 637 float scale_x, scale_y; local 664 scale_x = (float)ssize.width/dsize.width; 710 // "area" method for (scale_x > 1 & scale_y > 1) 711 int iscale_x = cvRound(scale_x); 714 if( fabs(scale_x - iscale_x) < DBL_EPSILON && 743 float scale = 1.f/(scale_x*scale_y); 761 float fsx1 = dx*scale_x, fsx [all...] |
/external/pdfium/core/src/fxge/ge/ |
H A D | fx_ge_text.cpp | 234 FX_FLOAT scale_x = FXSYS_fabs(matrixCTM.a);
local 236 deviceCtm.Concat(scale_x, 0, 0, scale_y, 0, 0);
237 text2Device.Concat(scale_x, 0, 0, scale_y, 0, 0);
264 if (scale_x > 1 && scale_y > 1) {
270 FX_RECT bmp_rect(FXSYS_round((FX_FLOAT)(bmp_rect1.left) / scale_x), FXSYS_round((FX_FLOAT)(bmp_rect1.top) / scale_y),
271 FXSYS_round((FX_FLOAT)bmp_rect1.right / scale_x), FXSYS_round((FX_FLOAT)bmp_rect1.bottom / scale_y));
277 int pixel_width = FXSYS_round(bmp_rect.Width() * scale_x);
279 int pixel_left = FXSYS_round(bmp_rect.left * scale_x);
|