Re: [FFmpeg-devel] [PATCH 2/2] qt-faststart - optimize the offset change loop

2018-05-31 Thread Eran Kornblau
esday, May 30, 2018 12:37 AM > > > To: FFmpeg development discussions and patches > > > > > > Subject: Re: [FFmpeg-devel] [PATCH 2/2] qt-faststart - optimize the > > > offset change loop > > > > > > > +*ptr++ = (current_of

Re: [FFmpeg-devel] [PATCH 2/2] qt-faststart - optimize the offset change loop

2018-05-30 Thread Michael Niedermayer
t; > To: FFmpeg development discussions and patches > > Subject: Re: [FFmpeg-devel] [PATCH 2/2] qt-faststart - optimize the offset > > change loop > > > > > +*ptr++ = (current_offset >> 56) & 0xFF; > > > +*ptr++ = (cur

Re: [FFmpeg-devel] [PATCH 2/2] qt-faststart - optimize the offset change loop

2018-05-30 Thread Tomas Härdin
tis 2018-05-29 klockan 14:36 + skrev Eran Kornblau: > Hi, > > The attached is a slightly more optimized (and IMHO elegant) code for > updating the stco/co64 offsets Looks OK to me. Those & 0xFF are actually superfluous, but the compiler should remove them anyway. /Tomas

Re: [FFmpeg-devel] [PATCH 2/2] qt-faststart - optimize the offset change loop

2018-05-29 Thread Eran Kornblau
> > > -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of > Michael Niedermayer > Sent: Wednesday, May 30, 2018 12:37 AM > To: FFmpeg development discussions and patches > Subject: Re: [FFmpeg-devel] [PATCH 2/2]

Re: [FFmpeg-devel] [PATCH 2/2] qt-faststart - optimize the offset change loop

2018-05-29 Thread Michael Niedermayer
On Tue, May 29, 2018 at 02:36:28PM +, Eran Kornblau wrote: > Hi, > > The attached is a slightly more optimized (and IMHO elegant) code for > updating the stco/co64 offsets > > Thanks > > Eran > qt-faststart.c | 42 +- > 1 file changed, 25

[FFmpeg-devel] [PATCH 2/2] qt-faststart - optimize the offset change loop

2018-05-29 Thread Eran Kornblau
Hi, The attached is a slightly more optimized (and IMHO elegant) code for updating the stco/co64 offsets Thanks Eran 0002-qt-faststart-optimize-the-offset-change-loop.patch Description: 0002-qt-faststart-optimize-the-offset-change-loop.patch ___