Go to the documentation of this file.
23 #ifndef AVFILTER_DNN_QUEUE_H
24 #define AVFILTER_DNN_QUEUE_H
Linear double-ended data structure.
size_t ff_queue_size(Queue *q)
Return the length of the Queue.
void * ff_queue_peek_front(Queue *q)
Return a pointer to the data at the head of the queue.
int ff_queue_push_front(Queue *q, void *v)
Add data to the head of the queue.
int ff_queue_push_back(Queue *q, void *v)
Add data to the tail of the queue.
void * ff_queue_pop_back(Queue *q)
Remove and free last element from the Queue.
void ff_queue_destroy(Queue *q)
Destroy the Queue instance.
Queue * ff_queue_create(void)
Create a Queue instance.
void * ff_queue_pop_front(Queue *q)
Remove and free first element from the Queue.
void * ff_queue_peek_back(Queue *q)
Return a pointer to the data at the tail of the queue.