Re: [FFmpeg-devel] [PATCH v6 3/9] avformat: add vvc raw demux

2021-02-18 Thread Nuo Mi
> > > > > All h266 conformance test clips will not detect as other formats. But if > > you have a well-designed clip, it may be. This is normal case for a raw > > bytestream detector. > > I'm mainly asking because the H.264 probe function does check some PS IDs > to have a bit more confidence that

Re: [FFmpeg-devel] [PATCH v6 3/9] avformat: add vvc raw demux

2021-02-18 Thread Mark Thompson
On 18/02/2021 08:47, Nuo Mi wrote: On Thu, Feb 18, 2021 at 6:52 AM Mark Thompson wrote: On 17/02/2021 01:51, Nuo Mi wrote: +for (i = 0; i < p->buf_size - 1; i++) { +code = (code << 8) + p->buf[i]; +if ((code & 0xff00) == 0x100) { +uint8_t nal2 = p->buf[i +

Re: [FFmpeg-devel] [PATCH v6 3/9] avformat: add vvc raw demux

2021-02-18 Thread Nuo Mi
On Thu, Feb 18, 2021 at 6:52 AM Mark Thompson wrote: > On 17/02/2021 01:51, Nuo Mi wrote: > > > +for (i = 0; i < p->buf_size - 1; i++) { > > +code = (code << 8) + p->buf[i]; > > +if ((code & 0xff00) == 0x100) { > > +uint8_t nal2 = p->buf[i + 1]; > > +

Re: [FFmpeg-devel] [PATCH v6 3/9] avformat: add vvc raw demux

2021-02-17 Thread Mark Thompson
On 17/02/2021 01:51, Nuo Mi wrote: --- libavformat/Makefile | 1 + libavformat/allformats.c | 1 + libavformat/vvcdec.c | 61 3 files changed, 63 insertions(+) create mode 100644 libavformat/vvcdec.c diff --git a/libavformat/Makefile b/li

[FFmpeg-devel] [PATCH v6 3/9] avformat: add vvc raw demux

2021-02-16 Thread Nuo Mi
--- libavformat/Makefile | 1 + libavformat/allformats.c | 1 + libavformat/vvcdec.c | 61 3 files changed, 63 insertions(+) create mode 100644 libavformat/vvcdec.c diff --git a/libavformat/Makefile b/libavformat/Makefile index 10fee749c8..2b9d0