Lines Matching refs:pic

135         VAPictureH264 &pic = data->pic_data[i].pic_parms->CurrPic;  in decodeFrame()  local
136 fieldFlags |= pic.flags; in decodeFrame()
142 pic.TopFieldOrderCnt, in decodeFrame()
143 pic.BottomFieldOrderCnt, in decodeFrame()
144 pic.flags, in decodeFrame()
145 (pic.flags & VA_PICTURE_H264_SHORT_TERM_REFERENCE) || in decodeFrame()
146 (pic.flags & VA_PICTURE_H264_LONG_TERM_REFERENCE)); in decodeFrame()
609 int32_t VideoDecoderAVC::getPOC(VAPictureH264 *pic) { in getPOC() argument
610 if (pic->flags & VA_PICTURE_H264_BOTTOM_FIELD) { in getPOC()
611 return pic->BottomFieldOrderCnt; in getPOC()
613 return pic->TopFieldOrderCnt; in getPOC()
616 VASurfaceID VideoDecoderAVC::findSurface(VAPictureH264 *pic) { in findSurface() argument
617 VideoSurfaceBuffer *p = findSurfaceBuffer(pic); in findSurface()
619 ETRACE("Could not find surface for poc %d", getPOC(pic)); in findSurface()
625 VideoSurfaceBuffer* VideoDecoderAVC::findSurfaceBuffer(VAPictureH264 *pic) { in findSurfaceBuffer() argument
628 if (dpb->poc == pic->BottomFieldOrderCnt || in findSurfaceBuffer()
629 dpb->poc == pic->TopFieldOrderCnt) { in findSurfaceBuffer()
632 ETRACE("Invalid surface buffer in the DPB for poc %d.", getPOC(pic)); in findSurfaceBuffer()
641 VideoSurfaceBuffer* VideoDecoderAVC::findRefSurfaceBuffer(VAPictureH264 *pic) { in findRefSurfaceBuffer() argument
646 if (dpb->poc == pic->BottomFieldOrderCnt || in findRefSurfaceBuffer()
647 dpb->poc == pic->TopFieldOrderCnt) { in findRefSurfaceBuffer()
650 ETRACE("Invalid surface buffer in the DPB for poc %d.", getPOC(pic)); in findRefSurfaceBuffer()
655 ETRACE("Unable to find surface for poc %d", getPOC(pic)); in findRefSurfaceBuffer()