Lines Matching refs:empty_idx
475 MS_S32 i, empty_idx; in h264DpbHandling() local
488 empty_idx = -1; in h264DpbHandling()
491 empty_idx = i; in h264DpbHandling()
494 if (empty_idx==-1) { in h264DpbHandling()
497 empty_idx = pInfo->dpb_size-1; // Kick-off the least recent frame in h264DpbHandling()
500 ms_dprintk(DRV_L3, "empty_idx = %d\n", (int)empty_idx); in h264DpbHandling()
504 if(empty_idx != 0) { in h264DpbHandling()
505 for (i=empty_idx; i>=1; i--) { in h264DpbHandling()
534 pInfo->dpb[empty_idx].addr[0] = pBufInfo->m_nRecYAddr; in h264DpbHandling()
535 pInfo->dpb[empty_idx].addr[1] = pBufInfo->m_nRecCAddr; in h264DpbHandling()
536 pInfo->dpb[empty_idx].structure = pInfo->structure; in h264DpbHandling()
537 pInfo->dpb[empty_idx].is_used = 1; in h264DpbHandling()