Lines Matching refs:index
1126 RK_S32 index = hdr_ref0->slot_idx; in mpp_mpg4_parser_flush() local
1130 if (!hdr_ref0->enqueued && index >= 0) { in mpp_mpg4_parser_flush()
1131 mpp_buf_slot_set_flag(slots, index, SLOT_QUEUE_USE); in mpp_mpg4_parser_flush()
1132 mpp_buf_slot_enqueue(slots, index, QUEUE_DISPLAY); in mpp_mpg4_parser_flush()
1147 RK_S32 index = hdr_ref0->slot_idx; in mpp_mpg4_parser_reset() local
1151 if (index >= 0) { in mpp_mpg4_parser_reset()
1153 mpp_buf_slot_set_flag(slots, index, SLOT_QUEUE_USE); in mpp_mpg4_parser_reset()
1154 mpp_buf_slot_enqueue(slots, index, QUEUE_DISPLAY); in mpp_mpg4_parser_reset()
1157 mpp_buf_slot_clr_flag(slots, index, SLOT_CODEC_USE); in mpp_mpg4_parser_reset()
1161 index = hdr_ref1->slot_idx; in mpp_mpg4_parser_reset()
1162 if (index >= 0) { in mpp_mpg4_parser_reset()
1163 mpp_buf_slot_clr_flag(slots, index, SLOT_CODEC_USE); in mpp_mpg4_parser_reset()
1414 RK_S32 index = -1; in mpp_mpg4_parser_setup_hal_output() local
1437 mpp_buf_slot_get_unused(slots, &index); in mpp_mpg4_parser_setup_hal_output()
1438 mpp_buf_slot_set_flag(slots, index, SLOT_HAL_OUTPUT); in mpp_mpg4_parser_setup_hal_output()
1456 mpp_buf_slot_set_prop(slots, index, SLOT_FRAME, frame); in mpp_mpg4_parser_setup_hal_output()
1460 hdr_curr->slot_idx = index; in mpp_mpg4_parser_setup_hal_output()
1463 p->output = index; in mpp_mpg4_parser_setup_hal_output()
1464 *output = index; in mpp_mpg4_parser_setup_hal_output()
1476 RK_S32 index; in mpp_mpg4_parser_setup_refer() local
1482 index = p->hdr_ref0.slot_idx; in mpp_mpg4_parser_setup_refer()
1483 if (index >= 0) { in mpp_mpg4_parser_setup_refer()
1484 mpp_buf_slot_set_flag(slots, index, SLOT_HAL_INPUT); in mpp_mpg4_parser_setup_refer()
1485 refer[0] = index; in mpp_mpg4_parser_setup_refer()
1487 index = p->hdr_ref1.slot_idx; in mpp_mpg4_parser_setup_refer()
1488 if (index >= 0) { in mpp_mpg4_parser_setup_refer()
1489 mpp_buf_slot_set_flag(slots, index, SLOT_HAL_INPUT); in mpp_mpg4_parser_setup_refer()
1490 refer[1] = index; in mpp_mpg4_parser_setup_refer()
1507 RK_S32 index = p->output; in mpp_mpg4_parser_update_dpb() local
1520 index = hdr_curr->slot_idx; in mpp_mpg4_parser_update_dpb()
1521 mpp_buf_slot_set_flag(slots, index, SLOT_QUEUE_USE); in mpp_mpg4_parser_update_dpb()
1522 mpp_buf_slot_enqueue(slots, index, QUEUE_DISPLAY); in mpp_mpg4_parser_update_dpb()
1534 index = hdr_ref0->slot_idx; in mpp_mpg4_parser_update_dpb()
1535 if (!hdr_ref0->enqueued && index >= 0) { in mpp_mpg4_parser_update_dpb()
1536 mpp_buf_slot_set_flag(slots, index, SLOT_QUEUE_USE); in mpp_mpg4_parser_update_dpb()
1537 mpp_buf_slot_enqueue(slots, index, QUEUE_DISPLAY); in mpp_mpg4_parser_update_dpb()
1543 index = hdr_ref1->slot_idx; in mpp_mpg4_parser_update_dpb()
1544 if (index >= 0) in mpp_mpg4_parser_update_dpb()
1545 mpp_buf_slot_clr_flag(slots, index, SLOT_CODEC_USE); in mpp_mpg4_parser_update_dpb()