ffmpeg/libavcodec
Loic Le Loarer 6fbcaaa0ef INTRA PCM macroblocks support patch by (Loic )lll+ffmpeg m4x org)
This patch adds the support for INTRA PCM macroblocks in CAVLC and CABAC
mode, the deblocking needed a small modification and so did the
intra4x4_pred_mode prediction.

With this patch, the 5 streams of the conformance suite containing INTRA
PCM macroblocks now decode entirely, 4 are completely corrects, 1 is
incorrect since the first B slice because of deblocking in B slice not
yet implemented.

The code is not optimized for speed, it is not necessary IPCM
macroblocks are rare, but it could be optimized for code size, if
someone want to do this, feel free.

Originally committed as revision 3941 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-07 00:10:28 +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 Build libpostproc out of source directory patch by (James A. Morrison >ja2morri csclub.uwaterloo ca>) 2005-02-04 03:29:50 +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 avoid buf_size == 0 checks in every decoder 2005-01-23 18:09:06 +00:00
8bps.c avoid buf_size == 0 checks in every decoder 2005-01-23 18:09:06 +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 common.c -> bitstream.c (and the single non bitstream func -> utils.c) 2004-12-29 17:50:25 +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 preliminary vc9 bitstream decoder, committing to make syncing and team-work on it easier 2005-01-22 18:00:36 +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 dissallow sprintf 2005-01-12 00:59:42 +00:00
asv1.c avoid buf_size == 0 checks in every decoder 2005-01-23 18:09:06 +00:00
avcodec.h seperate bitstream encoding skip from PASS1 flag 2005-02-06 10:36:07 +00:00
beosthread.c added a lock/unlock_lib pair to allow extern progs to serialize access to lavc. 2005-01-29 20:09:33 +00:00
bitstream.c common.c -> bitstream.c (and the single non bitstream func -> utils.c) 2004-12-29 17:50:25 +00:00
bitstream.h support skiping some bitstream encoding 2005-02-06 17:01:07 +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 fixing selftest 2005-01-11 03:18:08 +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 avoid buf_size == 0 checks in every decoder 2005-01-23 18:09:06 +00:00
common.h disallow strcat 2005-01-12 01:44:02 +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 use clip_uint8() 2005-01-23 11:08:18 +00:00
dsputil.h H.264 weighted prediction. 2005-01-07 05:56:07 +00:00
dtsdec.c 10l (gcc 2.95 compilation) 2004-09-12 17:35:54 +00:00
dv.c avoid buf_size == 0 checks in every decoder 2005-01-23 18:09: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 count errors instead of printing 2^31 2005-01-21 23:47:03 +00:00
eval.c simplify 2005-01-17 18:25:32 +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 avoid buf_size == 0 checks in every decoder 2005-01-23 18:09:06 +00:00
flac.c 10l (use of deallocated memory) 2005-02-04 11:53:35 +00:00
flicvideo.c various security fixes and precautionary checks 2005-01-12 00:16:25 +00:00
g726.c common.c -> bitstream.c (and the single non bitstream func -> utils.c) 2004-12-29 17:50:25 +00:00
golomb.c inttypes.h patch by (Chip <szarlada at freemail dot hu>) 2004-01-22 12:09:14 +00:00
golomb.h svq3_get_se_golomb() fix 2005-01-19 13:03:38 +00:00
h261.c avoid buf_size == 0 checks in every decoder 2005-01-23 18:09:06 +00:00
h261data.h H261 fixing and cleaning: 2004-11-12 01:21:34 +00:00
h263.c emulate (idiotic) MS behavior for inconsistant dimensions 2005-02-06 18:43:06 +00:00
h263data.h interlaced motion estimation 2003-12-30 16:07:57 +00:00
h263dec.c In that patch: 2005-01-30 16:34:57 +00:00
h264.c INTRA PCM macroblocks support patch by (Loic )lll+ffmpeg m4x org) 2005-02-07 00:10:28 +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 seperate bitstream encoding skip from PASS1 flag 2005-02-06 10:36:07 +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 various security fixes and precautionary checks 2005-01-12 00:16:25 +00:00
imgresample.c dissallow sprintf 2005-01-12 00:59:42 +00:00
indeo3.c avoid buf_size == 0 checks in every decoder 2005-01-23 18:09:06 +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 avoid buf_size == 0 checks in every decoder 2005-01-23 18:09:06 +00:00
mace.c Stereo MACE fix by Burkhard Plaum <plaum AT ipf DOT uni-stuttgart DOT de> 2005-02-01 15:13:27 +00:00
Makefile preliminary vc9 bitstream decoder, committing to make syncing and team-work on it easier 2005-01-22 17:52:01 +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 avoid buf_size == 0 checks in every decoder 2005-01-23 18:09:06 +00:00
mem.c 10l (gcc 2.95 fix) 2005-01-12 11:14:12 +00:00
mjpeg.c avoid buf_size == 0 checks in every decoder 2005-01-23 18:09: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 avoid buf_size == 0 checks in every decoder 2005-01-23 18:09:06 +00:00
mpeg12data.h 10000l 2004-04-30 16:06:20 +00:00
mpegaudio.c common.c -> bitstream.c (and the single non bitstream func -> utils.c) 2004-12-29 17:50:25 +00:00
mpegaudio.h dithering for the mpeg audio decoder 2005-01-30 14:04:56 +00:00
mpegaudiodec.c merge a few shifts into the dequantization, faster and more accurate, lets hope it doesnt overflow 2005-02-03 03:28:27 +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 Border processing adaptive quant patch by (Christophe Massiot |cmassiot freebox fr) 2005-02-02 18:49:04 +00:00
mpegvideo.h various security fixes and precautionary checks 2005-01-12 00:16:25 +00:00
msmpeg4.c In that patch: 2005-01-30 16:34:57 +00:00
msmpeg4data.h In that patch: 2005-01-30 16:34:57 +00:00
msrle.c avoid buf_size == 0 checks in every decoder 2005-01-23 18:09:06 +00:00
msvideo1.c avoid buf_size == 0 checks in every decoder 2005-01-23 18:09:06 +00:00
oggvorbis.c fixes transcoding to vorbis with ffmpeg on big endian machines patch by (Sigbjørn Skjæret {sskjer-1 broadpark no}) 2004-12-18 16:20:42 +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 10l (array gets padded with 0 which is CODEC_ID_NONE -> parsers claim to support CODEC_ID_NONE) 2005-02-01 13:03:44 +00:00
pcm.c cbr audio muxing fix 2004-11-06 19:11:34 +00:00
png.c avoid buf_size == 0 checks in every decoder 2005-01-23 18:09:06 +00:00
pnm.c avoid buf_size == 0 checks in every decoder 2005-01-23 18:09:06 +00:00
pthread.c 10l fixes by ("Debabrata Banerjee" <davatar at comcast dot net>) 2004-05-26 20:04:49 +00:00
qdrw.c Check pointers before writing to memory 2005-01-23 21:36:24 +00:00
qpeg.c avoid buf_size == 0 checks in every decoder 2005-01-23 18:09:06 +00:00
qtrle.c avoid buf_size == 0 checks in every decoder 2005-01-23 18:09:06 +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 mb_lmin/max to limit the per mb quality for the ratecontrol independant from the frame limits 2005-02-02 19:33:48 +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_malloc vs av_mallocz patch by (Kurosu <kurosu inforezo org>) 2005-01-12 18:25:48 +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 avoid buf_size == 0 checks in every decoder 2005-01-23 18:09:06 +00:00
rv10.c avoid buf_size == 0 checks in every decoder 2005-01-23 18:09:06 +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 avoid buf_size == 0 checks in every decoder 2005-01-23 18:09:06 +00:00
snow.c avoid buf_size == 0 checks in every decoder 2005-01-23 18:09:06 +00:00
sonic.c common.c -> bitstream.c (and the single non bitstream func -> utils.c) 2004-12-29 17:50:25 +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 avoid buf_size == 0 checks in every decoder 2005-01-23 18:09:06 +00:00
svq3.c avoid buf_size == 0 checks in every decoder 2005-01-23 18:09:06 +00:00
truemotion1.c avoid buf_size == 0 checks in every decoder 2005-01-23 18:09:06 +00:00
truemotion1data.h cosmetics 2003-12-08 11:35:09 +00:00
tscc.c Add 32bit RGB support 2005-01-31 22:34:02 +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 mb_lmin/max to limit the per mb quality for the ratecontrol independant from the frame limits 2005-02-02 19:33:48 +00:00
vc9.c - samples from mplayer ftp in the "adv" profile seem to have profile=2, 2005-02-04 02:20:38 +00:00
vc9data.h - samples from mplayer ftp in the "adv" profile seem to have profile=2, 2005-02-04 02:20:38 +00:00
vcr1.c avoid buf_size == 0 checks in every decoder 2005-01-23 18:09:06 +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 10l (negative strides) 2005-01-26 17:04:34 +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 various security fixes and precautionary checks 2005-01-12 00:16:25 +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 common.c -> bitstream.c (and the single non bitstream func -> utils.c) 2004-12-29 17:50:25 +00:00
wmv2.c In that patch: 2005-01-30 16:34:57 +00:00
xan.c various security fixes and precautionary checks 2005-01-12 00:16:25 +00:00
xl.c avoid buf_size == 0 checks in every decoder 2005-01-23 18:09:06 +00:00
xvidff.c 10l 2005-01-23 16:18:10 +00:00
xvmcvideo.c do not call (av_)abort() 2004-10-01 12:31:11 +00:00