Home
last modified time | relevance | path

Searched refs:premultiply (Results 1 – 25 of 32) sorted by relevance

12

/third_party/ffmpeg/libavfilter/
Dvf_premultiply.c46 void (*premultiply[4])(const uint8_t *msrc, const uint8_t *asrc, member
64 AVFILTER_DEFINE_CLASS(premultiply);
494 s->premultiply[p](base->data[p] + slice_start * base->linesize[p], in premultiply_slice()
533 s->premultiply[0] = full ? unpremultiply8 : unpremultiply8offset; in filter_frame()
534 s->premultiply[1] = s->premultiply[2] = unpremultiply8yuv; in filter_frame()
537 s->premultiply[0] = unpremultiply8; in filter_frame()
538 s->premultiply[1] = s->premultiply[2] = unpremultiply8yuv; in filter_frame()
542 …s->premultiply[0] = s->premultiply[1] = s->premultiply[2] = limited ? unpremultiply8offset : unpre… in filter_frame()
553 s->premultiply[0] = full ? unpremultiply16 : unpremultiply16offset; in filter_frame()
554 s->premultiply[1] = s->premultiply[2] = unpremultiply16yuv; in filter_frame()
[all …]
/third_party/skia/third_party/externals/libwebp/examples/
Danim_diff.c115 static int CompareBackgroundColor(uint32_t bg1, uint32_t bg2, int premultiply) { in CompareBackgroundColor() argument
116 if (premultiply) { in CompareBackgroundColor()
133 int premultiply, in CompareAnimatedImagePair() argument
161 premultiply) && ok; in CompareAnimatedImagePair()
178 premultiply, &max_diff, &psnr); in CompareAnimatedImagePair()
216 int premultiply = 1; in main() local
240 premultiply = 0; in main()
304 premultiply, min_psnr)) { in main()
Danim_util.h62 uint32_t width, uint32_t height, int premultiply,
Danim_util.c738 uint32_t width, uint32_t height, int premultiply, in GetDiffAndPSNR() argument
752 if (!premultiply) { in GetDiffAndPSNR()
/third_party/flutter/skia/third_party/externals/libwebp/examples/
Danim_diff.c115 static int CompareBackgroundColor(uint32_t bg1, uint32_t bg2, int premultiply) { in CompareBackgroundColor() argument
116 if (premultiply) { in CompareBackgroundColor()
133 int premultiply, in CompareAnimatedImagePair() argument
161 premultiply) && ok; in CompareAnimatedImagePair()
178 premultiply, &max_diff, &psnr); in CompareAnimatedImagePair()
216 int premultiply = 1; in main() local
240 premultiply = 0; in main()
304 premultiply, min_psnr)) { in main()
Danim_util.h62 uint32_t width, uint32_t height, int premultiply,
Danim_util.c738 uint32_t width, uint32_t height, int premultiply, in GetDiffAndPSNR() argument
752 if (!premultiply) { in GetDiffAndPSNR()
/third_party/boost/boost/gil/
Dpremultiply.hpp56 struct premultiply struct
87 premultiply()(srcP,dstP); in operator ()()
/third_party/flutter/skia/src/codec/
DSkSwizzler.cpp820 const bool premultiply = (SkEncodedInfo::kOpaque_Alpha != encodedInfo.alpha()) && in Make() local
872 if (premultiply) { in Make()
983 proc = premultiply ? &swizzle_rgba16_to_rgba_premul : in Make()
989 if (premultiply) { in Make()
1010 proc = premultiply ? &swizzle_rgba16_to_bgra_premul : in Make()
1016 if (premultiply) { in Make()
1075 if (premultiply) { in Make()
1095 if (premultiply) { in Make()
DSkWebpCodec.cpp179 static WEBP_CSP_MODE webp_decode_mode(SkColorType dstCT, bool premultiply) { in webp_decode_mode() argument
182 return premultiply ? MODE_bgrA : MODE_BGRA; in webp_decode_mode()
184 return premultiply ? MODE_rgbA : MODE_RGBA; in webp_decode_mode()
DSkPngCodec.cpp275 bool premultiply = needs_premul(dstInfo.alphaType(), this->getEncodedInfo().alpha()); in createColorTable() local
279 PackColorProc proc = choose_pack_color_proc(premultiply, tableColorType); in createColorTable()
/third_party/skia/src/codec/
DSkSwizzler.cpp820 const bool premultiply = (SkEncodedInfo::kOpaque_Alpha != encodedInfo.alpha()) && in Make() local
872 if (premultiply) { in Make()
983 proc = premultiply ? &swizzle_rgba16_to_rgba_premul : in Make()
989 if (premultiply) { in Make()
1010 proc = premultiply ? &swizzle_rgba16_to_bgra_premul : in Make()
1016 if (premultiply) { in Make()
1075 if (premultiply) { in Make()
1095 if (premultiply) { in Make()
DSkWebpCodec.cpp178 static WEBP_CSP_MODE webp_decode_mode(SkColorType dstCT, bool premultiply) { in webp_decode_mode() argument
181 return premultiply ? MODE_bgrA : MODE_BGRA; in webp_decode_mode()
183 return premultiply ? MODE_rgbA : MODE_RGBA; in webp_decode_mode()
DSkPngCodec.cpp273 bool premultiply = needs_premul(dstInfo.alphaType(), this->getEncodedInfo().alpha()); in createColorTable() local
277 PackColorProc proc = choose_pack_color_proc(premultiply, tableColorType); in createColorTable()
/third_party/skia/site/docs/user/
Dcolor.md39 6. premultiply by alpha if the destination is premultiplied
64 both --- no sense in unpremultiplying just to re-premultiply.
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/
DPixelRoutine.hpp94 void premultiply(Vector4f &c);
DPixelRoutine.cpp2115 void PixelRoutine::premultiply(Vector4f &c) in premultiply() function in sw::PixelRoutine
2137 premultiply(srcColor); in computeAdvancedBlendMode()
2138 premultiply(dstColor); in computeAdvancedBlendMode()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineBlendOperationAdvancedTests.cpp2432 … for (deUint32 premultiply = 0u; premultiply < DE_LENGTH_OF_ARRAY(premultiplyModes); premultiply++) in createBlendOperationAdvancedTests() local
2449 …testParams.premultipliedSrcColor = (premultiplyModes[premultiply] & PREMULTIPLY_SRC) ? VK_TRUE : V… in createBlendOperationAdvancedTests()
2450 …testParams.premultipliedDstColor = (premultiplyModes[premultiply] & PREMULTIPLY_DST) ? VK_TRUE : V… in createBlendOperationAdvancedTests()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/shaders/src/
DImageCopy.frag66 // premultiply/unmultiply, as well as to ensure the copy doesn't change values due to sRGB
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/shaders/
DMultiplyAlpha.hlsl15 // PM: premultiply, UM: unmulitply, PT: passthrough
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/shaders/
DMultiplyAlpha.hlsl15 // PM: premultiply, UM: unmulitply, PT: passthrough
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/
Dmtl_render_utils.mm1438 constexpr BOOL multiplyAlphaFlags[][2] = {// premultiply, unmultiply
1442 // Blit premultiply-alpha
/third_party/node/test/fixtures/wpt/interfaces/
Dhtml.idl2034 enum PremultiplyAlpha { "none", "premultiply", "default" };
/third_party/skia/third_party/externals/libwebp/
DChangeLog318 b2a867c0 cwebp: Don't premultiply during -resize if -exact
3323 6fe843ba avoid rgb-premultiply if there's only trivial alpha values
3324 528a11af fix the ARGB4444 premultiply arithmetic
/third_party/flutter/skia/third_party/externals/libwebp/
DChangeLog113 b2a867c0 cwebp: Don't premultiply during -resize if -exact
3118 6fe843ba avoid rgb-premultiply if there's only trivial alpha values
3119 528a11af fix the ARGB4444 premultiply arithmetic

12