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

123

/external/chromium_org/skia/ext/
H A Dconvolver_mips_dspr2.h17 bool has_alpha);
22 bool has_alpha);
H A Dconvolver_SSE2.h17 bool has_alpha);
24 bool has_alpha);
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.cc128 template<bool has_alpha>
151 if (has_alpha)
160 if (has_alpha)
167 if (has_alpha)
178 template<bool has_alpha>
198 if (has_alpha)
207 if (has_alpha)
214 if (has_alpha) {
343 bool has_alpha);
352 bool has_alpha);
[all...]
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/third_party/skia/src/opts/
H A DSkBitmapFilter_opts_SSE2.h23 bool has_alpha);
30 bool has_alpha);
H A DSkBitmapProcState_opts_SSSE3.cpp170 // by alpha when has_alpha is true.
175 template<bool has_alpha, int scale>
181 if (has_alpha) {
196 // @param alpha when has_alpha is true, scale all resulting components by this
200 // (Ra0 * (16 - x0) + Ra1 * x0) * alpha) (when has_alpha is true)
205 template<bool has_alpha>
214 return ScaleFourPixels<has_alpha, 4>(&sum, alpha);
222 template<bool has_alpha>
236 return ScaleFourPixels<has_alpha, 4>(&sum, alpha);
276 // the results by, when has_alpha i
[all...]
H A DSkBitmapFilter_opts_SSE2.cpp116 bool /*has_alpha*/) {
364 template<bool has_alpha>
440 if (has_alpha) {
507 if (has_alpha) {
537 bool has_alpha) {
538 if (has_alpha) {
532 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.h25 bool has_alpha);
32 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...]
/external/chromium_org/gpu/command_buffer/service/
H A Dgles2_cmd_decoder_unittest_extensions.cc25 init.has_alpha = true;
/external/chromium_org/third_party/libwebp/enc/
H A Dpicture_psnr.c67 int has_alpha; local
83 has_alpha = !!(src->colorspace & WEBP_CSP_ALPHA_BIT);
84 if (has_alpha != !!(ref->colorspace & WEBP_CSP_ALPHA_BIT) ||
85 (has_alpha && (src->a == NULL || ref->a == NULL))) {
101 sse[3] = has_alpha ? AccumulateLSIM(src->a, src->a_stride,
112 if (has_alpha) {
129 if (has_alpha) {
H A Dpicture.c91 const int has_alpha = picture->colorspace & WEBP_CSP_ALPHA_BIT; local
110 a_width = has_alpha ? width : 0;
H A Dpicture_tools.c143 const int has_alpha = pic->colorspace & WEBP_CSP_ALPHA_BIT; local
144 if (!has_alpha || pic->a == NULL) return; // nothing to do
/external/webp/src/enc/
H A Dpicture_psnr.c67 int has_alpha; local
83 has_alpha = !!(src->colorspace & WEBP_CSP_ALPHA_BIT);
84 if (has_alpha != !!(ref->colorspace & WEBP_CSP_ALPHA_BIT) ||
85 (has_alpha && (src->a == NULL || ref->a == NULL))) {
101 sse[3] = has_alpha ? AccumulateLSIM(src->a, src->a_stride,
112 if (has_alpha) {
129 if (has_alpha) {
H A Dpicture.c91 const int has_alpha = picture->colorspace & WEBP_CSP_ALPHA_BIT; local
110 a_width = has_alpha ? width : 0;
H A Dpicture_tools.c143 const int has_alpha = pic->colorspace & WEBP_CSP_ALPHA_BIT; local
144 if (!has_alpha || pic->a == NULL) return; // nothing to do
/external/chromium_org/content/browser/device_sensors/
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/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 Ddecode_vp8.h176 // width/height/has_alpha can be passed NULL.
179 int* const width, int* const height, int* const has_alpha);
H A Dwebp.c273 // Fetch '*width', '*height', '*has_alpha' and fill out 'headers' based on
288 int* const has_alpha,
334 if (has_alpha != NULL) *has_alpha = !!(flags & ALPHA_FLAG);
386 if (!VP8LGetInfo(data, data_size, &image_width, &image_height, has_alpha)) {
398 if (has_alpha != NULL) {
401 *has_alpha |= (hdrs.alpha_data != NULL);
416 // fill out headers, ignore width/height/has_alpha.
686 &features->has_alpha, &features->has_animation,
284 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
/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);
/external/chromium_org/third_party/libwebp/webp/
H A Ddemux.h147 int has_alpha; // True if the frame or fragment contains transparency. member in struct:WebPIterator
/external/webp/include/webp/
H A Ddemux.h147 int has_alpha; // True if the frame or fragment contains transparency. member in struct:WebPIterator
/external/chromium_org/third_party/webrtc/modules/desktop_capture/win/
H A Dcursor.cc169 bool has_alpha = false; local
188 has_alpha = HasAlphaChannel(reinterpret_cast<uint32_t*>(image->data()),
205 if (!has_alpha) {

Completed in 510 milliseconds

123