Home
last modified time | relevance | path

Searched refs:alpha_size (Results 1 - 6 of 6) sorted by relevance

/third_party/skia/third_party/externals/libwebp/src/enc/
H A Dalpha_enc.c368 size_t alpha_size = 0; in CompressAlphaJob() local
375 filter, effort_level, &alpha_data, &alpha_size)) { in CompressAlphaJob()
378 if (alpha_size != (uint32_t)alpha_size) { // Soundness check. in CompressAlphaJob()
382 enc->alpha_data_size_ = (uint32_t)alpha_size; in CompressAlphaJob()
/third_party/skia/third_party/externals/libwebp/src/dec/
H A Dalpha_dec.c153 const uint64_t alpha_size = (uint64_t)stride * height; in AllocateAlphaPlane() local
156 (uint8_t*)WebPSafeMalloc(alpha_size, sizeof(*dec->alpha_plane_)); in AllocateAlphaPlane()
H A Dframe_dec.c699 // alpha_size is the only one that scales as width x height. in AllocateMemory()
700 const uint64_t alpha_size = (dec->alpha_data_ != NULL) ? in AllocateMemory() local
705 + cache_size + alpha_size + WEBP_ALIGN_CST; in AllocateMemory()
770 dec->alpha_plane_ = alpha_size ? mem : NULL; in AllocateMemory()
771 mem += alpha_size; in AllocateMemory()
H A Dwebp_dec.c144 // If an alpha chunk is found, *alpha_data and *alpha_size are set
150 size_t* const alpha_size) { in ParseOptionalChunks()
162 assert(alpha_size != NULL); in ParseOptionalChunks()
164 *alpha_size = 0; in ParseOptionalChunks()
205 *alpha_size = chunk_size; in ParseOptionalChunks()
146 ParseOptionalChunks(const uint8_t** const data, size_t* const data_size, size_t const riff_size, const uint8_t** const alpha_data, size_t* const alpha_size) ParseOptionalChunks() argument
/third_party/skia/third_party/externals/libwebp/src/mux/
H A Dmuxread.c393 const size_t alpha_size = need_vp8x ? ChunkDiskSize(wpi->alpha_) : 0; in SynthesizeBitstream() local
395 const size_t size = RIFF_HEADER_SIZE + vp8x_size + alpha_size + in SynthesizeBitstream()
/third_party/vk-gl-cts/external/openglcts/modules/gl/
H A Dgl3cTextureSizePromotion.cpp525 glw::GLint alpha_size = 0; in checkSourceTextureSizeAndType() local
543 gl.getTexLevelParameteriv(target, 0, GL_TEXTURE_ALPHA_SIZE, &alpha_size); in checkSourceTextureSizeAndType()
561 is_ok = is_ok && (alpha_size >= descriptor.min_alpha_size); in checkSourceTextureSizeAndType()
584 << ", queried alpha size = " << alpha_size << ", queried depth size = " << depth_size in checkSourceTextureSizeAndType()

Completed in 11 milliseconds