Re: [FFmpeg-devel] [PATCH 1/4] h261, h263 decoders: convert to RL_VLC.

2014-08-31 Thread Reimar Döffinger
On Sun, Aug 31, 2014 at 04:48:41PM +0200, Reimar Döffinger wrote: > Some additional optimizations in following patch. All pushed except for the last one (4/4). ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpe

Re: [FFmpeg-devel] [PATCH 1/4] h261, h263 decoders: convert to RL_VLC.

2014-08-31 Thread Reimar Döffinger
On Sun, Aug 31, 2014 at 10:51:40PM +0200, Reimar Döffinger wrote: > On Sun, Aug 31, 2014 at 09:32:45PM +0200, Michael Niedermayer wrote: > > On Sun, Aug 31, 2014 at 04:48:41PM +0200, Reimar Döffinger wrote: > > > -code = get_vlc2(&s->gb, rl->vlc.table, TCOEFF_VLC_BITS, 2); > > > -if

Re: [FFmpeg-devel] [PATCH 1/4] h261, h263 decoders: convert to RL_VLC.

2014-08-31 Thread Reimar Döffinger
On Sun, Aug 31, 2014 at 09:32:45PM +0200, Michael Niedermayer wrote: > On Sun, Aug 31, 2014 at 04:48:41PM +0200, Reimar Döffinger wrote: > > -code = get_vlc2(&s->gb, rl->vlc.table, TCOEFF_VLC_BITS, 2); > > -if (code < 0) { > > +UPDATE_CACHE(re, &s->gb); > > +GET_RL_V

Re: [FFmpeg-devel] [PATCH 1/4] h261, h263 decoders: convert to RL_VLC.

2014-08-31 Thread Michael Niedermayer
On Sun, Aug 31, 2014 at 04:48:41PM +0200, Reimar Döffinger wrote: > Some additional optimizations in following patch. > > Signed-off-by: Reimar Döffinger > --- > libavcodec/flv.h| 1 - > libavcodec/flvdec.c | 12 -- > libavcodec/h261dec.c| 27 ++- > l

Re: [FFmpeg-devel] [PATCH 1/4] h261, h263 decoders: convert to RL_VLC.

2014-08-31 Thread Michael Niedermayer
On Sun, Aug 31, 2014 at 06:31:30PM +0200, Reimar Döffinger wrote: > On Sun, Aug 31, 2014 at 06:28:24PM +0200, Reimar Döffinger wrote: > > On Sun, Aug 31, 2014 at 05:44:09PM +0200, Michael Niedermayer wrote: > > > On Sun, Aug 31, 2014 at 04:48:41PM +0200, Reimar Döffinger wrote: > > > > Some additio

Re: [FFmpeg-devel] [PATCH 1/4] h261, h263 decoders: convert to RL_VLC.

2014-08-31 Thread Reimar Döffinger
On Sun, Aug 31, 2014 at 06:28:24PM +0200, Reimar Döffinger wrote: > On Sun, Aug 31, 2014 at 05:44:09PM +0200, Michael Niedermayer wrote: > > On Sun, Aug 31, 2014 at 04:48:41PM +0200, Reimar Döffinger wrote: > > > Some additional optimizations in following patch. > > > > what effect on speed do the

Re: [FFmpeg-devel] [PATCH 1/4] h261, h263 decoders: convert to RL_VLC.

2014-08-31 Thread Reimar Döffinger
On Sun, Aug 31, 2014 at 05:44:09PM +0200, Michael Niedermayer wrote: > On Sun, Aug 31, 2014 at 04:48:41PM +0200, Reimar Döffinger wrote: > > Some additional optimizations in following patch. > > what effect on speed do these patches have ? With high error bars, with vsynth1 file, median of 3 runs

Re: [FFmpeg-devel] [PATCH 1/4] h261, h263 decoders: convert to RL_VLC.

2014-08-31 Thread Reimar Döffinger
On Sun, Aug 31, 2014 at 05:44:09PM +0200, Michael Niedermayer wrote: > On Sun, Aug 31, 2014 at 04:48:41PM +0200, Reimar Döffinger wrote: > > Some additional optimizations in following patch. > > what effect on speed do these patches have ? No idea at this point. If someone else feels like benchma

Re: [FFmpeg-devel] [PATCH 1/4] h261, h263 decoders: convert to RL_VLC.

2014-08-31 Thread Michael Niedermayer
On Sun, Aug 31, 2014 at 04:48:41PM +0200, Reimar Döffinger wrote: > Some additional optimizations in following patch. what effect on speed do these patches have ? [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB it is not once nor twice but times without number t

[FFmpeg-devel] [PATCH 1/4] h261, h263 decoders: convert to RL_VLC.

2014-08-31 Thread Reimar Döffinger
Some additional optimizations in following patch. Signed-off-by: Reimar Döffinger --- libavcodec/flv.h| 1 - libavcodec/flvdec.c | 12 -- libavcodec/h261dec.c| 27 ++- libavcodec/ituh263dec.c | 58 - 4 f