[FFmpeg-devel] [PATCH v4] avcodec/av1_vaapi: add direct film grain mode

2022-11-22 Thread Ruijing Dong
://gitlab.freedesktop.org/mesa/mesa/-/issues/6903#note_1613807 Signed-off-by: Ruijing Dong Signed-off-by: nyanmisaka --- updates: 1. revert unintended file 2. update matched string from "AMD Radeon" to "Mesa Gallium" to cover more AMD hardwares 3. correct a typo li

[FFmpeg-devel] [PATCH v3] avcodec/av1_vaapi: add direct film grain mode

2022-11-21 Thread Ruijing Dong
://gitlab.freedesktop.org/mesa/mesa/-/issues/6903#note_1613807 Signed-off-by: Ruijing Dong Signed-off-by: nyanmisaka --- update: using driver_quirks to identify AMD driver instead of extra AV_HWACCEL_FLAG. libavcodec/avcodec.h| 1 - libavcodec/vaapi_av1.c | 6

[FFmpeg-devel] [PATCH v2] avcodec/av1_vaapi: add direct film grain mode

2022-11-19 Thread Ruijing Dong
output_with_film_grain.yuv Signed-off-by: Ruijing Dong --- update: add new option direct_film_grain in optons_table.h libavcodec/avcodec.h | 17 + libavcodec/options_table.h | 1 + libavcodec/vaapi_av1.c | 6 -- 3 files changed, 22 insertions(+), 2 deletions(-) diff --git a

[FFmpeg-devel] [PATCH] avcodec/av1_vaapi: add direct film grain mode

2022-11-18 Thread Ruijing Dong
output_with_film_grain.yuv Signed-off-by: Ruijing Dong --- libavcodec/avcodec.h | 17 + libavcodec/vaapi_av1.c | 6 -- 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 3edd8e2636..9420e7820d 100644 --- a/libavcodec/avcodec.h

[FFmpeg-devel] [PATCH v3] avcodec/av1_vaapi: fixed a decoding corruption issue

2022-11-02 Thread Ruijing Dong
cause image corruption. Mesa fix is in https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19386 Signed-off-by: Ruijing Dong --- update: re-organize commit message and title libavcodec/vaapi_av1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/vaapi_av1.c b

[FFmpeg-devel] [PATCH] avcodec/av1_vaapi: fixed a decoding corruption issue

2022-10-31 Thread Ruijing Dong
find their reference frames, and it could cause image corruption. Mesa fix is in https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19386 cc: Fei Wang Signed-off-by: Ruijing Dong --- libavcodec/vaapi_av1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/va

[FFmpeg-devel] [PATCH] avcodec/av1: fixed an vaapi decoding corruption issue

2022-10-31 Thread Ruijing Dong
is in https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19386 cc: Fei Wang Signed-off-by: Ruijing Dong --- libavcodec/vaapi_av1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/vaapi_av1.c b/libavcodec/vaapi_av1.c index 63374c31c9..d0339b2705 100644 --- a