Home
last modified time | relevance | path

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

/external/webp/src/utils/
Dcolor_cache_utils.c27 cc->colors_ = (uint32_t*)WebPSafeCalloc((uint64_t)hash_size, in VP8LColorCacheInit()
Dutils.h54 WEBP_EXTERN void* WebPSafeCalloc(uint64_t nmemb, size_t size);
Dutils.c201 void* WebPSafeCalloc(uint64_t nmemb, size_t size) { in WebPSafeCalloc() function
Dthread_utils.c282 (WebPWorkerImpl*)WebPSafeCalloc(1, sizeof(WebPWorkerImpl)); in Reset()
/external/webp/src/demux/
Ddemux.c301 *frame = (Frame*)WebPSafeCalloc(1ULL, sizeof(**frame)); in NewFrame()
360 Chunk* const chunk = (Chunk*)WebPSafeCalloc(1ULL, sizeof(*chunk)); in StoreChunk()
408 frame = (Frame*)WebPSafeCalloc(1ULL, sizeof(*frame)); in ParseSingleImage()
679 WebPDemuxer* const dmux = (WebPDemuxer*)WebPSafeCalloc(1ULL, sizeof(*dmux)); in CreateRawImageDemuxer()
680 Frame* const frame = (Frame*)WebPSafeCalloc(1ULL, sizeof(*frame)); in CreateRawImageDemuxer()
737 dmux = (WebPDemuxer*)WebPSafeCalloc(1ULL, sizeof(*dmux)); in WebPDemuxInternal()
Danim_decode.c96 dec = (WebPAnimDecoder*)WebPSafeCalloc(1ULL, sizeof(*dec)); in WebPAnimDecoderNewInternal()
116 dec->curr_frame_ = (uint8_t*)WebPSafeCalloc( in WebPAnimDecoderNewInternal()
119 dec->prev_frame_disposed_ = (uint8_t*)WebPSafeCalloc( in WebPAnimDecoderNewInternal()
/external/webp/src/dec/
Dalpha_dec.c28 ALPHDecoder* const dec = (ALPHDecoder*)WebPSafeCalloc(1ULL, sizeof(*dec)); in ALPHNew()
Dvp8_dec.c58 VP8Decoder* const dec = (VP8Decoder*)WebPSafeCalloc(1ULL, sizeof(*dec)); in VP8New()
Dvp8l_dec.c435 code_lengths = (int*)WebPSafeCalloc((uint64_t)max_alphabet_size, in ReadHuffmanCodes()
1367 VP8LDecoder* const dec = (VP8LDecoder*)WebPSafeCalloc(1ULL, sizeof(*dec)); in VP8LNew()
Didec_dec.c606 WebPIDecoder* idec = (WebPIDecoder*)WebPSafeCalloc(1ULL, sizeof(*idec)); in NewDecoder()
/external/webp/src/enc/
Dvp8l_enc.c205 histo = (uint32_t*)WebPSafeCalloc(kHistoTotal, sizeof(*histo) * 256); in AnalyzeEntropy()
501 mem_buf = (uint8_t*)WebPSafeCalloc(total_length_size, in GetHuffBitLengthsAndCodes()
966 huffman_codes = (HuffmanTreeCode*)WebPSafeCalloc(bit_array_size, in EncodeImageInternal()
1487 VP8LEncoder* const enc = (VP8LEncoder*)WebPSafeCalloc(1ULL, sizeof(*enc)); in VP8LEncoderNew()
Dbackward_references_cost_enc.c577 (CostModel*)WebPSafeCalloc(1ULL, cost_model_size); in BackwardReferencesHashChainDistanceOnly()
/external/webp/src/mux/
Danim_encode.c249 enc = (WebPAnimEncoder*)WebPSafeCalloc(1, sizeof(*enc)); in WebPAnimEncoderNewInternal()
291 (EncodedFrame*)WebPSafeCalloc(enc->size_, sizeof(*enc->encoded_frames_)); in WebPAnimEncoderNewInternal()