[FFmpeg-devel] [vaapi-cavs 6/7] cavs: set profile & level for AVCodecContext

2024-01-21 Thread jianfeng.zheng
Signed-off-by: jianfeng.zheng --- libavcodec/cavsdec.c | 5 - tests/ref/fate/cavs-demux | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/libavcodec/cavsdec.c b/libavcodec/cavsdec.c index 8d3ba530a6..5036ef50f7 100644 --- a/libavcodec/cavsdec.c +++ b/libavcodec

[FFmpeg-devel] [vaapi-cavs 7/7] cavs: support vaapi hwaccel decoding

2024-01-21 Thread jianfeng.zheng
see https://github.com/intel/libva/pull/738 Signed-off-by: jianfeng.zheng --- configure | 14 libavcodec/Makefile | 1 + libavcodec/cavs.h | 4 + libavcodec/cavsdec.c | 101 +-- libavcodec/hwaccels.h | 1 + libavcodec

[FFmpeg-devel] [vaapi-cavs 5/7] cavs: decode wqm and slice weighting for future usage

2024-01-21 Thread jianfeng.zheng
Signed-off-by: jianfeng.zheng --- libavcodec/cavs.h| 26 +++- libavcodec/cavsdec.c | 142 +-- 2 files changed, 147 insertions(+), 21 deletions(-) diff --git a/libavcodec/cavs.h b/libavcodec/cavs.h index f490657959..33ef10e850 100644 --- a

[FFmpeg-devel] [vaapi-cavs 4/7] cavs: fix dpb reorder issues when 'low_delay' is varied

2024-01-21 Thread jianfeng.zheng
Consider multi sequences in one stream, 'low_delay' may change between sequences. Signed-off-by: jianfeng.zheng --- libavcodec/cavs.c| 12 + libavcodec/cavs.h| 2 + libavcodec/cavsdec.c | 105 +-- 3 files changed, 95 inserti

[FFmpeg-devel] [vaapi-cavs 3/7] cavs: time code debug

2024-01-21 Thread jianfeng.zheng
Signed-off-by: jianfeng.zheng --- libavcodec/cavsdec.c | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/libavcodec/cavsdec.c b/libavcodec/cavsdec.c index 9742bd1011..9ad0f29b01 100644 --- a/libavcodec/cavsdec.c +++ b/libavcodec/cavsdec.c @@ -1061,6 +1061,7

[FFmpeg-devel] [vaapi-cavs 2/7] cavs: skip bits between pic header and slc header

2024-01-21 Thread jianfeng.zheng
Signed-off-by: jianfeng.zheng --- libavcodec/cavs.h| 2 + libavcodec/cavsdec.c | 87 2 files changed, 89 insertions(+) diff --git a/libavcodec/cavs.h b/libavcodec/cavs.h index 244c322b35..ad49abff92 100644 --- a/libavcodec/cavs.h +++ b

[FFmpeg-devel] [vaapi-cavs 1/7] cavs: add cavs profile defs

2024-01-21 Thread jianfeng.zheng
Signed-off-by: jianfeng.zheng --- libavcodec/defs.h | 3 +++ libavcodec/profiles.c | 6 ++ libavcodec/profiles.h | 1 + 3 files changed, 10 insertions(+) diff --git a/libavcodec/defs.h b/libavcodec/defs.h index 00d840ec19..d59816a70f 100644 --- a/libavcodec/defs.h +++ b/libavcodec

[FFmpeg-devel] [PATCH v1 2/2] vaapi: add vaapi_avs2 support

2024-01-19 Thread jianfeng.zheng
see https://github.com/intel/libva/pull/738 [Moore Threads](https://www.mthreads.com) (short for Mthreads) is a Chinese GPU manufacturer. All our products, like MTTS70/MTTS80/.. , support AVS2 8bit/10bit HW decoding at max 8k resolution. Signed-off-by: jianfeng.zheng --- configure

[FFmpeg-devel] [PATCH v1 1/2] vaapi: add vaapi_cavs support

2024-01-19 Thread jianfeng.zheng
see https://github.com/intel/libva/pull/738 [Moore Threads](https://www.mthreads.com) (short for Mthreads) is a Chinese GPU manufacturer. All our products, like MTTS70/MTTS80/.. , support AVS/AVS+ HW decoding at max 2k resolution. Signed-off-by: jianfeng.zheng --- configure

[FFmpeg-devel] [PATCH v3] vaapi: support VAProfileH264High10

2023-01-11 Thread jianfeng.zheng
see https://github.com/intel/libva/pull/664 Signed-off-by: jianfeng.zheng --- configure | 13 + libavcodec/h264_slice.c| 9 - libavcodec/vaapi_decode.c | 10 ++ libavcodec/vaapi_encode_h264.c | 27 ++- 4