Commit Graph

51027 Commits

Author SHA1 Message Date
Michael Niedermayer
d6231b9e70 use ac prediction in mpeg4 encoding (5% smaller intra-blocks/keyframes)
some minor optimizations
last non zero index cant be 64 bugfix

Originally committed as revision 331 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-15 04:10:53 +00:00
Michael Niedermayer
49c9325f56 support decoding (with mplayer) of 3 .mp4 files from mphq
optimize h263_pred_motion()

Originally committed as revision 330 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-13 19:26:38 +00:00
Michael Niedermayer
10cd581572 generate even more complete mpeg4 headers
Originally committed as revision 329 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-13 12:50:41 +00:00
Michael Niedermayer
6f91bcd151 mpeg4 b-frames :)
create slightly more correct headers & add "ffmpeg" user-data section

Originally committed as revision 328 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-12 22:54:25 +00:00
Juanjo
e2263827d5 - Bug fix on output sample rate for lame MP3 encoding.
Originally committed as revision 327 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-10 15:16:41 +00:00
Juanjo
9d36bdc9be - Added MP3 encoding through libmp3lame contributed by Lennert Buytenhek.
Originally committed as revision 326 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-10 14:58:53 +00:00
Juanjo
0716b577b6 - Added MP3 encoding through libmp3lame contributed by Lennert Buytenhek.
Originally committed as revision 325 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-10 14:52:00 +00:00
Juanjo
5798368baf - Added MP3 encoding through libmp3lame contributed by Lennert Buytenhek.
- Changes on AVI and WAV muxers to support MP3.

Originally committed as revision 324 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-10 14:51:20 +00:00
Juanjo
a674139801 - Added MP3 encoding through libmp3lame contributed by Lennert Buytenhek.
- Changes on AVI and WAV muxers to support MP3 encoding.

Originally committed as revision 323 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-10 14:44:19 +00:00
Michael Niedermayer
1699d37681 divx5 draw_edges bugfix
Originally committed as revision 322 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-10 03:17:53 +00:00
Michael Niedermayer
7ff037e9ca q-pel mc fixed
Originally committed as revision 321 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-09 14:22:21 +00:00
Michael Niedermayer
44eb495128 divx5-gmc support
q-pel mc support
neither is totally bugfree yet though :(

Originally committed as revision 320 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-09 13:01:16 +00:00
François Revol
ef0bc4c97f * BeOS patch by François Revol <revol@free.fr>
fixing some compilation problems

Originally committed as revision 319 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-08 09:09:57 +00:00
Michael Niedermayer
73c8e5144a gmc bitstream decoding support (the real motion compensation isnt implemnted yet)
Originally committed as revision 318 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-07 13:27:15 +00:00
Michael Niedermayer
cc9ba006ec parsing more of the mpeg4 header & print some "not supported" stuff
Originally committed as revision 317 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-05 13:58:13 +00:00
Felix Bünemann
854288bba9 add mangling
Originally committed as revision 4924 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-03-03 13:33:40 +00:00
Juanjo
86bec9a161 - Fix on AVI and WAV headers based on Nikolai Zhubr patch.
- Now the properties of the AVIs are correctly shown, but the MP2 audio
isn't playable, it seems the problems is that Fraunhoffer MP3 decoder
included on Windows cannot decode MP2 streams.

Originally committed as revision 316 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-01 22:28:30 +00:00
Michael Niedermayer
f5d1f41b11 fixing warning
Originally committed as revision 315 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-26 23:11:08 +00:00
Juanjo
43f1708f8b - Added PSNR feature to libavcodec and ffmpeg. By now just Y PSNR until I'm
sure it works ok. Also it's slow, so use it only when you _really_ need to
measure quality.
- Fix libavcodec Makefile to enable profiling.

Originally committed as revision 314 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-26 22:14:27 +00:00
Michael Niedermayer
2b9ab1d54a fixing msmpeg4 decoding if fps < 16 (i thought it was a indicator for the ext header, its the fps indeed)
Originally committed as revision 313 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-22 19:19:01 +00:00
Michael Niedermayer
81b7c056ee use assert.h
more assertions

Originally committed as revision 4807 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-02-22 15:24:19 +00:00
Juanjo
e7774f11ac - Bug fix on RTYPE (rounding type) not being honoured by H.263+ decoder.
Originally committed as revision 312 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-22 03:35:41 +00:00
Michael Niedermayer
2ba1bff059 101++
Originally committed as revision 4795 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-02-21 19:41:50 +00:00
Michael Niedermayer
df3c183a7b fixing bgr32 output on big-endian systems
Originally committed as revision 4794 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-02-21 17:48:00 +00:00
Michael Niedermayer
1e1c4fe926 unscaled yuv2rgb fix for big-endian systems
Originally committed as revision 4792 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-02-21 16:57:35 +00:00
Juanjo
9e15ad28bd - Bug fixes in H.263+ Advanced INTRA Coding decoder.
- H.263+ should be able to decode streams with AIC now :)

Originally committed as revision 311 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-19 19:23:34 +00:00
Juanjo
d140623fc4 - H.263+ decoder support for Advanded INTRA Coding (buggy)
Originally committed as revision 310 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-18 19:33:27 +00:00
Zdenek Kabelac
608d0dee6f * Also include time.h for nanosleep()
by:  Philipp Matthias Hahn <pmhahn@titan.lahn.de>

Originally committed as revision 309 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-18 10:20:03 +00:00
Zdenek Kabelac
d6a4c0b111 * some modifications to allow gcc to compile same code for -fPIC
- introduced MOVQ_WONE, MOVQ_WTWO
* unrolled put_pixels_clamped_mmx
* added .baling where the jump address would be compiled on odd address
* added some testing code to disable all these routines (for time measurement)

Originally committed as revision 308 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-18 09:40:05 +00:00
Zdenek Kabelac
38d171ebbe * simplified indexing
* ignoring error from msmpeg4_decode_block

Originally committed as revision 307 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-18 09:34:54 +00:00
Zdenek Kabelac
af8793ae75 * simplified indexing
Originally committed as revision 306 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-18 09:32:11 +00:00
Zdenek Kabelac
8257bf0534 * eliminating duplicated code from MPV_common_end
* simplified indexing

Originally committed as revision 305 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-18 09:31:37 +00:00
Zdenek Kabelac
3232bc885d * using static instead of extern
Originally committed as revision 304 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-18 09:29:32 +00:00
Zdenek Kabelac
b4cc15e75e * continue after error in msmpeg4_decode_mb - helps for some movie samples
Originally committed as revision 303 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-18 09:28:05 +00:00
Michael Niedermayer
bb6f51aeab avoid overflow of picturenumber*fps*10000
bug found by Lennert Buytenhek <buytenh@gnu.org>

Originally committed as revision 302 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-18 01:58:00 +00:00
Michael Niedermayer
3696d2bb83 block_last_index was too large (in mpeg1 decoding)
Originally committed as revision 301 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-18 00:31:16 +00:00
Juanjo
b4dbd87c04 - Minor changes on bitrate control
Originally committed as revision 300 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-15 20:46:37 +00:00
Michael Niedermayer
d8cf5aea49 optimized the normal bitstream writer, its faster than the alternative one on p3 now ... lets hope its at least not slower on p4 & k7
Originally committed as revision 299 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-15 00:14:01 +00:00
Michael Niedermayer
332105e446 minor dststride bugfix for i420 output
srcHeight %2 != 0 bugfix / chroma height = (luma height +1)>>1 in YV12

Originally committed as revision 4699 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-02-14 16:38:50 +00:00
Michael Niedermayer
f004ca1c1b optimized encode_dc() (+2% speed on P3 for mpeg1 intra only encodings)
Originally committed as revision 298 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-13 15:26:28 +00:00
Michael Niedermayer
80feb2a23e optimize mpeg1_encode_block()
(makeing some constant arrays global, merging put_bits(), ...)

Originally committed as revision 297 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-13 04:19:10 +00:00
Michael Niedermayer
4f0f8bfce3 aligned bitstream writer (1% slower on p3 but perhaps its faster on p4?)
Originally committed as revision 296 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-12 22:43:26 +00:00
Michael Niedermayer
17592475b3 alternative bitstream writer (disabled by default, uncomment #define ALT_BISTREAM_WRITER in common.h if u want to try it)
Originally committed as revision 295 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-12 15:43:16 +00:00
Michael Niedermayer
9bd8bd1add unscaled memcpy variant bugfix (negative strides)
Originally committed as revision 4650 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-02-10 23:57:47 +00:00
Juanjo
e03c341ef3 - More work on preliminary bit rate control, just to be able to get an
average variance for picture's MBs so we can adjust qscale on the MB layer.

Originally committed as revision 294 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-10 06:10:50 +00:00
Juanjo
37fbfd0a91 - Now the ME is done for the entire picture when enconding, the
DCT/Quantization is done after we have calculated all the MV of the picture.
- This is the preamble for a better bit rate control.

Originally committed as revision 293 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-10 01:56:50 +00:00
Michael Niedermayer
ec22603f79 unscaled BGR24 -> YV12
Originally committed as revision 4624 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-02-10 00:43:31 +00:00
Michael Niedermayer
21316f3c84 rgb24toyv12 in MMX (untested)
Originally committed as revision 4623 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-02-10 00:30:24 +00:00
Michael Niedermayer
4342fc14dc bgr24toUV in MMX
Originally committed as revision 4620 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-02-09 23:43:48 +00:00
Michael Niedermayer
ac6a2e4550 bgr24toY in MMX
Originally committed as revision 4613 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-02-09 17:03:53 +00:00