Commit Graph

406 Commits

Author SHA1 Message Date
Michael Niedermayer
000a9c02db 10l
Originally committed as revision 3088 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-29 22:12:29 +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
9964df63ee minor motion estimation cleanup
4mv motion vector passthrough

Originally committed as revision 3051 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-24 03:36:37 +00:00
Michael Niedermayer
1671083f55 sanity check
Originally committed as revision 3047 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-23 21:17:31 +00:00
Michael Niedermayer
f4f3223ffd reuse motion vectors/mb types/field select values of the source video, if the SSE for a macroblock which is predicted with these values is below me_threshold
currently works only with mpeg1/2 source or some luck
may need -sync 0 as otherwise framedrops could lead to extreemly long b frame sequences

Originally committed as revision 3042 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-23 19:06:30 +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
3803021453 fix y scale of mv vissualization of interlaced MVs
Originally committed as revision 3033 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-18 18:30:05 +00:00
Michael Niedermayer
a4d36c1113 passing AVFrame instead of AVPicture around in ffmpeg, that way stuff like motion vectors can be passed from the decoder to the encoder
moving ref_index from Picture to AVFrame

Originally committed as revision 3028 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-17 19:41:49 +00:00
Michael Niedermayer
14e2a9404e flv dropable p frame support
Originally committed as revision 3027 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-17 13:36:21 +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
8100cab9c6 nicer looking arrows for the motion vector vissualization
Originally committed as revision 2950 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-03 01:55:24 +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
b73afeac30 huge vbv buffer size + CBR fix
Originally committed as revision 2929 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-26 12:30:04 +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
6b47b7300e Compile fix by (Chip <szarlada at freemail dot hu>)
Originally committed as revision 2915 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-22 12:07:02 +00:00
Michael Niedermayer
7976241aef moving f/b_code init to where it should be
Originally committed as revision 2901 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-16 17:27:03 +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
37923cd32d alignment fix
Originally committed as revision 2890 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-14 17:55:50 +00:00
Michael Niedermayer
67086c8552 width,height%16!=0 fix
Originally committed as revision 2889 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-14 17:33:48 +00:00
Michael Niedermayer
1da57984e6 10l
Originally committed as revision 2871 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-11 13:22:39 +00:00
Michael Niedermayer
ca5b9f20b2 10l
Originally committed as revision 2848 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-05 15:10:56 +00:00
Michael Niedermayer
ed263031f6 100l (divx5 b frame + seeking + flush fix)
Originally committed as revision 2836 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-02 03:18:03 +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
95d356c587 optimizing/cleanup of mpeg/qpel_motion()
Originally committed as revision 2831 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-29 22:14:46 +00:00
Michael Niedermayer
c8a4ebbf27 simplify MPV_motion()
Originally committed as revision 2828 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-29 02:08:28 +00:00
Michael Niedermayer
5ba326b5d4 interlaced mpeg4 + edge emu fix (fixes decoding of mermaid.avi)
related cleanup

Originally committed as revision 2827 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-29 00:37:36 +00:00
Michael Niedermayer
259630df42 10l (vdpart fix)
Originally committed as revision 2822 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-26 19:11:21 +00:00
Michael Niedermayer
ae35f5e14e 100l (field picture decoding fix)
Originally committed as revision 2818 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-26 02:48:07 +00:00
Wolfgang Hesseler
8289c6faa8 export DCT coefficients patch by (Wolfgang Hesseler <wolfgang.hesseler at imk dot fraunhofer dot de>)
Originally committed as revision 2816 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-25 18:29:17 +00:00
Michael Niedermayer
9740beffc6 use AVFrame.pts=AV_NOPTS_VALUE instead of AVFrame.pts=0
move AV_NOPTS_VALUE & AV_TIME_BASE from avformat.h -> avcodec.h
related fixes

Originally committed as revision 2814 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-25 17:35:52 +00:00
Michael Niedermayer
e51f49487e set AVFrame.pts based upon framerate if its 0
detect & warn if the user prvides pts only for some frames, and try to guess the missing ones

Originally committed as revision 2812 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-25 02:05:50 +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
Michael Niedermayer
5e7c25f0d1 simplify
Originally committed as revision 2801 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-18 22:54:02 +00:00
Michael Niedermayer
fbf2284cd2 check if threads_count is too large
Originally committed as revision 2798 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-18 16:26:16 +00:00
Michael Niedermayer
da16b2043f noise reduction with threads bugfix
Originally committed as revision 2789 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-17 18:57:50 +00:00
Michael Niedermayer
fafbc7c8c8 mpeg4 b frame + adaptive quantization assertion failure fix
Originally committed as revision 2779 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-14 03:49:43 +00:00
Michael Niedermayer
3a1fa44759 multithreaded spatial complexity calculation for i frames
Originally committed as revision 2778 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-14 03:21:03 +00:00
Michael Niedermayer
b6335c9f5b ff_copy_bits() optimization
Originally committed as revision 2777 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-14 01:25:41 +00:00
Michael Niedermayer
a734250db6 activate the memcpy special case for the byte aligned case in ff_copy_bits(), wasnt working before because of a incorrectly used pbBufPtr()
Originally committed as revision 2775 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-13 21:07:31 +00:00
Michael Niedermayer
cfbd16df75 replace a few pbBufPtr() by put_bits_count(), one of them was actually wrong
Originally committed as revision 2774 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-13 20:59:48 +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
Tinic Uro
747a0554ea - made --extra-cflags option work on darwin
- allow INTER4V macroblocks for FLV1 codec
- fixed issue in flv file format saving 8 mp3 frames per packet instead of 1
- fixed crasher in flv file format involving mp3 buffer handling
- added FLV1 codec support for swf file format (FlashPlayer6 or above
required) and made it default
- fixed broken mp3 support in swf file format
patch by (Tinic Uro <turo at macromedia dot com>)
cleanup by me

Originally committed as revision 2756 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-06 23:56:37 +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
de7ff1f774 analyze the gradient of the error surface to avoid a few checks in the quantizing noise shaper
Originally committed as revision 2751 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-06 03:56:05 +00:00
Michael Niedermayer
364a179749 quantizer noise shaping optimization
Originally committed as revision 2750 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-06 02:12:37 +00:00
Michael Niedermayer
deb7a6cdaf simplify
Originally committed as revision 2743 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-02 14:59:43 +00:00
Michael Niedermayer
77ea0d4bdd quantizer noise shaping
Originally committed as revision 2742 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-02 03:52:58 +00:00
Michael Niedermayer
2c8b796fa9 b frames + cbr fix
Originally committed as revision 2730 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-29 15:50:54 +00:00
Michael Niedermayer
11a8a71d4e mpeg4 pts fix
Originally committed as revision 2724 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-26 19:04:32 +00:00
Michael Niedermayer
65a24d0b39 optimization & bugfix extracted from the 4k line diff between ffmpeg 0.4.7 and http://www.alicestreet.com/ffh263.html
the other parts of the diff where
1. spelling fixes (rejected as only a small part of it could be applied automatically)
2. cosmetics (reindention, function reordering, var renaming, ...) with bugs (rejected)
3. rtp related stuff (rejetced as it breaks several codecs)
4. some changes to the intra/inter decission & scene change detection (quality tests needed first)

Originally committed as revision 2721 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-24 23:47:33 +00:00