Commit Graph

444 Commits

Author SHA1 Message Date
Michael Niedermayer 8db1a1dde0 new bitstream reader API (old get_bits() based one is emulated and will still be supported in the future cuz its simpler)
minor optimizations to get_vlc

Originally committed as revision 725 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-09 10:35:10 +00:00
Michael Niedermayer de0f2f4cca wmv1 slice_height != mb_height support
encoding of slice_height != mb_height
1bit shorter wmv1 headers if bit_rate<50 !? ROTFL M$ is even more stupid than i thought
using dc of non intra blocks for dc prediction of wmv1 if bitrate < 129 && res < 320x240

Originally committed as revision 723 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-07 08:34:46 +00:00
Falk Hüffner 0a12d6fdfd Implement clear_blocks_axp.
Originally committed as revision 722 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-05 19:16:26 +00:00
Falk Hüffner 02da51ec60 * Move "restrict" fallback to common.h
* Don't include config.h in dsputil.c

Originally committed as revision 721 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-04 13:41:27 +00:00
Falk Hüffner c13e1abdec * Detect "retrict" keyword
* Use "restrict" in some dsputil routines (yields large speedup)

Originally committed as revision 716 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-04 01:47:32 +00:00
Falk Hüffner 2dbe7ec87c Make dct_unquantize_h263 work on systems without MVI extension.
Originally committed as revision 715 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-03 23:30:32 +00:00
Falk Hüffner e0580f8c68 Update and activate dct_unquantize_h263_mvi. Thanks to Måns Rullgård
for some improvements.

Originally committed as revision 714 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-03 03:01:06 +00:00
Falk Hüffner dde3f77dbc Use updated motion compensation routines.
Originally committed as revision 713 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-03 01:09:44 +00:00
Falk Hüffner 3530320dbf Activate ALT_BITSTREAM_READER by default on Alpha, since it seems to
be a noticeable win (at least for me :)

Originally committed as revision 712 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-02 02:22:46 +00:00
Falk Hüffner 494e409255 Assembly version of put_pixels. This is currently the function that
takes the most time, and it allows for more efficient unaligned access
and better control over memory latencies.

Originally committed as revision 711 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-01 23:47:01 +00:00
Falk Hüffner d13c54cdc0 Add profiling support.
Originally committed as revision 710 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-01 23:02:36 +00:00
Falk Hüffner bb7d4939ba Implement put_pixels_clamped and add_pixels_clamped in Assembler. This
allows better scheduling of the memory accesses, and is portable among
all compilers.

Originally committed as revision 709 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-01 04:26:07 +00:00
Zdenek Kabelac d859228038 * turned into debug message - it's annoying when watching mjpeg files
Originally committed as revision 707 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-27 13:21:16 +00:00
Michael Niedermayer a406617f2a init dc_scale tables to defaults (fixes mjpeg sig11)
Originally committed as revision 706 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-25 10:15:42 +00:00
Falk Hüffner db42e13bfb Ugly hack to make the assembler accept MVI instructions.
Originally committed as revision 705 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-24 22:22:39 +00:00
Falk Hüffner b210c96c0c * Fixed constraints
* Support ccc
* Support gcc 3.2 builtins

Originally committed as revision 704 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-24 22:21:30 +00:00
Falk Hüffner 3155c994b6 Reintroduce lost idctSparseCol for Alpha. Sorry for adding even more
code duplication, I'm currently working on the put/add variants, but I
did not get them to be as fast as the old method yet...

Originally committed as revision 703 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-24 21:17:22 +00:00
Michael Niedermayer f10bd870bf 4mv bugfix
Originally committed as revision 702 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-24 15:02:52 +00:00
Michael Niedermayer bd5e1c72f8 fixing wmv1 bugs, it was foolish to belive that m$ would use the same dc prediction as mpeg4 just cuz they changed it a bit from msmpeg4v3
Originally committed as revision 700 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-22 15:52:25 +00:00
Michael Niedermayer 0151a6f546 wmv1 support
Originally committed as revision 697 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-18 00:50:20 +00:00
Michael Niedermayer f5957f3fe2 wmv1 support
dc scale optimisation
better ac table selection for msmpeg4

Originally committed as revision 696 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-18 00:49:00 +00:00
Michael Niedermayer 8f8402e49c dc scale simplification/optimization
Originally committed as revision 695 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-18 00:46:02 +00:00
Fabrice Bellard 8fd5fe9429 use #ifdef
Originally committed as revision 694 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-17 08:29:03 +00:00
Fabrice Bellard 4fd6044859 reverted to inttypes.h since it gives problems on some unixes
Originally committed as revision 690 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-13 23:36:30 +00:00
Fabrice Bellard ce992c6932 moved code to mem.c and allcodecs.c
Originally committed as revision 689 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-11 13:45:17 +00:00
Fabrice Bellard 915bbac681 fixed one mpeg decoder memory leak
Originally committed as revision 688 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-11 13:44:14 +00:00
Fabrice Bellard 6d4985bbdf move unaligned access macros to dsputil.h - added unaligned 32 bit store
Originally committed as revision 687 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-11 13:43:27 +00:00
Fabrice Bellard 544eb99cbf memory functions are exported
Originally committed as revision 686 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-11 13:42:18 +00:00
Fabrice Bellard 771b9a7045 put codec registering in another file so that the user can install the codecs he wants
Originally committed as revision 685 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-11 13:41:41 +00:00
Fabrice Bellard d01fe86dac put memory functions in a separate file so that the user can redefinite them without modifying the library
Originally committed as revision 684 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-11 13:41:01 +00:00
Fabrice Bellard 773cefc602 added installlib target to install static libraries and includes
Originally committed as revision 683 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-11 13:39:47 +00:00
Fabrice Bellard 96707bb783 do not export internal functions - use stdint.h
Originally committed as revision 682 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-11 13:38:54 +00:00
Michael Niedermayer 6282185e82 grayscale only encoding
Originally committed as revision 679 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-09 14:04:36 +00:00
Michael Niedermayer 0398717356 passing avctx->flags so that grayscale only decoding works with mpeg1/2 too
Originally committed as revision 678 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-09 13:43:53 +00:00
Michael Niedermayer b50eef3ae0 grayscale only decoding
Originally committed as revision 677 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-09 13:35:56 +00:00
Felix Bünemann 800d7cebb6 in libavcodec/Makefile there is in line 110: "distclean: clean<binary char>"
this binary char corrupts the makefile and should be removed.
patch by Felix Buenemann <atmosfear@users.sourceforge.net>

Originally committed as revision 676 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-07 22:01:03 +00:00
Fabrice Bellard d81c598383 fixed multiple allocation bug
Originally committed as revision 675 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-06 14:31:18 +00:00
Fabrice Bellard 9f4f81ed17 fixed case where abs_level > MAX_LEVEL
Originally committed as revision 674 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-06 14:25:44 +00:00
Michael Niedermayer 0f440e0214 optimizing MPV_decode_mb
Originally committed as revision 673 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-05 23:43:56 +00:00
Fabrice Bellard 8ee14970d6 added ff_idct_put/add
Originally committed as revision 672 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-05 18:48:07 +00:00
Fabrice Bellard d36a246675 added inlined put/add functions
Originally committed as revision 671 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-05 18:46:25 +00:00
Fabrice Bellard ad31c904b2 use ff_idct_put/add()
Originally committed as revision 670 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-05 18:36:03 +00:00
Fabrice Bellard ee4b748b7f use ff_idct_put()
Originally committed as revision 669 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-05 18:35:28 +00:00
Fabrice Bellard 412ba501b1 removed unused code - began to merge alpha specific stuff - added mac macros for suitable CPUs
Originally committed as revision 667 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-05 14:25:06 +00:00
Michael Niedermayer dd536160cd run1 can be <0 bugfix (found by fabrice)
Originally committed as revision 661 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-04 18:35:31 +00:00
Fabrice Bellard 03c94ede93 avoid name clash with libjpeg - added missing externs
Originally committed as revision 660 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-04 12:58:40 +00:00
Fabrice Bellard c3aea5c424 added missing externs (we were lucky that commons are used)
Originally committed as revision 659 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-04 12:56:04 +00:00
Fabrice Bellard 6d5bf5343c added missing externs
Originally committed as revision 658 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-04 12:53:11 +00:00
Zdenek Kabelac 39825f315f * reimplemented remaing avg_ pixel functions
* modified PAVGB mmx macro to select mmx register with FE constant

Originally committed as revision 657 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-03 17:35:35 +00:00
Zdenek Kabelac d3cd07425a * implemented remaing avg_ pixel functions (these are not used offen)
Originally committed as revision 656 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-03 17:31:46 +00:00