Go to the source code of this file.
Definition at line 39 of file queue.c.
Referenced by ff_queue_create(), ff_queue_push_back(), and ff_queue_push_front().
Create a Queue instance.
It initializes the length of the Queue as 0.
Definition at line 47 of file queue.c.
Referenced by dnn_load_model_tf(), dnn_load_model_th(), ff_safe_queue_create(), and init_model_ov().
Destroy the Queue instance.
It also frees all elements of the Queue.
Definition at line 72 of file queue.c.
Referenced by dnn_free_model_ov(), dnn_free_model_tf(), dnn_free_model_th(), and ff_safe_queue_destroy().
Return the length of the Queue.
Definition at line 88 of file queue.c.
Referenced by dnn_flush_tf(), dnn_flush_th(), dnn_free_model_ov(), dnn_free_model_tf(), dnn_free_model_th(), execute_model_ov(), execute_model_tf(), execute_model_th(), ff_safe_queue_pop_front(), ff_safe_queue_size(), and get_output_ov().
Return a pointer to the data at the head of the queue.
Definition at line 93 of file queue.c.
Referenced by execute_model_ov(), execute_model_tf(), execute_model_th(), ff_dnn_get_result_common(), and fill_model_input_ov().
Add data to the head of the queue.
It increases the length of Queue by one.
Definition at line 109 of file queue.c.
Referenced by ff_safe_queue_push_front().
Add data to the tail of the queue.
It increases the length of Queue by one.
Definition at line 130 of file queue.c.
Referenced by dnn_execute_model_tf(), dnn_execute_model_th(), extract_lltask_from_task(), ff_safe_queue_push_back(), and get_output_ov().
Remove and free first element from the Queue.
It shrinks the length of Queue by one.
Definition at line 151 of file queue.c.
Referenced by dnn_free_model_ov(), dnn_free_model_tf(), dnn_free_model_th(), ff_dnn_get_result_common(), ff_safe_queue_pop_front(), fill_model_input_ov(), fill_model_input_tf(), and fill_model_input_th().