- av_thread_message_flush
void av_thread_message_flush(AVThreadMessageQueue* mq)
- av_thread_message_queue_alloc
int av_thread_message_queue_alloc(AVThreadMessageQueue** mq, uint nelem, uint elsize)
Allocate a new message queue.
- av_thread_message_queue_free
void av_thread_message_queue_free(AVThreadMessageQueue** mq)
- av_thread_message_queue_nb_elems
int av_thread_message_queue_nb_elems(AVThreadMessageQueue* mq)
Return the current number of messages in the queue.
- av_thread_message_queue_recv
int av_thread_message_queue_recv(AVThreadMessageQueue* mq, void* msg, uint flags)
Receive a message from the queue.
- av_thread_message_queue_send
int av_thread_message_queue_send(AVThreadMessageQueue* mq, void* msg, uint flags)
Send a message on the queue.
- av_thread_message_queue_set_err_recv
void av_thread_message_queue_set_err_recv(AVThreadMessageQueue* mq, int err)
Set the receiving error code.
- av_thread_message_queue_set_err_send
void av_thread_message_queue_set_err_send(AVThreadMessageQueue* mq, int err)
Set the sending error code.
- av_thread_message_queue_set_free_func
void av_thread_message_queue_set_free_func(AVThreadMessageQueue* mq, void function(void* msg) free_func)
Set the optional free message callback function which will be called if an
operation is removing messages from the queue.