Home
last modified time | relevance | path

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

12

/third_party/ffmpeg/libavfilter/
Dvf_premultiply.c48 void (*premultiply[4])(const uint8_t *msrc, const uint8_t *asrc, member
65 AVFILTER_DEFINE_CLASS_EXT(premultiply, "(un)premultiply", options);
495 s->premultiply[p](base->data[p] + slice_start * base->linesize[p], in premultiply_slice()
534 s->premultiply[0] = full ? unpremultiply8 : unpremultiply8offset; in filter_frame()
535 s->premultiply[1] = s->premultiply[2] = unpremultiply8yuv; in filter_frame()
538 s->premultiply[0] = unpremultiply8; in filter_frame()
539 s->premultiply[1] = s->premultiply[2] = unpremultiply8yuv; in filter_frame()
543 …s->premultiply[0] = s->premultiply[1] = s->premultiply[2] = limited ? unpremultiply8offset : unpre… in filter_frame()
554 s->premultiply[0] = full ? unpremultiply16 : unpremultiply16offset; in filter_frame()
555 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/rust/crates/aho-corasick/aho-corasick-debug/
Dmain.rs52 premultiply: bool, field
113 premultiply: parsed.is_present("premultiply"), in parse()
134 .premultiply(self.premultiply) in automaton()
/third_party/rust/crates/aho-corasick/bench/src/
Dbench.rs106 .premultiply(true) in define_aho_corasick_dfa()
119 .premultiply(true) in define_aho_corasick_dfa()
132 .premultiply(false) in define_aho_corasick_dfa()
145 .premultiply(false) in define_aho_corasick_dfa()
/third_party/rust/crates/aho-corasick/src/
Ddfa.rs565 fn premultiply(&mut self) -> Result<()> { in premultiply() method
608 premultiply: bool, field
615 Builder { premultiply: true, byte_classes: true } in new()
660 if self.premultiply { in build()
661 repr.premultiply()?; in build()
683 pub fn premultiply(&mut self, yes: bool) -> &mut Builder { in premultiply() method
684 self.premultiply = yes; in premultiply()
Dtests.rs756 b.dfa(true).premultiply(false);
766 b.dfa(true).byte_classes(false).premultiply(false);
854 b.dfa(true).premultiply(false);
865 b.dfa(true).byte_classes(false).premultiply(false);
Dahocorasick.rs1953 pub fn premultiply(&mut self, yes: bool) -> &mut AhoCorasickBuilder { in premultiply() method
1954 self.dfa_builder.premultiply(yes); in premultiply()
/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.cpp2227 … for (deUint32 premultiply = 0u; premultiply < DE_LENGTH_OF_ARRAY(premultiplyModes); premultiply++) in createBlendOperationAdvancedTests() local
2245 …testParams.premultipliedSrcColor = (premultiplyModes[premultiply] & PREMULTIPLY_SRC) ? VK_TRUE : V… in createBlendOperationAdvancedTests()
2246 …testParams.premultipliedDstColor = (premultiplyModes[premultiply] & PREMULTIPLY_DST) ? VK_TRUE : V… in createBlendOperationAdvancedTests()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
DvktPipelineBlendOperationAdvancedTests.cpp2227 … for (deUint32 premultiply = 0u; premultiply < DE_LENGTH_OF_ARRAY(premultiplyModes); premultiply++) in createBlendOperationAdvancedTests() local
2245 …testParams.premultipliedSrcColor = (premultiplyModes[premultiply] & PREMULTIPLY_SRC) ? VK_TRUE : V… in createBlendOperationAdvancedTests()
2246 …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/rust/crates/aho-corasick/
DDESIGN.md311 However, since the value `256` is a fixed constant, we can actually premultiply
327 otherwise. For example, if you don't premultiply state identifiers, then an
/third_party/astc-encoder/Docs/
DChangeLog-2x.md186 * **Feature:** New image preprocess `-pp-premultiply` option added. This
/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/vk-gl-cts/external/vulkan-docs/src/style/
Dwriting.txt262 // also: premultiply preorder prerotation predefined
Dwriting.adoc321 // also: premultiply preorder prerotation predefined
/third_party/node/test/fixtures/wpt/interfaces/
Dhtml.idl2065 enum PremultiplyAlpha { "none", "premultiply", "default" };

12