/third_party/ffmpeg/libavfilter/ |
H A D | vf_premultiply.c | 48 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 D | anim_diff.c | 115 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 D | anim_util.h | 59 // 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 D | anim_util.c | 738 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 D | main.rs | 52 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 D | dfa.rs | 565 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 D | tests.rs | 756 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 D | ahocorasick.rs | 1953 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 D | SkSwizzler.cpp | 820 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 D | SkWebpCodec.cpp | 178 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 D | SkPngCodec.cpp | 270 // 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 D | PixelRoutine.hpp | 94 void premultiply(Vector4f &c);
|
H A D | PixelRoutine.cpp | 2115 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 D | vktPipelineBlendOperationAdvancedTests.cpp | 2248 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 D | vktPipelineBlendOperationAdvancedTests.cpp | 2227 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;
|