Re: [FFmpeg-devel] [PATCH] avcodec: add Apple Pixlet decoder

2016-12-22 Thread Paul B Mahol
On 12/22/16, Michael Niedermayer wrote: > On Wed, Dec 21, 2016 at 09:16:40PM +0100, Paul B Mahol wrote: >> Signed-off-by: Paul B Mahol >> --- >> Changelog | 1 + >> doc/general.texi| 1 + >> libavcodec/Makefile | 1 + >> libavcodec/allcodecs.c | 1 + >> libavco

Re: [FFmpeg-devel] [PATCH] avcodec: add Apple Pixlet decoder

2016-12-22 Thread Michael Niedermayer
On Wed, Dec 21, 2016 at 09:16:40PM +0100, Paul B Mahol wrote: > Signed-off-by: Paul B Mahol > --- > Changelog | 1 + > doc/general.texi| 1 + > libavcodec/Makefile | 1 + > libavcodec/allcodecs.c | 1 + > libavcodec/avcodec.h| 1 + > libavcodec/codec_desc.

[FFmpeg-devel] [PATCH] avcodec: add Apple Pixlet decoder

2016-12-21 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- Changelog | 1 + doc/general.texi| 1 + libavcodec/Makefile | 1 + libavcodec/allcodecs.c | 1 + libavcodec/avcodec.h| 1 + libavcodec/codec_desc.c | 7 + libavcodec/pixlet.c | 756 +

Re: [FFmpeg-devel] [PATCH] avcodec: add Apple Pixlet decoder

2016-12-20 Thread Michael Niedermayer
On Mon, Dec 19, 2016 at 03:18:00PM +0100, Paul B Mahol wrote: > Signed-off-by: Paul B Mahol > --- > doc/general.texi| 1 + > libavcodec/Makefile | 1 + > libavcodec/allcodecs.c | 1 + > libavcodec/avcodec.h| 1 + > libavcodec/codec_desc.c | 7 + > libavcodec/pixlet.c

Re: [FFmpeg-devel] [PATCH] avcodec: add Apple Pixlet decoder

2016-12-19 Thread Paul B Mahol
On 12/19/16, James Almer wrote: > On 12/19/2016 11:18 AM, Paul B Mahol wrote: >> +static int read_low_coeffs(AVCodecContext *avctx, int16_t *dst, int size) >> +{ >> +PixletContext *ctx = avctx->priv_data; >> +GetBitContext *b = &ctx->gbit; >> +unsigned value, cnt1, nbits, j, i = 0; >>

Re: [FFmpeg-devel] [PATCH] avcodec: add Apple Pixlet decoder

2016-12-19 Thread James Almer
On 12/19/2016 11:18 AM, Paul B Mahol wrote: > +static int read_low_coeffs(AVCodecContext *avctx, int16_t *dst, int size) > +{ > +PixletContext *ctx = avctx->priv_data; > +GetBitContext *b = &ctx->gbit; > +unsigned value, cnt1, nbits, j, i = 0; > +int rlen, flag = 0, escape; > +i

[FFmpeg-devel] [PATCH] avcodec: add Apple Pixlet decoder

2016-12-19 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- doc/general.texi| 1 + libavcodec/Makefile | 1 + libavcodec/allcodecs.c | 1 + libavcodec/avcodec.h| 1 + libavcodec/codec_desc.c | 7 + libavcodec/pixlet.c | 726 libavformat/isom.c