Commit Graph

296 Commits

Author SHA1 Message Date
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