Searched refs:histo_queue (Results 1 – 1 of 1) sorted by relevance
744 static int HistoQueueInit(HistoQueue* const histo_queue, const int max_size) { in HistoQueueInit() argument745 histo_queue->size = 0; in HistoQueueInit()746 histo_queue->max_size = max_size; in HistoQueueInit()749 histo_queue->queue = (HistogramPair*)WebPSafeMalloc( in HistoQueueInit()750 histo_queue->max_size + 1, sizeof(*histo_queue->queue)); in HistoQueueInit()751 return histo_queue->queue != NULL; in HistoQueueInit()754 static void HistoQueueClear(HistoQueue* const histo_queue) { in HistoQueueClear() argument755 assert(histo_queue != NULL); in HistoQueueClear()756 WebPSafeFree(histo_queue->queue); in HistoQueueClear()757 histo_queue->size = 0; in HistoQueueClear()[all …]