Re: [FFmpeg-devel] [PATCH] avcodec: add RPZA encoder

2020-08-21 Thread Paul B Mahol
On 8/21/20, Paul B Mahol wrote: > Signed-off-by: Paul B Mahol > --- > Changelog | 1 + > doc/general.texi | 2 +- > libavcodec/Makefile| 1 + > libavcodec/allcodecs.c | 1 + > libavcodec/rpzaenc.c | 860 + > libavcodec/vers

[FFmpeg-devel] [PATCH] avcodec: add RPZA encoder

2020-08-21 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- Changelog | 1 + doc/general.texi | 2 +- libavcodec/Makefile| 1 + libavcodec/allcodecs.c | 1 + libavcodec/rpzaenc.c | 860 + libavcodec/version.h | 2 +- 6 files changed, 865 insertions

Re: [FFmpeg-devel] [PATCH] avcodec: add RPZA encoder

2020-08-21 Thread Paul B Mahol
On 7/19/20, James Almer wrote: > On 7/16/2020 11:54 AM, Paul B Mahol wrote: >> +if (!s->prev_frame->data[0]) { >> +s->first_frame = 1; >> +ret = ff_get_buffer(avctx, s->prev_frame, 0); > > This is for decoders only. Fill format, width and height on > s->prev_frame then call av_

Re: [FFmpeg-devel] [PATCH] avcodec: add RPZA encoder

2020-07-19 Thread James Almer
On 7/16/2020 11:54 AM, Paul B Mahol wrote: > +if (!s->prev_frame->data[0]) { > +s->first_frame = 1; > +ret = ff_get_buffer(avctx, s->prev_frame, 0); This is for decoders only. Fill format, width and height on s->prev_frame then call av_frame_get_buffer() instead. > +if

Re: [FFmpeg-devel] [PATCH] avcodec: add RPZA encoder

2020-07-19 Thread Paul B Mahol
Will apply soon. On 7/16/20, Paul B Mahol wrote: > Signed-off-by: Paul B Mahol > --- > libavcodec/Makefile| 1 + > libavcodec/allcodecs.c | 1 + > libavcodec/rpzaenc.c | 857 + > 3 files changed, 859 insertions(+) > create mode 100644 libavcode

[FFmpeg-devel] [PATCH] avcodec: add RPZA encoder

2020-07-16 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavcodec/Makefile| 1 + libavcodec/allcodecs.c | 1 + libavcodec/rpzaenc.c | 857 + 3 files changed, 859 insertions(+) create mode 100644 libavcodec/rpzaenc.c diff --git a/libavcodec/Makefile b/libavcodec/Makefi