Michael Niedermayer
ac2570a8b0
flac fixes:
...
fix data types of residual&decoded
fix twos complement bitfields
fix utf8 (no, utf8 is not the same as the simple and compact uvlc used in nut)
add truncated bitstream support, both ogg and flac demuxers in mplayer cvs provide incomplete frames, and furthermore it isnt possible to find frameboundaries in flac without decoding it completly
add escape-less golomb rice decoder (=flac style golomb rice) (ultra efficient, the longest vlc code is just 2^32-1 bits)
printf->av_log
fix bps for non independant channels
fix a few +-1 bugs
fix sample order for independant channels
fix data_size
Originally committed as revision 2791 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-18 01:49:30 +00:00
Michael Niedermayer
4f52c3126b
flac decoder by (Alex Beregszaszi <alex at fsn dot hu>)
...
Originally committed as revision 2790 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-18 01:22:05 +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
e6dc9c6f99
more error checks for the sequence header
...
Originally committed as revision 2788 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-16 03:34:11 +00:00
Roberto Togni
e102fcf7f0
rle_code can overflow when multiplied by 4
...
(fixes Animation-256Greys.mov from mphq)
Originally committed as revision 2786 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-14 18:12:36 +00:00
Roberto Togni
42608d6508
Use av_log
...
Originally committed as revision 2784 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-14 17:11:46 +00:00
Michael Niedermayer
e9a4834a7d
normalize adaptive quantizatiuon fix (based upon a patch by (Jindrich Makovicka <makovick at kmlinux dot fjfi dot cvut dot cz>))
...
Originally committed as revision 2780 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-14 13:37:58 +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
80ee9fc0e3
simplify MV availability check / dont use below last row MV which is always zero
...
Originally committed as revision 2773 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-13 18:39:43 +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
Michael Niedermayer
7984082a08
ppc chroma mess workaround (real bug is that the motion compensation code assumes that 2*uvlinesize == linesize and fixing this would mean a slowdown)
...
Originally committed as revision 2771 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-12 16:21:21 +00:00
Roman Shaposhnik
826ca10408
* gotta setup coded_frame for encoding. avcodec.h says that for decoding
...
lavc is supposed to set it up as well and I don't think I see any
reason not to.
Originally committed as revision 2769 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-10 20:48:09 +00:00
Michael Niedermayer
8a36717afc
rv10/obmc fixes
...
Originally committed as revision 2768 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-09 15:23:35 +00:00
Michael Niedermayer
99683a3077
2 byte shorter userdata for mpeg4
...
in the past it was startcode,string,00,7F,startcode
now it is startcode,string,stratcode
both are mpeg4 compliant, as according to the standard the userdata lasts until the next 00 00 01 (startcode prefix) but some very primitive decoders which simply skip until the first 00 byte and then expect the next valid startcode might fail with the old variant, just a theory though (didnt test if quicktime can decode it now)
Originally committed as revision 2767 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-08 22:52:35 +00:00
Michael Niedermayer
6cf9d5ebd3
M$ ADPCM encoding & some simplifications
...
Originally committed as revision 2765 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-08 02:16:48 +00:00
Michael Niedermayer
fc374fe299
segfault fix
...
Originally committed as revision 2764 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-07 20:50:26 +00:00
Michael Niedermayer
eb5b0422b5
use clip() from common.h
...
ignore sample_rate==8000 limit if strict_std_compliance < 0
Originally committed as revision 2762 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-07 15:33:00 +00:00
Roman Shaposhnik
e5966052ee
* Initial implementation of the G.726 ADPCM audio codec.
...
Originally committed as revision 2759 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-07 08:20:00 +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
Michael Niedermayer
8cb5d4c060
h263 4mv encoding fix
...
Originally committed as revision 2755 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-06 22:34:33 +00:00
Michael Niedermayer
04a59bfb8d
segfault fix
...
Originally committed as revision 2754 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-06 21:07:17 +00:00
Alex Beregszaszi
b46243ed1c
get_bit_count -> put_bits_count
...
Originally committed as revision 2753 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-06 17:51:58 +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
Mike Melanson
070ed1bc43
initial commit for Quicktime Animation (RLE) video decoder; bit depths
...
32, 24, and 16 are working; 8bpp is partially working; 4, 2, and 1 bpp
are not supported yet
Originally committed as revision 2748 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-05 05:22:44 +00:00
Michael Niedermayer
a412a03bee
remove incorect motion estimation table
...
Originally committed as revision 2747 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-05 00:35:08 +00:00
Michael Niedermayer
8a1f657b28
cleanup ugly code (also appearently works around a bug gcc 3.4 which fails compiling it) by (mru at kth dot se (Måns Rullgård))
...
Originally committed as revision 2746 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-04 16:03:10 +00:00
Michael Niedermayer
2caa92d935
fixes by Gildas Bazin <gbazin at altern dot org>
...
Originally committed as revision 2745 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-04 15:49:55 +00:00
Mike Melanson
7d8379f2b7
added support for EA ADPCM and SMJPEG IMA ADPCM
...
Originally committed as revision 2744 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-03 04:27:17 +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
Falk Hüffner
95ba2c8f43
tiny warning fix
...
Originally committed as revision 2741 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-01 22:56:54 +00:00
Alex Beregszaszi
0a87c409cc
changed includes
...
Originally committed as revision 2739 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-31 22:58:32 +00:00
Alex Beregszaszi
fc929feebd
not needed anymore
...
Originally committed as revision 2738 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-31 22:47:48 +00:00
Michael Niedermayer
a62d75da98
segfault fix
...
Originally committed as revision 2737 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-31 21:28:49 +00:00
Mike Melanson
fb85b027f6
vsad16_mmx2 only applies if encoders are turned on
...
Originally committed as revision 2736 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-31 20:41:07 +00:00
Mike Melanson
7bf3261289
these functions (get_bit_count and align_put_bits) are referenced even
...
when CONFIG_ENCODERS is not defined
Originally committed as revision 2735 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-31 20:37:46 +00:00
Mike Melanson
18a508c527
handle invalid buffer sizes
...
Originally committed as revision 2734 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-31 18:17:38 +00:00
Mike Melanson
155aa4174d
watch those hard tabs
...
Originally committed as revision 2733 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-31 17:57:57 +00:00
Mike Melanson
df72754d03
handle 0-length buffers
...
Originally committed as revision 2732 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-31 17:40:28 +00:00
Mike Melanson
c89c1d2542
handle 0-length buffers
...
Originally committed as revision 2731 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-31 17:30:28 +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
8fd19ab286
SSE2 fdct by (Balatoni Denes <pnis at coder dot hu>)
...
Originally committed as revision 2729 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-29 01:15:25 +00:00
Michael Niedermayer
5a60360712
4mv + b frame encoding segfault fix
...
Originally committed as revision 2728 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-28 00:36:58 +00:00
Michael Niedermayer
6ff6cff203
first coded vs. first displayed pts (segfault & pts fix if b frames are used)
...
Originally committed as revision 2727 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-27 13:55:34 +00:00