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

/external/skia/src/opts/
H A DSkBitmapFilter_opts_SSE2.h19 bool has_alpha);
27 bool has_alpha);
H A DSkBitmapProcState_opts_SSSE3.cpp171 // by alpha when has_alpha is true.
176 template<bool has_alpha, int scale>
182 if (has_alpha) {
197 // @param alpha when has_alpha is true, scale all resulting components by this
201 // (Ra0 * (16 - x0) + Ra1 * x0) * alpha) (when has_alpha is true)
206 template<bool has_alpha>
215 return ScaleFourPixels<has_alpha, 4>(&sum, alpha);
223 template<bool has_alpha>
237 return ScaleFourPixels<has_alpha, 4>(&sum, alpha);
277 // the results by, when has_alpha i
[all...]
H A DSkBitmapFilter_opts_SSE2.cpp48 bool /*has_alpha*/) {
302 template<bool has_alpha>
378 if (has_alpha) {
445 if (has_alpha) {
475 bool has_alpha) {
476 if (has_alpha) {
470 convolveVertically_SSE2(const SkConvolutionFilter1D::ConvolutionFixed* filter_values, int filter_length, unsigned char* const* source_data_rows, int pixel_width, unsigned char* out_row, bool has_alpha) argument
/external/webp/src/enc/
H A Dpicture_psnr.c114 int has_alpha, uv_w, uv_h; local
120 has_alpha = !!(src->colorspace & WEBP_CSP_ALPHA_BIT);
121 if (has_alpha != !!(ref->colorspace & WEBP_CSP_ALPHA_BIT) ||
122 (has_alpha && (src->a == NULL || ref->a == NULL))) {
135 if (has_alpha) {
149 if (has_alpha) {
H A Dpicture.c92 const int has_alpha = picture->colorspace & WEBP_CSP_ALPHA_BIT; local
111 a_width = has_alpha ? width : 0;
H A Dpicture_tools.c163 const int has_alpha = pic->colorspace & WEBP_CSP_ALPHA_BIT; local
164 if (!has_alpha || pic->a == NULL) return; // nothing to do
H A Dpicture_csp.c845 const int has_alpha = CheckNonOpaque(a_ptr, width, height, step, rgb_stride); local
848 picture->colorspace = has_alpha ? WEBP_YUV420A : WEBP_YUV420;
860 if (has_alpha) {
873 if (has_alpha) {
902 int rows_have_alpha = has_alpha;
920 if (has_alpha) {
945 int row_has_alpha = has_alpha;
H A Dvp8l.c1077 static int WriteRealAlphaAndVersion(VP8LBitWriter* const bw, int has_alpha) { argument
1078 VP8LPutBits(bw, has_alpha, 1);
1505 int has_alpha; local
1553 has_alpha = WebPPictureHasTransparency(picture);
1555 if (!WriteRealAlphaAndVersion(&bw, has_alpha)) {
/external/webp/src/dec/
H A Ddecode_vp8.h176 // width/height/has_alpha can be passed NULL.
179 int* const width, int* const height, int* const has_alpha);
H A Dio.c187 const int has_alpha = WebPDispatchAlpha(alpha, io->width, mb_w, local
191 // has_alpha is true if there's non-trivial alpha to premultiply with.
192 if (has_alpha && WebPIsPremultipliedMode(colorspace)) {
288 const int has_alpha = WebPIsAlphaMode(p->output->colorspace); local
302 if (has_alpha) {
321 if (has_alpha) {
462 const int has_alpha = WebPIsAlphaMode(p->output->colorspace); local
474 if (has_alpha) {
497 if (has_alpha) {
H A Dwebp.c266 // Fetch '*width', '*height', '*has_alpha' and fill out 'headers' based on
281 int* const has_alpha,
327 if (has_alpha != NULL) *has_alpha = !!(flags & ALPHA_FLAG);
385 if (!VP8LGetInfo(data, data_size, &image_width, &image_height, has_alpha)) {
404 if (has_alpha != NULL) {
407 *has_alpha |= (hdrs.alpha_data != NULL);
422 // fill out headers, ignore width/height/has_alpha.
690 &features->has_alpha, &features->has_animation,
277 ParseHeadersInternal(const uint8_t* data, size_t data_size, int* const width, int* const height, int* const has_alpha, int* const has_animation, int* const format, WebPHeaderStructure* const headers) argument
H A Dvp8l.c118 int* const has_alpha) {
122 *has_alpha = VP8LReadBits(br, 1);
128 int* const width, int* const height, int* const has_alpha) {
142 if (has_alpha != NULL) *has_alpha = a;
1533 int width, height, has_alpha; local
1544 if (!ReadImageInfo(&dec->br_, &width, &height, &has_alpha)) {
116 ReadImageInfo(VP8LBitReader* const br, int* const width, int* const height, int* const has_alpha) argument
127 VP8LGetInfo(const uint8_t* data, size_t data_size, int* const width, int* const height, int* const has_alpha) argument
/external/webrtc/webrtc/modules/desktop_capture/win/
H A Dcursor.cc167 bool has_alpha = false; local
186 has_alpha = HasAlphaChannel(reinterpret_cast<uint32_t*>(image->data()),
203 if (!has_alpha) {
/external/webp/include/webp/
H A Ddemux.h149 int has_alpha; // True if the frame contains transparency. member in struct:WebPIterator
H A Ddecode.h408 int has_alpha; // True if the bitstream contains an alpha channel. member in struct:WebPBitstreamFeatures
/external/webp/src/webp/
H A Ddemux.h149 int has_alpha; // True if the frame contains transparency. member in struct:WebPIterator
H A Ddecode.h408 int has_alpha; // True if the bitstream contains an alpha channel. member in struct:WebPBitstreamFeatures
/external/skia/src/codec/
H A DSkWebpCodec.cpp70 SkToBool(features.has_alpha) ? kUnpremul_SkAlphaType
/external/webp/src/demux/
H A Ddemux.c203 frame->has_alpha_ |= features->has_alpha;
408 const int has_alpha = !!(dmux->feature_flags_ & ALPHA_FLAG); local
410 if (!has_alpha && frame->img_components_[1].size_ > 0) {
840 iter->has_alpha = frame->has_alpha_;
H A Danim_decode.c178 } else if ((!curr->has_alpha || curr->blend_method == WEBP_MUX_NO_BLEND) &&
/external/webrtc/webrtc/base/
H A Dx11windowpicker.cc576 bool has_alpha) {
594 *p = has_alpha ? rgba & 0xFF : 0xFF;
569 ArgbToRgba(uint32_t* argb_data, int x, int y, int w, int h, int stride_x, int stride_y, bool has_alpha) argument
/external/zopfli/src/zopflipng/lodepng/
H A Dlodepng.cpp3211 enough memory, if has_alpha is true the output is RGBA. mode has the color mode
3214 unsigned has_alpha, const unsigned char* in,
3218 unsigned num_channels = has_alpha ? 4 : 3;
3227 if(has_alpha) buffer[3] = mode->key_defined && in[i] == mode->key_r ? 0 : 255;
3235 if(has_alpha) buffer[3] = mode->key_defined && 256U * in[i * 2 + 0] + in[i * 2 + 1] == mode->key_r ? 0 : 255;
3246 if(has_alpha) buffer[3] = mode->key_defined && value == mode->key_r ? 0 : 255;
3259 if(has_alpha) buffer[3] = mode->key_defined && buffer[0] == mode->key_r
3270 if(has_alpha) buffer[3] = mode->key_defined
3291 if(has_alpha) buffer[3] = 255;
3298 if(has_alpha) buffe
3213 getPixelColorsRGBA8(unsigned char* buffer, size_t numpixels, unsigned has_alpha, const unsigned char* in, const LodePNGColorMode* mode, unsigned fix_png) argument
[all...]
/external/ImageMagick/coders/
H A Dwebp.c285 image->alpha_trait=features->has_alpha != 0 ? BlendPixelTrait :
/external/skia/src/images/
H A DSkImageDecoder_libwebp.cpp77 *alpha = features.has_alpha;
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.swt.gtk.linux.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...

Completed in 461 milliseconds