Lines Matching defs:ref
432 VAPictureH264 *ref = sliceParam->RefPicList0;
439 for (int32_t j = 0; j <= activeMinus1; j++, ref++) {
440 if (!(ref->flags & VA_PICTURE_H264_INVALID)) {
441 ref->picture_id = findSurface(ref);
442 if (ref->picture_id == VA_INVALID_SURFACE) {
448 WTRACE("Reference frame %d is missing. Use last reference", getPOC(ref));
449 ref->picture_id = mLastReference->renderBuffer.surface;
451 ETRACE("Reference frame %d is missing. Stop decoding.", getPOC(ref));
458 ref = sliceParam->RefPicList1;
467 VAPictureH264 *ref = picParam->ReferenceFrames;
473 for (int32_t i = 0; i < MAX_REF_NUMBER; i++, ref++) {
474 if (ref->flags & VA_PICTURE_H264_INVALID) {
478 ref->picture_id = findSurface(ref);
480 dpb->poc = getPOC(ref);
481 // looking for the latest ref frame in the DPB with specified POC, in case frames have same POC
482 dpb->surfaceBuffer = findRefSurfaceBuffer(ref);
657 // always looking for the latest one in the DPB, in case ref frames have same POC