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

12

/external/chromium_org/skia/ext/
H A Dconvolver_mips_dspr2.cc16 bool has_alpha) {
20 if (has_alpha) {
239 bool has_alpha) {
246 if (has_alpha) {
13 ConvolveHorizontally_mips_dspr2(const unsigned char* src_data, const ConvolutionFilter1D& filter, unsigned char* out_row, bool has_alpha) argument
234 ConvolveVertically_mips_dspr2(const ConvolutionFilter1D::Fixed* filter_val, int filter_length, unsigned char* const* source_data_rows, int pixel_width, unsigned char* out_row, bool has_alpha) argument
H A Dconvolver_SSE2.cc20 bool /*has_alpha*/) {
268 template<bool has_alpha>
344 if (has_alpha) {
411 if (has_alpha) {
441 bool has_alpha) {
442 if (has_alpha) {
436 ConvolveVertically_SSE2(const ConvolutionFilter1D::Fixed* filter_values, int filter_length, unsigned char* const* source_data_rows, int pixel_width, unsigned char* out_row, bool has_alpha) argument
/external/chromium_org/content/browser/device_orientation/
H A Ddata_fetcher_shared_memory_win.cc107 bool has_alpha, has_beta, has_gamma; variable
110 &has_alpha);
119 buffer_->data.hasAlpha = has_alpha;
125 buffer_->data.hasAbsolute = has_alpha || has_beta || has_gamma;
194 bool has_alpha, has_beta, has_gamma; variable
197 new_data, &alpha, &has_alpha);
206 buffer_->data.hasRotationRateAlpha = has_alpha;
/external/chromium_org/media/filters/
H A Dvideo_frame_stream_unittest.cc79 void OnInitialized(bool success, bool has_alpha) { argument
H A Dvideo_renderer_impl.cc196 bool has_alpha) {
217 set_opaque_cb_.Run(!has_alpha);
195 OnVideoFrameStreamInitialized(bool success, bool has_alpha) argument
/external/chromium_org/third_party/libwebp/webp/
H A Ddemux.h139 int has_alpha; // True if the frame or fragment contains transparency. member in struct:WebPIterator
H A Ddecode.h405 int has_alpha; // True if the bitstream contains an alpha channel. member in struct:WebPBitstreamFeatures
/external/webp/include/webp/
H A Ddemux.h139 int has_alpha; // True if the frame or fragment contains transparency. member in struct:WebPIterator
H A Ddecode.h405 int has_alpha; // True if the bitstream contains an alpha channel. member in struct:WebPBitstreamFeatures
/external/chromium_org/third_party/skia/src/opts/
H A DSkBitmapFilter_opts_SSE2.cpp187 bool /*has_alpha*/) {
435 template<bool has_alpha>
511 if (has_alpha) {
578 if (has_alpha) {
608 bool has_alpha) {
609 if (has_alpha) {
603 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/skia/src/opts/
H A DSkBitmapFilter_opts_SSE2.cpp187 bool /*has_alpha*/) {
435 template<bool has_alpha>
511 if (has_alpha) {
578 if (has_alpha) {
608 bool has_alpha) {
609 if (has_alpha) {
603 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/examples/
H A Ddwebp.c97 uint32_t width, uint32_t height, int has_alpha) {
103 WICPixelFormatGUID pixel_format = has_alpha ? GUID_WICPixelFormat32bppBGRA
144 const int has_alpha = (buffer->colorspace == MODE_BGRA); local
148 rgb, stride, width, height, has_alpha));
162 const int has_alpha = (buffer->colorspace == MODE_RGBA); local
183 has_alpha ? PNG_COLOR_TYPE_RGBA : PNG_COLOR_TYPE_RGB,
473 output_buffer->colorspace = bitstream->has_alpha ? MODE_BGRA : MODE_BGR;
475 output_buffer->colorspace = bitstream->has_alpha ? MODE_RGBA : MODE_RGB;
486 output_buffer->colorspace = bitstream->has_alpha ? MODE_YUVA : MODE_YUV;
514 bitstream->has_alpha
95 WriteUsingWIC(const char* out_file_name, REFGUID container_guid, unsigned char* rgb, int stride, uint32_t width, uint32_t height, int has_alpha) argument
[all...]
/external/chromium_org/third_party/libwebp/dec/
H A Dio.c310 const int has_alpha = WebPIsAlphaMode(p->output->colorspace); local
324 if (has_alpha) {
348 if (has_alpha) {
483 const int has_alpha = WebPIsAlphaMode(p->output->colorspace); local
495 if (has_alpha) {
519 if (has_alpha) {
H A Dwebp.c271 // Fetch '*width', '*height', '*has_alpha' and fill out 'headers' based on
286 int* const has_alpha,
327 if (has_alpha != NULL) *has_alpha = !!(flags & ALPHA_FLAG);
373 if (!VP8LGetInfo(data, data_size, &image_width, &image_height, has_alpha)) {
385 if (has_alpha != NULL) {
388 *has_alpha |= (hdrs.alpha_data != NULL);
403 // fill out headers, ignore width/height/has_alpha.
667 &features->has_alpha, &features->has_animation,
282 ParseHeadersInternal(const uint8_t* data, size_t data_size, int* const width, int* const height, int* const has_alpha, int* const has_animation, WebPHeaderStructure* const headers) argument
H A Dvp8l.c92 int* const has_alpha) {
96 *has_alpha = VP8LReadBits(br, 1);
102 int* const width, int* const height, int* const has_alpha) {
116 if (has_alpha != NULL) *has_alpha = a;
1174 int width, height, has_alpha; local
1185 if (!ReadImageInfo(&dec->br_, &width, &height, &has_alpha)) {
90 ReadImageInfo(VP8LBitReader* const br, int* const width, int* const height, int* const has_alpha) argument
101 VP8LGetInfo(const uint8_t* data, size_t data_size, int* const width, int* const height, int* const has_alpha) argument
/external/webp/src/dec/
H A Dio.c310 const int has_alpha = WebPIsAlphaMode(p->output->colorspace); local
324 if (has_alpha) {
348 if (has_alpha) {
483 const int has_alpha = WebPIsAlphaMode(p->output->colorspace); local
495 if (has_alpha) {
519 if (has_alpha) {
H A Dwebp.c271 // Fetch '*width', '*height', '*has_alpha' and fill out 'headers' based on
286 int* const has_alpha,
320 if (has_alpha != NULL) *has_alpha = !!(flags & ALPHA_FLAG);
363 if (!VP8LGetInfo(data, data_size, width, height, has_alpha)) {
368 if (has_alpha != NULL) {
371 *has_alpha |= (hdrs.alpha_data != NULL);
386 // fill out headers, ignore width/height/has_alpha.
650 &features->has_alpha, &features->has_animation,
282 ParseHeadersInternal(const uint8_t* data, size_t data_size, int* const width, int* const height, int* const has_alpha, int* const has_animation, WebPHeaderStructure* const headers) argument
H A Dvp8l.c90 int* const has_alpha) {
97 *has_alpha = VP8LReadBits(br, 1);
103 int* const width, int* const height, int* const has_alpha) {
115 if (has_alpha != NULL) *has_alpha = a;
1173 int width, height, has_alpha; local
1184 if (!ReadImageInfo(&dec->br_, &width, &height, &has_alpha)) {
88 ReadImageInfo(VP8LBitReader* const br, int* const width, int* const height, int* const has_alpha) argument
102 VP8LGetInfo(const uint8_t* data, size_t data_size, int* const width, int* const height, int* const has_alpha) argument
/external/chromium_org/third_party/libjingle/source/talk/base/
H A Dlinuxwindowpicker.cc597 int stride_x, int stride_y, bool has_alpha) {
615 *p = has_alpha ? rgba & 0xFF : 0xFF;
596 ArgbToRgba(uint32* argb_data, int x, int y, int w, int h, int stride_x, int stride_y, bool has_alpha) argument
/external/chromium_org/third_party/libwebp/demux/
H A Ddemux.c259 frame->has_alpha_ |= features.has_alpha;
440 const int has_alpha = !!(dmux->feature_flags_ & ALPHA_FLAG); local
442 if (!has_alpha && frame->img_components_[1].size_ > 0) {
847 iter->has_alpha = fragment->has_alpha_;
/external/chromium_org/third_party/libwebp/enc/
H A Dpicture.c44 const int has_alpha = picture->colorspace & WEBP_CSP_ALPHA_BIT; local
78 a_width = has_alpha ? width : 0;
602 const int has_alpha = CheckNonOpaque(a_ptr, width, height, step, rgb_stride); local
606 if (has_alpha) {
662 if (has_alpha) {
965 int has_alpha; local
981 has_alpha = !!(src->colorspace & WEBP_CSP_ALPHA_BIT);
982 if (has_alpha != !!(ref->colorspace & WEBP_CSP_ALPHA_BIT) ||
983 (has_alpha && (src->a == NULL || ref->a == NULL))) {
999 sse[3] = has_alpha
[all...]
H A Dvp8l.c747 static int WriteRealAlphaAndVersion(VP8LBitWriter* const bw, int has_alpha) { argument
748 VP8LWriteBits(bw, 1, has_alpha);
1084 int has_alpha; local
1127 has_alpha = WebPPictureHasTransparency(picture);
1129 if (!WriteRealAlphaAndVersion(&bw, has_alpha)) {
/external/webp/src/demux/
H A Ddemux.c259 frame->has_alpha_ |= features.has_alpha;
440 const int has_alpha = !!(dmux->feature_flags_ & ALPHA_FLAG); local
442 if (!has_alpha && frame->img_components_[1].size_ > 0) {
839 iter->has_alpha = fragment->has_alpha_;
/external/webp/src/enc/
H A Dpicture.c44 const int has_alpha = picture->colorspace & WEBP_CSP_ALPHA_BIT; local
78 a_width = has_alpha ? width : 0;
602 const int has_alpha = CheckNonOpaque(a_ptr, width, height, step, rgb_stride); local
606 if (has_alpha) {
662 if (has_alpha) {
965 int has_alpha; local
981 has_alpha = !!(src->colorspace & WEBP_CSP_ALPHA_BIT);
982 if (has_alpha != !!(ref->colorspace & WEBP_CSP_ALPHA_BIT) ||
983 (has_alpha && (src->a == NULL || ref->a == NULL))) {
999 sse[3] = has_alpha
[all...]
H A Dvp8l.c747 static int WriteRealAlphaAndVersion(VP8LBitWriter* const bw, int has_alpha) { argument
748 VP8LWriteBits(bw, 1, has_alpha);
1084 int has_alpha; local
1127 has_alpha = WebPPictureHasTransparency(picture);
1129 if (!WriteRealAlphaAndVersion(&bw, has_alpha)) {

Completed in 1513 milliseconds

12