[FFmpeg-devel] [PATCH 03/14] vvcdec: add sps, pps, sh parser
Nuo Mi
nuomi2021 at gmail.com
Sat Jun 10 14:37:07 EEST 2023
On Sun, May 21, 2023 at 10:25 PM James Almer <jamrial at gmail.com> wrote:
> On 5/21/2023 10:03 AM, Nuo Mi wrote:
> > ---
> > libavcodec/vvc/Makefile | 4 +-
> > libavcodec/vvc/vvc_data.c | 3295 ++++++++++++++++++++++++++++++++++++
> > libavcodec/vvc/vvc_data.h | 69 +
> > libavcodec/vvc/vvc_ps.c | 3379 +++++++++++++++++++++++++++++++++++++
> > libavcodec/vvc/vvc_ps.h | 811 +++++++++
> > libavcodec/vvc/vvcdec.h | 3 +
> > 6 files changed, 7560 insertions(+), 1 deletion(-)
> > create mode 100644 libavcodec/vvc/vvc_data.c
> > create mode 100644 libavcodec/vvc/vvc_data.h
> > create mode 100644 libavcodec/vvc/vvc_ps.c
> > create mode 100644 libavcodec/vvc/vvc_ps.h
>
> As mentioned on IRC, this should ideally use the already written CBS
> implementation of h266 instead of rewriting a second standalone
> implementation, removing code duplication and and preventing extra work
> in the future when extensions are added to the spec.
>
Hi Mark,
Any suggestion for this?
If we go this way, we may need to add some functions to cbs, it will
attach a meta buffer to sps/pps/ph.
Mainly because we need per sps/pps/ph temporary buffers in the decoder
which is not needed by other cbs users.
likes this
https://github.com/ffvvc/FFmpeg/blob/main/libavcodec/vvc/vvc_ps.h#L525-L550
>
> I'd like to hear Mark's opinion about this, too.
> _______________________________________________
> 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