Lines Matching refs:dpb
483 pInfo->dpb[i].is_used = 0; in h264DpbHandling()
490 if (pInfo->dpb[i].is_used==0) in h264DpbHandling()
495 bufpool_return(&pInfo->BufPool, pInfo->dpb[pInfo->dpb_size-1].addr); in h264DpbHandling()
496 pInfo->dpb[pInfo->dpb_size-1].is_used = 0; in h264DpbHandling()
506 pInfo->dpb[i].addr[0] = pInfo->dpb[i-1].addr[0]; in h264DpbHandling()
507 pInfo->dpb[i].addr[1] = pInfo->dpb[i-1].addr[1]; in h264DpbHandling()
508 pInfo->dpb[i].structure = pInfo->dpb[i-1].structure; // For H264 PAFF in h264DpbHandling()
509 pInfo->dpb[i].is_used = 1; in h264DpbHandling()
513 pInfo->dpb[0].is_used = 1; in h264DpbHandling()
514 pInfo->dpb[0].addr[0] = pBufInfo->m_nRecYAddr; in h264DpbHandling()
515 pInfo->dpb[0].addr[1] = pBufInfo->m_nRecCAddr; in h264DpbHandling()
516 pInfo->dpb[0].structure = pInfo->structure; in h264DpbHandling()
520 if(pInfo->dpb[0].is_used == 1) in h264DpbHandling()
521 bufpool_return(&pInfo->BufPool, pInfo->dpb[0].addr); in h264DpbHandling()
522 pInfo->dpb[0].addr[0] = pBufInfo->m_nRecYAddr; in h264DpbHandling()
523 pInfo->dpb[0].addr[1] = pBufInfo->m_nRecCAddr; in h264DpbHandling()
524 pInfo->dpb[0].structure = pInfo->structure; in h264DpbHandling()
525 pInfo->dpb[0].is_used = 1; in h264DpbHandling()
526 if(pInfo->dpb[1].is_used == 1) { in h264DpbHandling()
527 pInfo->dpb[1].is_used = 0; in h264DpbHandling()
528 bufpool_return(&pInfo->BufPool, pInfo->dpb[1].addr); 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()
544 (int)i, (int)pInfo->dpb[i].is_used, in h264DpbHandling()
545 pInfo->dpb[i].structure, (unsigned int)pInfo->dpb[i].addr[0].miuAddress); in h264DpbHandling()
580 if (pInfo->dpb[i].is_used) { in h264GetBufferAddr()
581 pBufInfo->m_nRefYAddr[i] = pInfo->dpb[i].addr[0]; in h264GetBufferAddr()
582 pBufInfo->m_nRefCAddr[i] = pInfo->dpb[i].addr[1]; in h264GetBufferAddr()
589 if (pInfo->dpb[i].is_used) { in h264GetBufferAddr()
590 if (pInfo->structure==TOP_FIELD && pInfo->structure != pInfo->dpb[i].structure) in h264GetBufferAddr()
592 if (pInfo->structure==BOTTOM_FIELD && pInfo->structure != pInfo->dpb[i].structure) in h264GetBufferAddr()