Home
last modified time | relevance | path

Searched refs:premultiply (Results 1 - 15 of 15) sorted by relevance

/third_party/ffmpeg/libavfilter/
H A 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[ in filter_frame()
[all...]
/third_party/skia/third_party/externals/libwebp/examples/
H A 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()
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()
131 CompareAnimatedImagePair(const AnimatedImage* const img1, const AnimatedImage* const img2, int premultiply, double min_psnr) CompareAnimatedImagePair() argument
H A Danim_util.h59 // If 'premultiply' is true, R/G/B values will be pre-multiplied by the
62 uint32_t width, uint32_t height, int premultiply,
H A Danim_util.c738 uint32_t width, uint32_t height, int premultiply, in GetDiffAndPSNR()
752 if (!premultiply) { in GetDiffAndPSNR()
757 // premultiply R/G/B channels with alpha value in GetDiffAndPSNR()
737 GetDiffAndPSNR(const uint8_t rgba1[], const uint8_t rgba2[], uint32_t width, uint32_t height, int premultiply, int* const max_diff, double* const psnr) GetDiffAndPSNR() argument
/third_party/rust/crates/aho-corasick/aho-corasick-debug/
H A Dmain.rs52 premultiply: bool,
89 .arg(Arg::with_name("premultiply").long("premultiply").short("p")) in parse()
113 premultiply: parsed.is_present("premultiply"), in parse()
125 // TODO: remove when byte classes and premultiply options are removed. in automaton()
134 .premultiply(self.premultiply) in automaton()
/third_party/rust/crates/aho-corasick/src/
H A Ddfa.rs565 fn premultiply(&mut self) -> Result<()> { in premultiply() functions
608 premultiply: bool,
615 Builder { premultiply: true, byte_classes: true } in new()
660 if self.premultiply { in build()
661 repr.premultiply()?; in build()
682 /// Whether to premultiply state identifier in the DFA.
683 pub fn premultiply(&mut self, yes: bool) -> &mut Builder { in premultiply() functions
684 self.premultiply = yes; in premultiply()
H A 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);
H A Dahocorasick.rs1953 pub fn premultiply(&mut self, yes: bool) -> &mut AhoCorasickBuilder { in premultiply() functions
1954 self.dfa_builder.premultiply(yes); in premultiply()
/third_party/skia/src/codec/
H A 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()
H A 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()
H A DSkPngCodec.cpp270 // Contents depend on tableColorType and our choice of if/when to premultiply: in createColorTable()
278 bool premultiply = needs_premul(dstInfo.alphaType(), this->getEncodedInfo().alpha()); in createColorTable() local
282 PackColorProc proc = choose_pack_color_proc(premultiply, tableColorType); in createColorTable()
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/
H A DPixelRoutine.hpp94 void premultiply(Vector4f &c);
H A 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/
H A DvktPipelineBlendOperationAdvancedTests.cpp2248 for (deUint32 premultiply = 0u; premultiply < DE_LENGTH_OF_ARRAY(premultiplyModes); premultiply++)
2266 testParams.premultipliedSrcColor = (premultiplyModes[premultiply] & PREMULTIPLY_SRC) ? VK_TRUE : VK_FALSE;
2267 testParams.premultipliedDstColor = (premultiplyModes[premultiply] & PREMULTIPLY_DST) ? VK_TRUE : VK_FALSE;
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
H A DvktPipelineBlendOperationAdvancedTests.cpp2227 for (deUint32 premultiply = 0u; premultiply < DE_LENGTH_OF_ARRAY(premultiplyModes); premultiply++)
2245 testParams.premultipliedSrcColor = (premultiplyModes[premultiply] & PREMULTIPLY_SRC) ? VK_TRUE : VK_FALSE;
2246 testParams.premultipliedDstColor = (premultiplyModes[premultiply] & PREMULTIPLY_DST) ? VK_TRUE : VK_FALSE;

Completed in 25 milliseconds