Lines Matching refs:frame_slots
128 MppBufSlots frame_slots = dec->frame_slots; in reset_parser_thread() local
175 mpp_buf_slot_clr_flag(frame_slots, task_dec->output, SLOT_HAL_OUTPUT); in reset_parser_thread()
180 mpp_buf_slot_clr_flag(frame_slots, index, SLOT_HAL_INPUT); in reset_parser_thread()
187 while (MPP_OK == mpp_buf_slot_dequeue(frame_slots, &index, QUEUE_DISPLAY)) { in reset_parser_thread()
190 mpp_buf_slot_get_prop(frame_slots, index, SLOT_BUFFER, &buffer); in reset_parser_thread()
193 mpp_buf_slot_clr_flag(frame_slots, index, SLOT_QUEUE_USE); in reset_parser_thread()
248 MppBufSlots frame_slots = dec->frame_slots; in reset_hal_thread() local
258 while (MPP_OK == mpp_buf_slot_dequeue(frame_slots, &index, QUEUE_DISPLAY)) { in reset_hal_thread()
260 mpp_buf_slot_clr_flag(frame_slots, index, SLOT_QUEUE_USE); in reset_hal_thread()
311 MppBufSlots frame_slots = dec->frame_slots; in try_proc_dec_task() local
483 task->wait.dec_slot_idx = (mpp_slots_get_unused_count(frame_slots)) ? (0) : (1); in try_proc_dec_task()
538 if (mpp_buf_slot_is_changed(frame_slots)) { in try_proc_dec_task()
554 task->wait.info_change = mpp_buf_slot_is_changed(frame_slots); in try_proc_dec_task()
594 mpp_buf_slot_get_prop(frame_slots, output, SLOT_BUFFER, &hal_buf_out); in try_proc_dec_task()
597 mpp_buf_slot_get_prop(frame_slots, output, in try_proc_dec_task()
599 size_t size = mpp_buf_slot_get_size(frame_slots); in try_proc_dec_task()
610 mpp_buf_slot_set_prop(frame_slots, output, SLOT_BUFFER, in try_proc_dec_task()
619 mpp_buf_slot_get_prop(frame_slots, output, SLOT_FRAME_PTR, &mframe); in try_proc_dec_task()
631 mpp_buf_slot_get_prop(frame_slots, output, SLOT_FRAME_PTR, &frame); in try_proc_dec_task()
645 mpp_buf_slot_get_prop(frame_slots, output, SLOT_FRAME_PTR, &frame); in try_proc_dec_task()
775 MppBufSlots frame_slots = dec->frame_slots; in mpp_dec_hal_thread() local
888 mpp_buf_slot_clr_flag(frame_slots, task_dec->output, SLOT_HAL_OUTPUT); in mpp_dec_hal_thread()
893 mpp_buf_slot_clr_flag(frame_slots, index, SLOT_HAL_INPUT); in mpp_dec_hal_thread()
915 MppBufSlots frame_slots = dec->frame_slots; in mpp_dec_advanced_thread() local
1033 dec_dbg_detail("slot change %d\n", mpp_buf_slot_is_changed(frame_slots)); in mpp_dec_advanced_thread()
1034 if (mpp_buf_slot_is_changed(frame_slots)) { in mpp_dec_advanced_thread()
1035 size_t slot_size = mpp_buf_slot_get_size(frame_slots); in mpp_dec_advanced_thread()
1040 mpp_buf_slot_ready(frame_slots); in mpp_dec_advanced_thread()
1051 mpp_buf_slot_set_prop(frame_slots, task_dec->output, SLOT_BUFFER, output_buffer); in mpp_dec_advanced_thread()
1056 mpp_buf_slot_get_prop(frame_slots, task_dec->output, SLOT_FRAME_PTR, &tmp); in mpp_dec_advanced_thread()
1066 mpp_buf_slot_get_prop(frame_slots, task_dec->output, SLOT_FRAME_PTR, &tmp); in mpp_dec_advanced_thread()
1078 mpp_buf_slot_clr_flag(frame_slots, task_dec->output, SLOT_HAL_OUTPUT); in mpp_dec_advanced_thread()