/external/skia/src/opts/ |
D | SkBitmapProcState_opts_SSSE3.cpp | 170 template<bool has_alpha, int scale> 176 if (has_alpha) { in ScaleFourPixels() 200 template<bool has_alpha> 209 return ScaleFourPixels<has_alpha, 4>(&sum, alpha); in ProcessPixelPairZeroSubY() 217 template<bool has_alpha> 231 return ScaleFourPixels<has_alpha, 4>(&sum, alpha); in ProcessOnePixelZeroSubY() 281 template<bool has_alpha> 306 return ScaleFourPixels<has_alpha, 8>(&sum0, alpha); in ProcessTwoPixelPairs() 310 template<bool has_alpha> 339 return ScaleFourPixels<has_alpha, 8>(&sum0, alpha); in ProcessTwoPixelPairsDXDY() [all …]
|
/external/webp/src/dec/ |
D | io_dec.c | 192 const int has_alpha = WebPDispatchAlpha(alpha, io->width, mb_w, in EmitAlphaRGB() local 197 if (has_alpha && WebPIsPremultipliedMode(colorspace)) { in EmitAlphaRGB() 297 const int has_alpha = WebPIsAlphaMode(p->output->colorspace); in InitYUVRescaler() local 310 const int num_rescalers = has_alpha ? 4 : 3; in InitYUVRescaler() 313 if (has_alpha) { in InitYUVRescaler() 328 p->scaler_a = has_alpha ? &scalers[3] : NULL; in InitYUVRescaler() 341 if (has_alpha) { in InitYUVRescaler() 482 const int has_alpha = WebPIsAlphaMode(p->output->colorspace); in InitRGBRescaler() local 492 const int num_rescalers = has_alpha ? 4 : 3; in InitRGBRescaler() 496 if (has_alpha) { in InitRGBRescaler() [all …]
|
D | webp_dec.c | 281 int* const has_alpha, in ParseHeadersInternal() argument 325 if (has_alpha != NULL) *has_alpha = !!(flags & ALPHA_FLAG); in ParseHeadersInternal() 382 if (!VP8LGetInfo(data, data_size, &image_width, &image_height, has_alpha)) { in ParseHeadersInternal() 401 if (has_alpha != NULL) { in ParseHeadersInternal() 404 *has_alpha |= (hdrs.alpha_data != NULL); in ParseHeadersInternal() 689 &features->has_alpha, &features->has_animation, in GetFeatures()
|
D | vp8_dec.h | 179 int* const width, int* const height, int* const has_alpha);
|
D | vp8l_dec.c | 119 int* const has_alpha) { in ReadImageInfo() argument 123 *has_alpha = VP8LReadBits(br, 1); in ReadImageInfo() 129 int* const width, int* const height, int* const has_alpha) { in VP8LGetInfo() argument 143 if (has_alpha != NULL) *has_alpha = a; in VP8LGetInfo() 1577 int width, height, has_alpha; in VP8LDecodeHeader() local 1588 if (!ReadImageInfo(&dec->br_, &width, &height, &has_alpha)) { in VP8LDecodeHeader()
|
D | buffer_dec.c | 297 (features != NULL && features->has_alpha); in WebPAvoidSlowMemory()
|
/external/skia/src/core/ |
D | SkOpts.h | 68 int pixel_width, unsigned char* out_row, bool has_alpha); 73 unsigned char* out_row, bool has_alpha);
|
/external/webrtc/webrtc/modules/desktop_capture/win/ |
D | cursor.cc | 167 bool has_alpha = false; in CreateMouseCursorFromHCursor() local 186 has_alpha = HasAlphaChannel(reinterpret_cast<uint32_t*>(image->data()), in CreateMouseCursorFromHCursor() 203 if (!has_alpha) { in CreateMouseCursorFromHCursor()
|
/external/skia/src/codec/ |
D | SkWebpCodec.cpp | 124 const bool hasAlpha = SkToBool(frame.has_alpha) in NewFromStream() 267 Frame* frame = fFrameHolder.appendNewFrame(iter.has_alpha); in onGetFrameCount() 511 && frame.has_alpha; in onGetPixels() 523 if (!frame.has_alpha) { in onGetPixels() 582 const auto srcAlpha = 0 == index ? srcInfo.alphaType() : alpha_type(frame.has_alpha); in onGetPixels()
|
/external/webp/src/enc/ |
D | picture_csp_enc.c | 843 const int has_alpha = CheckNonOpaque(a_ptr, width, height, step, rgb_stride); in ImportYUVAFromRGBA() local 846 picture->colorspace = has_alpha ? WEBP_YUV420A : WEBP_YUV420; in ImportYUVAFromRGBA() 858 if (has_alpha) { in ImportYUVAFromRGBA() 871 if (has_alpha) { in ImportYUVAFromRGBA() 900 int rows_have_alpha = has_alpha; in ImportYUVAFromRGBA() 919 if (has_alpha) { in ImportYUVAFromRGBA() 941 if (has_alpha) a_ptr += 2 * rgb_stride; in ImportYUVAFromRGBA() 944 int row_has_alpha = has_alpha; in ImportYUVAFromRGBA()
|
D | picture_enc.c | 93 const int has_alpha = (int)picture->colorspace & WEBP_CSP_ALPHA_BIT; in WebPPictureAllocYUVA() local 112 a_width = has_alpha ? width : 0; in WebPPictureAllocYUVA()
|
D | picture_tools_enc.c | 163 const int has_alpha = pic->colorspace & WEBP_CSP_ALPHA_BIT; in WebPBlendAlpha() local 164 if (!has_alpha || pic->a == NULL) return; // nothing to do in WebPBlendAlpha()
|
D | vp8l_enc.c | 1063 static int WriteRealAlphaAndVersion(VP8LBitWriter* const bw, int has_alpha) { in WriteRealAlphaAndVersion() argument 1064 VP8LPutBits(bw, has_alpha, 1); in WriteRealAlphaAndVersion() 1575 int has_alpha; in VP8LEncodeImage() local 1623 has_alpha = WebPPictureHasTransparency(picture); in VP8LEncodeImage() 1625 if (!WriteRealAlphaAndVersion(&bw, has_alpha)) { in VP8LEncodeImage()
|
/external/pdfium/core/fxge/ge/ |
D | cfx_renderdevice.cpp | 212 const bool has_alpha = bitmap->GetFormat() == FXDIB_Argb; in DrawNormalTextHelper() local 217 const int Bpp = has_alpha ? 4 : bitmap->GetBPP() / 8; in DrawNormalTextHelper() 218 auto* pNormalizeSrcFunc = has_alpha ? &NormalizeArgbSrc : &NormalizeRgbDst; in DrawNormalTextHelper() 219 auto* pNormalizeDstFunc = has_alpha ? &NormalizeArgbDest : &NormalizeRgbSrc; in DrawNormalTextHelper() 220 auto* pSetAlpha = has_alpha ? &SetAlpha : &SetAlphaDoNothing; in DrawNormalTextHelper() 232 if (has_alpha) { in DrawNormalTextHelper()
|
/external/webp/src/webp/ |
D | demux.h | 149 int has_alpha; // True if the frame contains transparency. member
|
D | decode.h | 411 int has_alpha; // True if the bitstream contains an alpha channel. member
|
/external/webp/include/webp/ |
D | demux.h | 149 int has_alpha; // True if the frame contains transparency. member
|
D | decode.h | 411 int has_alpha; // True if the bitstream contains an alpha channel. member
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_state_fs.c | 1746 bool has_alpha = false; in generate_unswizzled_blend() local 1827 has_alpha = true; in generate_unswizzled_blend() 1838 has_alpha = true; in generate_unswizzled_blend() 1848 assert (!has_alpha); in generate_unswizzled_blend() 1863 has_alpha = true; in generate_unswizzled_blend() 1897 if (dst_channels == 3 && !has_alpha) { in generate_unswizzled_blend() 1936 if (dst_channels == 3 && !has_alpha) { in generate_unswizzled_blend() 1961 if (dst_channels == 3 && !has_alpha) { in generate_unswizzled_blend() 2160 if (!has_alpha) { in generate_unswizzled_blend() 2315 has_alpha ? NULL : src_alpha[i], in generate_unswizzled_blend() [all …]
|
/external/webp/src/demux/ |
D | demux.c | 203 frame->has_alpha_ |= features->has_alpha; in SetFrameInfo() 408 const int has_alpha = !!(dmux->feature_flags_ & ALPHA_FLAG); in ParseSingleImage() local 410 if (!has_alpha && frame->img_components_[1].size_ > 0) { in ParseSingleImage() 839 iter->has_alpha = frame->has_alpha_; in SynthesizeFrame()
|
/external/webrtc/webrtc/base/ |
D | x11windowpicker.cc | 576 bool has_alpha) { in ArgbToRgba() argument 594 *p = has_alpha ? rgba & 0xFF : 0xFF; in ArgbToRgba()
|
/external/zopfli/src/zopflipng/lodepng/ |
D | lodepng.cpp | 3214 unsigned has_alpha, const unsigned char* in, in getPixelColorsRGBA8() argument 3218 unsigned num_channels = has_alpha ? 4 : 3; in getPixelColorsRGBA8() 3227 if(has_alpha) buffer[3] = mode->key_defined && in[i] == mode->key_r ? 0 : 255; in getPixelColorsRGBA8() 3235 …if(has_alpha) buffer[3] = mode->key_defined && 256U * in[i * 2 + 0] + in[i * 2 + 1] == mode->key_r… in getPixelColorsRGBA8() 3246 if(has_alpha) buffer[3] = mode->key_defined && value == mode->key_r ? 0 : 255; in getPixelColorsRGBA8() 3259 if(has_alpha) buffer[3] = mode->key_defined && buffer[0] == mode->key_r in getPixelColorsRGBA8() 3270 if(has_alpha) buffer[3] = mode->key_defined in getPixelColorsRGBA8() 3291 if(has_alpha) buffer[3] = 255; in getPixelColorsRGBA8() 3298 if(has_alpha) buffer[3] = mode->palette[index * 4 + 3]; in getPixelColorsRGBA8() 3309 if(has_alpha) buffer[3] = in[i * 2 + 1]; in getPixelColorsRGBA8() [all …]
|
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/ |
D | fd4_emit.c | 698 bool has_alpha = util_format_has_alpha(format); in fd4_emit_state() local 707 if (has_alpha) { in fd4_emit_state()
|
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/ |
D | fd5_emit.c | 601 bool has_alpha = util_format_has_alpha(format); in fd5_emit_state() local 610 if (has_alpha) { in fd5_emit_state()
|
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/ |
D | fd3_emit.c | 732 bool has_alpha = util_format_has_alpha(format); in fd3_emit_state() local 745 if (has_alpha) { in fd3_emit_state()
|