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

Jianfeng Zheng ggjogh at gmail.com
Mon Jan 22 14:32:21 EET 2024


Zhao Zhili <quinkblack at foxmail.com> 于2024年1月22日周一 20:02写道:
>
>
>
> > On Jan 22, 2024, at 08:06, Liu Steven <lq at chinaffmpeg.org> wrote:
> >
> >
> >
> >> On Jan 21, 2024, at 22:47, Jianfeng Zheng <ggjogh at gmail.com> wrote:
> >>
> >> Zhao Zhili <quinkblack at foxmail.com> 于2024年1月20日周六 12:22写道:
> >>>
> >>>
> >>>> -----Original Message-----
> >>>> From: ffmpeg-devel <ffmpeg-devel-bounces at ffmpeg.org> On Behalf Of jianfeng.zheng
> >>>> Sent: 2024年1月19日 23:53
> >>>> To: ffmpeg-devel at ffmpeg.org
> >>>> Cc: jianfeng.zheng <jianfeng.zheng at mthreads.com>
> >>>> Subject: [FFmpeg-devel] [PATCH v1 2/2] vaapi: add vaapi_avs2 support
> >>>>
> >>>> 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 <jianfeng.zheng at mthreads.com>
> >>>> ---
> >>>> configure                    |   7 +
> >>>> libavcodec/Makefile          |   2 +
> >>>> libavcodec/allcodecs.c       |   1 +
> >>>> libavcodec/avs2.c            | 345 ++++++++++++++-
> >>>> libavcodec/avs2.h            | 460 +++++++++++++++++++-
> >>>> libavcodec/avs2_parser.c     |   5 +-
> >>>> libavcodec/avs2dec.c         | 569 +++++++++++++++++++++++++
> >>>> libavcodec/avs2dec.h         |  48 +++
> >>>> libavcodec/avs2dec_headers.c | 787 +++++++++++++++++++++++++++++++++++
> >>>> libavcodec/codec_desc.c      |   5 +-
> >>>> libavcodec/defs.h            |   4 +
> >>>> libavcodec/hwaccels.h        |   1 +
> >>>> libavcodec/libdavs2.c        |   2 +-
> >>>> libavcodec/profiles.c        |   6 +
> >>>> libavcodec/profiles.h        |   1 +
> >>>> libavcodec/vaapi_avs2.c      | 227 ++++++++++
> >>>> libavcodec/vaapi_decode.c    |   5 +
> >>>> libavformat/matroska.c       |   1 +
> >>>> libavformat/mpeg.h           |   1 +
> >>>> 19 files changed, 2450 insertions(+), 27 deletions(-)
> >>>> create mode 100644 libavcodec/avs2dec.c
> >>>> create mode 100644 libavcodec/avs2dec.h
> >>>> create mode 100644 libavcodec/avs2dec_headers.c
> >>>> create mode 100644 libavcodec/vaapi_avs2.c
> >>>>
> >>>
> >>> Please split the patch properly. It's hard to review in a single chunk, and it can't be tested
> >>> without the hardware.
> >>
> >> As a new player in the GPU market, we have always attached great importance
> >> to the participation of the open source community. And willing to feed back our
> >> new features to the field of video hardware acceleration.
> >>
> >> As a pioneer, these new features may only be supported by our hardware
> >> at current
> >> time. We are willing to provide some market selling devices for free
> >> to community
> >> accredited contributors for testing related functions.
> > I accredited Zhili Zhao, but i cannot sure Zhili Zhao have interest in the GPU card and not sure he has a computer can insert a PCI GPU card:D
>
> I have done a little work on AVS/AVS2/AVS3 and some hardware acceleration work.
> I have a Lenovo 7000K and Dell Precision 3640, and I’m more concerned about driver.

If you using Ubuntu driver is easy by install our all-in-one deb driver package.

Some how the problem is VAAPI-AVS/AVS2 interfaces should be accected by
Intel first. I'm wondering if Intel guys would be interest in taking
try our newest
devices like S80?

>
> >
> >>
> >>>
> >>> _______________________________________________
> >>> ffmpeg-devel mailing list
> >>> ffmpeg-devel at ffmpeg.org
> >>> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> >>>
> >>> To unsubscribe, visit link above, or email
> >>> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".
> >> _______________________________________________
> >> ffmpeg-devel mailing list
> >> ffmpeg-devel at ffmpeg.org
> >> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> >>
> >> To unsubscribe, visit link above, or email
> >> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".
> >
> >
> > _______________________________________________
> > ffmpeg-devel mailing list
> > ffmpeg-devel at ffmpeg.org
> > https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> >
> > To unsubscribe, visit link above, or email
> > ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-devel mailing list