1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-12 19:18:44 +02:00
Commit Graph

512 Commits

Author SHA1 Message Date
Michael Niedermayer
8d4c65d136 b-frame mpeg4 fix when seeking
Originally committed as revision 414 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-22 17:33:43 +00:00
Michael Niedermayer
eec1c6b94c divx 5.01 support
Originally committed as revision 412 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-22 12:45:22 +00:00
Zdenek Kabelac
976f969b24 * add support for liba52
Originally committed as revision 411 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-22 10:27:25 +00:00
Michael Niedermayer
ee6f786146 fix b-frame MB skip
Originally committed as revision 410 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-21 23:47:27 +00:00
Michael Niedermayer
ba8d0be99d rounding bugfix
Originally committed as revision 409 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-21 22:41:49 +00:00
Michael Niedermayer
8b4c7dbc55 fixed ratecontrol & b-frames
2pass ratecontrol
fixed hq with 2pass
inceased build num (a few more vars for the rc stuff)
hopefully no new bugs

Originally committed as revision 408 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-21 21:18:17 +00:00
Arpi
2c029cd19d postprocess array increased to handle images up to 2048x1536
Originally committed as revision 407 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-20 21:17:26 +00:00
Michael Niedermayer
91029be790 much better ME for b frames (a bit slow though)
fixed MC rounding for b frames
fixed hq mode with b-frames

Originally committed as revision 406 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-19 03:25:20 +00:00
Michael Niedermayer
1f0cd30fd9 fixing hq mode with mpeg1 and 2-pass
Originally committed as revision 405 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-17 18:19:50 +00:00
Michael Niedermayer
9dbf1dddbd mpeg2/mpeg4 dequantizer support (c & mmx)
mpeg1 dequantizer optimizations

Originally committed as revision 404 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-17 16:30:31 +00:00
Michael Niedermayer
9dbcbd92e8 fixed mpeg4 time stuff on encoding
mpeg4 b-frame enoding support
removed old, out-commented ratecontrol
reuse motion compensation code between encoding & decoding
prefix newly added global functions with ff_ to reduce namespace polution
b-frame ME (unfinished, but working)
added some comments to mpegvideo.h
do MC on encoding only once if possible
bugs? ;)

Originally committed as revision 403 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-17 04:32:12 +00:00
Zdenek Kabelac
076b09e9b3 * minor - slightly modified debug message
Originally committed as revision 401 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-15 12:52:21 +00:00
Juanjo
4b1f4f236b - Versions defined for libav/libavcodec.
- Bug fix in wav muxer for MP2 audio.
- ffmpeg/libavcodec version in MPEG-4 user data.

Originally committed as revision 400 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-15 02:28:05 +00:00
Juanjo
101bea5f22 - ME method compatibility with legacy apps.
- Please use AVCodecContext's me_method now.

Originally committed as revision 399 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-14 22:17:40 +00:00
Juanjo
e4986da9ce - ME setting moved to AVCodecContext/MpegEncContext, no longer a global.
- EPZS ME algo used by default.
- HQ flag activated for ffmpeg.
- Cosmetics ...

Originally committed as revision 398 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-14 18:57:51 +00:00
Juanjo
e0d2714adc - Fixed AC3 decoding for 5:1 AC3 streams. Now when calling av_audio_decode for
AC3 set avcodec_context->channels to the desired number channels, if the
setting is 0 AC3 decoder will set it to the channels found in the
stream.
- Changed ffmpeg to cope with the new "way" of AC3 decoding.
- ASF muxer now uses Tickers for PTS calculations.

Originally committed as revision 393 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-09 04:52:49 +00:00
Juanjo
9f862d1133 - PIX_FMT_ANY = -1 to avoid breaking any stuff that could be using it.
Thanks to D Richard Felker III for his comments.

Originally committed as revision 392 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-09 00:37:06 +00:00
Juanjo
dbc598bb79 - Commented out PIX_FMT_ANY by now. It seems that not all codecs are setting
the PIX_FMT_ so they get PIX_FMT_ANY instead of PIX_FMT_YUV420P which
obviuosly annoys ffmpeg.

Originally committed as revision 391 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-09 00:08:39 +00:00
Zdenek Kabelac
bc657ac31d * using pixtype as enum - by Philip Gladstone
Originally committed as revision 389 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-08 21:03:35 +00:00
Zdenek Kabelac
30b68f33aa * encoding of AC3 with more than 2 channels
by Takashi Iwai <tiwai@suse.de>

Originally committed as revision 383 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-08 12:08:03 +00:00
Juanjo
10bb7023a2 - Added force_pts to av_write_packet() to be able to force PTS, this helps
(and fix) stream copying. By now force_pts it's just honoured by the MPEG
muxer. ASF could honour this also, but it should be fixed to use Tickers
first.
- MPEG audio decoder exports it's frame size in bytes.
- Hope this fix the floating point exception found in ffserver.

Originally committed as revision 382 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-07 21:44:29 +00:00
Michael Niedermayer
3bf43d42ed mpeg4 mpeg quantizer support
Originally committed as revision 381 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-07 02:03:32 +00:00
Michael Niedermayer
e1a9dbffed wmv1 header parser (unfinished)
Originally committed as revision 380 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-06 22:29:37 +00:00
Michael Niedermayer
3825cd1d55 msmpeg4v2 encoding
Originally committed as revision 379 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-05 21:04:09 +00:00
Michael Niedermayer
2ed627e64e fixing msmpeg4v2 bugs (is bugfree now afaik)
Originally committed as revision 378 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-05 16:51:12 +00:00
Michael Niedermayer
3c4f1840e6 b frames & slices bugfix
Originally committed as revision 377 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-05 04:23:01 +00:00
Michael Niedermayer
84afee348f msmpeg4v2 decoding (no encoding yet)
Originally committed as revision 376 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-05 04:09:04 +00:00
Michael Niedermayer
fcb609f432 dump_stream support (nicely formated 0s and 1s)
Originally committed as revision 375 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-04 20:04:10 +00:00
Michael Niedermayer
5b403c4015 emms was missing, found by juanjo but he didnt commit it?!
Originally committed as revision 374 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-04 19:50:46 +00:00
Michael Niedermayer
c60cf138bd fixing MVs in hq mode
Originally committed as revision 372 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-01 17:40:42 +00:00
Alex Beregszaszi
0344cd0a7c multiple init bugfix (patch by Alex Beregszaszi <alex@naxine.org>)
Originally committed as revision 371 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-01 13:24:47 +00:00
Michael Niedermayer
ff3dfbae1a fixing 1/0
Originally committed as revision 370 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-30 21:33:14 +00:00
Michael Niedermayer
14ae07d86c divx5-gmc bug workaround
Originally committed as revision 369 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-29 05:15:49 +00:00
Michael Niedermayer
7f89b6fbdc msmpeg4v2 header parser & some dump bits code behind #if 0
Originally committed as revision 368 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-29 02:07:25 +00:00
Michael Niedermayer
dbbe89994b minor optimizations / simplifications
Originally committed as revision 367 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-29 01:53:59 +00:00
Arpi
60e575acc8 using Juanjo's way to pass forced type - especially as I_TYPE/P_TYPE defines aren't exported in the public interface, and the flagged method matches the way as qscale forcing work
Originally committed as revision 366 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-28 23:07:54 +00:00
Michael Niedermayer
4d69fbc99e force frame type for 2-pass encoding
Originally committed as revision 365 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-28 22:50:22 +00:00
Michael Niedermayer
649c00c96d sizeof(s->block) isnt 64*6*2 anymore bugfix
mpeg12 decoding optimization

Originally committed as revision 364 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-28 13:41:04 +00:00
Michael Niedermayer
cf8039b2cf mpeg4 4MV encoding
Originally committed as revision 363 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-28 04:25:35 +00:00
Michael Niedermayer
ba6802debf 4MV motion estimation (not finished yet)
SAD functions rewritten (8x8 support & MMX2 optimizations)
HQ inter/intra decission
msmpeg4 encoding bugfix (MV where too long)

Originally committed as revision 362 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-27 21:25:22 +00:00
Michael Niedermayer
2a164b253c optimizing mpeg4_encode_dc
Originally committed as revision 361 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-25 15:36:16 +00:00
Michael Niedermayer
9c15096e3f fcode_tables where too small, found by Klaas-Pieter Vlieg <vlieg@eurescom.de>
Originally committed as revision 360 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-24 23:45:13 +00:00
Michael Niedermayer
d633c2c096 b-frame decoding bugfix
Originally committed as revision 359 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-24 22:02:21 +00:00
Michael Niedermayer
490922441b resync marker support, needed for some mp4 files
Originally committed as revision 358 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-24 21:25:04 +00:00
Michael Niedermayer
122546a6d1 seems the old intra/inter decission is slightly better with a threshold, than the new one
Originally committed as revision 357 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-24 04:58:54 +00:00
Michael Niedermayer
174489bdcc 10l (motion_val was uninitilized)
20l (first frame of a gop could be a p-frame sometimes)
add hq flag to MpegEncContext

Originally committed as revision 356 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-24 04:16:51 +00:00
Michael Niedermayer
9d2a035529 fixing motion estimation with h263p hopefully
Originally committed as revision 355 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-23 20:21:33 +00:00
Michael Niedermayer
098eefe183 statistics for 2-pass encoding
Originally committed as revision 354 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-23 17:43:30 +00:00
Michael Niedermayer
b1563bfef2 dont return -1 if mpeg4 scalability ...
Originally committed as revision 353 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-23 13:00:08 +00:00
Michael Niedermayer
b398777148 better inter/intra decission algo (same as xvid)
Originally committed as revision 352 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-23 12:39:45 +00:00
Michael Niedermayer
72a52b3142 fixing MV range in h263
Originally committed as revision 351 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-23 00:31:33 +00:00
Michael Niedermayer
2efe097a7e more aspect stuff
Originally committed as revision 350 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-22 23:28:11 +00:00
Michael Niedermayer
11ce88346b mpeg4 aspect_ratio_info in AVCodecContext (requested by alex)
experimental (& faster) motion estimation
squished a dirty uninitialized var bug
mpeg1 fcode>1 support

Originally committed as revision 349 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-22 23:22:08 +00:00
Michael Niedermayer
c5b1c10a0e fixing epzs & mpeg1 (hopefully now really ...)
Originally committed as revision 348 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-22 16:51:44 +00:00
Michael Niedermayer
8a29b31054 mpeg1 & epzs fix
Originally committed as revision 347 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-22 04:35:46 +00:00
Michael Niedermayer
c7d5049c98 oops
Originally committed as revision 345 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-22 02:36:08 +00:00
Michael Niedermayer
45870f5718 new motion estimation (epzs) not complete yet but allready pretty good :)
unlimited mv search range
minor bugfix in the mpeg4 header parser
reset picture in gop counter if scene change is detected

Originally committed as revision 344 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-22 02:21:17 +00:00
Juanjo
af469427b3 - Fix pts calculation on mpeg mux (A/V sync) - Thanks to Lennert Buytenhek
- Fix temporal-reference-glitches for MPEG1 - Thanks to Lennert Buytenhek

Originally committed as revision 343 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-20 11:16:07 +00:00
Juanjo
ce7c56c250 - Added video coding statistics for ffmpeg. Needs more work.
- Fixed ME range for H.263+ UMV (32 pix).

Originally committed as revision 342 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-19 06:30:41 +00:00
Michael Niedermayer
488fa19a86 use the width & height from the mpeg4 header ... in the case that its complete
Originally committed as revision 340 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-19 03:51:36 +00:00
Michael Niedermayer
019d276a12 msmpeg4 bugfix (wrong frame displayed if some frames are skipped)
Originally committed as revision 339 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-18 21:06:07 +00:00
Michael Niedermayer
2e3be0fba9 fixing 4MV
Originally committed as revision 338 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-18 20:11:43 +00:00
Michael Niedermayer
bd31a7750f scene change detection
Originally committed as revision 337 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-17 19:45:33 +00:00
Michael Niedermayer
c674115939 10l
Originally committed as revision 336 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-17 18:08:11 +00:00
Juanjo
001e3f555d - Fixes on MPEG demuxer to handle VOBs without System Header.
Originally committed as revision 335 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-17 17:44:45 +00:00
Michael Niedermayer
9cdd6a24ad hopefully better bitrate controll
Originally committed as revision 334 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-17 16:31:38 +00:00
Juanjo
1cb0edb40b - Bug fix MPEG-2 decoder to handle "repeat_first_field" (Telecine)
- Hack in MPEG-2 demux to cope with buggy VOBs.

Originally committed as revision 333 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-16 02:41:00 +00:00
Michael Niedermayer
4278e7a6f5 optimization
Originally committed as revision 332 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-15 14:57:17 +00:00
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
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
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
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
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
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
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
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
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
Juanjo
81401c1fbc - Fixes on RTP and GOB headers for H.263.
- RTP callback system implemented for H.263/H.263+.
- Bug fix on DC coefficients of H.263.
- H.263 decoder now returns PTS on picture number.

Originally committed as revision 292 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-09 16:59:56 +00:00
Arpi
3cb32e3d1f PATCH by Rik Snel <rsnel@cube.dyndns.org>
this includes the range for quantized dct coefficients in dct_quantize()  (-1023...1023)

Originally committed as revision 291 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-09 01:25:06 +00:00
Arpi
80e103d04c PATCH by Rik Snel <rsnel@cube.dyndns.org>
this patch enhances the jpeg header writer. It can be asked to omit
quantisation and huffman tables and it can write different horizontal and
vertical sampling factors. (the last thing is useless for libavcodec
itself (because libavcodec only handles YUV420P at ecoder level), but the
values are initialized so that operation of libavcodec is not impaired)

Originally committed as revision 290 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-09 01:23:41 +00:00
Michael Niedermayer
fa778d53ad workaround gcc 2.95.2 bug
Originally committed as revision 289 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-09 00:38:44 +00:00
Michael Niedermayer
0b2540a0c1 avoid copying input when encoding non intra stuff too
Originally committed as revision 288 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-07 23:48:24 +00:00
Michael Niedermayer
d8c2efac4b width or height %16 != 0 bugfix
Originally committed as revision 287 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-07 02:08:36 +00:00
Michael Niedermayer
6fe84b4327 use multiply instead of divides for DC prediction on X86
Originally committed as revision 286 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-05 22:51:23 +00:00
Arpi
5dfd24ac98 workaround gcc bug "m" (0)
avoiding useage of ebx

Originally committed as revision 283 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-01-28 19:34:16 +00:00
Zdenek Kabelac
320680d420 * temporal solution for shared lib compilation
* using ALPHA code optimalization for non ARCH_I386

Originally committed as revision 282 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-01-28 18:06:28 +00:00
Michael Niedermayer
2f349de286 (commit by michael)
mmx & mmx2 quantizer
c dct permutation bugfix
dont copy input on intra only encodings if it can be avoided
dont draw edges on intra only stuff

Originally committed as revision 281 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-01-27 13:30:18 +00:00
Arpi
580b82fa24 (m)jpeg pad/flush with 1 instead of 0, fix by Rik Snel <rsnel@cube.dyndns.org>
Originally committed as revision 280 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-01-26 00:22:25 +00:00
Michael Niedermayer
2ddeed44a5 (commit by michael)
motion-estimation on width/height not divisable through 16 files bugfix

Originally committed as revision 279 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-01-24 19:06:47 +00:00
Michael Niedermayer
d2b3c3d7bb (commit by michael)
dc coeff isnt dequantized (bug reported by falk hueffner)

Originally committed as revision 278 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-01-24 15:25:11 +00:00
Michael Niedermayer
4e3269e87f (commit by michael)
quantizer range bugfix (mpeg1 & mpeg4 encoding)

Originally committed as revision 277 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-01-24 14:34:03 +00:00
Nick Kurshev
c7997007be Small simple idct improvement for Alpha by Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
Originally committed as revision 276 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-01-21 17:46:42 +00:00
Nick Kurshev
1e98dffb7a Alpha optimizations by Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
Originally committed as revision 274 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-01-20 14:48:02 +00:00
Nick Kurshev
4bdd9157cc Cygwin's mangling by Felix Buenemann <atmosfear@users.sourceforge.net>
Originally committed as revision 273 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-01-20 14:30:34 +00:00
Michael Niedermayer
0a8d8945fd (commit by michael)
faster simple idct in MMX

Originally committed as revision 269 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-01-17 20:00:41 +00:00
Michael Niedermayer
ae40484c1c (commit by michael)
bye bye weird al rounding bug ;)

Originally committed as revision 268 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-01-15 22:22:41 +00:00
Michael Niedermayer
5975626d6f (commit by michael)
emms

Originally committed as revision 267 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-01-15 05:02:26 +00:00
Michael Niedermayer
3d9fccbf0f (commit by michael)
draw_edges_mmx()

Originally committed as revision 266 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-01-15 04:07:29 +00:00
Michael Niedermayer
4973971e37 (commit by michael)
faster simple_idct in C

Originally committed as revision 265 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-01-14 04:39:59 +00:00
Michael Niedermayer
6f903d8e27 (commit by michael)
16-bit divide instead of 32-bit on x86 in msmpeg_pred_dc()

Originally committed as revision 264 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-01-14 04:34:52 +00:00
Michael Niedermayer
8bdbae01fe (commit by michael)
memset() in MMX

Originally committed as revision 263 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-01-14 04:29:19 +00:00
Michael Niedermayer
99180fe39d (commit by michael)
new msmpeg4 dequantizer did dequantize too early

Originally committed as revision 261 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-01-13 06:12:35 +00:00
Michael Niedermayer
badaf88eeb (commit by michael)
dequantizers skip trailing zeros
msmpeg4 non-intra decoder has its dequantizer "build in" now

Originally committed as revision 260 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-01-13 04:59:37 +00:00
Michael Niedermayer
05f361f0c7 (commited by michael / arpi was crazy enough to give me his password)
fixed a bug in get_vlc() when using the ALT_BITSTREAM_READER (rv10 & mpeg12 decoders where not working)
some optimizations
 replaced a if() with a >>
 changed get_bits1() a bit so it hopefully is faster on p4

Originally committed as revision 259 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-01-12 20:21:51 +00:00
Arpi
eede215681 rv10 sig11 fix by Michael Niedermayer <michaelni@gmx.at>
Originally committed as revision 258 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-01-12 14:36:40 +00:00
Michael Niedermayer
5b3438c630 different fix, s->mbintra_table used only if h263_pred set. - patch by Michael Niedermayer <michaelni@gmx.at>
Originally committed as revision 257 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-01-11 22:07:12 +00:00
Vladimir Dergachev
01dbbd0a9a This fixes segfaults because of uninitialized s->mbintra_table variable - patch by Vladimir Dergachev <volodya@mindspring.com>
Originally committed as revision 256 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-01-11 21:32:34 +00:00
Michael Niedermayer
6fb904ce30 s->c_dc_scale was 7 if s->qscale==2 but should be 8 (the bug is visible in deep red areas in high bitrate clips) - patch by Michael Niedermayer <michaelni@gmx.at>
Originally committed as revision 255 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-01-11 21:27:04 +00:00
Arpi
477c35a9f0 mpeg4 encoder fix by Michael Niedermayer <michaelni@gmx.at>
Originally committed as revision 254 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-01-11 21:23:48 +00:00
Michael Niedermayer
3587d501a3 aligned bitstream support (optional) - patch by ichael Niedermayer <michaelni@gmx.at>
Originally committed as revision 253 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-01-11 21:21:20 +00:00
Michael Niedermayer
27a3e2c5e0 another bitstream reader code (faster on intel cpus) - patch by Michael Niedermayer <michaelni@gmx.at>
Originally committed as revision 252 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-01-10 00:56:05 +00:00
Michael Niedermayer
bff6ecaa9c AC table reset (memset) optimization - patch by Michael Niedermayer <michaelni@gmx.at>
Originally committed as revision 251 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-01-10 00:53:21 +00:00
Michael Niedermayer
5a24083859 fix for non-mmx runtimedetect encoding bugs - patch by Michael Niedermayer <michaelni@gmx.at>
Originally committed as revision 250 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-01-10 00:51:45 +00:00
Michael Niedermayer
ef093645ef fix different UMV handling for mpeg4 vs. h263 - patch by Michael Niedermayer <michaelni@gmx.at>
Originally committed as revision 249 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-01-10 00:46:40 +00:00
Michael Niedermayer
f4470e0936 print cpu flags
Originally committed as revision 248 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-01-10 00:41:53 +00:00
Stephen Davies
fb4a9613ee qscale estimate fix, diff extended to 64bit wide. patch by Stephen Davies <steve@daviesfam.org>
Originally committed as revision 247 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-01-08 00:28:55 +00:00
Michael Niedermayer
3046f265b9 fix slices when code=0x18, patch by Michael Niedermayer <michael@mplayer.dev.hu>
Originally committed as revision 246 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-01-08 00:21:41 +00:00
Arpi
3a842ea5d1 informal msg
Originally committed as revision 238 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-12-26 14:02:08 +00:00
Arpi
98f3b098f9 avcodec_find_encoder_by_name() patch by Alex
Originally committed as revision 237 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-12-23 22:25:18 +00:00
Arpi
393fe8dd8e unrestricted MC fixed - thanks to Michael Niedermayer for idea
Originally committed as revision 236 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-12-16 12:44:34 +00:00
Arpi
37e8dcda36 new IDCT code by Michael Niedermayer (michaelni@gmx.at) - #define SIMPLE_IDCT to enable
Originally committed as revision 235 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-12-09 12:39:54 +00:00
Arpi
d962f6fd3a new IDCT code by Michael Niedermayer (michaelni@gmx.at) - #define SIMPLE_IDCT to enable
Originally committed as revision 234 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-12-09 12:04:09 +00:00
Juanjo
644d98a4f2 - Preliminary RTP friendly mode for H.263.
- GOB headers for H.263 coding on RTP mode.
- Improved GOB header detection for H.263 decoder.

Originally committed as revision 222 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-11-19 02:13:14 +00:00
Juanjo
96815ce9e2 - Added support to Inter4V+Q MBs to H.263 decoder.
- Advanced Prediction Mode activated for H.263 decoder.
- Bug fixed on H.263+ header parsing for UFEP.
- Now we can decode VIVO v1 streams :)

Originally committed as revision 221 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-11-17 21:14:54 +00:00
Juanjo
9eaa46906b - Bug fixed on H.263 decoder initialization.
Originally committed as revision 220 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-11-17 15:43:04 +00:00
Juanjo
8547282b6c - Bug fix on MV prediction for MPEG4 caused by new H.263 GOB code.
Originally committed as revision 215 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-11-13 01:21:35 +00:00
Juanjo
102d39088b - Fixed a bug on H.263 MV prediction for MB on GOBs limits.
- Now we can decode H.263v1 streams found on QT without problems.

Originally committed as revision 214 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-11-12 05:19:55 +00:00
Nick Kurshev
f12e206b47 Let loops will be aligned
Originally committed as revision 213 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-11-11 17:55:54 +00:00
Nick Kurshev
a822a47983 fixed gcc-3.0.x compilation (by Michael Niedermayer)
Originally committed as revision 211 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-11-10 14:36:12 +00:00
Arpi
ebbe52f1da postprocessing array increased to handle HDTV resolutions (1920x1152)
Originally committed as revision 206 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-11-05 18:23:31 +00:00
Arpi
7f3f5ec87b dct_unquantize_h263_mmx() by Michael Niedermayer <michaelni@gmx.at>
Originally committed as revision 205 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-11-03 02:22:48 +00:00
Juanjo
4949028f85 - Bug fix on inter MCBPC table for inter+q.
- H.263/H.263+ decoder now knows GOB start codes.
- H.263/H.263+ decoder now returns the size of the stream on the first call.
- Added show_bits() functions to see the buffer without loosing the bits.
- TODO: H.263v1 UMV parsing is buggy.

Originally committed as revision 204 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-11-03 00:49:53 +00:00
Zdenek Kabelac
92d24f49f8 * fixed decoding busy loop
Originally committed as revision 203 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-10-31 19:40:53 +00:00
Nick Kurshev
18c599db04 missing header
Originally committed as revision 197 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-10-27 13:34:10 +00:00
Nick Kurshev
f840692ffb headers installation
Originally committed as revision 196 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-10-27 12:40:13 +00:00
Nick Kurshev
0fd944424b Shared objects support
Originally committed as revision 194 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-10-27 12:04:27 +00:00
Zdenek Kabelac
2d83f323d6 * and finaly avoid deadlock at the end of audio stream
Originally committed as revision 183 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-10-23 20:20:01 +00:00
Zdenek Kabelac
de5123dc35 * fixes to avoid crash when broken mp3 header is found
Originally committed as revision 182 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-10-23 19:58:30 +00:00
Zdenek Kabelac
c152c98327 * simple fix to avoid memcpy with len < 0
Originally committed as revision 180 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-10-23 19:03:33 +00:00
Zdenek Kabelac
525782f33f * prevent crash in decoder
Originally committed as revision 179 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-10-23 19:02:55 +00:00
Juanjo
ce68c16f41 Added Juergen Keil fix on quant_tab[4] type.
Originally committed as revision 166 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-10-17 18:05:35 +00:00
Arpi
79e7b30557 exporting qscale data for postprocessing (for MPlayer)
Originally committed as revision 164 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-10-16 23:10:38 +00:00
Fabrice Bellard
a190b7e94e fixed pcm bitrate
Originally committed as revision 149 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-09-24 23:29:46 +00:00
Fabrice Bellard
f674bf7105 suppressed mpglib
Originally committed as revision 141 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-09-23 17:17:46 +00:00
Fabrice Bellard
a96b68b717 added pcm codecs
Originally committed as revision 140 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-09-23 17:16:51 +00:00
Arpi
829fa996a9 CONFIG_MPGLIB no more needed
Originally committed as revision 136 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-09-21 21:30:15 +00:00
Fabrice Bellard
da115c8a3e copyright change
Originally committed as revision 133 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-09-17 21:19:35 +00:00
Fabrice Bellard
afa982fdae corrected mpeg audio encoding overflows - now it should give correct quality even for very high volumes
Originally committed as revision 132 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-09-17 21:19:09 +00:00
Fabrice Bellard
c34270f5e8 mlib merge
Originally committed as revision 131 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-09-16 21:54:00 +00:00
Fabrice Bellard
8d67072fea fixed symetric quantization (better quality!)
Originally committed as revision 130 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-09-16 21:52:58 +00:00
Fabrice Bellard
73120e555c version change
Originally committed as revision 129 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-09-16 21:52:17 +00:00
Fabrice Bellard
9dbf938977 added get_bits_count()
Originally committed as revision 120 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-09-15 22:43:01 +00:00
Fabrice Bellard
2456e28d91 merged code and tables between encoder and decoder
Originally committed as revision 119 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-09-15 22:42:25 +00:00
Fabrice Bellard
9a9b2b5dd8 added mpeg audio decoder tables
Originally committed as revision 118 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-09-15 22:41:10 +00:00
Fabrice Bellard
239c2f4cd0 added completely new mpeg audio decoder (integer only, free format support, lsf/mpeg25 support, high/low precision support, simpler code)
Originally committed as revision 117 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-09-15 22:40:28 +00:00
Fabrice Bellard
c8fbc22dee suppressed mpglib
Originally committed as revision 116 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-09-15 22:37:36 +00:00
Nick Kurshev
3d2043852d memalign autodetection
Originally committed as revision 115 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-09-13 07:16:59 +00:00
Juanjo
544286b3d3 Moved some H.263+ variables to MpegEncContext to be thread-safe.
Increase video_buffer on ffmpeg to avoid buffer overrun on big pictures.


Originally committed as revision 114 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-31 06:21:27 +00:00
Juanjo
6dbd39fe70 Added support to Unrestricted Motion Vectors (UMV)
on H.263+ encoding/decoding. According to Annex D.
Now MV on H.263+ are 32x32 long.


Originally committed as revision 113 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-28 23:32:34 +00:00
Nick Kurshev
3615700918 Aligned malloc. Another 10% of speedup.
Originally committed as revision 111 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-20 16:01:35 +00:00
Fabrice Bellard
a74127c071 win32 fixes
Originally committed as revision 110 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-15 22:33:03 +00:00
Fabrice Bellard
d0a0b2483e motion test
Originally committed as revision 109 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-15 22:31:26 +00:00
Fabrice Bellard
4300403eca suppressed nasm stuff
Originally committed as revision 108 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-15 22:30:51 +00:00
Fabrice Bellard
64ccc83c2b removed
Originally committed as revision 105 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-15 22:26:09 +00:00
Fabrice Bellard
694ec0612b suppressed nasm dependancy - rewrote forward DCT and motion estimation code
Originally committed as revision 104 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-15 22:25:32 +00:00
Fabrice Bellard
58f26ba916 changed opendivx to mpeg4
Originally committed as revision 102 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-15 13:12:23 +00:00
Fabrice Bellard
935442b522 log2 to av_log2
Originally committed as revision 101 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-15 13:11:31 +00:00
Fabrice Bellard
0c23ead115 copy avctx
Originally committed as revision 100 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-15 13:11:03 +00:00
Fabrice Bellard
9d02db7a17 fix got_picture output
Originally committed as revision 99 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-15 13:10:39 +00:00
Fabrice Bellard
bf89e6b1f9 added draw_horiz_band test
Originally committed as revision 98 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-15 13:09:47 +00:00
Fabrice Bellard
0617e07391 log2 to av_log2 - added integer version define
Originally committed as revision 97 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-15 13:09:28 +00:00
Fabrice Bellard
34763c151f renamed log2 to av_log2
Originally committed as revision 96 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-15 13:07:42 +00:00
Fabrice Bellard
1a56543279 win32 fixes
Originally committed as revision 84 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-13 21:48:05 +00:00
Fabrice Bellard
d95ecd058e better vol header parsing for mpeg4
Originally committed as revision 83 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-13 21:46:21 +00:00
Fabrice Bellard
3d03c0a24e arm optimizations
Originally committed as revision 82 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-13 21:45:36 +00:00
Fabrice Bellard
92651f67a0 arm specific code
Originally committed as revision 79 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-13 21:38:25 +00:00
Fabrice Bellard
519c2b6d11 moved matrix init away from MPV_common_init()
Originally committed as revision 77 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-12 00:52:37 +00:00
Fabrice Bellard
25ed7f9235 fixed mpeg2 non intra dequant - fixed MPEG1 and 2 matrix parsing
Originally committed as revision 76 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-12 00:52:01 +00:00
Fabrice Bellard
d753173a55 fixed last zero mv for field - fixed mismatch handling for intra coefs
Originally committed as revision 75 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-11 22:08:23 +00:00
Fabrice Bellard
514547517b fixed mpeg2 interlaced DCT
Originally committed as revision 74 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-11 22:07:21 +00:00
Fabrice Bellard
ce6758821d removed incomplete seek patch
Originally committed as revision 73 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-11 19:15:52 +00:00
Fabrice Bellard
cf0875950d picture utils
Originally committed as revision 72 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-11 19:04:31 +00:00
Fabrice Bellard
0ee50938f1 fixed mpeg2 qscale decoding
Originally committed as revision 71 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-11 19:04:08 +00:00
Fabrice Bellard
991ae7b6a4 added interlaced MJPEG support
Originally committed as revision 70 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-11 19:03:30 +00:00
Fabrice Bellard
85c242d800 added 422P, 444P support - added deinterlace support - added xxx to RGB24 convertion
Originally committed as revision 69 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-11 19:03:02 +00:00
Fabrice Bellard
4af5e4ef5e fix msmpeg4 seek
Originally committed as revision 68 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-11 19:01:04 +00:00
Fabrice Bellard
0cfa9713f7 export for imgconvert usage
Originally committed as revision 67 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-11 19:00:43 +00:00
Fabrice Bellard
219b06c66b new img_convert API - added deinterlacing filter
Originally committed as revision 66 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-11 19:00:05 +00:00
Fabrice Bellard
2cb1773ddc fixed mb_intra_vlc decoding table size
Originally committed as revision 61 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-11 18:56:40 +00:00
Fabrice Bellard
486171d7ba return dummy quality to avoid bug in -sameq case - forgot emms in error case
Originally committed as revision 60 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-08 22:11:48 +00:00
Fabrice Bellard
425dddb7f1 fixed mpeg1 first block bug (pb with black picture optimisation for B frames)
Originally committed as revision 59 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-08 21:57:07 +00:00
Fabrice Bellard
b9ecd1ee74 fixed mpeg1 last block bug (mb stuffing code was not included in vlc table...)
Originally committed as revision 58 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-08 21:53:28 +00:00
Fabrice Bellard
186f8ae1f5 added forgotten emms() - fix various segmentation faults when using mjpeg
Originally committed as revision 57 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-08 19:08:50 +00:00
Nick Kurshev
c10e9f70c0 Portability and testing issues
Originally committed as revision 55 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-08 16:26:51 +00:00
Fabrice Bellard
8def029919 added mmx idct
Originally committed as revision 53 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-07 22:49:50 +00:00
Fabrice Bellard
3c054a1cdd fixed scan protos
Originally committed as revision 52 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-07 22:49:11 +00:00
Fabrice Bellard
4f1c7e3c92 fixed block permutation in encoder (not optimal - should move it in forward DCT code)
Originally committed as revision 51 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-07 22:48:42 +00:00
Fabrice Bellard
689b775b85 updated scans
Originally committed as revision 50 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-07 22:47:28 +00:00
Fabrice Bellard
6083244881 changed quant matrix order (should fix mmx mpeg decoding bug)
Originally committed as revision 49 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-07 22:47:08 +00:00
Fabrice Bellard
47476fa9fd fixed mjpeg matrix quant encoding and decoding
Originally committed as revision 48 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-07 22:46:19 +00:00
Fabrice Bellard
13b5475264 permuted coefs in normal IDCT to avoid having different cases there
Originally committed as revision 47 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-07 22:45:35 +00:00
Fabrice Bellard
dc541ee74b added idct reference code
Originally committed as revision 46 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-07 22:43:37 +00:00
Fabrice Bellard
e0eac44e82 added block permutation functions
Originally committed as revision 45 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-07 22:43:19 +00:00
Fabrice Bellard
9e1586fce9 updated dct-test to test IDCTs too
Originally committed as revision 44 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-07 22:42:45 +00:00
Fabrice Bellard
de1ee36ab9 added idct mmx
Originally committed as revision 43 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-07 22:42:22 +00:00
Fabrice Bellard
fe97c87d65 updated mmx macros
Originally committed as revision 42 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-07 22:40:52 +00:00
Fabrice Bellard
f33802a005 added idct mmx code
Originally committed as revision 41 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-07 22:40:29 +00:00
Fabrice Bellard
bbc0d0c1fe use default huffman tables if none given
Originally committed as revision 40 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-06 02:46:46 +00:00
Fabrice Bellard
b182e68ac5 added 422P and 444P support - fixed block parsing error
Originally committed as revision 39 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-06 01:54:05 +00:00
Fabrice Bellard
d9fea0b588 added 422P and 444P formats (need to patch ffmpeg.c so that it is handled in all the program)
Originally committed as revision 38 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-06 01:53:21 +00:00
Fabrice Bellard
e23884046d added correct component id handling
Originally committed as revision 37 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-06 01:04:59 +00:00
Fabrice Bellard
98be975df1 types fix
Originally committed as revision 36 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-06 00:47:50 +00:00
Fabrice Bellard
4e66ab3bab added MJPEG decoder + comments
Originally committed as revision 35 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-06 00:47:03 +00:00
Fabrice Bellard
10b7b472d9 added MJPEG decoder, renamed mjpegenc.c to mjpeg.c
Originally committed as revision 34 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-06 00:44:48 +00:00
Nick Kurshev
1d20b11aa4 Suppressing external gas stuff to improve portability to Win32
Originally committed as revision 33 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-05 16:49:57 +00:00
Arpi
612476ef9b get_bits() specialization, gives 4\speedup
Originally committed as revision 32 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-04 00:46:50 +00:00
Arpi
2931ecb90f inlineing common case of get_bits() -> gives 2speedup. more optim coming soon...
Originally committed as revision 31 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-03 23:09:15 +00:00
Arpi
4af7bcc185 MMX/MMXEXT iDCT support, using external functions currently defined in libmpeg2
Gives average 13-20% mpeg decoding speedup on x86 systems.


Originally committed as revision 30 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-03 18:33:03 +00:00
Arpi
2d6d0c1d66 - removed #include ../config.h, because it's included from common.h
which is included from avcodec.h which is included from those files...


Originally committed as revision 29 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-02 18:46:26 +00:00
Nick Kurshev
54329dd5a5 Adding fastmemcpy stuff to speedup mplayer project
Originally committed as revision 27 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-02 08:29:38 +00:00
Fabrice Bellard
96f4e5135c added external cpuid code to solve -fPIC and gcc unclear constraints problems
Originally committed as revision 25 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-07-30 23:51:20 +00:00
Fabrice Bellard
0725406c94 added cpuid.s
Originally committed as revision 24 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-07-30 23:50:04 +00:00
Fabrice Bellard
35b2a786f5 renamed - use of s->dct_unquantize function pointer - SHOULD add faster h263 mmx specific unquantization stuff
Originally committed as revision 23 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-07-30 23:28:35 +00:00
Fabrice Bellard
21af69f787 use block[] in structure to have it aligned on 8 bytes for mmx optimizations - dct_unquantize is always a function pointer - added specialized dct_unquantize_h263
Originally committed as revision 22 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-07-30 23:26:26 +00:00
Fabrice Bellard
b7ec19d39e use block[] in structure to have it aligned on 8 bytes for mmx optimizations
Originally committed as revision 21 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-07-30 23:24:58 +00:00
Fabrice Bellard
caa6348e96 comments
Originally committed as revision 20 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-07-30 23:23:11 +00:00
Fabrice Bellard
420b073bbc added HAVE_AV_CONFIG_H
Originally committed as revision 19 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-07-30 23:22:07 +00:00
Fabrice Bellard
2b0c1a441b added mpegvideo_mmx.c - added HAVE_AV_CONFIG_H
Originally committed as revision 18 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-07-30 23:21:37 +00:00
Nick Kurshev
a9b3f63084 Sync with mplayer's stuff
Originally committed as revision 14 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-07-30 09:04:34 +00:00
Fabrice Bellard
3bb4e23a8a added skip macroblock optimization (big perf win on black regions for example)
Originally committed as revision 13 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-07-24 20:43:41 +00:00
Fabrice Bellard
fb16b7e7b3 added emms_c() macro which should can used in c code in both mmx/non mmx cases
Originally committed as revision 12 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-07-24 20:42:03 +00:00
Fabrice Bellard
7d650cb540 suppressed no longer needed emms()
Originally committed as revision 11 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-07-24 20:38:55 +00:00
Fabrice Bellard
a9e3707d6b fixed cpuid macro to allow PIC compiling
Originally committed as revision 10 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-07-24 20:37:52 +00:00
Fabrice Bellard
d771bcae33 added CONFIG_AC3, CONFIG_MPGLIB, CONFIG_DECODERS and CONFIG_ENCODERS (Arpi: don't forget to put CONFIG_DECODERS in mplayer)
Originally committed as revision 9 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-07-23 20:58:31 +00:00
Fabrice Bellard
980fc7b834 fixed config for direct mplayer build compatibility
Originally committed as revision 8 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-07-23 20:06:54 +00:00
Fabrice Bellard
d78647e8b4 fixed unsigned pb
Originally committed as revision 7 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-07-23 18:58:11 +00:00
Fabrice Bellard
de6d9b6404 Initial revision
Originally committed as revision 5 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-07-22 14:18:56 +00:00