Commit Graph

164 Commits

Author SHA1 Message Date
anonymous
0d33db8a4d In that patch:
- avctx and gb elements were removed from VC9Context, hence a larger diff
- some code was added to h263dec.c regarding CODEC_ID_WMV3 (should apply to CODEC_ID_VC9 too)
- VLC tables and other related tables were made global whenever this seemed necessary; appropriate changes were therefore made to other parts of the code using those tables
- the change for the bitplane management to a struct (some of them should eventually be mapped to MpegEncContext arrays) wasn't associated with the proper frees; should be fixed now
patch by anonymous

better names for globalized tables by me

Originally committed as revision 3905 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-30 16:34:57 +00:00
Michael Niedermayer
934982c4ac avoid buf_size == 0 checks in every decoder
Originally committed as revision 3872 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-23 18:09:06 +00:00
Michael Niedermayer
0ecca7a49f various security fixes and precautionary checks
Originally committed as revision 3822 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-12 00:16:25 +00:00
Michael Niedermayer
503a47255f fix decoding of http://mplayerhq.hu/~diego/problem.mov
Originally committed as revision 3806 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-05 00:20:52 +00:00
Michael Niedermayer
4940ed6ae1 automatic workaround for another padding bug
Originally committed as revision 3678 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-13 01:05:12 +00:00
Michael Niedermayer
45cb4767bc xvid fake divx version workaround
Originally committed as revision 3595 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-15 11:48:50 +00:00
Michael Niedermayer
cfeae977a7 10l (wrong variable)
Originally committed as revision 3537 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-28 23:31:59 +00:00
Michael Niedermayer
21adafec2a lowres width/height cleanup 3rd try
Originally committed as revision 3522 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-27 11:50:56 +00:00
Michael Niedermayer
4f8a831994 set AVCodecContext.width/height to the picture width/height instead of the one stored in the bitstream (that only matters if lowres!=0)
Originally committed as revision 3518 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-27 02:39:55 +00:00
Michael Niedermayer
af2a9e8fdb lowres slice fix
Originally committed as revision 3513 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-26 13:03:43 +00:00
Alex Beregszaszi
b442a92f85 10l, non-x86 fix
Originally committed as revision 3254 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-26 09:52:16 +00:00
Michael Niedermayer
ee0c00d3b4 use libmpeg2 idct to decode xvid videos unless the user forced some other idct
Originally committed as revision 3251 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-25 19:14:23 +00:00
Michael Niedermayer
676e61c7bb infinite loop fix
Originally committed as revision 3188 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-03 14:17:59 +00:00
Michael Niedermayer
53db1cae1c data_size = 0 cleanup
Originally committed as revision 3146 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-21 14:37:16 +00:00
Michael Niedermayer
4ccde216cd support decoding mpeg4 with buggy dc clipping
Originally committed as revision 3108 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-05 19:53:40 +00:00
Michael Niedermayer
e4cb187db8 remove duplicated find_frame_end() code
move codec specific code from parser.c -> <codecname>.c as far as its easily possible

Originally committed as revision 3087 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-29 14:21:33 +00:00
Michael Niedermayer
e4a1fdfdee segfault fix
Originally committed as revision 3017 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-16 01:02:39 +00:00
Michael Niedermayer
b44bdf7eec interlaced chroma MC divx-bug workaround
Originally committed as revision 2947 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-02 19:54:33 +00:00
Michael Niedermayer
3edcacde04 init cleanup
Originally committed as revision 2899 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-16 16:11:29 +00:00
Michael Niedermayer
303e50e65b closed gop support & flags2 as all bits in flags are used
and a few minor things i forgot to commit ...

Originally committed as revision 2718 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-22 19:48:28 +00:00
Michael Niedermayer
fb204d4bc1 xvid "packed" stuff support
Originally committed as revision 2708 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-15 01:29:26 +00:00
Michael Niedermayer
8f2ab83318 copyright year update of the files i touched and remembered, things look annoyingly unmaintained otherwise
Originally committed as revision 2686 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-10 16:04:55 +00:00
Wolfgang Hesseler
0c9bbaec60 motion vector vissualization improvements patch by (Wolfgang Hesseler <qv at multimediaware dot com>)
Originally committed as revision 2636 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-30 02:12:12 +00:00
Michael Niedermayer
d55f7b6521 cleanup
Originally committed as revision 2605 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-13 20:41:33 +00:00
Michael Niedermayer
ba58dabc5c h263 slice structured mode
slice cleanup

Originally committed as revision 2568 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-07 01:33:45 +00:00
Michael Niedermayer
554daa2402 cleanup
Originally committed as revision 2558 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-03 16:47:17 +00:00
Michael Niedermayer
6beeb962a2 h263 modified quantization fix
Originally committed as revision 2557 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-03 16:07:41 +00:00
Michael Niedermayer
fcfee63b12 split ff_h263_decode_mb() into h263 and mpeg4 versions
Originally committed as revision 2554 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-03 01:16:35 +00:00
Michael Niedermayer
332f9ac4e3 h263 loop filter
fixed h263 modified quantization
CODEC_FLAG_OBMC

Originally committed as revision 2549 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-01 15:23:14 +00:00
Michael Niedermayer
68b94c354d rv20 decoder
Originally committed as revision 2543 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-30 14:35:35 +00:00
Michel Bardiaux
9b87956678 av_log() patch by (Michel Bardiaux <mbardiaux at peaktime dot be>)
Originally committed as revision 2469 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-03 13:26:22 +00:00
Michael Niedermayer
5f1948111a pts fix and related fixes
Originally committed as revision 2452 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-30 16:58:49 +00:00
Michael Niedermayer
5ff85f1d8b AVRational
sample_aspect_ratio
aspect ratio in JPEG JFIF is SAR not DAR !
removed nonsense SAR guessing code
various related cleanups
bugs?

Originally committed as revision 2403 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-20 20:23:46 +00:00
Michael Niedermayer
a573cc27f5 emu_edge checks simplification and avoid redundant checks for mpeg1/2 if emu_edge is set
Originally committed as revision 2395 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-17 18:56:01 +00:00
Michael Niedermayer
bcc7125e1d fix "first frame is no keyframe" bug
Originally committed as revision 2388 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-15 15:37:25 +00:00
Michael Niedermayer
ac0c66382d dont check if the ac esc 3 could have been stored as vlc as this detects only very few errors allthough it detects several buggy encoders
Originally committed as revision 2370 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-13 11:13:10 +00:00
Michael Niedermayer
8025405fcd 10l ?
Originally committed as revision 2345 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-04 23:59:14 +00:00
Michael Niedermayer
541ae14095 AVI stream header FCC / more reliable detection of old xvid files
Originally committed as revision 2258 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-10 23:40:55 +00:00
Michael Niedermayer
8fc6c2b537 detect old xvid with fourcc=DIVX
remove "this file was encoded with ..." stuff (use debug=4096 if u want to know that)

Originally committed as revision 2253 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-10 11:28:18 +00:00
Fabrice Bellard
1df1df0b44 removed warnings
Originally committed as revision 2246 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-09 22:50:44 +00:00
Fabrice Bellard
d99ce8d7de spelling fix
Originally committed as revision 2172 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-28 13:30:03 +00:00
Michael Niedermayer
9b6a5b87a6 xvid edge bug (if i understand the mpeg4 spec correctly) autodetection
improved edge & padding bug detection for old files
tested with *.avi *.mp4 on my HD

Originally committed as revision 2163 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-25 12:50:15 +00:00
Michael Niedermayer
ffba1dc02b make the h263 decoder more error tolerant
Originally committed as revision 2099 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-01 11:00:03 +00:00
Michael Niedermayer
7d1c3fc1d6 rate distortion mb decision support
fix decoding of old %16!=0 divx
fix assertion failure in motion_est.c

Originally committed as revision 2094 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-29 02:09:12 +00:00
Michael Niedermayer
e9174ba460 last frame decoding fix
Originally committed as revision 2074 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-23 09:58:02 +00:00
Michael Niedermayer
7a06ff148d AVCodec.flush()
ff_draw_horiz_band() in coded order / cleanup

Originally committed as revision 2064 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-17 12:29:07 +00:00
Michael Niedermayer
6674a12696 fix edge repeating bug for %16!=0 files, this fixes Quicktime mpeg4 (they arent buggy)
note, encoding wasnt affected by that

Originally committed as revision 2052 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-16 18:12:14 +00:00
Garrick Meeker
d4f5d74a54 flash video (flv) support patch by (Garrick Meeker <gmeeker at theoryllc dot com>)
Originally committed as revision 2024 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-09 23:10:59 +00:00
Michael Niedermayer
aef95c8cb9 fix last_block_index<=0 bug
Originally committed as revision 2004 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-03 22:35:39 +00:00
Michael Niedermayer
db6e779506 motion vector vissualization for mpeg1/2
mpeg1/2 cleanup/bugfix
error resilience bugfix

Originally committed as revision 1911 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-27 12:31:03 +00:00