Home
last modified time | relevance | path

Searched refs:fInvMatrix (Results 1 – 20 of 20) sorted by relevance

/external/chromium_org/third_party/skia/src/core/
DSkBitmapProcState.cpp141 SkScalar invScaleX = fInvMatrix.getScaleX(); in possiblyScaleImage()
142 SkScalar invScaleY = fInvMatrix.getScaleY(); in possiblyScaleImage()
156 fInvMatrix.getType() <= (SkMatrix::kScale_Mask | SkMatrix::kTranslate_Mask) && in possiblyScaleImage()
158 cache_size_okay(fOrigBitmap, fInvMatrix)) { in possiblyScaleImage()
200 fInvMatrix.setTranslate(fInvMatrix.getTranslateX() / fInvMatrix.getScaleX(), in possiblyScaleImage()
201 fInvMatrix.getTranslateY() / fInvMatrix.getScaleY()); in possiblyScaleImage()
209 fInvMatrix.postScale(fractionalScaleX, fractionalScaleY); in possiblyScaleImage()
234 SkScalar scaleSqd = effective_matrix_scale_sqrd(fInvMatrix); in possiblyScaleImage()
312 fInvMatrix = inv; in chooseProcs()
338 bool trivialMatrix = (fInvMatrix.getType() & ~SkMatrix::kTranslate_Mask) == 0; in chooseProcs()
[all …]
DSkBitmapProcState_matrix_template.h26 s.fInvProc(s.fInvMatrix, SkIntToScalar(x) + SK_ScalarHalf, in NoFilterProc_Scale()
84 s.fInvProc(s.fInvMatrix, in NoFilterProc_Affine()
110 SkPerspIter iter(s.fInvMatrix, in NoFilterProc_Persp()
DSkBitmapProcState_matrix.h65 s.fInvProc(s.fInvMatrix, SkIntToScalar(x) + SK_ScalarHalf, in SCALE_FILTER_NAME()
99 s.fInvProc(s.fInvMatrix, in AFFINE_FILTER_NAME()
131 SkPerspIter iter(s.fInvMatrix, in PERSP_FILTER_NAME()
DSkBitmapProcState_shaderproc.h37 s.fInvProc(s.fInvMatrix, SkIntToScalar(x) + SK_ScalarHalf, in SCALE_FILTER_NAME()
DSkBitmapFilter.cpp35 s.fInvProc(s.fInvMatrix, x + 0.5f, in highQualityFilter()
DSkBitmapProcState.h66 SkMatrix fInvMatrix; // chooseProcs member
DSkBitmapProcState_matrixProcs.cpp321 s.fInvProc(s.fInvMatrix, SkIntToScalar(x) + SK_ScalarHalf, in nofilter_trans_preamble()
/external/skia/src/core/
DSkBitmapProcState.cpp163 fInvMatrix.getType() <= (SkMatrix::kScale_Mask | SkMatrix::kTranslate_Mask) && in possiblyScaleImage()
165 cache_size_okay(fOrigBitmap, fInvMatrix)) { in possiblyScaleImage()
167 SkScalar invScaleX = fInvMatrix.getScaleX(); in possiblyScaleImage()
168 SkScalar invScaleY = fInvMatrix.getScaleY(); in possiblyScaleImage()
223 fInvMatrix.setTranslate(fInvMatrix.getTranslateX() / fInvMatrix.getScaleX(), in possiblyScaleImage()
224 fInvMatrix.getTranslateY() / fInvMatrix.getScaleY()); in possiblyScaleImage()
246 SkScalar scaleSqd = effective_matrix_scale_sqrd(fInvMatrix); in possiblyScaleImage()
296 fInvMatrix.postScale(invScaleFixup, invScaleFixup); in possiblyScaleImage()
391 fInvMatrix = inv; in chooseProcs()
419 bool trivialMatrix = (fInvMatrix.getType() & ~SkMatrix::kTranslate_Mask) == 0; in chooseProcs()
[all …]
DSkBitmapProcState_matrix_template.h26 s.fInvProc(s.fInvMatrix, SkIntToScalar(x) + SK_ScalarHalf, in NoFilterProc_Scale()
84 s.fInvProc(s.fInvMatrix, in NoFilterProc_Affine()
110 SkPerspIter iter(s.fInvMatrix, in NoFilterProc_Persp()
DSkBitmapProcState_matrix.h65 s.fInvProc(s.fInvMatrix, SkIntToScalar(x) + SK_ScalarHalf, in SCALE_FILTER_NAME()
99 s.fInvProc(s.fInvMatrix, in AFFINE_FILTER_NAME()
131 SkPerspIter iter(s.fInvMatrix, in PERSP_FILTER_NAME()
DSkBitmapProcState_shaderproc.h37 s.fInvProc(s.fInvMatrix, SkIntToScalar(x) + SK_ScalarHalf, in SCALE_FILTER_NAME()
DSkBitmapFilter.cpp34 s.fInvProc(s.fInvMatrix, x + 0.5f, in highQualityFilter()
DSkBitmapProcState.h69 SkMatrix fInvMatrix; // chooseProcs member
DSkBitmapProcState_matrixProcs.cpp321 s.fInvProc(s.fInvMatrix, SkIntToScalar(x) + SK_ScalarHalf, in nofilter_trans_preamble()
/external/chromium_org/third_party/skia/src/opts/
DSkBitmapProcState_matrix_neon.h37 s.fInvProc(s.fInvMatrix, SkIntToScalar(x) + SK_ScalarHalf, in SCALE_NOFILTER_NAME()
117 s.fInvProc(s.fInvMatrix, in AFFINE_NOFILTER_NAME()
193 SkPerspIter iter(s.fInvMatrix, in PERSP_NOFILTER_NAME()
303 s.fInvProc(s.fInvMatrix, SkIntToScalar(x) + SK_ScalarHalf, in SCALE_FILTER_NAME()
362 s.fInvProc(s.fInvMatrix, in AFFINE_FILTER_NAME()
428 SkPerspIter iter(s.fInvMatrix, in PERSP_FILTER_NAME()
DSkBitmapProcState_opts_SSE2.cpp258 s.fInvProc(s.fInvMatrix, SkIntToScalar(x) + SK_ScalarHalf, in ClampX_ClampY_filter_scale_SSE2()
379 s.fInvProc(s.fInvMatrix, SkIntToScalar(x) + SK_ScalarHalf, in ClampX_ClampY_nofilter_scale_SSE2()
493 s.fInvProc(s.fInvMatrix, in ClampX_ClampY_filter_affine_SSE2()
569 s.fInvProc(s.fInvMatrix, in ClampX_ClampY_nofilter_affine_SSE2()
DSkBitmapFilter_opts_SSE2.cpp55 s.fInvProc(s.fInvMatrix, x + 0.5f, y + 0.5f, &srcPt); in highQualityFilter_SSE2()
/external/skia/src/opts/
DSkBitmapProcState_matrix_neon.h37 s.fInvProc(s.fInvMatrix, SkIntToScalar(x) + SK_ScalarHalf, in SCALE_NOFILTER_NAME()
117 s.fInvProc(s.fInvMatrix, in AFFINE_NOFILTER_NAME()
193 SkPerspIter iter(s.fInvMatrix, in PERSP_NOFILTER_NAME()
303 s.fInvProc(s.fInvMatrix, SkIntToScalar(x) + SK_ScalarHalf, in SCALE_FILTER_NAME()
362 s.fInvProc(s.fInvMatrix, in AFFINE_FILTER_NAME()
428 SkPerspIter iter(s.fInvMatrix, in PERSP_FILTER_NAME()
DSkBitmapProcState_opts_SSE2.cpp258 s.fInvProc(s.fInvMatrix, SkIntToScalar(x) + SK_ScalarHalf, in ClampX_ClampY_filter_scale_SSE2()
379 s.fInvProc(s.fInvMatrix, SkIntToScalar(x) + SK_ScalarHalf, in ClampX_ClampY_nofilter_scale_SSE2()
493 s.fInvProc(s.fInvMatrix, in ClampX_ClampY_filter_affine_SSE2()
569 s.fInvProc(s.fInvMatrix, in ClampX_ClampY_nofilter_affine_SSE2()
DSkBitmapFilter_opts_SSE2.cpp54 s.fInvProc(s.fInvMatrix, SkIntToScalar(x), in highQualityFilter_SSE2()
117 s.fInvProc(s.fInvMatrix, SkIntToScalar(x), in highQualityFilter_ScaleOnly_SSE2()
174 s.fInvProc(s.fInvMatrix, SkIntToScalar(x), in highQualityFilter_ScaleOnly_SSE2()