Commit Graph

402 Commits

Author SHA1 Message Date
Baptiste Coudurier d634aa2095 remove unused variable
Originally committed as revision 5371 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-13 15:43:51 +00:00
Michael Niedermayer 7923a3f904 d10 decoding fix
Originally committed as revision 5341 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-02 09:03:22 +00:00
Steve L'Homme 267f7edcd1 (f)printf --> av_log conversion
taken from a patch by Steve L'Homme

Originally committed as revision 5127 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-08 11:43:10 +00:00
Michael Niedermayer 2669777981 fix decoding of mpeg2-trunc.vob
Originally committed as revision 5091 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-01 22:59:22 +00:00
Michael Niedermayer 82fcbc145d faster find_startcode()
Originally committed as revision 4939 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-04 20:32:02 +00:00
jwestfall@surrealistic.net dd1a74d25d Off by one fix to prevent possible segfault. Patch by jwestfall at surrealistic dot net.
Originally committed as revision 4857 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-14 17:43:22 +00:00
Diego Biurrun 5509bffa88 Update licensing information: The FSF changed postal address.
Originally committed as revision 4842 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-12 22:43:26 +00:00
Diego Biurrun bb270c0896 COSMETICS: tabs --> spaces, some prettyprinting
Originally committed as revision 4764 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-22 01:10:11 +00:00
Diego Biurrun 115329f160 COSMETICS: Remove all trailing whitespace.
Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-17 18:14:38 +00:00
Ivan Kalvachev 31a78b718b Mark all 12 block unused when there are no coded blocks
Fixes 422/444 artifacts

Originally committed as revision 4708 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-11-20 23:09:05 +00:00
Måns Rullgård bf4e3bd2d0 kill a bunch of compiler warnings
Originally committed as revision 4522 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-14 15:42:40 +00:00
Michael Niedermayer 8c3eba7c62 skip_idct
skip_frame
skip_loop_filter

Originally committed as revision 4440 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-14 21:39:36 +00:00
Michael Niedermayer 02fb0d7c72 fix decoding of (broken) files with f_code=0
fix segfault if the first P frames header is damaged

Originally committed as revision 4432 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-11 22:15:03 +00:00
Michael Niedermayer 3b5ffe7a39 fix mpeg2 chroma_420_type
Originally committed as revision 4274 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-18 19:42:42 +00:00
Michael Niedermayer 89ba9eede9 preserve parse context
Originally committed as revision 4241 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-14 15:34:49 +00:00
Michael Niedermayer 4ad8ecd136 sanity check
Originally committed as revision 4224 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-12 10:15:19 +00:00
Michael Niedermayer 9cd8179818 #defines for strict_std_compliance and split between inofficial extensions and non standarized things
Originally committed as revision 4205 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-08 20:15:42 +00:00
Michael Niedermayer c0df9d75bd switch to native time bases
Originally committed as revision 4168 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-30 21:43:59 +00:00
Mike Melanson 160d679c07 Ministry of English Composition, reporting for duty (and the word is "skipped", not "skiped"; "skiped" would rhyme with "hyped")
Originally committed as revision 4153 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-24 17:21:11 +00:00
Michael Niedermayer 2de4ba7ff7 avoid clearing block[] if its not used at all
Originally committed as revision 4148 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-21 21:23:22 +00:00
Michael Niedermayer dff0f03546 mpeg2_fast_decode_block_intra()
Originally committed as revision 4146 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-20 20:31:04 +00:00
Michael Niedermayer 29df259923 optimizing non_intra ac coeff decode
Originally committed as revision 4140 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-19 11:37:01 +00:00
Michael Niedermayer e91f4bf160 avoid UPDATE_CACHE() in GET_RL_VLC() if not needed
Originally committed as revision 4137 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-18 20:07:48 +00:00
avcoder a622dc4320 Typo errors patch by (QuickTime | ffmpeg gmail com>
Originally committed as revision 4103 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-04 11:25:44 +00:00
Ivan Kalvachev aa26aa789b reinitialize on aspect change,
required for dvb aspect changes

Originally committed as revision 4102 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-03 17:34:31 +00:00
Michael Niedermayer 71434945f2 more checks, fixes assertion failure
Originally committed as revision 4081 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-26 17:01:49 +00:00
Michael Niedermayer d8a57c6db9 (10l) supported pix_fmts forgotten
Originally committed as revision 4022 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-08 20:35:27 +00:00
Michael Niedermayer 27ef18d12f typo
Originally committed as revision 4006 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-05 03:37:19 +00:00
Josh Varner fe533bb3a7 removing --disable-risky patch by (Josh Varner <jlvarner gmail com>)
Originally committed as revision 3966 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-21 17:50:48 +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
Burkhard Plaum 073c2593c9 Memory leak fix patch by (Burkhard Plaum <plaum >at< ipf.uni-stuttgart )dot( de>)
Originally committed as revision 3717 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-27 18:10:06 +00:00
Michael Niedermayer 7494cac0fd fix constrained parameters flag
Originally committed as revision 3609 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-18 23:07:18 +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
Michael Niedermayer 178fcca848 1/2 resolution decoding
Originally committed as revision 3507 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-25 23:18:58 +00:00
Michael Niedermayer c32b14bb9c mess cleanup
Originally committed as revision 3449 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-10 18:54:02 +00:00
Michael Niedermayer 3cb018726c typo
Originally committed as revision 3431 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-02 18:46:41 +00:00
Michael Niedermayer 628b210f40 optional non spec compliant optimizations for mpeg1
Originally committed as revision 3430 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-02 15:46:03 +00:00
Michael Niedermayer 6fc5b059b8 optional non spec compliant optimizations
Originally committed as revision 3429 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-02 15:30:46 +00:00
Michael Niedermayer baced9f598 user overrideable level & profile
Originally committed as revision 3385 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-13 13:59:28 +00:00
Wolfram Gloger 6cfe51d9da Avoid segfault on ffmpeg "buffer flush" in mpeg12.c patch by (Wolfram Gloger <wmglo at dent dot med dot uni-muenchen dot de>)
Originally committed as revision 3324 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-16 18:36:39 +00:00
Michael Niedermayer 77e6c403e7 10l (fixes delayed frames during encoding)
Originally committed as revision 3278 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-30 23:12:21 +00:00
Michael Niedermayer 0dfd33c3f1 support skiping of mb rows during decoding
Originally committed as revision 3253 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-26 02:20:38 +00:00
Michael Niedermayer 0ff93477be optimization
Originally committed as revision 3249 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-25 14:11:44 +00:00
Ivan Kalvachev 715731a32b better cbp handling and small speedup in mpeg12
Originally committed as revision 3219 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-12 16:51:15 +00:00
Ivan Kalvachev ffdff4d7e8 mpeg2 chroma422/444 support, may be slower, may be faster for other codecs
Originally committed as revision 3215 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-11 07:59:12 +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 bf266e195a intra_dc_precission>0 encoding support
Originally committed as revision 3093 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-30 13:44:29 +00:00
Ivan Kalvachev d1700ead3b cola test
Originally committed as revision 3089 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-29 23:20:46 +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 8aedc51d2b simplify
Originally committed as revision 3085 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-27 13:50:41 +00:00
Michael Niedermayer 25ef43bb28 corrupted field pictures segfault fix
Originally committed as revision 3040 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-22 21:41:08 +00:00
Michael Niedermayer 7c4f71c428 exporting field_select/ref_index values
Originally committed as revision 3035 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-19 03:33:23 +00:00
Michael Niedermayer 0c352cadb0 fix exported motion vectors
Originally committed as revision 3032 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-18 17:46:52 +00:00
Michael Niedermayer 137c8468e8 unify table indexing (motion_val,dc_val,ac_val,coded_block changed)
minor +-1 bugfix

Originally committed as revision 3016 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-16 01:01:45 +00:00
Michael Niedermayer 8680741006 skiped mbs in interlaced b frames fix
Originally committed as revision 2946 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-02 19:48:20 +00:00
Falk Hüffner 7906085fcc warning patrol
Originally committed as revision 2925 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-24 23:32:48 +00:00
Michael Niedermayer 8fe2c60e5f 1000l for iive
Originally committed as revision 2916 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-22 20:54:04 +00:00
Michael Niedermayer 7813d6a307 1000000l (using uninitalized variable for initalizing bits per MV table)
Originally committed as revision 2900 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-16 16:57:27 +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
Ivan Kalvachev 6fe1a1a55b use pan_scan to remove some weight, proper pan_scan offset reading
Originally committed as revision 2898 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-16 15:38:40 +00:00
Ivan Kalvachev 5ac4768362 mpeg12 fix 10l of aspect calucalations, return gop perser to print debug info, and make mpeg1_seq_header hot overwrite height/width
Originally committed as revision 2897 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-15 16:41:15 +00:00
Ivan Kalvachev a6b9ffbfc7 move MPV_common_init after parsing stream parameters, matrix rebuild
Originally committed as revision 2894 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-15 00:08:24 +00:00
Michael Niedermayer 8be014e027 removing broken mpeg_decode_gop()
Originally committed as revision 2883 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-13 22:01:32 +00:00
Michael Niedermayer c7516a000c find_start_code() optimization (about 2x faster now) this may improve decoding speed with multiple threads
Originally committed as revision 2862 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-09 15:23:14 +00:00
Zdenek Kabelac 5f0f7713ad * more consts
Originally committed as revision 2847 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-05 14:21:56 +00:00
Zdenek Kabelac 49a37411f3 * const warn elimination
Originally committed as revision 2846 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-05 14:09:12 +00:00
Ivan Kalvachev 494c56d36f silence warnings
Originally committed as revision 2843 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-04 14:58:48 +00:00
Ivan Kalvachev 461cd5bfb5 add vlc for cbp=0 that is valid in 422,444
Originally committed as revision 2838 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-02 18:39:25 +00:00
Michael Niedermayer 50c93f74a6 10l (segfault fix)
Originally committed as revision 2837 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-02 17:21:55 +00:00
Ivan Kalvachev 4eaad9c028 forgot default chroma_format value
Originally committed as revision 2835 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-02 00:40:18 +00:00
Ivan Kalvachev 5e5c247a7c initial chroma_format changes,xvmc tweaks and codec_cap
Originally committed as revision 2833 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-01 14:55:21 +00:00
Michael Niedermayer 4c9544d026 mpeg2 field pic decoding fix
simplifiations

Originally committed as revision 2826 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-28 21:02:49 +00:00
Michael Niedermayer 8d52ec7eb0 AVCodec.supported_framerates
Originally committed as revision 2821 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-26 18:29:39 +00:00
Michael Niedermayer c62c07d3d7 multithreaded mpeg2 decoding
Originally committed as revision 2810 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-23 20:56:56 +00:00
Ivan Kalvachev 530d574081 use get_format
Originally committed as revision 2802 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-19 00:30:33 +00:00
Michael Niedermayer e6dc9c6f99 more error checks for the sequence header
Originally committed as revision 2788 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-16 03:34:11 +00:00
Michael Niedermayer 9c3d33d67f multithreaded/SMP motion estimation
multithreaded/SMP encoding for MPEG1/MPEG2/MPEG4/H263
all pthread specific code is in pthread.c
to try it, run configure --enable-pthreads and ffmpeg ... -threads <num>
the internal thread API is a simple AVCodecContext.execute() callback which executes a given function pointer with different arguments and returns after finishing all, that way no mutexes or other thread-mess is needed outside pthread.c

Originally committed as revision 2772 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-13 17:54:10 +00:00
Alex Beregszaszi fe455f3328 get_bit_count -> put_bits_count
Originally committed as revision 2752 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-06 15:27:31 +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 2c492e94fc removing broken framerate conversation hack in mpeg1/2
Originally committed as revision 2713 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-18 21:41:44 +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
Michael Niedermayer 303aebf97a uninitalized variables fix by (Gildas Bazin <gbazin at altern dot org>)
and some related cleanup by me

Originally committed as revision 2677 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-08 18:44:36 +00:00
Michael Niedermayer 51929fd312 simplify
Originally committed as revision 2668 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-05 11:16:05 +00:00
Michael Niedermayer b1b8f9fc58 gop timestamp fix
Originally committed as revision 2667 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-04 22:13:14 +00:00
Michael Niedermayer 96b73a2ada frame rate emulation "fix" by (Mean <fixounet at free dot fr>)
Originally committed as revision 2664 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-04 17:43:28 +00:00
Michael Niedermayer baaf3f467b SVCD scan offset stuff
Originally committed as revision 2660 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-04 00:23:14 +00:00
Michael Niedermayer 0368c72d83 print vbv buffer size & bitrate when decoding with -debug 1
Originally committed as revision 2641 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-01 02:56:35 +00:00
Michael Niedermayer bb198e198a interlaced motion estimation
interlaced mpeg2 encoding
  P & B frames
  rate distored interlaced mb decission
  alternate scantable support
4mv encoding fixes (thats also why the regression tests change)
passing height to most dsp functions
interlaced mpeg4 encoding (no direct mode MBs yet)
various related cleanups
disabled old motion estimaton algorithms (log, full, ...) they will either be fixed or removed

Originally committed as revision 2638 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-30 16:07:57 +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 d60a8f85d7 vbv_delay
Originally committed as revision 2623 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-17 19:53:05 +00:00
Michael Niedermayer 31b1ec5d38 mv vissualization & field picture fix
Originally committed as revision 2610 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-14 20:48:12 +00:00
Wolfgang Hesseler fad05f523c cygwin fix and dont average interlaced MVs patch by (Wolfgang Hesseler <qv at multimediaware dot com>)
Originally committed as revision 2609 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-14 17:47:23 +00:00
Michael Niedermayer a4337a5130 10l (printing qscale before parsing it)
Originally committed as revision 2608 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-14 16:15:32 +00:00
Fabrice Bellard 7a0f9d7e7d fixed top_field_first support when encoding
Originally committed as revision 2600 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-12 16:56:38 +00:00
Fabrice Bellard 3ab5b8cc9a interlaced DCT support for MPEG2 encoding
Originally committed as revision 2591 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-10 16:51:54 +00:00
Fabrice Bellard 32e7b91af1 fixed potential problem if aspect_ratio_info == 0 for MPEG stream - fixed aspect ratio problem if CODEC_ID_MPEG2VIDEO is used to decode an MPEG1 stream (which is the recommended codec id for mpeg video)
Originally committed as revision 2587 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-10 11:18:36 +00:00
Michael Niedermayer 26f548a7a6 MB_TYPE_INTERLACED info fix
Originally committed as revision 2586 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-10 02:34:09 +00:00
Fabrice Bellard 248a189a7d fixed low delay decoding
Originally committed as revision 2583 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-09 14:51:49 +00:00
Wolfgang Hesseler 8d7ec294c4 move motion_val & mb_type to AVFrame patch by (Wolfgang Hesseler <qv at multimediaware dot com>)
cleanups & fixes by me

Originally committed as revision 2579 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-09 01:49:56 +00:00
Michael Niedermayer b40cd4e0e4 rv20 (h263) b frame decoding support
Originally committed as revision 2561 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-04 18:34:47 +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
Ivan Kalvachev 57489bc511 silence few warnings
Originally committed as revision 2514 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-13 21:55:05 +00:00
Ivan Kalvachev c512b303c2 mpegvideo is back
Originally committed as revision 2507 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-12 01:19:36 +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 f259747bc7 100l (SAR is written as height/width instead of width/height in the MPEG1 standard)
Originally committed as revision 2453 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-30 19:55:44 +00:00
Ivan Kalvachev a579db0c4f XvMC speedup by removing one memcpy and doing MB packing
Originally committed as revision 2442 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-27 23:22:43 +00:00
Michael Niedermayer 5c9e4723e0 mpeg2 aspect ratio encoding fixed
Originally committed as revision 2406 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-20 23:24:39 +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 fa384dcc81 export mpeg2 active display area / pan scan
fix mpeg2 aspect_ratio for the rare case that active display area != AVCodecContext.width/height
decode sequence display extension & picture display extension

Originally committed as revision 2401 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-20 09:52:02 +00:00
Mike Melanson 764ef40015 disable encoders where appropriate (patch courtesy of BERO
<bero -at- geocities.co.jp>)

Originally committed as revision 2375 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-14 04:15:53 +00:00
Michael Niedermayer e5021fffce mpeg1 + trellis quant segfault fix
Originally committed as revision 2346 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-05 15:32:39 +00:00
Michael Niedermayer 80de6a80a9 hurry_up fix?
Originally committed as revision 2306 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-27 00:02:29 +00:00
Michael Niedermayer 98b0858e10 constraint_parameter_flag fix
Originally committed as revision 2299 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-24 00:06:33 +00:00
Michael Niedermayer cb231c4866 fixing unused f_code values
10l (forgot to update the regression test scores after the closed gop bit fix)

Originally committed as revision 2185 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-30 19:40:30 +00:00
Michael Niedermayer 12dccd4e60 bit_rate in mpeg1/2 should be 0x3FFFF for vbr or at least >= max_bitrate
Originally committed as revision 2180 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-29 19:42:23 +00:00
Michael Niedermayer 69b0ff3acf 10l (closed gop bit)
Originally committed as revision 2178 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-29 15:57:40 +00:00
Michael Niedermayer 922bc38d55 mpeg2 regression test
add mpeg2video_decoder, thats more consistant with the encoders, note, both mpeg1video and mpeg2video decoder will happily decode both mpeg1 and 2

Originally committed as revision 2166 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-26 07:42:25 +00:00
Michael Niedermayer 029911d1c3 mpeg2 encoding
Originally committed as revision 2164 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-25 22:47:32 +00:00
Michael Niedermayer d6eb3c500a custom quant matrix encoding support
Originally committed as revision 2135 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-22 22:18:08 +00:00
Michael Niedermayer c3bf0288c9 PSX MDEC decoder, based upon some code from Sebastian Jedruszkiewicz <elf at frogger dot rules dot pl>
note: completly untested, no demuxer yet

Originally committed as revision 2134 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-22 14:59:04 +00:00
Fabrice Bellard 9ee2c20e49 repeat_pict was never returned
Originally committed as revision 2132 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-22 08:29:44 +00:00
Roman Shaposhnik 36b58e850d * fixing a regression in mpeg encoder (not setting pix_fmt),
this is hardly the right way to do things, but it'll suffice for now.
   * patch from Gildas Bazin
                gbazin at altern dot org
   * fix for a 10l in configure
   * gcc 2.95.3 and Solaris build in general are not ready
     for -Werror in libavformat/Makefile

Originally committed as revision 2123 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-12 18:20:29 +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
Ivan Kalvachev 2e7b4c8442 initial XvMC support
Originally committed as revision 2085 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-26 01:28:49 +00:00
Michael Niedermayer ff862be5ed ati vcr2 uv swap
Originally committed as revision 2084 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-26 00:49:46 +00:00
Michael Niedermayer 008f085172 vcr2 cleanup
Originally committed as revision 2081 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-24 23:44:45 +00:00
Michael Niedermayer e94bc1006f ATI VCR2 decoding support
Originally committed as revision 2079 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-24 23:32: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 3bb07d6165 default for slices is display order again
optional support for field slices & slices in coded order
and single component slices for svq1 (unfinished)

Originally committed as revision 2066 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-20 14:48:05 +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 05fd1577be mpeg 2 seeking fix
Originally committed as revision 2018 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-07 11:25:31 +00:00
Michael Niedermayer e056044824 CODEC_FLAG_LOW_DELAY fix
Originally committed as revision 2016 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-06 21:24:04 +00:00
Michael Niedermayer 8e937a4ad1 2x100l
Originally committed as revision 1989 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-06-27 12:58:40 +00:00
Ivan Kalvachev 1dff7d56ad DMV support patch by ("Ivan Kalvachev" <ivan at cacad dot com>)
Originally committed as revision 1985 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-06-23 22:32:15 +00:00
Michael Niedermayer 2a250222e6 CONFIG_ENCODERS cleanup
Originally committed as revision 1984 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-06-22 11:08:22 +00:00
Michael Niedermayer daab329603 fixing concealment MVs prediction
Originally committed as revision 1982 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-06-21 00:50:40 +00:00
Fabrice Bellard 855127bc92 fixed segfault if sequence header has not been found before slice decoding
Originally committed as revision 1964 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-06-16 14:09:18 +00:00
Michael Niedermayer cf713bb862 fix mpeg1/2 decoding if there are no 0 bytes after the bitstream
print mpeg1/2 startcodes support

Originally committed as revision 1919 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-30 00:02:25 +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
Michael Niedermayer 3d2e8cce3a ASV1 codec
with postprocessing support :)

Originally committed as revision 1891 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-19 13:30:59 +00:00
BERO 05858889b2 decode motion & modulo optimize patch by (BERO <bero at geocities dot co dot jp>)
Originally committed as revision 1872 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-14 01:08:02 +00:00
BERO d8e00c0997 bitstream reader optimize patch by (BERO <bero at geocities dot co dot jp>)
Originally committed as revision 1871 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-14 00:32:22 +00:00
BERO 7062fad6e9 small optimize mpeg12.c/get_qscale patch by (BERO <bero at geocities dot co dot jp>) and the return idea by arpi
Originally committed as revision 1870 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-13 23:38:51 +00:00
Michael Niedermayer cfcff63685 10l
Originally committed as revision 1826 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-27 13:44:01 +00:00
Michael Niedermayer bb463d8102 10l (returning negative number of consumed bytes if the first startcode of a frame was split between 2 buffers)
Originally committed as revision 1824 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-27 01:11:26 +00:00
Michael Niedermayer 80097bbf71 cleanup mpeg1/2 bitstream parser
Originally committed as revision 1813 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-22 13:55:12 +00:00
Michael Niedermayer 0426af3111 mpeg2 qscale flag
a few bugfixes for the C pp code
minor optimization

Originally committed as revision 1786 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-18 12:45:34 +00:00
Michael Niedermayer 37b787f124 some checks to avoid segfaults if the decoder is feeded with junk
Originally committed as revision 1757 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-11 22:53:03 +00:00
Michael Niedermayer 9c00c3af90 100l (mpeg2 decoding fixed)
Originally committed as revision 1756 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-11 21:15:17 +00:00
Michael Niedermayer 7bc9090a41 simplified adressing of most mb based arrays (mb_x + mb_y*s->mb_stride) now instead of mb_x + mb_y*mb_width and 1+mb_x + (1+mb_y)*(mb_width+2) and ... mixture
more direct use of the new mb_type stuff instead of codec specific stuff
runtime mb_type debug output h264/h263 variants/mpeg1/2/4
error concealment /resilience for mpeg1/2
various minor optimizations

Originally committed as revision 1746 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-10 13:18:38 +00:00
Michael Niedermayer 4d2a48349d msmpeg4 2pass support & some related cleanup
Originally committed as revision 1724 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-02 09:57:34 +00:00
Michael Niedermayer 309522372c some static -> dynamic alloc & 16->8 bit
Originally committed as revision 1722 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-31 11:13:14 +00:00
Michael Niedermayer 9b8709d135 mpeg1 slice encoding support
Originally committed as revision 1720 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-30 19:26:01 +00:00
Michael Niedermayer 1984f6359e user setable quantizer bias
Originally committed as revision 1701 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-22 12:09:02 +00:00
Michael Niedermayer b536d0aad2 field pic decoding cleanup
Originally committed as revision 1686 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-16 20:22:22 +00:00
Michael Niedermayer 14bea432f1 per context frame_rate_base, this should finally fix frame_rate related av sync issues
Originally committed as revision 1666 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-12 15:16:19 +00:00
Michael Niedermayer 983e3246b7 per file doxy
Originally committed as revision 1634 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-06 11:32:04 +00:00
Michael Niedermayer 640950c700 mpeg2 field pictures + sliced mode (doesnt work with mplayer though, dunno why)
Originally committed as revision 1626 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-05 20:03:15 +00:00
Michael Niedermayer dfb476cbe0 field picture decoding support (16x16 MC blocks only as i dont have any samples which use other modes ...)
Originally committed as revision 1624 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-05 17:48:19 +00:00
Michael Niedermayer b0368839ac MpegEncContext.(i)dct_* -> DspContext.(i)dct_*
bitexact cleanup

Originally committed as revision 1617 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-03 14:54:00 +00:00
Michael Niedermayer 2ec23b6d44 move repeat_pict field from AVCodecContext -> AVFrame (closes bug #683536)
Originally committed as revision 1608 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-26 17:26:20 +00:00
Fabrice Bellard e2f9490eab added DTG active format information
Originally committed as revision 1605 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-25 09:56:56 +00:00
Wolfgang Hesseler 7604246d1a more #ifdef CONFIG_ENCODERS patch by (Wolfgang Hesseler <qv at multimediaware dot com>) with modifications by me (s/WOLFGANG/CONFIG_ENCODERS/ and some other fixes)
Originally committed as revision 1588 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-16 23:05:38 +00:00
Zdenek Kabelac 0c1a9edad4 * UINTX -> uintx_t INTX -> intx_t
Originally committed as revision 1578 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-11 16:35:48 +00:00
Michael Niedermayer 63b15e559a mpeg1 bframe encoding patch by (Raphaël LEGRAND) with some modifications by me
Originally committed as revision 1551 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-08 12:00:57 +00:00
Michael Niedermayer 68f593b484 GetBitContext.size is allways multiplied by 8 -> use size_in_bits to avoid useless *8 in a few inner loops
Originally committed as revision 1486 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-21 17:34:12 +00:00
Michael Niedermayer f943e1383d trying to fix mb skip bug in mpeg1/2 if slices are not used
Originally committed as revision 1482 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-20 20:37:24 +00:00
Michael Niedermayer c442d75c6e trellis quantization for mpeg1
rounding bugfix for mpeg1 (seems this was introduced during the ME changes)

Originally committed as revision 1382 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-01 00:42:18 +00:00
Michael Niedermayer 1457ab5233 qpel encoding
4mv+b frames encoding finally fixed
chroma ME
5 comparission functions for ME
b frame encoding speedup
wmv2 codec (unfinished)
user specified diamond size for EPZS

Originally committed as revision 1365 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-27 23:51:46 +00:00
Zdenek Kabelac f7696989d9 * fix for empty image queue
Originally committed as revision 1342 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-19 18:59:45 +00:00
Michael Niedermayer 59b571c1e4 more debug output
Originally committed as revision 1338 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-17 11:25:29 +00:00
Michael Niedermayer 492cd3a920 AVVideoFrame -> AVFrame
Originally committed as revision 1327 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-09 12:03:43 +00:00
Michael Niedermayer 4e00e76b3c cleanup / messup?
fixes 20% speedloss bug
removes redundant variables from MpegEncContext
release buffers in avcodec_flush_buffers() (untested)

Originally committed as revision 1325 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-09 00:29:17 +00:00
Michael Niedermayer 426b80615b aspect ratio encoding for mpeg1
Originally committed as revision 1319 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-06 16:19:25 +00:00
Michael Niedermayer 945f15b740 mpeg1&2 aspect decoding
Originally committed as revision 1318 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-06 16:04:30 +00:00
Michael Niedermayer d9cb5429f2 drop b frames if there are no reference frames
skip b frames if hurry_up

Originally committed as revision 1312 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-05 11:33:43 +00:00
Michael Niedermayer 1e491e29c2 cleanup
adding AVVideoFrame
 moving quality, pict_type, key_frame, qscale_table, ... to AVVideoFrame
 removing obsolete variables in AVCodecContext
 skiping of MBs in b frames
 correctly initalizing AVCodecContext
 picture buffer cleanup

Originally committed as revision 1302 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-04 10:04:03 +00:00
Agent Smith 2aa29681c9 dont put flies in the stdout soup patch by (Agent Smith <asmith at wgz dot com>)
Originally committed as revision 1277 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-26 00:54:27 +00:00
Michael Niedermayer f8fd15e03f moving init of some variables (hurry_up,...) to MPV_frame_start()
Originally committed as revision 1271 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-23 09:12:57 +00:00
Michael Niedermayer deedfbdbca 10l
Originally committed as revision 1239 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-19 23:04:07 +00:00
Michael Niedermayer 58bfafbed9 hurry_up=5 support
Originally committed as revision 1219 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-18 09:28:21 +00:00
Zdenek Kabelac eb4b3dd3c3 * using DSPContext - so each codec could use its local (sub)set of CPU extension
Originally committed as revision 1194 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-11 09:40:17 +00:00
Michael Niedermayer c2d418f1e6 fixing -sameq with mpeg2
Originally committed as revision 1179 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-09 13:57:54 +00:00
Michael Niedermayer d7425f59d5 cleanup (breaks compatibility, requested by fabrice)
remove CODEC_FLAG_NOT_TRUNCATED & add CODEC_FLAG_TRUNCATED
add CODEC_CAP_TRUNCATED
add alpha plane to AVPicture
remove CODEC_ID_MSMPEG4
remove various unused stuff
support "truncated" mpeg4 streams

Originally committed as revision 1175 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-08 18:35:39 +00:00
Michael Niedermayer 86f85dca30 cleanup
Originally committed as revision 1142 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-02 08:55:46 +00:00
Arpi 288daa8452 handle init error in ffmpeg12
Originally committed as revision 1141 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-02 01:43:19 +00:00
Michael Niedermayer 0aa7875a73 cleanup
Originally committed as revision 1126 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-31 11:47:58 +00:00
Michael Niedermayer d6db1c9c6a handle direct rendering buffer allocation failure
Originally committed as revision 1075 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-27 00:02:23 +00:00
Michael Niedermayer d2975f8d4f warning fixes
Originally committed as revision 1044 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-15 15:24:08 +00:00
Michael Niedermayer 4973397975 mpeg1 2pass encoding
Originally committed as revision 1019 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-09 17:18:24 +00:00
Michael Niedermayer 3a3d3a42c2 fixing custom quantizer matrix decoding
minor optimizations

Originally committed as revision 993 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-02 22:56:58 +00:00
Michael Niedermayer 3994623df2 optimization
Originally committed as revision 992 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-02 17:07:39 +00:00
Michael Niedermayer ce5b7c5e11 sliced mode for mpeg1/2
Originally committed as revision 991 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-02 16:36:43 +00:00
Michael Niedermayer acf44abb8c move scantable init from block-decode to header parser
Originally committed as revision 990 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-01 23:47:04 +00:00
Michael Niedermayer 3729c91296 optimizing mpeg2 decode block stuff
Originally committed as revision 989 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-01 23:11:40 +00:00
Michael Niedermayer a02017367b optimizing mpeg1_decode_block()
Originally committed as revision 985 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-30 16:14:14 +00:00
Michael Niedermayer 8e1652dc9d forgot zigzag_direct[] behind #ifdef DEBUG (found by Klaas-Pieter Vlieg <vlieg at eurescom dot de>)
Originally committed as revision 984 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-30 10:06:17 +00:00
Michael Niedermayer 2ad1516a6c idct permutation cleanup, idct can be selected per context now
fixing some threadunsafe code

Originally committed as revision 980 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-29 22:44:22 +00:00