History

avcodec/vvcdec: NoBackwardPredFlag, only check active pictures

see "8.3.6 Decoding process for collocated picture and no backward prediction"

Nuo Mi committed 2 years ago

Commit cd540a31 parent 8e294ab1 file · +1 −1Browse files

Unified · Split

libavcodec/vvc/vvc_mvs.c+1−1
@@ -125,7 +125,7 @@ int ff_vvc_no_backward_pred_flag(const VVCLocalContext *lc) · 124 unmodified lines
125 const RefPicList *rpl = lc->sc->rpl;125 const RefPicList *rpl = lc->sc->rpl;
126 126
127 for (j = 0; j < 2; j++) {127 for (j = 0; j < 2; j++) {
128 for (i = 0; i < rpl[j].nb_refs; i++) {128 for (i = 0; i < lc->sc->sh.r->num_ref_idx_active[j]; i++) {
129 if (rpl[j].list[i] > lc->fc->ps.ph.poc) {129 if (rpl[j].list[i] > lc->fc->ps.ph.poc) {
130 check_diffpicount++;130 check_diffpicount++;
131 break;131 break;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t