Lines Matching refs:index
269 RK_S32 index = hdr_curr->slot_idx; in mpp_h263_parser_flush() local
273 if (!hdr_curr->enqueued && index >= 0) { in mpp_h263_parser_flush()
274 mpp_buf_slot_set_flag(slots, index, SLOT_QUEUE_USE); in mpp_h263_parser_flush()
275 mpp_buf_slot_enqueue(slots, index, QUEUE_DISPLAY); in mpp_h263_parser_flush()
290 RK_S32 index = hdr_curr->slot_idx; in mpp_h263_parser_reset() local
294 if (index >= 0) { in mpp_h263_parser_reset()
295 mpp_buf_slot_clr_flag(slots, index, SLOT_CODEC_USE); in mpp_h263_parser_reset()
299 index = hdr_ref0->slot_idx; in mpp_h263_parser_reset()
300 if (index >= 0) { in mpp_h263_parser_reset()
301 mpp_buf_slot_clr_flag(slots, index, SLOT_CODEC_USE); in mpp_h263_parser_reset()
478 RK_S32 index = -1; in mpp_h263_parser_setup_hal_output() local
501 mpp_buf_slot_get_unused(slots, &index); in mpp_h263_parser_setup_hal_output()
502 mpp_buf_slot_set_flag(slots, index, SLOT_HAL_OUTPUT); in mpp_h263_parser_setup_hal_output()
507 mpp_buf_slot_set_prop(slots, index, SLOT_FRAME, frame); in mpp_h263_parser_setup_hal_output()
511 hdr_curr->slot_idx = index; in mpp_h263_parser_setup_hal_output()
514 p->output = index; in mpp_h263_parser_setup_hal_output()
515 *output = index; in mpp_h263_parser_setup_hal_output()
527 RK_S32 index; in mpp_h263_parser_setup_refer() local
533 index = p->hdr_ref0.slot_idx; in mpp_h263_parser_setup_refer()
534 if (index >= 0) { in mpp_h263_parser_setup_refer()
535 mpp_buf_slot_set_flag(slots, index, SLOT_HAL_INPUT); in mpp_h263_parser_setup_refer()
536 refer[0] = index; in mpp_h263_parser_setup_refer()
551 RK_S32 index = hdr_curr->slot_idx; in mpp_h263_parser_update_dpb() local
555 mpp_assert(index >= 0); in mpp_h263_parser_update_dpb()
556 mpp_buf_slot_set_flag(slots, index, SLOT_CODEC_USE); in mpp_h263_parser_update_dpb()
557 mpp_buf_slot_set_flag(slots, index, SLOT_QUEUE_USE); in mpp_h263_parser_update_dpb()
558 mpp_buf_slot_enqueue(slots, index, QUEUE_DISPLAY); in mpp_h263_parser_update_dpb()
561 index = hdr_ref0->slot_idx; in mpp_h263_parser_update_dpb()
562 if (index >= 0) { in mpp_h263_parser_update_dpb()
563 mpp_buf_slot_clr_flag(slots, index, SLOT_CODEC_USE); in mpp_h263_parser_update_dpb()