/external/skia/include/effects/ |
H A D | SkTestImageFilters.h | 10 static SkDownSampleImageFilter* Create(SkScalar scale) { argument 11 return SkNEW_ARGS(SkDownSampleImageFilter, (scale)); 17 SkDownSampleImageFilter(SkScalar scale) : INHERITED(0), fScale(scale) {} argument
|
/external/aac/libAACdec/src/ |
H A D | ldfiltbank.cpp | 104 int i, scale; local 106 /* scale for FIXP_DBL -> INT_PCM conversion. */ 107 scale = (DFRACT_BITS - SAMPLE_BITS) - LDFB_HEADROOM; 121 FDK_ASSERT( (-WTS1-1 + scale) >= 0); 122 output[(N*3/4-1-i)*stride] = (INT_PCM)SATURATE_RIGHT_SHIFT(tmp, -WTS1-1 + scale, SAMPLE_BITS); 124 FDK_ASSERT( (WTS1+1 - scale) >= 0); 125 output[(N*3/4-1-i)*stride] = (INT_PCM)SATURATE_LEFT_SHIFT(tmp, WTS1+1 - scale, SAMPLE_BITS); 145 FDK_ASSERT( (-WTS0-1 + scale) >= 0); 146 output[(i-N/4)*stride] = (INT_PCM)SATURATE_RIGHT_SHIFT(tmp0, -WTS0-1 + scale, SAMPLE_BITS); 147 output[(N*3/4-1-i)*stride] = (INT_PCM)SATURATE_RIGHT_SHIFT(tmp1, -WTS1-1 + scale, SAMPLE_BIT 176 int scale = mdctData_e + MDCT_OUT_HEADROOM - LDFB_HEADROOM; /* The LDFB_HEADROOM is compensated inside multE2_DinvF_fdk() below */ local [all...] |
/external/chromium_org/third_party/WebKit/public/web/ |
H A D | WebDeviceEmulationParams.h | 25 // If zero, the original device scale factor is preserved. 38 float scale; member in struct:blink::WebDeviceEmulationParams 44 , scale(1) { }
|
/external/chromium_org/third_party/opus/src/silk/fixed/ |
H A D | autocorr_FIX.c | 38 opus_int *scale, /* O Scaling of the correlation vector */ 47 *scale = _celt_autocorr(inputData, results, NULL, 0, corrCount-1, inputDataSize, arch); 36 silk_autocorr( opus_int32 *results, opus_int *scale, const opus_int16 *inputData, const opus_int inputDataSize, const opus_int correlationCount, int arch ) argument
|
/external/chromium_org/third_party/opus/src/silk/ |
H A D | inner_prod_aligned.c | 37 const opus_int scale, /* I number of bits to shift */ 44 sum = silk_ADD_RSHIFT32( sum, silk_SMULBB( inVec1[ i ], inVec2[ i ] ), scale ); 34 silk_inner_prod_aligned_scale( const opus_int16 *const inVec1, const opus_int16 *const inVec2, const opus_int scale, const opus_int len ) argument
|
/external/chromium_org/ui/gfx/image/ |
H A D | canvas_image_source.cc | 20 gfx::ImageSkiaRep CanvasImageSource::GetImageForScale(float scale) { argument 21 gfx::Canvas canvas(size_, scale, is_opaque_);
|
H A D | image_skia_rep.h | 14 // An ImageSkiaRep represents a bitmap and the scale factor it is intended for. 15 // 0.0f scale is used to indicate that this ImageSkiaRep is used for unscaled 16 // image (the image that only returns 1.0f scale image). 27 // Specifying 0 scale means the image is for unscaled image. (unscaled() 28 // returns truen, and scale() returns 1.0f;) 29 ImageSkiaRep(const gfx::Size& size, float scale); 31 // Creates a bitmap with given scale. 33 ImageSkiaRep(const SkBitmap& src, float scale); 49 // Retrieves the scale that the bitmap will be painted at. 50 float scale() cons function in class:gfx::ImageSkiaRep [all...] |
/external/libopus/silk/fixed/ |
H A D | autocorr_FIX.c | 38 opus_int *scale, /* O Scaling of the correlation vector */ 47 *scale = _celt_autocorr(inputData, results, NULL, 0, corrCount-1, inputDataSize, arch); 36 silk_autocorr( opus_int32 *results, opus_int *scale, const opus_int16 *inputData, const opus_int inputDataSize, const opus_int correlationCount, int arch ) argument
|
/external/libopus/silk/ |
H A D | inner_prod_aligned.c | 37 const opus_int scale, /* I number of bits to shift */ 44 sum = silk_ADD_RSHIFT32( sum, silk_SMULBB( inVec1[ i ], inVec2[ i ] ), scale ); 34 silk_inner_prod_aligned_scale( const opus_int16 *const inVec1, const opus_int16 *const inVec2, const opus_int scale, const opus_int len ) argument
|
/external/skia/src/effects/ |
H A D | SkTestImageFilters.cpp | 27 SkScalar scale = fScale; local 28 if (scale > SK_Scalar1 || scale <= 0) { 32 int dstW = SkScalarRoundToInt(src.width() * scale); 33 int dstH = SkScalarRoundToInt(src.height() * scale); 53 canvas.scale(scale, scale);
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/ |
H A D | filters_unittest.cc | 21 int16_t scale = 0; local 35 kBuffer, kOrder + 1, &scale); 39 EXPECT_EQ(3, scale); 52 kBuffer, kOrder + 1, &scale); 56 EXPECT_EQ(0, scale);
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/ilbc/ |
H A D | frame_classify.c | 32 int16_t max, scale; local 49 scale=WebRtcSpl_GetSizeInBits(WEBRTC_SPL_MUL_16_16(max,max)); 52 scale = scale-24; 53 scale1 = WEBRTC_SPL_MAX(0, scale); 66 scale = WebRtcSpl_GetSizeInBits(maxW32) - 20; 67 scale1 = WEBRTC_SPL_MAX(0, scale);
|
H A D | gain_quant.c | 33 int16_t scale, returnVal, cblen; local 40 scale = WEBRTC_SPL_MAX(1638, maxIn); 65 measure1=WEBRTC_SPL_MUL_16_16(scale, (*cbPtr)); 81 measure1=WEBRTC_SPL_MUL_16_16(scale, (*cbPtr)); 84 measure2=WEBRTC_SPL_MUL_16_16(scale, (*(cbPtr+1))); 90 measure2=WEBRTC_SPL_MUL_16_16(scale, (*(cbPtr-1))); 102 returnVal=(int16_t)((WEBRTC_SPL_MUL_16_16(scale, cb[loc])+8192)>>14);
|
/external/replicaisland/src/com/replica/replicaisland/ |
H A D | TimeSystem.java | 66 float scale = 1.0f; 75 scale = Lerp.ease(1.0f, mTargetScale, EASE_DURATION, scaleTime); 79 scale = Lerp.ease(mTargetScale, 1.0f, EASE_DURATION, easeOutTime); 81 scale = mTargetScale; 84 scale = mTargetScale; 89 mGameTime += (timeDelta * scale); 90 mGameFrameDelta = (timeDelta * scale);
|
/external/srec/srec/clib/ |
H A D | log_add.c | 41 #define DO_USE_LOGTAB__TABLE ( logtab->scale == 61 \ 51 ASSERT(logtab->scale != 0); 54 logtab->add_log_limit = (prdata)(ADD_LOG_LIMIT * mul_scale * logtab->scale); 61 PRINT_SOME_CODE( "#define DO_USE_LOGTAB__TABLE (logtab->scale == %d \\\n", logtab->scale); 66 table[ii] = (prdata)(logtab->scale * mul_scale * log(1 67 + exp(-(float)ii / ((float)logtab->scale * mul_scale))) 74 PLogMessage("L: log table scale is %f\n", (float)logtab->scale);
|
/external/chromium_org/third_party/skia/gm/ |
H A D | filltypes.cpp | 41 SkScalar scale, const SkPaint& paint) { 51 canvas->scale(scale, scale); 57 void showFour(SkCanvas* canvas, SkScalar scale, const SkPaint& paint) { argument 59 scale, paint); 61 scale, paint); 63 scale, paint); 65 scale, paint); 74 const SkScalar scale local 40 showPath(SkCanvas* canvas, int x, int y, SkPath::FillType ft, SkScalar scale, const SkPaint& paint) argument [all...] |
H A D | shaderbounds.cpp | 49 SkScalar scale = 0.8f; variable 50 result.setScale(scale, scale); 62 SkScalar scale = 0.7f; local 63 canvasScale.setScale(scale, scale); 82 SkScalar scale = 0.5f; local 84 scale = 0.6f; 86 SkScalar shaderWidth = SkScalarDiv(SkIntToScalar(width), scale); 87 SkScalar shaderHeight = SkScalarDiv(SkIntToScalar(height), scale); [all...] |
/external/chromium_org/third_party/skia/samplecode/ |
H A D | SampleFillType.cpp | 41 SkScalar scale, const SkPaint& paint) { 51 canvas->scale(scale, scale); 57 void showFour(SkCanvas* canvas, SkScalar scale, const SkPaint& paint) { argument 59 scale, paint); 61 scale, paint); 63 scale, paint); 65 scale, paint); 72 const SkScalar scale local 40 showPath(SkCanvas* canvas, int x, int y, SkPath::FillType ft, SkScalar scale, const SkPaint& paint) argument [all...] |
/external/chromium_org/ui/base/cursor/ |
H A D | cursor_util.cc | 18 void ScaleAndRotateCursorBitmapAndHotpoint(float scale, argument 43 if (scale < FLT_EPSILON) { 45 scale = 1.0f; 48 if (scale == 1.0f) 52 gfx::ScaleSize(gfx::Size(bitmap->width(), bitmap->height()), scale)); 59 *hotpoint = gfx::ToFlooredPoint(gfx::ScalePoint(*hotpoint, scale)); 63 float scale, 69 const gfx::ImageSkiaRep& image_rep = image->GetRepresentation(scale); 70 // TODO(oshima): The cursor should use resource scale factor when 71 // fractional scale facto 62 GetImageCursorBitmap(int resource_id, float scale, gfx::Display::Rotation rotation, gfx::Point* hotspot, SkBitmap* bitmap) argument 78 GetAnimatedCursorBitmaps(int resource_id, float scale, gfx::Display::Rotation rotation, gfx::Point* hotspot, std::vector<SkBitmap>* bitmaps) argument [all...] |
H A D | cursor_util.h | 22 float scale, 29 float scale, 34 float scale,
|
/external/skia/gm/ |
H A D | filltypes.cpp | 41 SkScalar scale, const SkPaint& paint) { 51 canvas->scale(scale, scale); 57 void showFour(SkCanvas* canvas, SkScalar scale, const SkPaint& paint) { argument 59 scale, paint); 61 scale, paint); 63 scale, paint); 65 scale, paint); 74 const SkScalar scale local 40 showPath(SkCanvas* canvas, int x, int y, SkPath::FillType ft, SkScalar scale, const SkPaint& paint) argument [all...] |
H A D | shaderbounds.cpp | 49 SkScalar scale = 0.8f; variable 50 result.setScale(scale, scale); 62 SkScalar scale = 0.7f; local 63 canvasScale.setScale(scale, scale); 82 SkScalar scale = 0.5f; local 84 scale = 0.6f; 86 SkScalar shaderWidth = SkScalarDiv(SkIntToScalar(width), scale); 87 SkScalar shaderHeight = SkScalarDiv(SkIntToScalar(height), scale); [all...] |
/external/skia/samplecode/ |
H A D | SampleFillType.cpp | 41 SkScalar scale, const SkPaint& paint) { 51 canvas->scale(scale, scale); 57 void showFour(SkCanvas* canvas, SkScalar scale, const SkPaint& paint) { argument 59 scale, paint); 61 scale, paint); 63 scale, paint); 65 scale, paint); 72 const SkScalar scale local 40 showPath(SkCanvas* canvas, int x, int y, SkPath::FillType ft, SkScalar scale, const SkPaint& paint) argument [all...] |
/external/qemu/android/skin/ |
H A D | scaler.c | 17 double scale; member in struct:SkinScaler 28 _scaler0.scale = 1.0; 35 /* change the scale of a given scaler. returns 0 on success, or -1 in case of 36 * problem (unsupported scale) */ 38 skin_scaler_set( SkinScaler* scaler, double scale, double xdisp, double ydisp ) argument 41 if (scale < 0.1) 42 scale = 0.1; 43 else if (scale > 6.0) 44 scale = 6.0; 46 scaler->scale 71 double scale; member in struct:__anon29193 92 double scale = scaler->scale; local [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/math/ |
H A D | m_norm_tmp.h | 36 * scale - uniform scale factor of the transformation matrix (not always used) 44 GLfloat scale, 71 GLfloat scale = INV_SQRTF(len); local 72 out[i][0] = tx * scale; 73 out[i][1] = ty * scale; 74 out[i][2] = tz * scale; 83 if (scale != 1.0) { 84 m0 *= scale, m4 *= scale, m 43 transform_normalize_normals( const GLmatrix *mat, GLfloat scale, const GLvector4f *in, const GLfloat *lengths, GLvector4f *dest ) argument 110 transform_normalize_normals_no_rot( const GLmatrix *mat, GLfloat scale, const GLvector4f *in, const GLfloat *lengths, GLvector4f *dest ) argument 138 GLfloat scale = INV_SQRTF(len); local 175 transform_rescale_normals_no_rot( const GLmatrix *mat, GLfloat scale, const GLvector4f *in, const GLfloat *lengths, GLvector4f *dest ) argument 204 transform_rescale_normals( const GLmatrix *mat, GLfloat scale, const GLvector4f *in, const GLfloat *lengths, GLvector4f *dest ) argument 236 transform_normals_no_rot( const GLmatrix *mat, GLfloat scale, const GLvector4f *in, const GLfloat *lengths, GLvector4f *dest ) argument 266 transform_normals( const GLmatrix *mat, GLfloat scale, const GLvector4f *in, const GLfloat *lengths, GLvector4f *dest ) argument 296 normalize_normals( const GLmatrix *mat, GLfloat scale, const GLvector4f *in, const GLfloat *lengths, GLvector4f *dest ) argument 342 rescale_normals( const GLmatrix *mat, GLfloat scale, const GLvector4f *in, const GLfloat *lengths, GLvector4f *dest ) argument [all...] |