Nov 21, 2022, 20:50 by ruijing.d...@amd.com:

> Add flag AV_VAAPI_DRIVER_QUIRK_DIRCT_FILM_GRAIN_ATTRIBUTES to
> specify a direct film grain mode for AMD av1 decoder.
>
> issue:
> By using AMD av1 decoder via VAAPI, when used with film
> grain content, the output displays black screen with
> incorrect frame order.
>
> The issue being discussed in here:
> https://gitlab.freedesktop.org/mesa/mesa/-/issues/6903#note_1613807
>
> Signed-off-by: Ruijing Dong <ruijing.d...@amd.com>
> Signed-off-by: nyanmisaka <nst799610...@gmail.com>
> ---
>
> update: using driver_quirks to identify AMD driver instead of
>  extra AV_HWACCEL_FLAG.
>
>  libavcodec/avcodec.h        | 1 -
>  libavcodec/vaapi_av1.c      | 6 ++++--
>  libavutil/hwcontext_vaapi.c | 5 +++++
>  libavutil/hwcontext_vaapi.h | 6 ++++++
>  4 files changed, 15 insertions(+), 3 deletions(-)
>

I think this looks fine. Just needs a micro bump and APIchanges,
but whoever commits it can apply that.
jkqxz should take a look at it too.
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to