Lines Matching refs:data_size
111 const size_t data_size = width * height; in EncodeAlphaInternal() local
116 assert((uint64_t)data_size == (uint64_t)width * height); // as per spec in EncodeAlphaInternal()
132 ok = VP8LBitWriterInit(&tmp_bw, data_size >> 3); in EncodeAlphaInternal()
138 if (output_size > data_size) { in EncodeAlphaInternal()
151 output_size = data_size; in EncodeAlphaInternal()
229 size_t data_size, int method, int filter, in ApplyFiltersAndEncode() argument
241 uint8_t* filtered_alpha = (uint8_t*)WebPSafeMalloc(1ULL, data_size); in ApplyFiltersAndEncode()
291 const size_t data_size = width * height; in EncodeAlpha() local
297 assert((uint64_t)data_size == (uint64_t)width * height); // as per spec in EncodeAlpha()
317 quant_alpha = (uint8_t*)WebPSafeMalloc(1ULL, data_size); in EncodeAlpha()
336 ok = ApplyFiltersAndEncode(quant_alpha, width, height, data_size, method, in EncodeAlpha()