frontends/va: Mark IsLongTerm in HEVC decode args

Reviewed-by: Ruijing Dong <ruijing.dong@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18328>
This commit is contained in:
Sil Vilerino
2022-09-01 10:37:49 -04:00
parent ee62f4d614
commit 52f23f923e
+1
View File
@@ -179,6 +179,7 @@ void vlVaHandlePictureParameterBufferHEVC(vlVaDriver *drv, vlVaContext *context,
context->desc.h265.RefPicSetLtCurr[iCurr++] = i;
context->desc.h265.NumPocLtCurr++;
}
context->desc.h265.IsLongTerm[i] = ((hevc->ReferenceFrames[i].flags & VA_PICTURE_HEVC_LONG_TERM_REFERENCE) != 0) ? 1 : 0;
}
context->desc.h265.pps->st_rps_bits = hevc->st_rps_bits;
context->desc.h265.UseStRpsBits = true;