Searched refs:WebPSafeMalloc (Results 1 - 14 of 14) sorted by relevance
/external/webp/src/utils/ |
H A D | utils.h | 33 void* WebPSafeMalloc(uint64_t nmemb, size_t size);
|
H A D | utils.c | 30 void* WebPSafeMalloc(uint64_t nmemb, size_t size) { function
|
H A D | huffman.c | 53 tree->root_ = (HuffmanTreeNode*)WebPSafeMalloc((uint64_t)tree->max_nodes_, 178 (int*)WebPSafeMalloc((uint64_t)code_lengths_size, sizeof(*codes));
|
H A D | huffman_encode.c | 200 tree = (HuffmanTree*)WebPSafeMalloc(3ULL * tree_size_orig, sizeof(*tree));
|
/external/webp/src/enc/ |
H A D | backward_references.c | 98 refs->refs = (PixOrCopy*)WebPSafeMalloc((uint64_t)max_size, 116 p->chain_ = (int*)WebPSafeMalloc((uint64_t)size, sizeof(*p->chain_)); 463 (double*)WebPSafeMalloc((uint64_t)pix_count, sizeof(*cost)); 591 (uint32_t*)WebPSafeMalloc((uint64_t)count, sizeof(**chosen_path)); 685 (uint32_t*)WebPSafeMalloc((uint64_t)dist_array_size, sizeof(*dist_array));
|
H A D | picture.c | 91 mem = (uint8_t*)WebPSafeMalloc(total_size, sizeof(*mem)); 127 memory = WebPSafeMalloc(argb_size, sizeof(*picture->argb)); 416 work = (int32_t*)WebPSafeMalloc(2ULL * width, sizeof(*work)); 449 work = (int32_t*)WebPSafeMalloc(2ULL * width * 4, sizeof(*work)); 490 new_mem = (uint8_t*)WebPSafeMalloc(next_max_size, 1); 499 // down-cast is ok, thanks to WebPSafeMalloc
|
H A D | vp8l.c | 308 (HuffmanTreeToken*)WebPSafeMalloc((uint64_t)max_tokens, sizeof(*tokens)); 528 (uint16_t*)WebPSafeMalloc((uint64_t)histogram_image_xysize, 568 (uint32_t*)WebPSafeMalloc((uint64_t)histogram_image_xysize, 794 uint32_t* mem = (uint32_t*)WebPSafeMalloc(total_size, sizeof(*mem));
|
H A D | webpenc.c | 203 mem = (uint8_t*)WebPSafeMalloc(size, sizeof(*mem));
|
H A D | analysis.c | 39 uint8_t* const tmp = (uint8_t*)WebPSafeMalloc((uint64_t)w * h, sizeof(*tmp));
|
H A D | histogram.c | 61 uint8_t* memory = (uint8_t*)WebPSafeMalloc(total_size, sizeof(*memory));
|
/external/webp/src/dec/ |
H A D | buffer.c | 104 output = (uint8_t*)WebPSafeMalloc(total_size, sizeof(*output));
|
H A D | vp8l.c | 808 (uint32_t*)WebPSafeMalloc((uint64_t)final_num_colors, 1003 data = (uint32_t*)WebPSafeMalloc(total_size, sizeof(*data)); 1053 dec->argb_ = (uint32_t*)WebPSafeMalloc(total_num_pixels, sizeof(*dec->argb_));
|
H A D | frame.c | 439 dec->mem_ = WebPSafeMalloc(needed, sizeof(uint8_t));
|
H A D | idec.c | 150 (uint8_t*)WebPSafeMalloc(extra_size, sizeof(*new_buf));
|
Completed in 121 milliseconds