Home
last modified time | relevance | path

Searched refs:quant_alpha (Results 1 – 1 of 1) sorted by relevance

/external/webp/src/enc/
Dalpha_enc.c300 uint8_t* quant_alpha = NULL; in EncodeAlpha() local
327 quant_alpha = (uint8_t*)WebPSafeMalloc(1ULL, data_size); in EncodeAlpha()
328 if (quant_alpha == NULL) { in EncodeAlpha()
333 WebPCopyPlane(pic->a, pic->a_stride, quant_alpha, width, width, height); in EncodeAlpha()
341 ok = QuantizeLevels(quant_alpha, width, height, alpha_levels, &sse); in EncodeAlpha()
346 ok = ApplyFiltersAndEncode(quant_alpha, width, height, data_size, method, in EncodeAlpha()
357 WebPSafeFree(quant_alpha); in EncodeAlpha()