Re: [FFmpeg-devel] [PATCH v2 24/36] lavc/cbs: Add JPEG support

2018-06-17 Thread Mark Thompson
On 15/06/18 01:52, Xiang, Haihao wrote: > On Fri, 2018-06-08 at 00:43 +0100, Mark Thompson wrote: >> --- >> configure | 2 + >> libavcodec/Makefile | 1 + >> libavcodec/cbs.c | 6 + >> libavcodec/cbs_internal.h |

Re: [FFmpeg-devel] [PATCH v2 24/36] lavc/cbs: Add JPEG support

2018-06-14 Thread Xiang, Haihao
On Fri, 2018-06-08 at 00:43 +0100, Mark Thompson wrote: > --- > configure | 2 + > libavcodec/Makefile | 1 + > libavcodec/cbs.c | 6 + > libavcodec/cbs_internal.h | 1 + > libavcodec/cbs_jpeg.c

Re: [FFmpeg-devel] [PATCH v2 24/36] lavc/cbs: Add JPEG support

2018-06-13 Thread James Almer
On 6/13/2018 6:28 PM, Mark Thompson wrote: > On 08/06/18 05:18, James Almer wrote: >> On 6/7/2018 8:43 PM, Mark Thompson wrote: >>> +static int cbs_jpeg_write_unit(CodedBitstreamContext *ctx, >>> +CodedBitstreamUnit *unit) >>> +{ >>> +CodedBitstreamJPEGContext *p

Re: [FFmpeg-devel] [PATCH v2 24/36] lavc/cbs: Add JPEG support

2018-06-13 Thread Mark Thompson
On 08/06/18 02:16, myp...@gmail.com wrote: > On Fri, Jun 8, 2018 at 7:46 AM Mark Thompson wrote: >> >> --- >> configure | 2 + >> libavcodec/Makefile | 1 + >> libavcodec/cbs.c | 6 + >> libavcodec/cbs_internal.h

Re: [FFmpeg-devel] [PATCH v2 24/36] lavc/cbs: Add JPEG support

2018-06-13 Thread Mark Thompson
On 08/06/18 05:18, James Almer wrote: > On 6/7/2018 8:43 PM, Mark Thompson wrote: >> +static int cbs_jpeg_write_unit(CodedBitstreamContext *ctx, >> +CodedBitstreamUnit *unit) >> +{ >> +CodedBitstreamJPEGContext *priv = ctx->priv_data; >> +PutBitContext pbc; >

Re: [FFmpeg-devel] [PATCH v2 24/36] lavc/cbs: Add JPEG support

2018-06-07 Thread James Almer
On 6/7/2018 8:43 PM, Mark Thompson wrote: > +static int cbs_jpeg_write_unit(CodedBitstreamContext *ctx, > +CodedBitstreamUnit *unit) > +{ > +CodedBitstreamJPEGContext *priv = ctx->priv_data; > +PutBitContext pbc; > +int err; > + > +if (!priv->write_bu

Re: [FFmpeg-devel] [PATCH v2 24/36] lavc/cbs: Add JPEG support

2018-06-07 Thread myp...@gmail.com
On Fri, Jun 8, 2018 at 7:46 AM Mark Thompson wrote: > > --- > configure | 2 + > libavcodec/Makefile | 1 + > libavcodec/cbs.c | 6 + > libavcodec/cbs_internal.h | 1 + > libavcodec/cbs_jpeg.c |

[FFmpeg-devel] [PATCH v2 24/36] lavc/cbs: Add JPEG support

2018-06-07 Thread Mark Thompson
--- configure | 2 + libavcodec/Makefile | 1 + libavcodec/cbs.c | 6 + libavcodec/cbs_internal.h | 1 + libavcodec/cbs_jpeg.c | 513 ++ libavcodec/cbs_jpeg.h