[FFmpeg-devel] [PATCH v6 6/9] avcodec: add vvc parser

Nuo Mi nuomi2021 at gmail.com
Thu Feb 18 08:44:16 EET 2021


On Thu, Feb 18, 2021 at 8:10 AM Mark Thompson <sw at jkqxz.net> wrote:

> On 17/02/2021 01:51, Nuo Mi wrote:
> > ---
> >   configure               |   1 +
> >   libavcodec/Makefile     |   1 +
> >   libavcodec/parsers.c    |   1 +
> >   libavcodec/vvc_parser.c | 310 ++++++++++++++++++++++++++++++++++++++++
> >   4 files changed, 313 insertions(+)
> >   create mode 100644 libavcodec/vvc_parser.c
> >
> > diff --git a/configure b/configure
> > index 11df59a229..24463595d2 100755
> > --- a/configure
> > +++ b/configure
> > @@ -3167,6 +3167,7 @@ mpegaudio_parser_select="mpegaudioheader"
> >   mpegvideo_parser_select="mpegvideo"
> >   mpeg4video_parser_select="h263dsp mpegvideo qpeldsp"
> >   vc1_parser_select="vc1dsp"
> > +vcc_parser_select="cbs_h266"
>
> Typo - "vcc".  (There is no checking on names here, because they are just
> shell variables.  The only way to verify if particular dependencies are
> correct is to build that thing with everything else disabled.)
>
Fixed.

>
> >
> >   # bitstream_filters
> >   aac_adtstoasc_bsf_select="adts_header"
> > diff --git a/libavcodec/Makefile b/libavcodec/Makefile
> > index 23553e68e9..5adb96c8df 100644
> > --- a/libavcodec/Makefile
> > +++ b/libavcodec/Makefile
> > @@ -1128,6 +1128,7 @@ OBJS-$(CONFIG_VC1_PARSER)              +=
> vc1_parser.o vc1.o vc1data.o  \
> >   OBJS-$(CONFIG_VP3_PARSER)              += vp3_parser.o
> >   OBJS-$(CONFIG_VP8_PARSER)              += vp8_parser.o
> >   OBJS-$(CONFIG_VP9_PARSER)              += vp9_parser.o
> > +OBJS-$(CONFIG_VVC_PARSER)              += vvc_parser.o
> >   OBJS-$(CONFIG_WEBP_PARSER)             += webp_parser.o
> >   OBJS-$(CONFIG_XBM_PARSER)              += xbm_parser.o
> >   OBJS-$(CONFIG_XMA_PARSER)              += xma_parser.o
> > diff --git a/libavcodec/parsers.c b/libavcodec/parsers.c
> > index f8cfa1cde9..61d753d680 100644
> > --- a/libavcodec/parsers.c
> > +++ b/libavcodec/parsers.c
> > @@ -72,6 +72,7 @@ extern AVCodecParser ff_vorbis_parser;
> >   extern AVCodecParser ff_vp3_parser;
> >   extern AVCodecParser ff_vp8_parser;
> >   extern AVCodecParser ff_vp9_parser;
> > +extern AVCodecParser ff_vvc_parser;
> >   extern AVCodecParser ff_webp_parser;
> >   extern AVCodecParser ff_xbm_parser;
> >   extern AVCodecParser ff_xma_parser;
> > diff --git a/libavcodec/vvc_parser.c b/libavcodec/vvc_parser.c
> > new file mode 100644
> > index 0000000000..4b4aa4b625
> > --- /dev/null
> > +++ b/libavcodec/vvc_parser.c
> > @@ -0,0 +1,310 @@
> > +/*
> > + * VVC parser
> > + *
> > + * Copyright (C) 2029 Nuo Mi <nuomi2021 at gmail.com>
>
> Code from the future!
>
fixed :)

>
> > + *
> > ...
>
> - Mark
> _______________________________________________
> 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