Searched refs:WebPSafeCalloc (Results 1 – 13 of 13) sorted by relevance
/external/webp/src/utils/ |
D | color_cache.c | 26 cc->colors_ = (uint32_t*)WebPSafeCalloc((uint64_t)hash_size, in VP8LColorCacheInit()
|
D | utils.h | 41 WEBP_EXTERN(void*) WebPSafeCalloc(uint64_t nmemb, size_t size);
|
D | utils.c | 193 void* WebPSafeCalloc(uint64_t nmemb, size_t size) { in WebPSafeCalloc() function
|
D | huffman.c | 89 (HTreeGroup*)WebPSafeCalloc(num_htree_groups, sizeof(*htree_groups)); in VP8LHtreeGroupsNew()
|
D | thread.c | 224 worker->impl_ = (WebPWorkerImpl*)WebPSafeCalloc(1, sizeof(*worker->impl_)); in Reset()
|
/external/webp/src/dec/ |
D | alpha.c | 26 ALPHDecoder* const dec = (ALPHDecoder*)WebPSafeCalloc(1ULL, sizeof(*dec)); in ALPHNew()
|
D | io.c | 331 p->memory = WebPSafeCalloc(1ULL, tmp_size); in InitYUVRescaler() 509 p->memory = WebPSafeCalloc(1ULL, total_size); in InitRGBRescaler()
|
D | vp8l.c | 343 (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()
|
D | vp8.c | 48 VP8Decoder* const dec = (VP8Decoder*)WebPSafeCalloc(1ULL, sizeof(*dec)); in VP8New()
|
D | idec.c | 582 WebPIDecoder* idec = (WebPIDecoder*)WebPSafeCalloc(1ULL, sizeof(*idec)); in WebPINewDecoder()
|
/external/webp/src/demux/ |
D | demux.c | 292 *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/ |
D | vp8l.c | 214 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()
|
D | histogram.c | 710 bin_map = (int16_t*)WebPSafeCalloc(bin_map_size, sizeof(*bin_map)); in VP8LGetHistoImageSymbols()
|