FFmpeg/libavcodec
Loic Le Loarer 5175b9376f add multi slice support
for main profile H.264 streams. I have tested this on all H264
conformance streams and comparing the result with the current CVS
version, there is 8 streams which decode correctly more frames and 2
streams which are now completely correct with my patch.

This patch also correct some typo in comments.

patch by (Loic Le Loarer <lll+ffmpeg >at< m4x org>)

Originally committed as revision 3758 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-18 03:49:07 +00:00
..
alpha Don't include config.h from assembly, because the mplayer developers 2004-07-10 23:22:47 +00:00
armv4l Optimized simple idct for arm by Frederic 'dilb' Boulay <dilb@handhelds.org>. Currently licensed under the GPLv2, but the author allowed to license it under the LGPL, feel free to change 2003-07-07 11:19:18 +00:00
i386 x86 cpu capabilities detection rewrite / cleanup 2004-12-13 16:11:38 +00:00
liba52 attribute_used 2004-11-14 22:05:21 +00:00
libpostproc fixes for PIC code on x86-64 patch by (Drew Hess <drew.hess gmail com>) 2004-12-18 03:07:15 +00:00
mlib update the API for the idct function 2004-03-15 01:21:01 +00:00
ppc missaliged clear_blocks() and h264 not complied but referenced fix patch by (Roine Gustafsson <roine at users dot sourceforge dot net>) and me 2004-10-11 22:47:09 +00:00
ps2 credit update 2004-03-13 19:21:58 +00:00
sh4 the return of the idct with 16bit output by ("Ivan Kalvachev" <ivan at cacad dot com>) 2003-06-21 01:11:31 +00:00
sparc whitespace cleanup patch by (James A. Morrison <ja2morri>@<csclub>dot<uwaterloo>point<ca>) 2004-11-21 01:47:36 +00:00
.cvsignore * cleanup 2002-04-26 07:18:57 +00:00
4xm.c Memory leak fix patch by (Burkhard Plaum <plaum >at< ipf.uni-stuttgart )dot( de>) 2004-11-27 18:10:06 +00:00
8bps.c 8BPS decoder 2003-11-07 22:39:18 +00:00
a52dec.c data_size = 0 cleanup 2004-05-21 14:37:16 +00:00
ac3.h * these vars could be either static or extern (compilation fix gcc-3.5) 2004-09-30 15:02:07 +00:00
ac3dec.c data_size = 0 cleanup 2004-05-21 14:37:16 +00:00
ac3enc.c fix some type mismatches patch by (Jeff Muizelaar <muizelaar rogers com>) 2004-11-25 19:17:27 +00:00
ac3tab.h make the tables static 2004-06-26 10:08:49 +00:00
adpcm.c Creative ADPCM decoder, format 0x200, courtesy of Konstantin Shishkov 2004-10-12 12:47:49 +00:00
adx.c av_log() patch by (Michel Bardiaux <mbardiaux at peaktime dot be>) 2003-11-03 13:26:22 +00:00
allcodecs.c rv20 encoding 2004-12-07 13:14:37 +00:00
amr.c segfault in amr decoder fix patch by (Richard van der Hoff - richvdh0) 2004-10-05 19:44:26 +00:00
apiexample.c writing corrupt files on MinGW patch by (Matthias Fritschi <choi at netlabs dot org>) 2004-04-09 15:04:51 +00:00
asv1.c Memory leak fix patch by (Burkhard Plaum <plaum >at< ipf.uni-stuttgart )dot( de>) 2004-11-27 18:10:06 +00:00
avcodec.h x86 cpu capabilities detection rewrite / cleanup 2004-12-13 16:11:38 +00:00
beosthread.c BeOS threading support. changed some "if FOO_THREAD||BAR_THREAD" to a more generic "if HAVE_THREADS" 2004-11-21 18:04:56 +00:00
bswap.h adapting existing mmx/mmx2/sse/3dnow optimizations so they work on x86_64 patch by (Aurelien Jacobs <aurel at gnuage dot org>) 2004-10-11 02:19:29 +00:00
cabac.c optimization 2004-10-26 03:12:21 +00:00
cabac.h optimization 2004-10-26 03:12:21 +00:00
cinepak.c Ignore palette for grayscale files, all my samples are inverted with 2004-06-27 16:06:15 +00:00
cljr.c data_size = 0 cleanup 2004-05-21 14:37:16 +00:00
common.c Memory leak fix patch by (Burkhard Plaum <plaum >at< ipf.uni-stuttgart )dot( de>) 2004-11-27 18:10:06 +00:00
common.h fixes for PIC code on x86-64 patch by (Drew Hess <drew.hess gmail com>) 2004-12-18 03:07:15 +00:00
cyuv.c data_size = 0 cleanup 2004-05-21 14:37:16 +00:00
dct-test.c 10l 2003-10-25 19:44:37 +00:00
dpcm.c support for Sierra Online audio files and Apple QuickDraw codec, 2004-09-28 03:09:49 +00:00
dsputil.c more flexible frame skip decission 2004-12-08 18:02:56 +00:00
dsputil.h x86 cpu capabilities detection rewrite / cleanup 2004-12-13 16:11:38 +00:00
dtsdec.c 10l (gcc 2.95 compilation) 2004-09-12 17:35:54 +00:00
dv.c Memory leak fix patch by (Burkhard Plaum <plaum >at< ipf.uni-stuttgart )dot( de>) 2004-11-27 18:10:06 +00:00
dvdata.h * I was finally convinced. And besides, if err it's better to err with 2004-09-14 06:58:24 +00:00
error_resilience.c reset ref_index 2004-11-19 13:08:25 +00:00
eval.c avoid negative array indices 2004-02-18 12:49:30 +00:00
faac.c av_log patch by ("Steven M. Schultz" <sms at 2BSD dot COM>) 2004-02-23 16:07:30 +00:00
faad.c Building with faad2-cvs fix by ("Steven M. Schultz" <sms at 2bsd dot com>) 2004-06-06 03:52:42 +00:00
faandct.c some of the warning fixes by (Michael Roitzsch <mroi at users dot sourceforge dot net>) 2004-05-18 17:09:46 +00:00
faandct.h * adding integer/floating point AAN implementations for DCT 2-4-8 2003-10-25 00:32:54 +00:00
fdctref.c per file doxy 2003-03-06 11:32:04 +00:00
fft-test.c fft_*() renamed into ff_fft_*() patch by (Gildas Bazin <gbazin at altern dot org>) 2004-03-13 21:43:24 +00:00
fft.c fft_*() renamed into ff_fft_*() patch by (Gildas Bazin <gbazin at altern dot org>) 2004-03-13 21:43:24 +00:00
ffv1.c switch ffv1 to the put/get_symbol() from snow 2004-10-31 12:22:00 +00:00
flac.c skip_utf8, unused yet 2004-06-26 10:09:19 +00:00
flicvideo.c remove numerous definitions of BE_*/LE_* macros; convert FOURCC_TAG -> 2004-03-14 04:04:08 +00:00
g726.c make comments doxygen compatible 2004-07-22 18:55:36 +00:00
golomb.c inttypes.h patch by (Chip <szarlada at freemail dot hu>) 2004-01-22 12:09:14 +00:00
golomb.h get/set_sr_golomb() cleanup 2004-09-10 19:40:55 +00:00
h261.c Memory leak fix patch by (Burkhard Plaum <plaum >at< ipf.uni-stuttgart )dot( de>) 2004-11-27 18:10:06 +00:00
h261data.h H261 fixing and cleaning: 2004-11-12 01:21:34 +00:00
h263.c Memory leak fix patch by (Burkhard Plaum <plaum >at< ipf.uni-stuttgart )dot( de>) 2004-11-27 18:10:06 +00:00
h263data.h interlaced motion estimation 2003-12-30 16:07:57 +00:00
h263dec.c automatic workaround for another padding bug 2004-11-13 01:05:12 +00:00
h264.c add multi slice support 2004-12-18 03:49:07 +00:00
h264data.h h264 - progressive I frame CABAC support patch by (Laurent Aimar <fenrir at via dot ecp dot fr>) 2004-03-26 19:35:53 +00:00
h264idct.c move h264 idct to its own file and call via function pointer in DspContext 2004-09-27 19:47:17 +00:00
huffyuv.c fix interlacing check in v1 huffyuv. 2004-11-28 19:19:39 +00:00
idcinvideo.c av_log() patch by (Michel Bardiaux <mbardiaux at peaktime dot be>) 2003-11-03 13:26:22 +00:00
imgconvert_template.h avcodec const correctness patch by (Drew Hess <dhess at ilm dot com>) 2003-09-29 15:44:59 +00:00
imgconvert.c YUV420P to UYVY422 conversion patch by (Luca Abeni <lucabe72 >< email >< it>) 2004-11-24 22:54:16 +00:00
imgresample.c polyphase kaiser windowed sinc and blackman nuttall windowed sinc audio resample filters 2004-06-17 15:43:23 +00:00
indeo3.c * fixing a few of gcc 'clean-code' warnings 2004-10-06 08:50:46 +00:00
indeo3data.h use const data - began to make code more portable 2003-09-09 22:56:25 +00:00
integer.c more comments 2004-07-15 14:06:39 +00:00
integer.h arbitrary precision integer support 2004-05-04 02:51:18 +00:00
interplayvideo.c unknown format chars 2004-04-07 13:14:29 +00:00
jfdctfst.c move identical code into its own function 2003-10-30 22:51:02 +00:00
jfdctint.c move identical code into its own function 2003-10-30 22:51:02 +00:00
jrevdct.c porting optimizations from 4x4 dct to 8x8 2004-09-26 17:36:53 +00:00
lcl.c Zlib encoder: fix image orientation (was flipped), 100l in deflate error 2004-09-23 22:20:17 +00:00
mace.c data_size = 0 cleanup 2004-05-21 14:37:16 +00:00
Makefile BeOS threading support. changed some "if FOO_THREAD||BAR_THREAD" to a more generic "if HAVE_THREADS" 2004-11-21 18:04:56 +00:00
mdct.c fft_*() renamed into ff_fft_*() patch by (Gildas Bazin <gbazin at altern dot org>) 2004-03-13 21:43:24 +00:00
mdec.c lowres width/height cleanup 3rd try 2004-09-27 11:50:56 +00:00
mem.c realloc(NULL) fix 2004-07-27 11:09:41 +00:00
mjpeg.c Memory leak fix patch by (Burkhard Plaum <plaum >at< ipf.uni-stuttgart )dot( de>) 2004-11-27 18:10:06 +00:00
motion_est_template.c H.261 encoder by (Maarten Daniels <maarten dot daniels at luc dot ac dot be>) 2004-10-28 10:12:57 +00:00
motion_est.c overflow fix 2004-11-16 13:40:56 +00:00
motion_test.c per file doxy 2003-03-06 11:32:04 +00:00
mp3lameaudio.c flush audio encoder buffers at the end 2004-06-22 21:14:01 +00:00
mpeg4data.h AVRational 2003-10-20 20:23:46 +00:00
mpeg12.c Memory leak fix patch by (Burkhard Plaum <plaum >at< ipf.uni-stuttgart )dot( de>) 2004-11-27 18:10:06 +00:00
mpeg12data.h 10000l 2004-04-30 16:06:20 +00:00
mpegaudio.c do not call (av_)abort() 2004-10-01 12:31:11 +00:00
mpegaudio.h exported mpa_decode_header for new parser API 2003-11-10 15:21:16 +00:00
mpegaudiodec.c Memory leak fix patch by (Burkhard Plaum <plaum >at< ipf.uni-stuttgart )dot( de>) 2004-11-27 18:10:06 +00:00
mpegaudiodectab.h per file doxy 2003-03-06 11:32:04 +00:00
mpegaudiotab.h per file doxy 2003-03-06 11:32:04 +00:00
mpegvideo.c quantizer overflow warning + AAN dct fix 2004-12-14 20:17:23 +00:00
mpegvideo.h rv20 encoding 2004-12-07 13:14:37 +00:00
msmpeg4.c Memory leak fix patch by (Burkhard Plaum <plaum >at< ipf.uni-stuttgart )dot( de>) 2004-11-27 18:10:06 +00:00
msmpeg4data.h per file doxy 2003-03-06 11:32:04 +00:00
msrle.c watch those hard tabs 2004-01-31 17:57:57 +00:00
msvideo1.c remove numerous definitions of BE_*/LE_* macros; convert FOURCC_TAG -> 2004-03-14 04:04:08 +00:00
oggvorbis.c flush audio encoder buffers at the end 2004-06-22 21:14:01 +00:00
opts.c av_log() patch by (Michel Bardiaux <mbardiaux at peaktime dot be>) 2003-11-03 13:26:22 +00:00
parser.c fix timestamp prediction for low_delay mpeg streams 2004-12-14 12:04:45 +00:00
pcm.c cbr audio muxing fix 2004-11-06 19:11:34 +00:00
png.c When bswap_32 is a macro, png images fail to decode properly, patch by (Milan Cutka <cutka>at<szm>dot<sk>) 2004-11-12 09:48:06 +00:00
pnm.c merge pam_decode_frame() into pnm_decode_frame() 2004-11-12 23:38:43 +00:00
pthread.c 10l fixes by ("Debabrata Banerjee" <davatar at comcast dot net>) 2004-05-26 20:04:49 +00:00
qdrw.c support for Sierra Online audio files and Apple QuickDraw codec, 2004-09-28 03:09:49 +00:00
qpeg.c native QPEG video decoder, courtesy of Konstantin Shishkov 2004-11-17 03:45:53 +00:00
qtrle.c Add support for qtrle4 (16 colors/gray levels) 2004-05-31 20:18:08 +00:00
ra144.c * fixing a few of gcc 'clean-code' warnings 2004-10-06 08:50:46 +00:00
ra144.h moved the tables into header files (and applied the 'static' patch). Nick: why do you like mergeing tables and code into one file, so making it unusable big? 2003-06-29 19:11:55 +00:00
ra288.c * fixing a few of gcc 'clean-code' warnings 2004-10-06 08:50:46 +00:00
ra288.h moved the tables into header files (and applied the 'static' patch). Nick: why do you like mergeing tables and code into one file, so making it unusable big? 2003-06-29 19:11:55 +00:00
rangecoder.c range coder 2004-10-30 01:43:37 +00:00
rangecoder.h remove debug stuff 2004-10-31 02:51:39 +00:00
ratecontrol.c normalize adaptive quantizatiuon fix (based upon a patch by (Jindrich Makovicka <makovick at kmlinux dot fjfi dot cvut dot cz>)) 2004-02-14 13:37:58 +00:00
rational.c more comments 2004-07-15 14:06:39 +00:00
rational.h more comments 2004-07-15 14:06:39 +00:00
raw.c raw rgb flip fix 2004-11-30 21:50:16 +00:00
resample2.c av_resample_compensate() doxy 2004-11-12 02:05:26 +00:00
resample.c user selectble cutoff frequency 2004-10-21 21:07:40 +00:00
roqvideo.c data_size = 0 cleanup 2004-05-21 14:37:16 +00:00
rpza.c rpza resolution fix, courtesy of Todd Kirby (doubleshot at pacbell.net) 2004-05-26 02:42:41 +00:00
rv10.c another try at fixing rv20 ... 2004-12-13 11:41:59 +00:00
simple_idct.c per file doxy 2003-03-06 11:32:04 +00:00
simple_idct.h per file doxy 2003-03-06 11:32:04 +00:00
smc.c fix for width or height not multiple of 4 2004-06-27 11:06:30 +00:00
snow.c fix for build on IRIX by (Michel Bardiaux {mbardiaux peaktime be}) 2004-11-25 19:26:46 +00:00
sonic.c more decorrelation types 2004-09-04 11:19:37 +00:00
sp5x.h Sunplus JPEG codec (SP5X) support 2003-10-11 21:49:10 +00:00
svq1_cb.h some of the warning fixes by (Michael Roitzsch <mroi at users dot sourceforge dot net>) 2004-05-18 17:09:46 +00:00
svq1_vlc.h motion estimation for SVQ1 2004-05-12 02:03:24 +00:00
svq1.c Memory leak fix patch by (Burkhard Plaum <plaum >at< ipf.uni-stuttgart )dot( de>) 2004-11-27 18:10:06 +00:00
svq3.c 1000l to myself for FFMIN(...,0) instead of ...,6) 2004-06-19 01:25:02 +00:00
truemotion1.c Decoding to bgr15/16 from 16bit input. Decoding of 24bit input added, not yet finished, but at least the picture can be recognized 2004-09-21 17:37:28 +00:00
truemotion1data.h cosmetics 2003-12-08 11:35:09 +00:00
tscc.c 8-bit mode corrections 2004-08-28 12:28:53 +00:00
ulti_cb.h IBM Ultimotion video decoder, courtesy of Konstantin Shishkov 2004-09-16 03:31:41 +00:00
ulti.c IBM Ultimotion video decoder, courtesy of Konstantin Shishkov 2004-09-16 03:31:41 +00:00
utils.c Memory leak fix patch by (Burkhard Plaum <plaum >at< ipf.uni-stuttgart )dot( de>) 2004-11-27 18:10:06 +00:00
vcr1.c data_size = 0 cleanup 2004-05-21 14:37:16 +00:00
vmdav.c if audio is PCM, push it through (sync is not perfect yet) 2004-09-28 03:04:36 +00:00
vp3.c Memory leak fix patch by (Burkhard Plaum <plaum >at< ipf.uni-stuttgart )dot( de>) 2004-11-27 18:10:06 +00:00
vp3data.h some of the warning fixes by (Michael Roitzsch <mroi at users dot sourceforge dot net>) 2004-05-18 17:09:46 +00:00
vp3dsp.c some of the warning fixes by (Michael Roitzsch <mroi at users dot sourceforge dot net>) 2004-05-18 17:09:46 +00:00
vqavideo.c remove numerous definitions of BE_*/LE_* macros; convert FOURCC_TAG -> 2004-03-14 04:04:08 +00:00
w32thread.c w32threads by (Gildas Bazin <gbazin at altern dot org>) 2004-02-19 20:29:26 +00:00
wmadata.h per file doxy 2003-03-06 11:32:04 +00:00
wmadec.c Memory leak fix patch by (Burkhard Plaum <plaum >at< ipf.uni-stuttgart )dot( de>) 2004-11-27 18:10:06 +00:00
wmv2.c warning fixes by (Michael Roitzsch <mroi at users dot sourceforge dot net>) 2004-05-25 18:07:25 +00:00
xan.c remove numerous definitions of BE_*/LE_* macros; convert FOURCC_TAG -> 2004-03-14 04:04:08 +00:00
xl.c Miro VideoXL (VIXL) decoder, courtesy of Konstantin Shishkov 2004-10-27 04:30:48 +00:00
xvidff.c XviD Support patch by (Adam Thayer <krevnik at comcast dot net>) 2004-07-16 19:48:30 +00:00
xvmcvideo.c do not call (av_)abort() 2004-10-01 12:31:11 +00:00