Lines Matching refs:has_alpha
97 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);
148 rgb, stride, width, height, has_alpha));
162 const int has_alpha = (buffer->colorspace == MODE_RGBA);
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 ? " (with alpha)" : "");
519 bitstream->has_alpha ? " (with alpha)" : "");