Home | History | Annotate | Download | only in videodecoder

Lines Matching defs:ref

418     VAPictureH264 *ref = sliceParam->RefPicList0;
425 for (int32_t j = 0; j <= activeMinus1; j++, ref++) {
426 if (!(ref->flags & VA_PICTURE_H264_INVALID)) {
427 ref->picture_id = findSurface(ref);
428 if (ref->picture_id == VA_INVALID_SURFACE) {
434 WTRACE("Reference frame %d is missing. Use last reference", getPOC(ref));
435 ref->picture_id = mLastReference->renderBuffer.surface;
437 ETRACE("Reference frame %d is missing. Stop decoding.", getPOC(ref));
444 ref = sliceParam->RefPicList1;
453 VAPictureH264 *ref = picParam->ReferenceFrames;
459 for (int32_t i = 0; i < MAX_REF_NUMBER; i++, ref++) {
460 if (ref->flags & VA_PICTURE_H264_INVALID) {
464 ref->picture_id = findSurface(ref);
466 dpb->poc = getPOC(ref);
467 // looking for the latest ref frame in the DPB with specified POC, in case frames have same POC
468 dpb->surfaceBuffer = findRefSurfaceBuffer(ref);
643 // always looking for the latest one in the DPB, in case ref frames have same POC