Home
last modified time | relevance | path

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

/external/opencv3/3rdparty/libwebp/utils/
Dcolor_cache.c30 cc->colors_ = (uint32_t*)WebPSafeCalloc((uint64_t)hash_size, in VP8LColorCacheInit()
Dutils.c39 void* WebPSafeCalloc(uint64_t nmemb, size_t size) { in WebPSafeCalloc() function
Dutils.h41 void* WebPSafeCalloc(uint64_t nmemb, size_t size);
/external/webp/src/utils/
Dcolor_cache.c27 cc->colors_ = (uint32_t*)WebPSafeCalloc((uint64_t)hash_size, in VP8LColorCacheInit()
Dutils.h45 WEBP_EXTERN(void*) WebPSafeCalloc(uint64_t nmemb, size_t size);
Dutils.c195 void* WebPSafeCalloc(uint64_t nmemb, size_t size) { in WebPSafeCalloc() function
Dthread.c273 worker->impl_ = (WebPWorkerImpl*)WebPSafeCalloc(1, sizeof(*worker->impl_)); in Reset()
/external/webp/src/demux/
Ddemux.c299 *frame = (Frame*)WebPSafeCalloc(1ULL, sizeof(**frame)); in NewFrame()
353 Chunk* const chunk = (Chunk*)WebPSafeCalloc(1ULL, sizeof(*chunk)); in StoreChunk()
401 frame = (Frame*)WebPSafeCalloc(1ULL, sizeof(*frame)); in ParseSingleImage()
673 WebPDemuxer* const dmux = (WebPDemuxer*)WebPSafeCalloc(1ULL, sizeof(*dmux)); in CreateRawImageDemuxer()
674 Frame* const frame = (Frame*)WebPSafeCalloc(1ULL, sizeof(*frame)); in CreateRawImageDemuxer()
731 dmux = (WebPDemuxer*)WebPSafeCalloc(1ULL, sizeof(*dmux)); in WebPDemuxInternal()
Danim_decode.c96 dec = (WebPAnimDecoder*)WebPSafeCalloc(1ULL, sizeof(*dec)); in WebPAnimDecoderNewInternal()
119 dec->curr_frame_ = WebPSafeCalloc(1ULL, canvas_bytes); in WebPAnimDecoderNewInternal()
121 dec->prev_frame_disposed_ = WebPSafeCalloc(1ULL, canvas_bytes); in WebPAnimDecoderNewInternal()
/external/webp/src/dec/
Dalpha.c27 ALPHDecoder* const dec = (ALPHDecoder*)WebPSafeCalloc(1ULL, sizeof(*dec)); in ALPHNew()
Dvp8.c48 VP8Decoder* const dec = (VP8Decoder*)WebPSafeCalloc(1ULL, sizeof(*dec)); in VP8New()
Dvp8l.c408 code_lengths = (int*)WebPSafeCalloc((uint64_t)max_alphabet_size, in ReadHuffmanCodes()
1269 VP8LDecoder* const dec = (VP8LDecoder*)WebPSafeCalloc(1ULL, sizeof(*dec)); in VP8LNew()
Didec.c581 WebPIDecoder* idec = (WebPIDecoder*)WebPSafeCalloc(1ULL, sizeof(*idec)); in WebPINewDecoder()
/external/webp/src/enc/
Dvp8l.c233 (uint32_t*)WebPSafeCalloc(kHistoTotal, sizeof(*histo) * 256); in AnalyzeEntropy()
452 mem_buf = (uint8_t*)WebPSafeCalloc(total_length_size, in GetHuffBitLengthsAndCodes()
888 huffman_codes = (HuffmanTreeCode*)WebPSafeCalloc(bit_array_size, in EncodeImageInternal()
1353 VP8LEncoder* const enc = (VP8LEncoder*)WebPSafeCalloc(1ULL, sizeof(*enc)); in VP8LEncoderNew()
Dhistogram.c897 bin_map = (int16_t*)WebPSafeCalloc(bin_map_size, sizeof(*bin_map)); in VP8LGetHistoImageSymbols()
/external/opencv3/3rdparty/libwebp/dec/
Dvp8l.c263 (int*)WebPSafeCalloc((uint64_t)alphabet_size, sizeof(*code_lengths)); in ReadHuffmanCode()
335 (HTreeGroup*)WebPSafeCalloc((uint64_t)num_htree_groups, in ReadHuffmanCodes()
381 uint8_t* memory = (uint8_t*)WebPSafeCalloc(memory_size, sizeof(*memory)); in AllocateAndInitRescaler()
/external/opencv3/3rdparty/libwebp/enc/
Dvp8l.c208 mem_buf = (uint8_t*)WebPSafeCalloc(total_length_size, in GetHuffBitLengthsAndCodes()
562 huffman_codes = (HuffmanTreeCode*)WebPSafeCalloc(bit_array_size, in EncodeImageInternal()