/external/skia/src/codec/ |
SkCodec_libpng.h | 56 bool decodePalette(bool premultiply, int bitDepth, int* ctableCount);
|
SkCodec_libpng.cpp | 122 bool SkPngCodec::decodePalette(bool premultiply, int bitDepth, int* ctableCount) { 153 if (premultiply) {
|
/external/mesa3d/src/gallium/state_trackers/vega/ |
asm_fill.h | 276 * Premultiply src and dst. 284 /* premultiply src */ 289 /* premultiply dst */ 547 premultiply( struct ureg_program *ureg, function 679 /* premultiply */ 681 {VEGA_PREMULTIPLY_SHADER, premultiply,
|
shaders_cache.h | 63 #define SHADERS_GET_PREMULTIPLY_SHADER(id) _SHADERS_GET_STAGE(PREMULTIPLY, id)
|
shaders_cache.c | 59 * 7) Premultiply/Unpremultiply
|
/external/webp/src/dsp/ |
alpha_processing.c | 214 #define PREMULTIPLY(x, m) (((x) * (m)) >> 23) 217 #define PREMULTIPLY(x, m) (((x) * (m) + (1U << 23)) >> 24) 230 rgb[4 * i + 0] = PREMULTIPLY(rgb[4 * i + 0], mult); 231 rgb[4 * i + 1] = PREMULTIPLY(rgb[4 * i + 1], mult); 232 rgb[4 * i + 2] = PREMULTIPLY(rgb[4 * i + 2], mult); 239 #undef PREMULTIPLY
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/linear/ |
BigMatrix.java | 89 * @param m matrix to premultiply by 94 BigMatrix preMultiply(BigMatrix m) throws IllegalArgumentException; 301 * @param v the row vector to premultiply by 305 BigDecimal[] preMultiply(BigDecimal[] v) throws IllegalArgumentException;
|
FieldMatrix.java | 107 * @param m matrix to premultiply by 112 FieldMatrix<T> preMultiply(FieldMatrix<T> m) throws IllegalArgumentException; 463 * @param v the row vector to premultiply by 467 T[] preMultiply(T[] v) throws IllegalArgumentException; 472 * @param v the row vector to premultiply by 476 FieldVector<T> preMultiply(FieldVector<T> v) throws IllegalArgumentException; [all...] |
RealMatrix.java | 98 * @param m matrix to premultiply by 103 RealMatrix preMultiply(RealMatrix m) throws IllegalArgumentException; 508 * @param v the row vector to premultiply by 512 double[] preMultiply(double[] v) throws IllegalArgumentException; 517 * @param v the row vector to premultiply by 521 RealVector preMultiply(RealVector v) throws IllegalArgumentException; [all...] |
AbstractRealMatrix.java | 173 public RealMatrix preMultiply(final RealMatrix m) 726 public double[] preMultiply(final double[] v) 751 public RealVector preMultiply(final RealVector v) 754 return new ArrayRealVector(preMultiply(((ArrayRealVector) v).getDataRef()), false); [all...] |
AbstractFieldMatrix.java | 265 public FieldMatrix<T> preMultiply(final FieldMatrix<T> m) 724 public T[] preMultiply(final T[] v) 749 public FieldVector<T> preMultiply(final FieldVector<T> v) 752 return new ArrayFieldVector<T>(preMultiply(((ArrayFieldVector<T>) v).getDataRef()), false); [all...] |
BigMatrixImpl.java | 480 * @param m matrix to premultiply by 485 public BigMatrix preMultiply(BigMatrix m) throws IllegalArgumentException { [all...] |
/external/skia/src/images/ |
SkImageDecoder_libwebp.cpp | 113 * If the image does not have alpha, there is no need to premultiply. 175 static WEBP_CSP_MODE webp_decode_mode(const SkBitmap* decodedBitmap, bool premultiply) { 181 mode = premultiply ? MODE_bgrA : MODE_BGRA; 183 mode = premultiply ? MODE_rgbA : MODE_RGBA; 188 mode = premultiply ? MODE_rgbA_4444 : MODE_RGBA_4444; 243 int width, int height, bool premultiply) { 244 WEBP_CSP_MODE mode = webp_decode_mode(decodedBitmap, premultiply); 270 const SkIRect& region, bool premultiply) { 273 region.height(), premultiply)) {
|
/external/skia/include/effects/ |
SkGradientShader.h | 22 * and then premultiply each of the results. By setting this flag, the 23 * gradients will premultiply their colors first, and then interpolate
|
/frameworks/native/services/surfaceflinger/RenderEngine/ |
ProgramCache.cpp | 199 // un-premultiply if needed before linearization 205 // and re-premultiply if needed after gamma correction
|
/external/skia/gm/ |
gradients.cpp | 397 // We can either interpolate endpoints and premultiply each point (default, more precision), 398 // or premultiply the endpoints first, avoiding the need to premultiply each point (cheap).
|
/external/skia/bench/ |
PMFloatBench.cpp | 47 // Our SkASSERTs will remind us that it's technically required that we premultiply.
|
/external/skia/src/effects/ |
SkColorCubeFilter.cpp | 323 // Premultiply color by alpha. Note that the input alpha is not modified by this shader.
|
/external/skia/src/ports/ |
SkImageDecoder_WIC.cpp | 242 // Note: we don't need to premultiply here since we specified PBGRA
|
/external/skia/src/utils/ |
SkPatchUtils.cpp | 227 // premultiply colors to avoid color bleeding.
|
/frameworks/native/libs/gui/tests/ |
SRGB_test.cpp | 124 realValue *= ALPHA_VALUE / 255.0f; // Premultiply by alpha
|
/frameworks/base/libs/hwui/ |
ProgramCache.cpp | 331 " fragColor.rgb /= (fragColor.a + 0.0019);\n" // un-premultiply 334 " fragColor.rgb *= (fragColor.a + 0.0019);\n", // re-premultiply
|
/external/webp/src/dec/ |
io.c | 222 // alpha_mask is < 0xff if there's non-trivial alpha to premultiply with. 286 // Before rescaling, we premultiply the luma directly into the io->y
|
/external/libpng/contrib/libtests/ |
pngstest.c | 1145 * pre: make sRGB components linear and premultiply by alpha (scale alpha) 1148 * gpre: make sRGB components grayscale and linear and premultiply by alpha 1350 /* pre: make sRGB components linear and premultiply by alpha (scale alpha) */ [all...] |
/frameworks/native/opengl/libagl/ |
primitives.cpp | 740 // premultiply (s,t) when clampling 797 // premultiply (s,t) when clampling [all...] |