Home
last modified time | relevance | path

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

/external/webp/src/utils/
Dcolor_cache.c26 cc->colors_ = (uint32_t*)WebPSafeCalloc((uint64_t)hash_size, in VP8LColorCacheInit()
Dutils.h41 WEBP_EXTERN(void*) WebPSafeCalloc(uint64_t nmemb, size_t size);
Dutils.c193 void* WebPSafeCalloc(uint64_t nmemb, size_t size) { in WebPSafeCalloc() function
Dhuffman.c89 (HTreeGroup*)WebPSafeCalloc(num_htree_groups, sizeof(*htree_groups)); in VP8LHtreeGroupsNew()
Dthread.c224 worker->impl_ = (WebPWorkerImpl*)WebPSafeCalloc(1, sizeof(*worker->impl_)); in Reset()
/external/webp/src/dec/
Dalpha.c26 ALPHDecoder* const dec = (ALPHDecoder*)WebPSafeCalloc(1ULL, sizeof(*dec)); in ALPHNew()
Dio.c331 p->memory = WebPSafeCalloc(1ULL, tmp_size); in InitYUVRescaler()
509 p->memory = WebPSafeCalloc(1ULL, total_size); in InitRGBRescaler()
Dvp8l.c343 (int*)WebPSafeCalloc((uint64_t)max_alphabet_size, sizeof(*code_lengths)); in ReadHuffmanCodes()
399 uint8_t* memory = (uint8_t*)WebPSafeCalloc(memory_size, sizeof(*memory)); in AllocateAndInitRescaler()
1050 VP8LDecoder* const dec = (VP8LDecoder*)WebPSafeCalloc(1ULL, sizeof(*dec)); in VP8LNew()
Dvp8.c48 VP8Decoder* const dec = (VP8Decoder*)WebPSafeCalloc(1ULL, sizeof(*dec)); in VP8New()
Didec.c582 WebPIDecoder* idec = (WebPIDecoder*)WebPSafeCalloc(1ULL, sizeof(*idec)); in WebPINewDecoder()
/external/webp/src/demux/
Ddemux.c292 *frame = (Frame*)WebPSafeCalloc(1ULL, sizeof(**frame)); in NewFrame()
382 Chunk* const chunk = (Chunk*)WebPSafeCalloc(1ULL, sizeof(*chunk)); in StoreChunk()
430 frame = (Frame*)WebPSafeCalloc(1ULL, sizeof(*frame)); in ParseSingleImage()
732 dmux = (WebPDemuxer*)WebPSafeCalloc(1ULL, sizeof(*dmux)); in WebPDemuxInternal()
/external/webp/src/enc/
Dvp8l.c214 mem_buf = (uint8_t*)WebPSafeCalloc(total_length_size, in GetHuffBitLengthsAndCodes()
609 huffman_codes = (HuffmanTreeCode*)WebPSafeCalloc(bit_array_size, in EncodeImageInternal()
1021 VP8LEncoder* const enc = (VP8LEncoder*)WebPSafeCalloc(1ULL, sizeof(*enc)); in VP8LEncoderNew()
Dhistogram.c710 bin_map = (int16_t*)WebPSafeCalloc(bin_map_size, sizeof(*bin_map)); in VP8LGetHistoImageSymbols()