/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/imageio/ |
A D | webpdec.c | 167 const int has_alpha = keep_alpha && bitstream->has_alpha; in ReadWebP() local 174 stride = (uint64_t)bitstream->width * (has_alpha ? 5 : 3) / 2; in ReadWebP() 175 pic->colorspace = has_alpha ? WEBP_YUV420A : WEBP_YUV420; in ReadWebP() 198 output_buffer->colorspace = has_alpha ? MODE_YUVA : MODE_YUV; in ReadWebP() 202 output_buffer->u.YUVA.a = has_alpha ? pic->a : NULL; in ReadWebP() 206 output_buffer->u.YUVA.a_stride = has_alpha ? pic->a_stride : 0; in ReadWebP()
|
A D | image_enc.c | 85 WICPixelFormatGUID pixel_format = has_alpha ? GUID_WICPixelFormat32bppBGRA in WriteUsingWIC() 150 const int has_alpha = WebPIsAlphaMode(buffer->colorspace); in WebPWritePNG() local 154 rgb, stride, width, height, has_alpha)); in WebPWritePNG() 189 const int has_alpha = WebPIsAlphaMode(buffer->colorspace); in WebPWritePNG() local 193 has_alpha ? PNG_COLOR_TYPE_RGBA : PNG_COLOR_TYPE_RGB, in WebPWritePNG() 297 const int has_alpha = WebPIsAlphaMode(buffer->colorspace); in WebPWriteBMP() local 302 const uint32_t bytes_per_px = has_alpha ? 4 : 3; in WebPWriteBMP() 364 const int has_alpha = WebPIsAlphaMode(buffer->colorspace); in WebPWriteTIFF() local 369 const uint8_t bytes_per_px = has_alpha ? 4 : 3; in WebPWriteTIFF() 373 const uint8_t num_ifd_entries = has_alpha ? NUM_IFD_ENTRIES in WebPWriteTIFF() [all …]
|
A D | pngdec.c | 238 int has_alpha; in ReadPNG() local 287 has_alpha = 1; in ReadPNG() 289 has_alpha = !!(color_type & PNG_COLOR_MASK_ALPHA); in ReadPNG() 304 has_alpha = 0; in ReadPNG() 310 stride = (int64_t)(has_alpha ? 4 : 3) * width * sizeof(*rgb); in ReadPNG() 335 ok = has_alpha ? WebPPictureImportRGBA(pic, rgb, (int)stride) in ReadPNG()
|
A D | wicdec.c | 211 int has_alpha; in HasAlpha() local 228 has_alpha = frame_palette_has_alpha || global_palette_has_alpha; in HasAlpha() 233 has_alpha = IsEqualGUID(MAKE_REFGUID(pixel_format), in HasAlpha() 242 return has_alpha; in HasAlpha() 279 int has_alpha = 0; in ReadPictureWithWIC() local 314 has_alpha = HasAlpha(factory, decoder, frame, src_pixel_format); in ReadPictureWithWIC() 323 for (importer = has_alpha ? kAlphaFormatImporters : kNonAlphaFormatImporters; in ReadPictureWithWIC()
|
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/examples/ |
A D | dwebp.c | 141 const int has_alpha = WebPIsAlphaMode(output_buffer->colorspace); in AllocateExternalBuffer() local 145 uint32_t total_size = stride * h * (has_alpha ? 2 : 1) in AllocateExternalBuffer() 155 if (has_alpha) { in AllocateExternalBuffer() 324 output_buffer->colorspace = bitstream->has_alpha ? MODE_BGRA : MODE_BGR; in main() 326 output_buffer->colorspace = bitstream->has_alpha ? MODE_RGBA : MODE_RGB; in main() 336 output_buffer->colorspace = bitstream->has_alpha ? MODE_BGRA : MODE_BGR; in main() 339 output_buffer->colorspace = bitstream->has_alpha ? MODE_RGBA : MODE_RGB; in main() 343 output_buffer->colorspace = bitstream->has_alpha ? MODE_YUVA : MODE_YUV; in main() 398 bitstream->has_alpha ? " (with alpha)" : "", in main() 407 bitstream->has_alpha ? " (with alpha)" : "", in main()
|
A D | webpinfo.c | 522 int width, height, has_alpha, version; in ParseLosslessHeader() local 525 LL_GET_BITS(has_alpha, 1); in ParseLosslessHeader() 531 printf(" Alpha: %d\n", has_alpha); in ParseLosslessHeader() 804 features.width, features.height, features.has_alpha, in ProcessImageChunk() 858 webp_info->has_alpha_ |= features.has_alpha; in ProcessImageChunk()
|
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/dec/ |
A D | io_dec.c | 197 if (has_alpha && WebPIsPremultipliedMode(colorspace)) { in EmitAlphaRGB() 298 const int has_alpha = WebPIsAlphaMode(p->output->colorspace); in InitYUVRescaler() local 311 const int num_rescalers = has_alpha ? 4 : 3; in InitYUVRescaler() 314 if (has_alpha) { in InitYUVRescaler() 329 p->scaler_a = has_alpha ? &scalers[3] : NULL; in InitYUVRescaler() 342 if (has_alpha) { in InitYUVRescaler() 483 const int has_alpha = WebPIsAlphaMode(p->output->colorspace); in InitRGBRescaler() local 493 const int num_rescalers = has_alpha ? 4 : 3; in InitRGBRescaler() 497 if (has_alpha) { in InitRGBRescaler() 515 p->scaler_a = has_alpha ? &scalers[3] : NULL; in InitRGBRescaler() [all …]
|
A D | webp_dec.c | 281 int* const has_alpha, in ParseHeadersInternal() argument 325 if (has_alpha != NULL) *has_alpha = !!(flags & ALPHA_FLAG); in ParseHeadersInternal() 382 if (!VP8LGetInfo(data, data_size, &image_width, &image_height, has_alpha)) { in ParseHeadersInternal() 401 if (has_alpha != NULL) { in ParseHeadersInternal() 404 *has_alpha |= (hdrs.alpha_data != NULL); in ParseHeadersInternal() 691 &features->has_alpha, &features->has_animation, in GetFeatures()
|
A D | vp8_dec.h | 179 int* const width, int* const height, int* const has_alpha);
|
A D | vp8l_dec.c | 119 int* const has_alpha) { in ReadImageInfo() argument 123 *has_alpha = VP8LReadBits(br, 1); in ReadImageInfo() 129 int* const width, int* const height, int* const has_alpha) { in VP8LGetInfo() argument 143 if (has_alpha != NULL) *has_alpha = a; in VP8LGetInfo() 1641 int width, height, has_alpha; in VP8LDecodeHeader() local 1652 if (!ReadImageInfo(&dec->br_, &width, &height, &has_alpha)) { in VP8LDecodeHeader()
|
A D | buffer_dec.c | 309 (features != NULL && features->has_alpha); in WebPAvoidSlowMemory()
|
/AliOS-Things-master/components/SDL2/src/image/ |
A D | IMG_webp.c | 211 Amask = (features.has_alpha) ? 0xFF000000 : 0; in IMG_LoadWEBP_RW() 214 int s = (features.has_alpha) ? 0 : 8; in IMG_LoadWEBP_RW() 224 features.has_alpha?32:24, Rmask,Gmask,Bmask,Amask); in IMG_LoadWEBP_RW() 231 if ( features.has_alpha ) { in IMG_LoadWEBP_RW()
|
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/enc/ |
A D | picture_csp_enc.c | 850 const int has_alpha = CheckNonOpaque(a_ptr, width, height, step, rgb_stride); in ImportYUVAFromRGBA() local 853 picture->colorspace = has_alpha ? WEBP_YUV420A : WEBP_YUV420; in ImportYUVAFromRGBA() 865 if (has_alpha) { in ImportYUVAFromRGBA() 877 if (has_alpha) { in ImportYUVAFromRGBA() 906 int rows_have_alpha = has_alpha; in ImportYUVAFromRGBA() 925 if (has_alpha) { in ImportYUVAFromRGBA() 947 if (has_alpha) a_ptr += 2 * rgb_stride; in ImportYUVAFromRGBA() 950 int row_has_alpha = has_alpha; in ImportYUVAFromRGBA()
|
A D | picture_enc.c | 92 const int has_alpha = (int)picture->colorspace & WEBP_CSP_ALPHA_BIT; in WebPPictureAllocYUVA() local 111 a_width = has_alpha ? width : 0; in WebPPictureAllocYUVA()
|
A D | picture_tools_enc.c | 210 const int has_alpha = pic->colorspace & WEBP_CSP_ALPHA_BIT; in WebPBlendAlpha() local 215 if (!has_alpha || a_ptr == NULL) return; // nothing to do in WebPBlendAlpha()
|
A D | vp8l_enc.c | 1151 static int WriteRealAlphaAndVersion(VP8LBitWriter* const bw, int has_alpha) { in WriteRealAlphaAndVersion() argument 1152 VP8LPutBits(bw, has_alpha, 1); in WriteRealAlphaAndVersion() 1824 int has_alpha; in VP8LEncodeImage() local 1872 has_alpha = WebPPictureHasTransparency(picture); in VP8LEncodeImage() 1874 if (!WriteRealAlphaAndVersion(&bw, has_alpha)) { in VP8LEncodeImage()
|
/AliOS-Things-master/components/littlevgl/src/lv_draw/ |
A D | lv_draw_img.c | 421 bool has_alpha = false; in lv_img_color_format_has_alpha() local 429 case LV_IMG_CF_ALPHA_8BIT: has_alpha = true; break; in lv_img_color_format_has_alpha() 430 default: has_alpha = false; break; in lv_img_color_format_has_alpha() 433 return has_alpha; in lv_img_color_format_has_alpha()
|
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/webp/ |
A D | demux.h | 154 int has_alpha; // True if the frame contains transparency. member
|
A D | decode.h | 418 int has_alpha; // True if the bitstream contains an alpha channel. member
|
/AliOS-Things-master/components/SDL2/src/image/VisualC/external/include/webp/ |
A D | demux.h | 154 int has_alpha; // True if the frame contains transparency. member
|
A D | decode.h | 418 int has_alpha; // True if the bitstream contains an alpha channel. member
|
/AliOS-Things-master/components/SDL2/src/image/Xcode/Frameworks/webp.framework/Versions/A/Headers/webp/ |
A D | demux.h | 154 int has_alpha; // True if the frame contains transparency. member
|
A D | decode.h | 418 int has_alpha; // True if the bitstream contains an alpha channel. member
|
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/demux/ |
A D | demux.c | 203 frame->has_alpha_ |= features->has_alpha; in SetFrameInfo() 410 const int has_alpha = !!(dmux->feature_flags_ & ALPHA_FLAG); in ParseSingleImage() local 412 if (!has_alpha && frame->img_components_[1].size_ > 0) { in ParseSingleImage() 841 iter->has_alpha = frame->has_alpha_; in SynthesizeFrame()
|
A D | anim_decode.c | 182 } else if ((!curr->has_alpha || curr->blend_method == WEBP_MUX_NO_BLEND) && in IsKeyFrame()
|