Home
last modified time | relevance | path

Searched refs:has_alpha (Results 1 – 25 of 35) sorted by relevance

12

/external/skia/src/opts/
DSkBitmapProcState_opts_SSSE3.cpp176 template<bool has_alpha, int scale>
182 if (has_alpha) { in ScaleFourPixels()
206 template<bool has_alpha>
215 return ScaleFourPixels<has_alpha, 4>(&sum, alpha); in ProcessPixelPairZeroSubY()
223 template<bool has_alpha>
237 return ScaleFourPixels<has_alpha, 4>(&sum, alpha); in ProcessOnePixelZeroSubY()
287 template<bool has_alpha>
312 return ScaleFourPixels<has_alpha, 8>(&sum0, alpha); in ProcessTwoPixelPairs()
316 template<bool has_alpha>
345 return ScaleFourPixels<has_alpha, 8>(&sum0, alpha); in ProcessTwoPixelPairsDXDY()
[all …]
DSkBitmapFilter_opts_SSE2.h19 bool has_alpha);
27 bool has_alpha);
DSkBitmapFilter_opts_SSE2.cpp302 template<bool has_alpha>
378 if (has_alpha) { in convolveVertically_SSE2()
445 if (has_alpha) { in convolveVertically_SSE2()
475 bool has_alpha) { in convolveVertically_SSE2() argument
476 if (has_alpha) { in convolveVertically_SSE2()
/external/webp/src/enc/
Dpicture_psnr.c114 int has_alpha, uv_w, uv_h; in WebPPictureDistortion() local
120 has_alpha = !!(src->colorspace & WEBP_CSP_ALPHA_BIT); in WebPPictureDistortion()
121 if (has_alpha != !!(ref->colorspace & WEBP_CSP_ALPHA_BIT) || in WebPPictureDistortion()
122 (has_alpha && (src->a == NULL || ref->a == NULL))) { in WebPPictureDistortion()
135 if (has_alpha) { in WebPPictureDistortion()
149 if (has_alpha) { in WebPPictureDistortion()
Dpicture_csp.c845 const int has_alpha = CheckNonOpaque(a_ptr, width, height, step, rgb_stride); in ImportYUVAFromRGBA() local
848 picture->colorspace = has_alpha ? WEBP_YUV420A : WEBP_YUV420; in ImportYUVAFromRGBA()
860 if (has_alpha) { in ImportYUVAFromRGBA()
873 if (has_alpha) { in ImportYUVAFromRGBA()
902 int rows_have_alpha = has_alpha; in ImportYUVAFromRGBA()
920 if (has_alpha) { in ImportYUVAFromRGBA()
945 int row_has_alpha = has_alpha; in ImportYUVAFromRGBA()
Dpicture.c92 const int has_alpha = picture->colorspace & WEBP_CSP_ALPHA_BIT; in WebPPictureAllocYUVA() local
111 a_width = has_alpha ? width : 0; in WebPPictureAllocYUVA()
Dpicture_tools.c163 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()
/external/webrtc/webrtc/modules/desktop_capture/win/
Dcursor.cc167 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/webp/src/dec/
Dio.c187 const int has_alpha = WebPDispatchAlpha(alpha, io->width, mb_w, in EmitAlphaRGB() local
192 if (has_alpha && WebPIsPremultipliedMode(colorspace)) { in EmitAlphaRGB()
288 const int has_alpha = WebPIsAlphaMode(p->output->colorspace); in InitYUVRescaler() local
302 if (has_alpha) { in InitYUVRescaler()
321 if (has_alpha) { in InitYUVRescaler()
462 const int has_alpha = WebPIsAlphaMode(p->output->colorspace); in InitRGBRescaler() local
474 if (has_alpha) { in InitRGBRescaler()
497 if (has_alpha) { in InitRGBRescaler()
Dwebp.c281 int* const has_alpha, in ParseHeadersInternal() argument
327 if (has_alpha != NULL) *has_alpha = !!(flags & ALPHA_FLAG); in ParseHeadersInternal()
385 if (!VP8LGetInfo(data, data_size, &image_width, &image_height, has_alpha)) { in ParseHeadersInternal()
404 if (has_alpha != NULL) { in ParseHeadersInternal()
407 *has_alpha |= (hdrs.alpha_data != NULL); in ParseHeadersInternal()
690 &features->has_alpha, &features->has_animation, in GetFeatures()
Ddecode_vp8.h179 int* const width, int* const height, int* const has_alpha);
Dvp8l.c118 int* const has_alpha) { in ReadImageInfo() argument
122 *has_alpha = VP8LReadBits(br, 1); in ReadImageInfo()
128 int* const width, int* const height, int* const has_alpha) { in VP8LGetInfo() argument
142 if (has_alpha != NULL) *has_alpha = a; in VP8LGetInfo()
1533 int width, height, has_alpha; in VP8LDecodeHeader() local
1544 if (!ReadImageInfo(&dec->br_, &width, &height, &has_alpha)) { in VP8LDecodeHeader()
/external/opencv3/3rdparty/libwebp/enc/
Dpicture.c44 const int has_alpha = picture->colorspace & WEBP_CSP_ALPHA_BIT; in WebPPictureAlloc() local
78 a_width = has_alpha ? width : 0; in WebPPictureAlloc()
602 const int has_alpha = CheckNonOpaque(a_ptr, width, height, step, rgb_stride); in ImportYUVAFromRGBA() local
606 if (has_alpha) { in ImportYUVAFromRGBA()
662 if (has_alpha) { in ImportYUVAFromRGBA()
965 int has_alpha; in WebPPictureDistortion() local
981 has_alpha = !!(src->colorspace & WEBP_CSP_ALPHA_BIT); in WebPPictureDistortion()
982 if (has_alpha != !!(ref->colorspace & WEBP_CSP_ALPHA_BIT) || in WebPPictureDistortion()
983 (has_alpha && (src->a == NULL || ref->a == NULL))) { in WebPPictureDistortion()
999 sse[3] = has_alpha ? AccumulateLSIM(src->a, src->a_stride, in WebPPictureDistortion()
[all …]
Dvp8l.c747 static int WriteRealAlphaAndVersion(VP8LBitWriter* const bw, int has_alpha) { in WriteRealAlphaAndVersion() argument
748 VP8LWriteBits(bw, 1, has_alpha); in WriteRealAlphaAndVersion()
1084 int has_alpha; in VP8LEncodeImage() local
1127 has_alpha = WebPPictureHasTransparency(picture); in VP8LEncodeImage()
1129 if (!WriteRealAlphaAndVersion(&bw, has_alpha)) { in VP8LEncodeImage()
/external/opencv3/3rdparty/libwebp/dec/
Dwebp.c286 int* const has_alpha, in ParseHeadersInternal() argument
320 if (has_alpha != NULL) *has_alpha = !!(flags & ALPHA_FLAG); in ParseHeadersInternal()
363 if (!VP8LGetInfo(data, data_size, width, height, has_alpha)) { in ParseHeadersInternal()
368 if (has_alpha != NULL) { in ParseHeadersInternal()
371 *has_alpha |= (hdrs.alpha_data != NULL); in ParseHeadersInternal()
650 &features->has_alpha, &features->has_animation, in GetFeatures()
Dio.c310 const int has_alpha = WebPIsAlphaMode(p->output->colorspace); in InitYUVRescaler() local
324 if (has_alpha) { in InitYUVRescaler()
348 if (has_alpha) { in InitYUVRescaler()
483 const int has_alpha = WebPIsAlphaMode(p->output->colorspace); in InitRGBRescaler() local
495 if (has_alpha) { in InitRGBRescaler()
519 if (has_alpha) { in InitRGBRescaler()
Ddecode_vp8.h178 int* const width, int* const height, int* const has_alpha);
Dvp8l.c90 int* const has_alpha) { in ReadImageInfo() argument
97 *has_alpha = VP8LReadBits(br, 1); in ReadImageInfo()
103 int* const width, int* const height, int* const has_alpha) { in VP8LGetInfo() argument
115 if (has_alpha != NULL) *has_alpha = a; in VP8LGetInfo()
1173 int width, height, has_alpha; in VP8LDecodeHeader() local
1184 if (!ReadImageInfo(&dec->br_, &width, &height, &has_alpha)) { in VP8LDecodeHeader()
/external/opencv3/3rdparty/libwebp/mux/
Dmuxread.c280 int has_alpha = 0; in WebPMuxGetFeatures() local
282 &has_alpha)) { in WebPMuxGetFeatures()
285 if (has_alpha) { in WebPMuxGetFeatures()
/external/webp/include/webp/
Ddemux.h149 int has_alpha; // True if the frame contains transparency. member
/external/webp/src/webp/
Ddemux.h149 int has_alpha; // True if the frame contains transparency. member
/external/opencv3/3rdparty/include/ffmpeg_/libavcodec/
Davcodec.h4436 int has_alpha);
4457 int has_alpha, int *loss_ptr);
4490 … enum AVPixelFormat src_pix_fmt, int has_alpha, int *loss_ptr);
4496 int has_alpha, int *loss_ptr);
4499 … enum AVPixelFormat src_pix_fmt, int has_alpha, int *loss_ptr);
/external/webp/src/demux/
Ddemux.c203 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()
840 iter->has_alpha = frame->has_alpha_; in SynthesizeFrame()
/external/opencv3/modules/imgcodecs/src/
Dgrfmt_webp.cpp144 if (features.has_alpha) in readHeader()
/external/skia/src/codec/
DSkWebpCodec.cpp70 SkToBool(features.has_alpha) ? kUnpremul_SkAlphaType in webp_parse_header()

12