Searched refs:WebPSafeCalloc (Results 1 – 13 of 13) sorted by relevance
/external/webp/src/utils/ |
D | color_cache_utils.c | 27 cc->colors_ = (uint32_t*)WebPSafeCalloc((uint64_t)hash_size, in VP8LColorCacheInit()
|
D | utils.h | 54 WEBP_EXTERN void* WebPSafeCalloc(uint64_t nmemb, size_t size);
|
D | utils.c | 201 void* WebPSafeCalloc(uint64_t nmemb, size_t size) { in WebPSafeCalloc() function
|
D | thread_utils.c | 272 (WebPWorkerImpl*)WebPSafeCalloc(1, sizeof(WebPWorkerImpl)); in Reset()
|
/external/webp/src/demux/ |
D | demux.c | 301 *frame = (Frame*)WebPSafeCalloc(1ULL, sizeof(**frame)); in NewFrame() 355 Chunk* const chunk = (Chunk*)WebPSafeCalloc(1ULL, sizeof(*chunk)); in StoreChunk() 403 frame = (Frame*)WebPSafeCalloc(1ULL, sizeof(*frame)); in ParseSingleImage() 674 WebPDemuxer* const dmux = (WebPDemuxer*)WebPSafeCalloc(1ULL, sizeof(*dmux)); in CreateRawImageDemuxer() 675 Frame* const frame = (Frame*)WebPSafeCalloc(1ULL, sizeof(*frame)); in CreateRawImageDemuxer() 732 dmux = (WebPDemuxer*)WebPSafeCalloc(1ULL, sizeof(*dmux)); in WebPDemuxInternal()
|
D | anim_decode.c | 96 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/ |
D | alpha_dec.c | 28 ALPHDecoder* const dec = (ALPHDecoder*)WebPSafeCalloc(1ULL, sizeof(*dec)); in ALPHNew()
|
D | vp8_dec.c | 58 VP8Decoder* const dec = (VP8Decoder*)WebPSafeCalloc(1ULL, sizeof(*dec)); in VP8New()
|
D | vp8l_dec.c | 445 code_lengths = (int*)WebPSafeCalloc((uint64_t)max_alphabet_size, in ReadHuffmanCodes() 1371 VP8LDecoder* const dec = (VP8LDecoder*)WebPSafeCalloc(1ULL, sizeof(*dec)); in VP8LNew()
|
D | idec_dec.c | 601 WebPIDecoder* idec = (WebPIDecoder*)WebPSafeCalloc(1ULL, sizeof(*idec)); in NewDecoder()
|
/external/webp/src/enc/ |
D | vp8l_enc.c | 204 histo = (uint32_t*)WebPSafeCalloc(kHistoTotal, sizeof(*histo) * 256); in AnalyzeEntropy() 479 mem_buf = (uint8_t*)WebPSafeCalloc(total_length_size, in GetHuffBitLengthsAndCodes() 948 huffman_codes = (HuffmanTreeCode*)WebPSafeCalloc(bit_array_size, in EncodeImageInternal() 1476 VP8LEncoder* const enc = (VP8LEncoder*)WebPSafeCalloc(1ULL, sizeof(*enc)); in VP8LEncoderNew()
|
D | backward_references_cost_enc.c | 577 (CostModel*)WebPSafeCalloc(1ULL, cost_model_size); in BackwardReferencesHashChainDistanceOnly()
|
/external/webp/src/mux/ |
D | anim_encode.c | 249 enc = (WebPAnimEncoder*)WebPSafeCalloc(1, sizeof(*enc)); in WebPAnimEncoderNewInternal() 291 (EncodedFrame*)WebPSafeCalloc(enc->size_, sizeof(*enc->encoded_frames_)); in WebPAnimEncoderNewInternal()
|