Commit Graph

9125 Commits

Author SHA1 Message Date
Marc Hoffman
345bb2ad90 special handling for vp3 idct, use the c reference
Originally committed as revision 10105 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-13 14:16:20 +00:00
Michael Niedermayer
07c02992b9 use bytestream_get_le*() this also fixes a big endian bug
Originally committed as revision 10104 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-13 13:20:16 +00:00
David Bryant
a6ba65f7f2 Support for WavPack version 0x410 (false stereo chunks)
Patch by David Bryant printf("david@%s.com",wv_demuxer.long_name);
Thread [PATCH] handle WavPack stream version 0x410

Originally committed as revision 10101 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-13 05:36:50 +00:00
Kostya Shishkov
11ead90e23 Rename flag for consistency with the next commit
Originally committed as revision 10100 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-13 05:35:48 +00:00
David Conrad
42c71907cb Add av_get_bits_per_sample_format()
Originally committed as revision 10099 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-13 05:23:38 +00:00
Michael Niedermayer
40802d36bc fix type 3 aka skipped blocks for old version
Originally committed as revision 10097 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-13 01:06:04 +00:00
Michael Niedermayer
9ac34d947a fix motion vectors for old version
Originally committed as revision 10096 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-13 01:05:19 +00:00
Michael Niedermayer
cf786021a6 set pix_fmt properly depending on version
Originally committed as revision 10095 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-13 00:56:26 +00:00
Michael Niedermayer
70bbeb6fbf use version instead of some random 32bit value to switch between 16 and
32bit versions (this is more reliable, the old code failed on some files)

Originally committed as revision 10094 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-13 00:55:39 +00:00
Michael Niedermayer
a0d30cbcbf replace vlc_type by version and set that from codec_tag which contains the
4xm video version from the demuxer

Originally committed as revision 10093 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-13 00:53:55 +00:00
Michael Niedermayer
b74fb935f8 support ifr2 from Toy-Story2_better-image-quality.4xa
Originally committed as revision 10091 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-12 15:47:27 +00:00
Guillaume Poirier
3ca96802e2 use shorter types vec_"type" instead of the too long vector "type"
part 1 of h264 luma interpolation 8x8 for altivec contributed by
Mauricio Alvarez % lokifo A gmail P com %
Original thread:
Date: Jun 26, 2007 8:15 PM
Subject: Re: [FFmpeg-devel] [PATCH] h264 luma interpolation 8x8 for altivec

Originally committed as revision 10090 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-12 13:50:06 +00:00
Michael Niedermayer
62f68aa9bf add second vlc table
pfr* of Toy-Story2_better-image-quality.4xa are decoded now without
bitstream errors

Originally committed as revision 10089 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-12 12:22:19 +00:00
Alexander Strange
880003bbb9 Don't check the return value of decode_cabac_residual since it always
returns 0. This leads to a 0.4% speed-up.
Patch by Alexander Strange  astrange at_ ithinksw dot com
Original thread:
Date: Aug 11, 2007 11:44 PM
Subject: [FFmpeg-devel] [PATCH] h264: don't check decode_cabac_residual return

Originally committed as revision 10084 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-12 00:07:29 +00:00
Aurelien Jacobs
88e2d5882b more usage of av_clip()
Originally committed as revision 10082 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-11 23:29:21 +00:00
Aurelien Jacobs
e4a50e6d2e one more simplification
Originally committed as revision 10081 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-11 23:23:20 +00:00
Aurelien Jacobs
295f373792 various simplifications around recent av_clip_int16() usage
Originally committed as revision 10080 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-11 23:17:03 +00:00
Michael Niedermayer
b0f3382873 fix decoding of samples.mplayerhq.hu/game-formats/idroq/demoEnd.roq
closes issue78

Originally committed as revision 10079 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-11 23:09:28 +00:00
Aurelien Jacobs
aee481cebe use av_clip_int16() where it makes sense
Originally committed as revision 10078 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-11 22:48:55 +00:00
Michael Niedermayer
0701006e34 ensure that default_get_buffer() doesnt reuse images if the dimension or
pix_fmt changed
fixes heap overflow, possibly exploitable

Originally committed as revision 10064 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-10 19:28:28 +00:00
Baptiste Coudurier
6aacfd22ab dnxhd 120 interlaced support
Originally committed as revision 10063 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-10 19:23:14 +00:00
Roman Shaposhnik
905694d96e * renaming (ST|LD)(16|32|64) -> AV_(R|W)N(16|32|64)
Originally committed as revision 10023 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 17:01:15 +00:00
Alex Beregszaszi
3a5729eae1 use skip_bits where appropriate
Originally committed as revision 10005 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 01:08:28 +00:00
Alex Beregszaszi
7ae7300ee3 use skip_bits where appropriate
Originally committed as revision 10004 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 00:57:36 +00:00
Alex Beregszaszi
7f95d9f620 fix compilation with TRACE enabled
Originally committed as revision 10003 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 00:54:41 +00:00
Justin Ruggles
222ae64c3d cosmetics: vertical alignment
Originally committed as revision 10002 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 00:39:35 +00:00
Justin Ruggles
5066f51502 comments modification: add, clean up, Doxygenize, and reword
Originally committed as revision 10001 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 00:36:49 +00:00
Alex Beregszaszi
b4d00c20dc use reget_buffer and remove internal copying of buffer - codec works again
Originally committed as revision 10000 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 00:16:27 +00:00
Alex Beregszaszi
5fc32c275e use get_bits1(..) instead get_bits(.., 1)
Originally committed as revision 9999 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 00:13:31 +00:00
Roman Shaposhnik
67c1b32f3d * getting rid of code duplication
Originally committed as revision 9997 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-08 23:58:23 +00:00
Alex Beregszaszi
3c2ddb5920 use get_unary from bitstream.h
Originally committed as revision 9996 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-08 22:54:47 +00:00
Alex Beregszaszi
57d473f457 use get_unary from bitstream.h
Originally committed as revision 9995 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-08 22:36:12 +00:00
Alex Beregszaszi
971e878dca copy get_unary from vc1
Originally committed as revision 9994 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-08 20:38:30 +00:00
Alex Beregszaszi
ec5dc2c1af debug: tell how much bits are skipped with unknown nal code
Originally committed as revision 9993 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-08 20:27:18 +00:00
Carl Eugen Hoyos
af7d793c00 kill warning
patch by Carl Eugen Hoyos [cehoyos * ag or at]

Originally committed as revision 9981 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-08 07:04:23 +00:00
Vitor Sessak
92df891001 More indentation
Originally committed as revision 9979 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-07 12:53:22 +00:00
Vitor Sessak
db695867eb Cosmetics: indentation
Originally committed as revision 9978 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-07 12:50:41 +00:00
Vitor Sessak
4a5e6389fe Rename function
Originally committed as revision 9977 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-07 12:44:23 +00:00
Justin Ruggles
6ea67bbb60 enable the native AC-3 decoder
Originally committed as revision 9968 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-07 00:02:29 +00:00
Michael Niedermayer
5eac5f29e3 make output buffer larger so drift compensation can work
Originally committed as revision 9967 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-06 23:34:41 +00:00
Benjamin Larsson
00a254b7fe Don't encode the first sample twice.
Originally committed as revision 9962 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-06 19:49:18 +00:00
Baptiste Coudurier
d0fa156fc5 cosmetic, indentation
Originally committed as revision 9960 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-06 08:42:05 +00:00
Justin Ruggles
f5cefb21d5 cosmetics: blank lines, remove some comments
Originally committed as revision 9955 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-05 21:48:46 +00:00
Justin Ruggles
82758fd690 add pointer to the parent context for use with av_log()
Originally committed as revision 9954 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-05 21:34:33 +00:00
Justin Ruggles
77416325cb use array for dynamic range scaling factors
Originally committed as revision 9953 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-05 21:10:09 +00:00
Michael Niedermayer
d7826b58d2 make wmv1 and wmv2 playable with M$ DMO decoder
Originally committed as revision 9950 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-05 20:03:37 +00:00
Justin Ruggles
01f354531d add dialogue normalization
Originally committed as revision 9948 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-05 19:36:35 +00:00
Baptiste Coudurier
fe4ff07aa0 fix decoding of adpcm swf big frames, fix RamboMJPEGAVP6_1Mbps.swf
Originally committed as revision 9946 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-05 13:41:44 +00:00
Reimar Döffinger
6628165891 Add proper license header
Originally committed as revision 9944 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-05 12:11:34 +00:00
Reimar Döffinger
369f73062b Remove AVCodecContext parameter from parse_timecode function
Originally committed as revision 9943 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-05 12:11:31 +00:00
Reimar Döffinger
e3c90129a4 Fix deinterlacing for odd height
Originally committed as revision 9942 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-05 12:11:28 +00:00
Reimar Döffinger
3c247b4ff7 Deinterlace xsub subtitles
Originally committed as revision 9941 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-05 12:11:26 +00:00
Reimar Döffinger
3143c78716 Colours except background should not be transparent
Originally committed as revision 9940 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-05 12:11:24 +00:00
Reimar Döffinger
d5049e2c69 get rid of av_rescale_q, it does not work as intended.
Originally committed as revision 9939 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-05 12:11:22 +00:00
Reimar Döffinger
d6136c7618 get rid of xsubdec array and calculate value instead
Originally committed as revision 9938 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-05 12:11:20 +00:00
Reimar Döffinger
737c5ebfc8 10l, runbits order was reversed
Originally committed as revision 9937 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-05 12:11:18 +00:00
Reimar Döffinger
5968b39635 100l, wrong argument to av_freep
Originally committed as revision 9935 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-05 12:11:13 +00:00
Reimar Döffinger
59f6f64e30 Add forgotten xsub timecode parsing
Originally committed as revision 9934 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-05 12:11:11 +00:00
Reimar Döffinger
7e2643ae8d First version of xsub decoder, not yet tested
Originally committed as revision 9933 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-05 12:11:09 +00:00
David Bryant
6b05eb3117 Add the handling of the INT32INFO block to the WavPack decoder.
Patch by David Bryant david at $codecname dot com
Thread: [FFmpeg-devel] [PATCH] handle INT32INFO in WavPack decoder

Originally committed as revision 9932 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-05 05:56:34 +00:00
Loren Merritt
2bf4aa2e93 prevent huffyuv from generating codewords of length 32. (regression in r9069)
Originally committed as revision 9921 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-05 00:29:02 +00:00
Justin Ruggles
3bbb0bf82c add support for downmixing to stereo or mono
Originally committed as revision 9916 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-04 22:32:17 +00:00
Justin Ruggles
4e09232070 use dsputil for float to signed 16-bit sample conversion
Originally committed as revision 9914 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-04 20:59:22 +00:00
Sam Hocevar
97be28d8d7 Add support for grayscale MJPEG streams sent by Axis cameras such as the
207MW (http://www.axis.com/products/cam_207mw/).
patch by Sam Hocevar, sam+ffmpeg zoy org

Originally committed as revision 9913 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-04 20:49:39 +00:00
Justin Ruggles
775369e028 cosmetics: indentation
Originally committed as revision 9911 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-04 20:32:57 +00:00
Justin Ruggles
7b4076a777 consolidate decoding of lfe and coupling channels with decoding of full-bandwidth channels.
Originally committed as revision 9910 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-04 19:19:48 +00:00
Justin Ruggles
5e61de0cc1 there are only 4 rematrixing bands
Originally committed as revision 9908 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-04 15:01:21 +00:00
Justin Ruggles
75b9b0369b cosmetics: use more appropriate names for iterator variables.
Originally committed as revision 9907 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-04 13:52:56 +00:00
Baptiste Coudurier
d3dc629c62 move dnxhd data tables to separate file
Originally committed as revision 9906 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-04 13:41:33 +00:00
Justin Ruggles
8e2eb3b674 move some variables to a more local scope.
Originally committed as revision 9905 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-04 13:30:37 +00:00
Justin Ruggles
0bff58a59a make exponent decoding consistent (prepare for merging coupling and lfe code with normal channel code).
Originally committed as revision 9904 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-04 13:26:46 +00:00
Baptiste Coudurier
0221ae8ca8 dnxhd 120 progressive support
Originally committed as revision 9903 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-04 13:26:29 +00:00
Baptiste Coudurier
3c605485bb indentation
Originally committed as revision 9902 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-04 13:18:30 +00:00
Baptiste Coudurier
6b259e439c dnxhd 185 interlaced support
Originally committed as revision 9901 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-04 13:17:53 +00:00
Baptiste Coudurier
dd661ebd36 cosmetic
Originally committed as revision 9900 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-04 13:10:16 +00:00
Baptiste Coudurier
9a0a2c9f12 no need to duplicate cid table vars in context
Originally committed as revision 9899 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-04 13:09:08 +00:00
Baptiste Coudurier
940e4bf9b9 10l, use correct cid table
Originally committed as revision 9898 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-04 13:03:12 +00:00
Baptiste Coudurier
035bc6470d add coding unit size for interlaced decoding
Originally committed as revision 9897 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-04 12:59:49 +00:00
Baptiste Coudurier
36ebf91206 should be more correct
Originally committed as revision 9896 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-04 12:43:31 +00:00
Michael Niedermayer
1ae7a85116 indent
Originally committed as revision 9894 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-04 12:21:00 +00:00
Justin Ruggles
eaf84d970f cosmetics: use braces when it makes the code easier to read.
Originally committed as revision 9893 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-04 12:04:41 +00:00
Justin Ruggles
fc59010bbf change AC3DecodeContext variable to local variable
Originally committed as revision 9892 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-04 11:55:10 +00:00
Justin Ruggles
6d96d626c6 use array instead of bitmask
Originally committed as revision 9891 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-04 11:39:47 +00:00
Michael Niedermayer
4e2b9bcc08 Make MPEG-1/2 decoder work with the libmpeg2-style bitstream reader.
Originally committed as revision 9890 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-04 11:01:11 +00:00
Justin Ruggles
3357ff338b use table for converting dynamic range codes to scale factors
Originally committed as revision 9889 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-04 03:27:05 +00:00
Justin Ruggles
5aefe3ebef use floating-point mantissa dequantization tables
Originally committed as revision 9888 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-04 03:21:17 +00:00
Justin Ruggles
04ac5cada1 cosmetics: indentation
Originally committed as revision 9887 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-04 01:14:14 +00:00
Justin Ruggles
60f07fadd3 dither zero-bit mantissas by default. remove dithering only if it's explicitly turned off.
Originally committed as revision 9886 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-04 01:13:08 +00:00
Justin Ruggles
d63f6fea50 simplify coefficient decoding
Originally committed as revision 9884 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-04 00:12:23 +00:00
Justin Ruggles
285bf28c67 merge decoding of coupling channel coefficients and regular channel coefficients
Originally committed as revision 9883 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-04 00:04:17 +00:00
Justin Ruggles
d7dc7ad05c split out coupling coefficient reconstruction into a separate function
Originally committed as revision 9882 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-03 23:53:53 +00:00
Diego Biurrun
3e5008a922 Reduce Theora decoder verbosity.
Originally committed as revision 9872 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-03 16:43:11 +00:00
Michael Niedermayer
392b748293 output last frame if seq end code is encountered
fixes video decoding of AC3TEST.vob
closes issue19

Originally committed as revision 9870 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-02 20:49:42 +00:00
Diego Biurrun
319919734d Remove unused variable.
Originally committed as revision 9868 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-02 07:42:06 +00:00
Michael Niedermayer
037df60e05 simplify s->mv_dir init
Originally committed as revision 9867 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-02 01:28:37 +00:00
Michael Niedermayer
2f446d3860 get rid of mb_type_len
Originally committed as revision 9865 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-01 22:39:03 +00:00
Michael Niedermayer
653f738780 exchange the values of MV_DIR_FORWARD and MV_DIR_BACKWARD (this is more sane,
matches the order of some other stuff and allows some simplifications)

Originally committed as revision 9864 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-01 22:12:52 +00:00
Michael Niedermayer
04b502fa36 exchange if() and for() in the MT_FIELD case
18 cpu cycles faster for matrixbench

Originally committed as revision 9863 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-01 21:17:26 +00:00
Michael Niedermayer
f4fbcd33d9 exchange for() and if() order in the MT_FRAME case
safes 24 cpu cycles

Originally committed as revision 9862 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-01 21:05:58 +00:00
Marc Hoffman
dc1ecb6a4a making reference models have the same API
Originally committed as revision 9861 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-01 20:44:08 +00:00
Michael Niedermayer
356ab1dace change
for(){
    if(){
        switch(){

to
switch(){
    for(){
        if(){

this halfs the number of times the switch is executed in bidir blocks, in
other blocks the number is the same
25 cpu cycles less with matrixbench on duron

Originally committed as revision 9860 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-01 20:37:41 +00:00
Michael Niedermayer
2952d13ad5 merge another 2 if() to save a few cpu cycles
Originally committed as revision 9858 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-01 20:04:12 +00:00
Michael Niedermayer
09d1bee89e reorder if() so that the condition can be simplified
saves another 4 cpu cycles

Originally committed as revision 9857 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-01 19:37:28 +00:00
Michael Niedermayer
0ac6b5a301 merge/simplify 2 if()
~4 cpu cylces faster for the matrixbench video

Originally committed as revision 9856 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-01 19:26:24 +00:00
Michael Niedermayer
fecc146b28 merge 2 if()
this safes 1-2 cpu cycles

Originally committed as revision 9855 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-01 19:17:36 +00:00
Baptiste Coudurier
81752d0c2b use buf_ptr to correctly decode second field
Originally committed as revision 9852 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-01 13:18:23 +00:00
Justin Ruggles
dfd57c366f align array used in mdct. fixes segfault.
Originally committed as revision 9848 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-01 01:13:58 +00:00
Michael Niedermayer
873525491e use ENABLE_GRAY
Originally committed as revision 9847 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-01 01:01:03 +00:00
Michael Niedermayer
cde9e78001 make grayscale only decoding checks in inner loops compiletime killable
Originally committed as revision 9846 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-01 00:39:39 +00:00
Michael Niedermayer
01e795aba3 move some code which was executed for every skipped MB so it is only executed
for the first skipped mb in a run

Originally committed as revision 9845 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-31 21:39:09 +00:00
Michael Niedermayer
4152c5ce14 get rid of a useless variable
Originally committed as revision 9844 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-31 21:00:17 +00:00
Michael Niedermayer
7ceab4af35 avoid 2 additions (1 cpu cycle) per MB
Originally committed as revision 9843 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-31 20:52:49 +00:00
Michael Niedermayer
5bfbf0a54f chroma_qscale seems not used anywhere for mpeg1/2 so do not waste cpu time setting it
Originally committed as revision 9842 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-31 20:44:48 +00:00
Panagiotis Issaris
b9ca204284 Fix typo
Originally committed as revision 9841 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-31 16:22:57 +00:00
Daniel Kristjansson
29d2dc59f9 fix mem leak
patch by Daniel Kristjansson: [danielk cuymedia net]
Original thread: [FFmpeg-devel] [PATCH] alloc_picture needs to free buffer when
it's not going to use it
Date: 07/20/2007 07:27 PM

Originally committed as revision 9838 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-31 14:51:21 +00:00
Diego Biurrun
c7bf7a8267 Identifiers starting with underscores are reserved.
Originally committed as revision 9837 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-31 06:55:48 +00:00
Andreas Öman
d4a688d029 fix cabac decoding with some Blue-Ray sources
Patch by Andreas Öman %andreas A olebyn P nu%
Original thread:
Date: Jul 7, 2007 1:23 AM
Subject: [FFmpeg-devel] Corrupted blocks and seeking issues in H264 disc sources

Originally committed as revision 9836 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-30 21:19:36 +00:00
Roman Shaposhnik
f49f6e8889 replacing the use of deprecated unaligned*() routines by LD64 and AV_RB32
Originally committed as revision 9834 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-30 18:05:46 +00:00
Panagiotis Issaris
6654296c30 Handle malloc failure
Originally committed as revision 9833 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-30 13:58:17 +00:00
Michael Niedermayer
a11c2a2c66 support silly PCM variant used by zork nemesis
fixes audio decoding of T000A11C.AVI

Originally committed as revision 9831 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-30 02:05:16 +00:00
Michael Niedermayer
2711cb28f4 prevent assert failure with negative quant_offset
Originally committed as revision 9830 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-29 21:34:31 +00:00
Michael Niedermayer
3dd2a1c53f warn user if max=bitrate && max > min
Originally committed as revision 9829 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-29 19:21:56 +00:00
Michael Niedermayer
611e7bc41b support raw 4bpp avi
fixes dance1.avi
closes issue40

Originally committed as revision 9828 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-29 13:32:53 +00:00
Michael Niedermayer
3bdc2fcea6 make the reference code use double instead of float where it is easy
Originally committed as revision 9827 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-29 10:11:12 +00:00
Michael Niedermayer
86c624af1b print max and mse
Originally committed as revision 9826 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-29 09:58:36 +00:00
Christophe Gisquet
7919d10c61 Make bicubic interpolation standard compliant
Patch by Christophe GISQUET
(echo -e "christophe\056gisquet\100 (antonym to malloc()) \056fr")

Thread [PATCH] Binary identicity for ffvc1 (was Re: [PATCH] VC-1 MMX DSP functions)

Originally committed as revision 9825 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-29 04:04:21 +00:00
Justin Ruggles
8b60bbbf5b simplify stereo rematrixing
Originally committed as revision 9824 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-29 00:58:32 +00:00
Justin Ruggles
b6acc57f88 change 2 fields from context to local variables
Originally committed as revision 9823 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-29 00:35:30 +00:00
Justin Ruggles
8fbb368d2c BLOCK_SIZE is not used properly, just use numbers instead to avoid confusion
Originally committed as revision 9822 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-28 20:50:25 +00:00
Justin Ruggles
7bfd22f25a remove broken downmixing. will add new implementation later.
Originally committed as revision 9821 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-28 19:33:19 +00:00
Panagiotis Issaris
edecaff8c2 Take care of some renames (Doxygen and function name) after the previous pure rename patch.
Originally committed as revision 9820 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-28 18:26:43 +00:00
Panagiotis Issaris
bd38efffe8 Rename h264dsp.c to h264dspenc.c
Originally committed as revision 9819 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-28 18:23:35 +00:00
Diego Biurrun
1903245071 Ahem, fix typos overlooked in last commit.
Originally committed as revision 9816 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-28 12:50:28 +00:00
Diego Biurrun
df3a80b50a cosmetics: misc typo fixes
Originally committed as revision 9815 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-28 12:46:26 +00:00
Panagiotis Issaris
6611c0b4c9 Replace a return of -1 with ENOMEM.
Originally committed as revision 9813 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-27 16:31:54 +00:00
Michael Niedermayer
8950f82879 detect voxware (closes issue39)
Originally committed as revision 9809 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-27 11:37:56 +00:00
Michael Niedermayer
0eb7d78066 remove "Advanced Prediction Mode not supported" spam
Originally committed as revision 9805 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-26 15:47:43 +00:00
Michael Niedermayer
59ba3fd0b6 also support DEBUG_PICT_INFO for h263i
Originally committed as revision 9804 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-26 15:46:43 +00:00
Michael Niedermayer
1be7c87fdd move show_pict_info() to its own function
Originally committed as revision 9803 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-26 15:44:46 +00:00
Aurelien Jacobs
977f6a9049 remove wrong const qualifier
Originally committed as revision 9795 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-25 19:34:31 +00:00
Stefan Gehrer
5d2b15b870 have less functions as inline
Originally committed as revision 9792 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-25 05:09:54 +00:00
Vitor Sessak
d58d7ade78 Minor cosmetics
Originally committed as revision 9791 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-24 18:21:40 +00:00
Ian Caulfield
e4f42564bb Update the dvdsub parser to be able to parse HD-DVD subtitle packets.
Patch by: Ian Caulfield, ian caulfield & gmx at

Originally committed as revision 9790 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-24 14:17:13 +00:00
Ian Caulfield
4e16a060a0 Reindent two lines.
Patch by: Ian Caulfield, ian caulfield & gmx at

Originally committed as revision 9789 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-24 13:05:28 +00:00
Ian Caulfield
1aadf63fd1 Add HD-DVD subpicture decoding.
Patch by: Ian Caulfield, ian caulfield & gmx at

Originally committed as revision 9788 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-24 13:04:47 +00:00
Ian Caulfield
a363effbdf Rename "palette" to "colormap" when it's referring to the mapping from a 2-bit
encoded color to a 4-bit index into the DVD palette.
Patch by: Ian Caulfield, ian caulfield & gmx at

Originally committed as revision 9787 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-24 13:03:13 +00:00
Andreas Öman
c7d96ac69f increase buffer size of LAME MP3 encoder
The previous size lead to A/V sync issues
Patch by Andreas Öman %andreas AA olebyn PP nu%
Original thread:
Date: Jul 21, 2007 9:53 AM
Subject: [FFmpeg-devel] [PATCH] lame buffer shortage

Originally committed as revision 9786 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-24 09:59:54 +00:00
Aurelien Jacobs
73f51a4d3e help some gcc version to optimize out those functions
Originally committed as revision 9785 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-24 08:54:56 +00:00
Justin Ruggles
4611b64ec1 simplify snr offset and bit allocation
Originally committed as revision 9784 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-24 02:08:27 +00:00
Justin Ruggles
e9a3824880 only use sized data types when necessary
Originally committed as revision 9783 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-24 01:43:47 +00:00
Justin Ruggles
8f58a4c943 set bit allocation parameters directly instead of copying
Originally committed as revision 9782 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-24 01:35:25 +00:00
Justin Ruggles
e2cd6686fa use enum value instead of numerical value for acmod
Originally committed as revision 9781 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-23 22:47:49 +00:00
Justin Ruggles
bc8edb7e53 use consistent data type for exponents. needs to be int8_t to pass to bit allocation.
Originally committed as revision 9780 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-23 22:23:37 +00:00
Justin Ruggles
878c40a137 change some bit masks to arrays
Originally committed as revision 9779 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-23 22:16:15 +00:00
Justin Ruggles
bec37145da cosmetics: indentation
Originally committed as revision 9774 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-21 17:03:30 +00:00
Justin Ruggles
9fc1ab722e Use shared AC-3 header parsing. Move some initializations to block parsing function.
Originally committed as revision 9773 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-21 16:28:12 +00:00
Justin Ruggles
9ef6039043 don't need to synchronize in the decoder. the parser does that already.
Originally committed as revision 9772 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-21 13:56:04 +00:00
Justin Ruggles
de34875c75 get rid of an ugly macro
Originally committed as revision 9771 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-21 11:54:19 +00:00
Panagiotis Issaris
7868349a91 Return AVERROR(EINVAL) when invalid width and/or height are specified to
avcodec_open.

Originally committed as revision 9770 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-20 15:09:10 +00:00
Panagiotis Issaris
90f06ceaa0 Return AVERROR(ENOMEM) on memory allocation failure of avcodec_open.
Originally committed as revision 9769 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-20 15:08:10 +00:00
Andreas Öman
83c43e4d52 bail out on unknown jpeg pixel format instead of silently decoding data incorrectly
patch by Andreas Öman % andreas A olebyn P nu %
Original thread:
date: Jul 19, 2007 4:50 PM
subject: [FFmpeg-devel] [PATCH] bail out on unknown jpeg pixel format

Originally committed as revision 9764 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-19 15:56:56 +00:00
Panagiotis Issaris
d04d5bcd0e Fix the self tests which are contained in some codecs and are using random().
Originally committed as revision 9755 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-19 08:47:07 +00:00
Panagiotis Issaris
cc61f96f8a Fix the compilation of dct-test, fft-test and motion-test which are using
random().

Originally committed as revision 9754 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-19 08:46:28 +00:00
Justin Ruggles
614e9b2424 don't need to define ALT_BITSTREAM_READER
Originally committed as revision 9752 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-19 02:21:14 +00:00
Justin Ruggles
362664215d update license header. add copyright for myself. correct and complete the statement about liba52.
Originally committed as revision 9751 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-19 02:16:20 +00:00
Justin Ruggles
3bb004fcda revise comment for exponent decoding function
Originally committed as revision 9750 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-19 02:09:58 +00:00
Justin Ruggles
4415076f55 new implementation of exponent decoding
Originally committed as revision 9749 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-19 02:04:05 +00:00
Justin Ruggles
d699d38393 cosmetics: indentation
Originally committed as revision 9748 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-19 00:51:19 +00:00
Justin Ruggles
0ce668015f remove portions of bit allocation which are no longer needed since they are shared with the encoder
Originally committed as revision 9747 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-19 00:50:31 +00:00
Vitor Sessak
9c8d9f251e Another minor simplification
Originally committed as revision 9744 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-18 20:23:43 +00:00
Baptiste Coudurier
ac0691071e Set the step index correctly for flash adpcm. Patch by Baptiste
Coudurier.

Originally committed as revision 9743 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-18 18:40:03 +00:00
Baptiste Coudurier
9fff16bcbb Calculate the correct blocksize for flash adpcm. Patch by Baptiste
Coudurier.

Originally committed as revision 9742 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-18 18:35:03 +00:00
Zdenek Kabelac
2c79288d4e fix mem leak
patch by Zdenek Kabelac: [zdenek kabelac gmail com]

Originally committed as revision 9740 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-18 15:36:45 +00:00
Vitor Sessak
c9128d569a Make deinterlace_16 receive an array as a parameter and not two separated vars
Originally committed as revision 9739 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-18 14:45:01 +00:00
Vitor Sessak
b37bce6b61 Minor simplification
Originally committed as revision 9738 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-18 14:37:39 +00:00
Vitor Sessak
60c4a31c6a Yet more cosmetics
Originally committed as revision 9737 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-18 14:36:30 +00:00
Vitor Sessak
10024d443a More cosmetics
Originally committed as revision 9736 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-18 14:29:14 +00:00
Vitor Sessak
d0da802049 Remove reimplementation of av_log2
Originally committed as revision 9735 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-18 14:15:14 +00:00
Andreas Öman
4196cfb75b add YUV440P and YUVJ440P support
patch by Andreas Öman: \andreas olebyn nu/
original thread: [FFmpeg-devel] half vertical chroma resolution from JPEGs..
date: 07/03/2007 01:29 PM

Originally committed as revision 9732 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-18 08:11:16 +00:00
Vitor Sessak
f175201004 Test for supported number of channels
Originally committed as revision 9730 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-18 06:45:47 +00:00
Vitor Sessak
586e5bd902 Cosmetics: indentation
Originally committed as revision 9729 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-18 06:27:37 +00:00
Vitor Sessak
a1301f2934 Cosmetics: alignment
Originally committed as revision 9728 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-18 06:17:20 +00:00
Vitor Sessak
10fb5763cc Remove more code duplication. Based on a patch by Matthieu Castet.
Originally committed as revision 9727 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-18 06:06:21 +00:00
Vitor Sessak
d562ba238e Move var. declaration to allow further clean up
Originally committed as revision 9726 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-17 23:51:34 +00:00
Vitor Sessak
7f26801668 Remove code duplication. Based on a patch by Matthieu Castet.
Originally committed as revision 9724 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-17 22:05:33 +00:00
Alex Beregszaszi
0509d453b5 set codec_type on init
Originally committed as revision 9721 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-17 13:35:16 +00:00
Diego Biurrun
f1ea5c2a96 typo fixes
Originally committed as revision 9719 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-17 12:57:50 +00:00
Ian Caulfield
04d2e45f3f create colorspace.h and use it where appropriate
patch by Ian Caulfield: /ian caulfield gmail com/

Originally committed as revision 9716 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-17 12:33:14 +00:00
Marc Hoffman
b5f3f2b846 fixpoint: renaming all lowlevel arithmetic routines to xxx_float
Originally committed as revision 9714 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-17 11:06:12 +00:00
Denes Balatoni
975741e79c Don't segfault if an empty codebook gets used.
Patch by Denes Balatoni: [ dbalatoni interware hu ]
Original thread: [Ffmpeg-devel] [PATCH/BUGREPORT] crash in vorbis decoder
date: 02/04/2007 11:08 PM

Originally committed as revision 9711 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-17 07:12:40 +00:00
Roman Shaposhnik
263c241226 * making profile selection a bit more tolerant to the badly broken streams
Originally committed as revision 9710 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-17 04:06:03 +00:00
Marc Hoffman
f1639f69b4 cosmetics: adding some white space to align the arguments of a couple of functions
Originally committed as revision 9709 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-17 00:36:47 +00:00
Måns Rullgård
19b95df09e remove useless #ifdef CONFIG_ZLIB from zmbv decoder
Originally committed as revision 9708 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-16 21:05:16 +00:00
Marc Hoffman
f999b63c77 float_t was a typo that compiled on macosx
Originally committed as revision 9703 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-16 14:45:54 +00:00
Marc Hoffman
dae92b62a3 fixpoint: move cplscales to context structure and provide hook for data format conversion
Originally committed as revision 9702 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-16 13:24:43 +00:00
Marc Hoffman
28d997f932 fixpoint: lowlevel functional abstraction for all buffer arithmetics
Originally committed as revision 9701 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-16 12:32:41 +00:00
Marc Hoffman
e66442f4e3 fixpoint: separate windowing arithmetic imlt_window_float
Originally committed as revision 9700 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-16 11:52:46 +00:00
Marc Hoffman
dc0c20f99b separate the actual math for recovering stereo from a signal channel, this is to allow fixpoint implementation
Originally committed as revision 9698 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-16 11:25:56 +00:00
Marc Hoffman
29b4b8351b separating saturation codes so that we can support other data formats
Originally committed as revision 9693 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-16 01:28:58 +00:00
Marc Hoffman
8c9d2954f7 moving automatic allocation of joint_decode/decode_buffer
to a statically allocated buffer decode_buffer_0 in cook instance.

Originally committed as revision 9692 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-15 22:06:08 +00:00
Marc Hoffman
2843a452c9 cosmetic changing hardwired 20 to SUBBAND_SIZE
Originally committed as revision 9691 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-15 21:48:17 +00:00
Måns Rullgård
cb762e3955 remove superfluous #include
Originally committed as revision 9690 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-15 19:32:31 +00:00
Måns Rullgård
e0eddd1269 hardly anything in PNGContext is shared; split it
Originally committed as revision 9689 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-15 19:23:55 +00:00
Andreas Öman
9a5a05d0b3 fix visual painting of MVs from h264: they are painted twice too long
since the MVs are in qpel res.
Patch by Andreas Öman % andreas A olebyn P nu %
Date: Jul 14, 2007 12:40 PM
Subject: [FFmpeg-devel] [PATCH] h264 mv visualization

Originally committed as revision 9688 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-15 19:03:12 +00:00
Måns Rullgård
b958a7f111 separate en/decoder specific parts from png.c
Originally committed as revision 9686 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-15 18:24:26 +00:00
Justin Ruggles
0de73a46ff fix the 256-point MDCT
Originally committed as revision 9685 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-15 14:47:39 +00:00
Justin Ruggles
623b79435d use shared ac3 bit allocation function
Originally committed as revision 9684 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-15 13:53:42 +00:00
Justin Ruggles
fa67992dea no need for the decoder to have the license as a prefix
Originally committed as revision 9682 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-15 01:38:13 +00:00
Justin Ruggles
76d357fd23 remove a debugging function and variable, and remove the commented-out code which uses them.
Originally committed as revision 9681 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-15 01:35:46 +00:00
Justin Ruggles
a39532b0d9 ABS -> FFABS
Originally committed as revision 9680 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-15 01:32:04 +00:00
Justin Ruggles
cc2a8443eb move some common values to ac3.h and utilize them
Originally committed as revision 9679 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-15 01:31:09 +00:00
Justin Ruggles
cb503702ee use random number generator from libavutil
Originally committed as revision 9678 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-14 23:57:05 +00:00
Justin Ruggles
9d10960194 10l to me. I accidentally removed a word.
Originally committed as revision 9677 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-14 22:17:23 +00:00
Justin Ruggles
0ec2cc35f7 revise license header for simplicity and consistency
Originally committed as revision 9676 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-14 18:53:56 +00:00
Mark Cox
a6540c9f16 Remove redundant assignment of CODEC_ID_BMP.
patch by mark cox   melbournemark+ffmpeg _at_ gmail.com
thread: [PATCH] Remove unessesary assignment of CODEC_ID_BMP
date: Mon, 9 Jul 2007 20:12:28 +1000

Originally committed as revision 9675 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-14 17:14:16 +00:00
Justin Ruggles
283614b5fc make ac3dec.c GPL until violations are fixed
Originally committed as revision 9674 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-14 16:07:56 +00:00
Justin Ruggles
967d397a6c AC-3 decoder, soc revision 402, Jul 14 13:45:14 2007 UTC by jbr
merge ac3_decoder.h into ac3_decoder.c

Originally committed as revision 9673 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-14 16:06:14 +00:00
Loren Merritt
afb46fc092 AC-3 decoder, soc revision 148, Sep 28 18:38:27 2006 UTC by banan
Enable sse imdct, patch by Loren Merrit.

Originally committed as revision 9672 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-14 16:05:39 +00:00
Justin Ruggles
de17eee70f AC-3 decoder, soc revision 109, Sep 22 22:42:54 2006 UTC by banan
Cosmetics.

Originally committed as revision 9671 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-14 16:05:13 +00:00
Justin Ruggles
1ea76064b4 AC-3 decoder, soc revision 72, Sep 7 04:20:00 2006 UTC by cloud9
fix short block imdct.

Originally committed as revision 9670 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-14 16:04:40 +00:00
Justin Ruggles
c7cfc48f37 AC-3 decoder, soc revision 71, Sep 4 09:47:12 2006 UTC by cloud9
Redundant code cleanup.
Optimized dither generation.
Minor optimization in bit allocation.
Comments.

Originally committed as revision 9669 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-14 16:04:17 +00:00
Justin Ruggles
860fe8c908 AC-3 decoder, soc revision 70, Aug 31 18:04:23 2006 UTC by banan
Cosmetics, white space removal.

Originally committed as revision 9668 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-14 16:03:47 +00:00
Justin Ruggles
6dc5d71f97 AC-3 decoder, soc revision 69, Aug 31 07:12:56 2006 UTC by cloud9
Fix the bugs:
1. The quality of output because of incorrect windowing coefficients.
New code for window generation.

2. Dynrng values were reset where dynrng value is present in the first block,
but not in the subsequent block.

Originally committed as revision 9667 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-14 16:03:14 +00:00
Justin Ruggles
d7bcc4adcf AC-3 decoder, soc revision 58, Aug 19 14:20:45 2006 UTC by cloud9
Further optimizations.

Originally committed as revision 9666 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-14 16:02:32 +00:00
Justin Ruggles
1d0a6f5209 AC-3 decoder, soc revision 57, Aug 19 12:44:38 2006 UTC by cloud9
Optimization as suggested by Benjamin.

Originally committed as revision 9665 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-14 16:02:08 +00:00
Justin Ruggles
032732d49d AC-3 decoder, soc revision 56, Aug 17 14:21:58 2006 UTC by cloud9
Acknowledgements.

Originally committed as revision 9664 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-14 16:01:44 +00:00
Justin Ruggles
e6bca37c81 AC-3 decoder, soc revision 55, Aug 17 12:25:24 2006 UTC by cloud9
Remove more unnecessary headers.
Codec initialization changed to use name => argument notation.

Originally committed as revision 9663 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-14 16:01:14 +00:00
Justin Ruggles
3ff88ff45a AC-3 decoder, soc revision 54, Aug 17 09:13:08 2006 UTC by cloud9
Remove unnecessary header files.

Originally committed as revision 9662 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-14 16:00:38 +00:00
Justin Ruggles
262d8702a9 AC-3 decoder, soc revision 53, Aug 17 08:53:44 2006 UTC by cloud9
Converted the window from double to float.
Now sound produced is as good as sound produced by liba52.

Originally committed as revision 9661 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-14 16:00:05 +00:00
Justin Ruggles
67414da7f7 AC-3 decoder, soc revision 52, Aug 16 22:45:07 2006 UTC by cloud9
Reset the blksw and dithflag to 0 at the begining of each block.
Otherwise blockswitching propagates over multiple frames even if
block switching is not enabled for that frame.
Also reuse rematflg.

Originally committed as revision 9660 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-14 15:59:25 +00:00
Justin Ruggles
45b0ed13a8 AC-3 decoder, soc revision 48, Aug 16 11:27:49 2006 UTC by cloud9
I realized that the bug was not in the imdct routine but in the
get_transform_coeffs.
Fixed it.
Code now uses the ffmpeg's imdct routines.
All the mplayer's ac3 samples are decoded
successfully.
Also improved downmixing.
Now all the downmixing coeffcients for channels
are normalized such that the sum of coefficients
used to construct the output for single channel
never exceeds 1.0.

Originally committed as revision 9659 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-14 15:58:42 +00:00
Justin Ruggles
2fbbd087bb AC-3 decoder, soc revision 40, Aug 9 00:10:14 2006 UTC by cloud9
More code cleanup.
Window is now runtime generated.
Fixed the bugs in rematrixing routine and
in Decoding AC3 Bitstreams when coupling is in use.

Still struggling to find out what affects the quality of
the produced sound. Can anybody have a look at the
imdct routines do_imdct_256 and do_imdct_512 and tell me
whether it is the correctly implemented as described in
standard.

Originally committed as revision 9658 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-14 15:57:51 +00:00
Justin Ruggles
98a27a8a84 AC-3 decoder, soc revision 38, Aug 7 00:03:00 2006 UTC by cloud9
major code cleanup.
correct implementation of imdct.
implemented imdct for block switching also.
when coupling is not in use all the
ac3 streams are decoded correctly.
but when coupling is in use there is a bug.
i am currently finding the root of the bug.
if anybody can help.

Originally committed as revision 9657 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-14 15:56:55 +00:00
Justin Ruggles
41277578b9 AC-3 decoder, soc revision 34, Jul 18 14:27:54 2006 UTC by cloud9
working decoder
imdct for block switching is to be implemented
various other things to do

Originally committed as revision 9656 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-14 15:51:00 +00:00
Justin Ruggles
6bd4660cdb AC-3 decoder, soc revision 33, Jul 17 12:13:40 2006 UTC by cloud9
getting weired output
but its working

Originally committed as revision 9655 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-14 15:49:12 +00:00
Justin Ruggles
486637af8e AC-3 decoder, soc revision 32, Jul 17 09:37:32 2006 UTC by cloud9
Latest commit.
There is no error in parsing and or recovering transform coefficients.
Double checked with ac3dec.
Getting consistent results with the bit allocation routine and transform
coefficients.
The code is able to parse valid ac3 bitstreams without error from start
to end.
I have also implemented the imdct when block switching is not enabled.
However, can anybody provide an insight into how to convert float samples to
int16_t ? lrint is of no help cuz it produces output -1, 0 or 1 whereas the
output should be between -32768 to 32767.

Originally committed as revision 9654 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-14 15:48:28 +00:00
Justin Ruggles
0058584580 AC-3 decoder, soc revision 31, Jul 14 23:53:28 2006 UTC by cloud9
Removed _ from names
Removed temporary storage for the exponents
Removed ctx->samples
Now each transform coefficients are stored in audio block as an array of transform coefficients for each channel
added ctx->delay (output of later half of previous block)
added audio_block->block_output(output of this block)

I am still not able to produce the output.
I checked the code twice completely. I am not missing anything in
parsing or in bit allocation. Yet it throws error in getting transform
coefficients sometimes. Can anyone review a code of get_transform_coeffs and
help me debug it further. I think the error is in do_bit_allocation routine cuz
get_transform_coeffs is dependent on the bit allocation parameters table.

I have checked the bit allocation algorithm thoroughly and it is as defined in the
standard. Tried everything and got stuck where to go further.
Please help me.

Originally committed as revision 9653 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-14 15:42:15 +00:00
Justin Ruggles
1b29343731 AC-3 decoder, soc revision 26, Jul 5 04:55:15 2006 UTC by cloud9
Mersenne Twister
Dynamic Range
Downmixing
IMDCT

Originally committed as revision 9652 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-14 15:41:27 +00:00
Justin Ruggles
2aa2c5c4dd AC-3 decoder, soc revision 9, Jun 14 03:52:02 2006 UTC by cloud9
initial commit
NOTE: This and all subsequent ac3dec.c revisions from the soc repository
violate the GPL. This will be fixed after all soc revisions are imported.
This file is not compiled yet, so the license compliance of any builds in
the meantime will not be affected.

Originally committed as revision 9651 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-14 15:38:39 +00:00
Aurelien Jacobs
2a68cd08cd The mpegaudio parser depends on mpegaudiodata.o.
This fixes the following option set:
  --disable-encoders --disable-decoders --disable-parsers --disable-bsfs
  --disable-muxers --disable-demuxers --disable-protocols
  --enable-parser=mpegaudio

Originally committed as revision 9641 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-14 13:23:26 +00:00
Aurelien Jacobs
00b5ec1578 Allow selecting only the vp6f decoder.
This fixes the following option set:
  --disable-encoders --disable-decoders --disable-parsers --disable-bsfs
  --disable-muxers --disable-demuxers --disable-protocols --enable-decoder=vp6f

Originally committed as revision 9640 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-14 13:14:28 +00:00
Aurelien Jacobs
e2525c6f78 The svq3 decoder depends on h264idct.o and also requires h264_parser.
This fixes the following option set:
  --disable-encoders --disable-decoders --disable-parsers --disable-bsfs
  --disable-muxers --disable-demuxers --disable-protocols --enable-decoder=svq3

Originally committed as revision 9638 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-14 13:11:15 +00:00
İsmail Dönmez
63e24954be Replace non-existing @fixme doxygen tags with @todo.
patch by Ismail Dönmez, ismail pardus.org tr

Originally committed as revision 9625 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-13 13:04:55 +00:00
Vitor Sessak
e3be5693c3 Make "channels" variable mean the number of channels, not the number of
channels minus one

Originally committed as revision 9617 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-13 00:06:46 +00:00
Måns Rullgård
7c8b273bbe indent
Originally committed as revision 9616 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-12 22:55:35 +00:00
Måns Rullgård
ebccac06ff remove useless LclDecContext.avctx field
Originally committed as revision 9615 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-12 22:55:34 +00:00
Måns Rullgård
bff825528e forgot to rm lcl.c
Originally committed as revision 9614 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-12 22:46:13 +00:00
Måns Rullgård
00eb27f111 split lcl.c into lcldec.c, lclenc.c, lcl.h
Originally committed as revision 9613 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-12 22:40:33 +00:00
Benoit Fouet
3709f0d706 map warning levels between libx264 and libavutil
Originally committed as revision 9607 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-12 08:22:28 +00:00
Diego Biurrun
3e582fbbc5 license header consistency: Remove redundant "all rights reserved" statement
that is rendered meaningless by subsequent grant of rights through the LGPL.

Originally committed as revision 9606 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-12 00:23:53 +00:00
Ivan Kalvachev
0ac9a875d4 revert commit 9603
Originally committed as revision 9605 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-11 23:21:13 +00:00
Ivan Kalvachev
58f46f2f27 remove file because of lincense issues
Originally committed as revision 9604 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-11 23:13:30 +00:00
Ivan Kalvachev
ddeaf723c5 Integrate reference mpeg IDCT into dsputil.
Originally committed as revision 9603 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-11 22:05:43 +00:00
Michael Niedermayer
c3d0c11bfb simplify ff_h263_round_chroma()
Originally committed as revision 9602 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-11 22:05:25 +00:00
Ivan Kalvachev
efb6836fe3 Inport the original intiger IDCT from MPEG2 reference decoder.
It passes IEEE1180 requirements.

Originally committed as revision 9601 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-11 22:01:21 +00:00
Måns Rullgård
00f0564f44 move ff_h263_round_chroma() to mpegvideo.h as static inline
Originally committed as revision 9600 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-11 21:04:53 +00:00
Ramiro Polla
76353b42fa Remove underscores before fcntl flags
Originally committed as revision 9599 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-11 15:21:24 +00:00
Ramiro Polla
6ffa87d325 Proper check for mkstemp().
Originally committed as revision 9596 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-11 13:57:22 +00:00
Aurelien Jacobs
66fc495a10 comment explaining that text subtitle need to be UTF-8 for now
Originally committed as revision 9592 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-11 13:19:58 +00:00
Aurelien Jacobs
f7e97aaf87 add support for Matroska subtitle tracks
Originally committed as revision 9591 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-11 13:13:20 +00:00
Aurelien Jacobs
a9fb241c3f conditional compilation of ratecontrol.c
Originally committed as revision 9589 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-11 09:07:23 +00:00
Aurelien Jacobs
bdf5df0865 conditional compilation of motion_est.c
Originally committed as revision 9588 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-11 08:59:52 +00:00
Aurelien Jacobs
df8e34603b makes compilation of h263.o and mpegvideo_enc.o conditional
Originally committed as revision 9583 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-10 20:28:56 +00:00
Aurelien Jacobs
674eeb5f57 cosmetics: indentation
Originally committed as revision 9582 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-10 20:27:50 +00:00
Aurelien Jacobs
eb75a69818 Avoid linking with h263.c functions when the relevant codecs
are not compiled in.

Originally committed as revision 9581 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-10 20:23:08 +00:00
Vitor Sessak
f79488d426 Use proper bytestream functions
Originally committed as revision 9580 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-10 17:50:44 +00:00
Aurelien Jacobs
99439cb72c Better place to disable some mpeg4 code and ensure that
ff_write_quant_matrix() won't be used when mpeg4 encoder is disabled.

Originally committed as revision 9579 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-10 17:31:17 +00:00
Aurelien Jacobs
898d5d5daa move init_vlc_rl from h263.c to mpegvideo.c
Originally committed as revision 9578 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-10 17:17:42 +00:00
Aurelien Jacobs
7da31a80b7 Split ff_set_mpeg4_time() and move the non mpeg4 specific part
into mpegvideo_enc.c.

Originally committed as revision 9577 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-10 14:37:33 +00:00
Vitor Sessak
153696a663 Prepare to remove more duplicated code
Based on a patch by Matthieu Castet

Originally committed as revision 9576 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-10 14:30:57 +00:00
Vitor Sessak
a562e2e651 Remove some duplicated code
Originally committed as revision 9575 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-10 13:32:22 +00:00
Diego Biurrun
ef4d08ac6d Add standard licensing header to files that lack it.
Originally committed as revision 9573 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-10 10:02:01 +00:00
Diego Biurrun
f082badc21 cosmetics: typo
Originally committed as revision 9572 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-10 09:58:38 +00:00
Aurelien Jacobs
196b8b4ecc don't compile some mpeg4 encoder code when encoders are disabled
Originally committed as revision 9571 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-10 08:40:00 +00:00
Vitor Sessak
5b154bd5cd Port some useful comments from newest version of David Hammerton's decoder (from which alac.c is based)
Originally committed as revision 9570 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-10 03:40:37 +00:00
Måns Rullgård
4f13e73392 avoid deprecation warnings for ImgReSampleContext from avcodec.h
Originally committed as revision 9568 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-09 22:15:07 +00:00
Aurelien Jacobs
b776e3d11b move ff_set_qscale from h263.c to mpegvideo.c
Originally committed as revision 9567 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-09 21:07:24 +00:00
Aurelien Jacobs
3a763f0f0b split rawvideo encoder and decoder in their own files
Originally committed as revision 9560 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-09 16:26:11 +00:00
Aurelien Jacobs
0d336e44db compile rangecoder.o only when needed
Originally committed as revision 9559 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-09 15:57:13 +00:00
Benoit Fouet
93f4823935 bring back h264 build
Originally committed as revision 9555 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-09 07:51:54 +00:00
Måns Rullgård
640b73e17d use correct type for palette
Originally committed as revision 9554 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-09 00:08:47 +00:00
Måns Rullgård
d8e76049d6 indent
Originally committed as revision 9553 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-08 23:15:12 +00:00
Måns Rullgård
5ffcb1be1f set sample rate in more logical place, kill warning
Originally committed as revision 9552 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-08 23:15:10 +00:00
Måns Rullgård
6785cae35c trivial warning fixes
Originally committed as revision 9551 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-08 23:15:08 +00:00
Måns Rullgård
4a64abdc63 kill warnings
Originally committed as revision 9550 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-08 23:15:04 +00:00
Måns Rullgård
8d15910aff fix warning
Originally committed as revision 9549 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-08 23:15:02 +00:00
Måns Rullgård
a00177a952 make arguments to ssd_int8_vs_int16() const
Originally committed as revision 9548 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-08 23:15:00 +00:00
Måns Rullgård
bad700e346 trivial warning fixes
Originally committed as revision 9547 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-08 23:14:54 +00:00
Christophe Gisquet
ccef714035 Pass modes as parameters instead of calculating them inplace.
Patch by by Christophe GISQUET ( echo $name| awk '//{sub(" ",".");print tolower($0) "@free.fr";}')
Thread: [PATCH] Clean up in C VC-1 DSP functions

Originally committed as revision 9537 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-08 13:34:02 +00:00
Christophe Gisquet
803b090449 Replace function declarations with macro
Patch by by Christophe GISQUET ( echo $name| tr "[A-Z ]" "[a-z.]"|sed s/.*/&@free.fr/ )
Thread: [PATCH] Clean up in C VC-1 DSP functions

Originally committed as revision 9536 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-08 13:26:13 +00:00
Christophe Gisquet
e95c953b55 Drop ff_ prefix for static functions
Patch by by Christophe GISQUET ( echo $name| tr "[A-Z ]" "[a-z.]"|sed s/$/@free.fr/ )
Thread: [PATCH] Clean up in C VC-1 DSP functions

Originally committed as revision 9535 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-08 13:23:44 +00:00
Stefan Gehrer
844d9012a6 split decoder-specific parts into their own file
Originally committed as revision 9533 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-08 07:37:30 +00:00
Stefan Gehrer
1503063f83 prepare splitting decoder-only parts into own file:
make commonly used tables global

Originally committed as revision 9532 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-08 07:13:25 +00:00
Roman Shaposhnik
c21f308e77 * Getting rid of the use of GCC language extensions
Originally committed as revision 9531 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-08 03:16:59 +00:00
Aurelien Jacobs
58e28fd5c4 simplify ff_copy_bits() when compiled with config-small
Originally committed as revision 9526 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-07 23:03:14 +00:00
Måns Rullgård
3c3f7ce15a whitespace cosmetics
Originally committed as revision 9524 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-07 20:50:29 +00:00
Måns Rullgård
a7b67850f4 add 64-bit bytestream read/write functions
Originally committed as revision 9523 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-07 20:50:27 +00:00
Stefan Gehrer
ceb48b46f8 prepare splitting decoder-only parts into own file:
make commonly used functions global

Originally committed as revision 9519 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-07 07:35:18 +00:00
Stefan Gehrer
218b3ae970 move dequantization into its own inline function
Originally committed as revision 9518 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-07 07:14:58 +00:00
Stefan Gehrer
ce7088b9a8 cosmetic: rename VLC tables to make clear they
are for decoding

Originally committed as revision 9517 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-07 06:49:20 +00:00
Stefan Gehrer
07caa46e99 setting special motion vectors in intra macroblocks
is now in its own inline function

Originally committed as revision 9516 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-07 06:34:30 +00:00
Stefan Gehrer
8a35c8e71a setting intra prediction modes to default values
in inter macroblocks is now in its own inline
function

Originally committed as revision 9515 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-07 06:27:44 +00:00
Stefan Gehrer
25c899471d move modification of intra prediction modes into
its own inline function

Originally committed as revision 9514 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-07 06:15:05 +00:00
Stefan Gehrer
e183b6d17c move preparation of chroma intra prediction into its
own inline function

Originally committed as revision 9513 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-07 05:27:59 +00:00
Stefan Gehrer
b8524fd13f move existing inline functions from cavs.c to cavs.h
Originally committed as revision 9512 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-07 05:03:22 +00:00
Stefan Gehrer
2a3cc9730f move context structure definition from cavs.c to cavs.h
Originally committed as revision 9511 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-07 04:58:54 +00:00
Stefan Gehrer
ac83e7b235 make vector constants global
Originally committed as revision 9510 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-07 04:54:05 +00:00
Janne Grunau
ab2cfc59a6 free thread context
patch by Janne Grunau: [janne-ffmpeg grunau be]

Originally committed as revision 9508 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-06 15:24:08 +00:00
Aurelien Jacobs
5416616588 split SVQ1 decoder and encoder in their own files
Originally committed as revision 9507 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-06 15:19:35 +00:00
Benoit Fouet
b54bb84c36 set thread_opaque to NULL when freeing it
Originally committed as revision 9506 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-06 15:17:52 +00:00
Andreas Öman
4691a77db4 Add support for streams with different chroma_qp_index_offset
for Cr and Cb
Patch by Andreas Öman % andreas A olebyn P nu %
Original thread:
Date: Jun 26, 2007 8:48 PM
subject: [FFmpeg-devel] Color corruption and seeking errors with H264 disc sources

Originally committed as revision 9505 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-06 14:21:37 +00:00
Aurelien Jacobs
5084ed3a9f simplify ff_copy_bits: merge 2 test branches
Originally committed as revision 9504 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-06 14:14:41 +00:00
Aurelien Jacobs
98f7b56bb6 move ff_copy_bits to bitstream.c
Originally committed as revision 9503 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-06 14:13:25 +00:00
Kostya Shishkov
3662aa766f Drop redundant assignment and variable
Originally committed as revision 9502 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-06 14:11:29 +00:00
Stefano Sabatini
c0de00dac5 me option implemented as an AVOption
patch by Stefano Sabatini: [stefano sabatini-lala poste it]
original thread:
[FFmpeg-devel] [PATCH] ffmpeg.c -me option implemented as an AVOption
date: 07/05/2007 03:12 PM

Originally committed as revision 9501 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-06 11:47:02 +00:00
Andreas Öman
042ef4b720 Precompute a chroma_qp table with index offset for each pps,
this saves speed for the upcoming secondqp fix.
Patch by Andreas Öman % andreas A olebyn P nu %
Original thread:
Date: Jun 26, 2007 8:48 PM
subject: [FFmpeg-devel] Color corruption and seeking errors with H264 disc sources

Originally committed as revision 9498 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-06 07:58:08 +00:00
Andreas Öman
4bbdf13f9e Compute the dequant coefficient table ptr outside the loop,
this saves speed for the upcoming secondqp fix.
Patch by Andreas Öman % andreas A olebyn P nu %
Original thread:
Date: Jun 26, 2007 8:48 PM
subject: [FFmpeg-devel] Color corruption and seeking errors with H264 disc sources

Originally committed as revision 9497 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-06 07:55:37 +00:00
Aurelien Jacobs
32a4d995ea include snow encoder only if it is not disabled
Originally committed as revision 9494 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-05 22:57:52 +00:00
Diego Biurrun
ab4e14be4c spelling/grammar
Originally committed as revision 9493 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-05 22:29:55 +00:00
Oliver Pfister
3caffb7d80 fix mem leak
patch by Oliver Pfister: [oliver pfister gmx ch]

Originally committed as revision 9491 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-05 20:47:58 +00:00
Oliver Pfister
7b62bb2b8d fix mem leak
patch by Oliver Pfister: [oliver pfister gmx ch]

Originally committed as revision 9490 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-05 20:46:48 +00:00
Måns Rullgård
f225016296 update my email address
Originally committed as revision 9489 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-05 20:08:51 +00:00
Vitor Sessak
3a66812fc8 Add my last name to copyright headers
Originally committed as revision 9488 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-05 19:53:34 +00:00
Aurelien Jacobs
b66af278ac forgot to svn add mpeg12.h in r9477
Originally committed as revision 9487 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-05 12:59:38 +00:00
Diego Biurrun
09a6682648 typos
Originally committed as revision 9486 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-05 12:06:02 +00:00
Diego Biurrun
bd9fb0a6e1 UTF-8 conversion
Originally committed as revision 9485 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-05 10:41:37 +00:00
Diego Biurrun
e5a389a1b7 license header consistency cosmetics
Originally committed as revision 9484 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-05 10:40:25 +00:00
Diego Biurrun
7b94177e37 Group all copyright and author notices together.
Originally committed as revision 9483 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-05 10:37:29 +00:00
Aurelien Jacobs
cacfe026a8 make DCT_common_init() static
Originally committed as revision 9482 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-05 09:55:48 +00:00
Diego Biurrun
a22caa6a3e Add missing license header.
Originally committed as revision 9481 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-05 09:50:00 +00:00
Aurelien Jacobs
53727262cb move mpeg encoder specific initialization in the encoder specific file
Originally committed as revision 9480 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-05 09:48:29 +00:00
Aurelien Jacobs
eaa7557c73 add proper ff_ prefix to new extern symbols
Originally committed as revision 9479 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-05 09:21:55 +00:00
Aurelien Jacobs
56be950afa cosmetics: indentation
Originally committed as revision 9478 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-05 09:09:53 +00:00
Aurelien Jacobs
a6bc573158 split mpeg12 encoder out of mpeg12.c
Originally committed as revision 9477 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-05 09:08:28 +00:00
Måns Rullgård
85d366fd02 use av_freep() in free_vlc() and failed init_vlc()
Originally committed as revision 9474 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-05 06:47:00 +00:00
Vitor Sessak
8448946e37 Remove more useless parentheses.
Originally committed as revision 9471 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-05 03:01:53 +00:00
Benoit Fouet
3ada94ba28 Description: split mpegvideo.c
Originally committed as revision 9467 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-03 09:55:56 +00:00
Diego Biurrun
82634feeb5 CONFIG_XVID --> CONFIG_LIBXVID
Originally committed as revision 9466 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-03 09:12:55 +00:00
Vitor Sessak
737b7fb93e Remove useless parentheses.
Originally committed as revision 9465 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-03 02:52:40 +00:00
Vitor Sessak
1926bd92d5 Remove variables made unused by the last two patches and test svn access.
Originally committed as revision 9464 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-03 02:50:36 +00:00
Diego Biurrun
224906414b Remove leading underscores from specifiers, they are reserved.
Originally committed as revision 9461 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-02 17:00:04 +00:00
Vitor Sessak
35c621e753 use properly AVFrame.linesize
patch by Vitor: [vitor1001 gmail com]

Originally committed as revision 9458 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-02 10:21:41 +00:00
Vitor Sessak
fb44e0706f use properly AVFrame.linesize
patch by Vitor: [vitor1001 gmail com]

Originally committed as revision 9457 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-02 10:20:12 +00:00
Diego Biurrun
313bacddc0 Add missing comment markers to #endif directive.
Originally committed as revision 9454 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-02 10:08:47 +00:00
Alexis Ballier
d3b7406c6f QT RLE encoder
patch by Alexis Ballier: [alexis ballier gmail com]
original thread: [FFmpeg-devel] [Patch] QT RLE encoder, bis
date: 06/24/2007 03:56 PM

Originally committed as revision 9452 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-02 07:06:28 +00:00
Kostya Shishkov
26bdc6bc6e this prediction direction adjustment is wrong
Originally committed as revision 9450 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-28 15:53:36 +00:00
Ivan Kalvachev
a8ff69ce2b Identify the loop_filter flag as such and remove the unused variables in the context.
Originally committed as revision 9447 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-27 14:27:47 +00:00
Vitor Sessak
a7ae617fbd use the right stride
patch by Vitor: [vitor1001 gmail com]

Originally committed as revision 9446 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-27 10:40:29 +00:00
Vitor Sessak
670e47e196 use the right stride
patch by Vitor: [vitor1001 gmail com]

Originally committed as revision 9443 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-27 06:57:31 +00:00
Vitor Sessak
bc9f081d53 indentation
patch by Vitor: [vitor1001 gmail com]

Originally committed as revision 9440 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-26 20:13:59 +00:00
Vitor Sessak
7299663a50 right copyrights
patch by Vitor: [vitor1001 gmail com]

Originally committed as revision 9439 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-26 20:13:09 +00:00
Vitor Sessak
9489d2ef3f add width and height in context and use them
patch by Vitor: [vitor1001 gmail com]

Originally committed as revision 9438 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-26 20:10:26 +00:00
Benoit Fouet
dad66beeff Indentation
Originally committed as revision 9437 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-26 18:01:15 +00:00
Benoit Fouet
5b43487d23 test context before accessing it
Originally committed as revision 9436 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-26 18:00:50 +00:00
Benoit Fouet
57ae779d41 add an AVClass pointer in SwsContext context
Originally committed as revision 9434 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-26 16:09:55 +00:00
Vitor Sessak
03e3e76544 RoQ video encoder
patch by Vitor: \vitor1001 gmail com/
original thread: [FFmpeg-devel] RoQ video encoder (take 3)
date: 06/08/2007 10:34 PM

Originally committed as revision 9420 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-25 12:09:23 +00:00
Vitor Sessak
606975ab01 Fix typo
patch by Vitor: {vitor1001 gmail com}

Originally committed as revision 9419 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-25 07:29:45 +00:00
Michael Niedermayer
28bf121a22 get rid of one unneeded #ifdef HAVE_XVMC
Originally committed as revision 9389 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-22 17:18:58 +00:00
Marc Hoffman
aa6bfe8324 removing dependency on bfin_sram.h, which is not used right now
Originally committed as revision 9388 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-22 13:44:58 +00:00
Marc Hoffman
bd92f4f39b renaming L1CODE to attribute_l1_text, which is defined in dsputil_bfin.h
Originally committed as revision 9387 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-22 13:43:47 +00:00
Fortin Denis
b05b193172 modify msmpeg4 functions to generate VC1 compatible block layer bitstream
patch by Fortin Denis: \fortin nerim net/
original thread: [FFmpeg-devel] [PATCH] wmv3 encoder : msmpeg4.c changes
date: 06/19/2007 09:54 PM

Originally committed as revision 9386 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-22 08:35:21 +00:00
Denis Fortin
c68a173ef3 static (inline) X => ff_X
patch by Denis Fortin: \fortin nerim net/
original thread: [FFmpeg-devel] [PATCH] wmv3 encoder : msmpeg4.c changes
date: 06/19/2007 09:54 PM

Originally committed as revision 9381 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-21 07:53:48 +00:00
Andreas Öman
b69378e295 Don't swap back un-deblocked lines for intra prediction when
at slice boundaries for deblocking-type 2 content.

This is needed for slice based threading only and doesn't do much
good or bad otherwise.
Patch by Andreas Oman %andreas A olebyn P nu%
Original thread:
date: Jun 18, 2007 1:21 PM
subject: Re: [FFmpeg-devel] [PATCH] h264 parallelized,

Originally committed as revision 9380 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-21 07:52:06 +00:00
Stefano Sabatini
c0ad72a787 split frame rate and frame size abbreviation into two structures
patch by Stefano Sabatini: [stefano sabatini-lala poste it]

Originally committed as revision 9379 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-21 07:46:48 +00:00
Benoit Fouet
255eccab6e move dct_quantize and denoise_dct function pointers initialization to C
functions after arch dependant initializations

Originally committed as revision 9375 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-20 11:01:50 +00:00
Andreas Öman
24456882f3 Do not reuse the rbsp de-escape buffer if both
the intra and inter -nal units are escaped
patch by Andreas Öman: \andreas olebyn nu/
original thread:
[FFmpeg-devel] [PATCH] h264: rbsp de-escape and data partitioning..
date: 06/20/2007 09:32 AM

Originally committed as revision 9374 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-20 08:53:53 +00:00
Benoit Fouet
64e26e8c27 remove unused constant definition
Originally committed as revision 9372 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-20 07:08:00 +00:00
Andreas Öman
995a30c06b Decouple bit context from h264 context in decode_ref_pic_marking()
(done in order to implement slice-level parallel decoding)
Patch by Andreas Öman % andreas olebyn nu %
Original thread:
Date: Jun 15, 2007 10:10 PM
Subject: [FFmpeg-devel] [PATCH] h264 parallelized, (was: Parallelized h264 proof-of-concept)

Originally committed as revision 9371 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-19 21:34:04 +00:00
Benoit Fouet
8c71c5e454 aanscales is used only with CONFIG_ENCODERS
Originally committed as revision 9370 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-19 21:14:19 +00:00
Andreas Öman
1c48415bb9 indentation
patch by Andreas Öman: [andreas olebyn nu]

Originally committed as revision 9360 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-18 08:48:26 +00:00
Guillaume Poirier
efb775777f add a comment to indicate which #endif belong to which #define
Originally committed as revision 9356 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-17 18:59:28 +00:00
Måns Rullgård
9cafbd6c49 simplify ppc64 handling
Originally committed as revision 9355 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-17 15:47:03 +00:00
Guillaume Poirier
e970d98c47 restore GCC3 support
Originally committed as revision 9353 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-17 12:38:51 +00:00
Guillaume Poirier
7d2bf29c88 re-enable use of h264_v_loop_filter_luma_altivec and h264_h_loop_filter_luma_altivec,
they work fine now

Originally committed as revision 9350 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-17 09:38:35 +00:00
Graham Booker
22fa38f0c8 part 2/2 of fixing Altivec-accelerated H264 luma inloop filter
In h264_deblock_q1, the result of the deblock needs to be kept to
be used in future deblocks, so return this value now.

Also change the sign of tc0 vector: It is really a signed value, so
treat it as such until after the >=0 check;
then, at that point, after being masked, it can be treated as unsigned.

Patch by Graham Booker % gbooker A tamu P edu%

Originally committed as revision 9349 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-17 09:37:13 +00:00
Guillaume Poirier
963eca226e convert h264_deblock_q1 to an inline function.
part 1/2 of fixing Altivec-accelerated H264 luma inloop filter

Originally committed as revision 9348 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-17 09:14:02 +00:00
Måns Rullgård
699b3f99d0 add multiple inclusion guards to headers
Originally committed as revision 9345 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-17 00:01:30 +00:00
Måns Rullgård
99545457bf include all prerequisites in header files
Originally committed as revision 9344 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-16 22:59:13 +00:00
Måns Rullgård
c2d08dc0d7 move a couple of macros and structs to mpegaudio.h
Originally committed as revision 9343 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-16 22:58:43 +00:00
Andreas Öman
b41c1db38d Factor out init_scan_tables(), patch by Andreas Öman %andreas A olebyn.nu%
original thread:
Date: Jun 15, 2007 10:10 PM
Subject: [FFmpeg-devel] [PATCH] h264 parallelized, (was: Parallelized h264 proof-of-concept)

Originally committed as revision 9341 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-16 19:54:04 +00:00
Graham Booker
f4a02f6e9b Use a faster way to compute 255-val: Instead of creating a vector of
all 255s, and then doing the subtraction, nor of the vector with itself: saves
one instruction and a register.
Patch by Graham Booker % gbooker A tamu P edu%

Originally committed as revision 9340 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-16 18:59:10 +00:00
Måns Rullgård
b3e83c965d move definition of MB_TYPE_H261_FIL to h261.h so h261.c doesn't
need to #include "h261data.h"

Originally committed as revision 9339 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-16 15:15:19 +00:00
Måns Rullgård
859cfdc0e6 correct type of qsort() comparison callback
Originally committed as revision 9338 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-16 15:15:17 +00:00
Måns Rullgård
e336139f0c correct type for h263_parse()
Originally committed as revision 9337 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-16 15:15:16 +00:00
Måns Rullgård
e1659f0cc7 fix indentation
Originally committed as revision 9336 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-16 14:52:12 +00:00
Måns Rullgård
dfdf9e78f3 replace endian detection hack with #ifdef WORDS_BIGENDIAN
Originally committed as revision 9335 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-16 14:52:10 +00:00
Måns Rullgård
706da4af32 fix some printf format specifiers
Originally committed as revision 9334 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-16 14:52:05 +00:00
Måns Rullgård
8657d5e549 correct type for {put,avg}_h264_chroma_mc2_mmx2
Originally committed as revision 9333 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-16 14:51:57 +00:00
Måns Rullgård
bb5705b988 kill some "defined but not used" warnings
Originally committed as revision 9332 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-16 11:44:57 +00:00
Måns Rullgård
119e2c0056 kill a warning on 64-bit machines
Originally committed as revision 9331 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-16 11:44:54 +00:00
Måns Rullgård
a1bee08046 move dsputil_init_foo() out from #ifdef
Originally committed as revision 9330 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-16 10:44:46 +00:00
Måns Rullgård
3f5b56e58b replace TARGET_* with HAVE_* simplifying lists in configure script
Originally committed as revision 9324 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-15 20:35:44 +00:00
Måns Rullgård
18ca9a4a99 replace TARGET_ARCH_* to ARCH_* for consistency
Originally committed as revision 9322 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-15 20:35:37 +00:00
Aurelien Jacobs
4f74c5855b use if() instead of #ifdef and ensure all possible optimisations are enabled
Originally committed as revision 9320 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-15 18:18:31 +00:00
Guillaume Poirier
fbb578e90d some samples aren't decoded correctly such as
( http://www.pennfans.net/files/videos/Penn&Teller.on.The.View.mp4 )
with current Altivec implementation of loopfilter, while others are fine.
Let's disable it until we iron this bug out.

Originally committed as revision 9317 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-15 08:22:06 +00:00
Panagiotis Issaris
91a2974ee9 Remove unneeded semicolon.
Originally committed as revision 9316 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-15 08:16:24 +00:00
Panagiotis Issaris
d111e41fd3 Correct signature of just_return().
Originally committed as revision 9315 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-15 08:15:45 +00:00
Panagiotis Issaris
233ed44543 Remove an unreferenced variable from qpeg_decode_inter().
Originally committed as revision 9309 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-14 16:16:37 +00:00
Benoit Fouet
71fd12253d add and remove some parentheses
Originally committed as revision 9308 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-14 09:32:04 +00:00
Albert Lee
ad0f6c1fcd Simplify init preprocessor statements.
patch by Albert Lee, trisk+xine acm.jhu edu

Originally committed as revision 9307 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-14 08:44:41 +00:00
Nicolas George
6b0cdb6e04 More detailed documentation
patch by Nicolas George: [nicolas george normalesup org]

Originally committed as revision 9305 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-14 07:28:16 +00:00
Marc Hoffman
57870214ab removing underscores from block profiling renaming to xx_
Originally committed as revision 9303 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-13 12:46:27 +00:00
Carl Eugen Hoyos
c9823f0577 Improve understanding ofavcodec_find_decoder()
patch by Carl Eugen Hoyos: ! cehoyos ag or at !

Originally committed as revision 9301 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-13 08:28:00 +00:00
Lord
58d1dc0e9b Workaround adjustments for DivX 6.1 and later
patch by Lord: [ Lord_veryrandomD8 yahoo com ]

Originally committed as revision 9300 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-13 08:25:48 +00:00
Guillaume Poirier
da1fce3921 cosmetics
Originally committed as revision 9298 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-12 21:44:38 +00:00
Sigbjorn Skjaeret
0aec30c58d kill one vector constant value load by the right combination of vec_splatX/vec_sl
patch by Sigbjorn Skjaeret %sskjer-1 A broadpark P no%

Originally committed as revision 9296 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-12 21:24:25 +00:00
Sigbjorn Skjaeret
525751c053 restore GCC2/3 support, patch by Sigbjorn Skjaeret %sskjer-1 A broadpark P no%
Originally committed as revision 9295 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-12 21:17:22 +00:00
Marc Hoffman
1a822d303f integrating MPV_common_init_bfin into the build system and mpegvideo.c
Originally committed as revision 9294 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-12 19:34:06 +00:00
Marc Hoffman
50ee61dda2 Blackfin dct_quantize_bfin routine
2x performance boost in performing quantization for mpeg encoding

Originally committed as revision 9293 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-12 19:13:50 +00:00
Marc Hoffman
ea6ad30ce9 Blackfin IDCT has no special permutation it uses normal order
Originally committed as revision 9292 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-12 19:06:39 +00:00
Diego Biurrun
90b5b51eab misc typo fixes
Originally committed as revision 9291 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-12 18:50:50 +00:00
Kostya Shishkov
c294d7c6ba Typo
Originally committed as revision 9290 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-12 15:03:28 +00:00
Diego Biurrun
755bfeabcc misc spelling fixes
Originally committed as revision 9289 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-12 09:29:25 +00:00
Stefano Sabatini
26ef3220cf Move the video size and rate abbreviations system from libavformat to libavcodec
patch by Stefano Sabatini: [stefano dot sabatini minus lala poste dot it]
original thread:
[FFmpeg-devel] [PATCH] Redesign the video size and rateabbreviations system
date: 06/02/2007 05:30 PM

Originally committed as revision 9288 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-12 08:06:54 +00:00
Michael Donaghy
3cce801a0b fix 8- and 24-bit FLAC decoding
Patch by Michael Donaghy %md401 A cam P ac P uk%
Original thread:
date: Jun 10, 2007 4:48 PM
subject: [FFmpeg-devel] [PATCH] Bugfix: decoding 8- and 24-bit FLAC files

Originally committed as revision 9286 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-12 07:59:43 +00:00
Aurelien Jacobs
0c33dac236 move codecs declarations from avcodec.h to allcodecs.h
Originally committed as revision 9283 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-11 16:05:32 +00:00
Guillaume Poirier
c01d444b3e one step closer to restoring GCC-3.3 support: kills 12 errors, just 2 to go
Originally committed as revision 9280 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-11 08:00:31 +00:00
Eric Lasota
7c68b47b78 Cygwin compatibility workaround
patch by Eric Lasota: [ riot icculus org ]
original thread: [FFmpeg-devel] [PATCH] elbg.c Cygwin compatibility workaround
date: 06/09/2007 09:26 AM

Originally committed as revision 9279 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-11 07:57:15 +00:00
Ronald S. Bultje
097e1da470 Adapt to API changes, fix compilation.
patch by Ronald S. Bultje, rbultje ronald.bitfreak net

Originally committed as revision 9266 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-10 13:54:11 +00:00
Guillaume Poirier
5ce27e8c92 minor GCC3 compile fix
(there's still 2 more, but there's burried into several levels of macros, so it's hard to narrow them down)

Originally committed as revision 9265 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-09 22:20:24 +00:00
Graham Booker
f057cc0399 Altivec version of h264_(h|v)_loop_filter_luma
patch by Graham Booker % perian A cod3r P com% with some minor fixes by me.
historic of the patch: http://trac.perian.org/ticket/113
Original thread:
Date: May 11, 2007 9:45 PM
Subject: [FFmpeg-devel] [PATCH] Altivec version of-altivec h264_h-v_loop_filter_luma

Originally committed as revision 9264 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-09 19:13:34 +00:00
Ronald S. Bultje
12807c8d87 Add some #includes to allow compilation without HAVE_AV_CONFIG_H.
taken from a patch by Ronald S. Bultje, rbultje ronald.bitfreak net

Originally committed as revision 9263 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-09 17:52:16 +00:00
Graham Booker
ee387b57fd work around issues with the old version of Gnu Assembler shipped on
Intel / OSX 10.4.9
patch by Graham Booker % gbooker A cod3r P com %
Original thread:
Date: May 25, 2007 11:51 PM
Subject: [FFmpeg-devel] r9017 breaks WMA decoding on Intel Macs
The patch:
Date: Jun 3, 2007 4:37 PM
Subject: Re: [FFmpeg-devel] r9017 breaks WMA decoding on Intel Macs

Originally committed as revision 9260 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-08 20:35:30 +00:00
Ronald S. Bultje
bcbd6603dd emms --> emms_c, taken from a patch by Ronald Bultje
Originally committed as revision 9253 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-07 21:31:26 +00:00
Diego Biurrun
2458c5c1c4 Use consistent names for all test programs.
Originally committed as revision 9252 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-07 17:21:34 +00:00
Diego Biurrun
34933442ac Preprocessor #defines starting with __ are reserved for the system.
Originally committed as revision 9251 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-07 17:19:37 +00:00
Ronald S. Bultje
3d4e3e560f Use FFmpeg-specific CPU feature definitions.
taken from a patch by Ronald S. Bultje, rbultje ronald.bitfreak net
Date: Thu, 07 Jun 2007 08:57:46 -0400
Subject: Re: [FFmpeg-devel] [PATCH] Coremake support - ffmpeg_nommx.patch (1/1)
 - ffmpeg-nommx.patch (1/1) - ff-cputest-noavconfig.patch (1/1)

Originally committed as revision 9250 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-07 17:18:01 +00:00
Ronald S. Bultje
ac237a2f5d Add CPU feature definitions for SSE3 and SSSE3.
taken from a patch by Ronald S. Bultje, rbultje ronald.bitfreak net
Date: Thu, 07 Jun 2007 08:57:46 -0400
Subject: Re: [FFmpeg-devel] [PATCH] Coremake support - ffmpeg_nommx.patch (1/1)
 - ffmpeg-nommx.patch (1/1) - ff-cputest-noavconfig.patch (1/1)

Originally committed as revision 9249 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-07 16:58:08 +00:00
Ronald S. Bultje
d07026cd16 CPU feature definitions should always be available, not just when the
CPU feature is enabled.
taken from a patch by Ronald S. Bultje, rbultje ronald.bitfreak net
Date: Thu, 07 Jun 2007 08:57:46 -0400
Subject: Re: [FFmpeg-devel] [PATCH] Coremake support - ffmpeg_nommx.patch (1/1)
 - ffmpeg-nommx.patch (1/1) - ff-cputest-noavconfig.patch (1/1)

Originally committed as revision 9246 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-07 16:15:20 +00:00
Diego Biurrun
94254fc00e Only run MMX2 tests when MMX2 is available.
Originally committed as revision 9245 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-07 15:59:15 +00:00
Diego Biurrun
b9702de506 Fix linking when GPL code has been disabled.
Originally committed as revision 9244 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-07 15:54:49 +00:00
Ronald S. Bultje
ee3035f31e Fix compilation when MMX is disabled.
inspired by a patch by Ronald S. Bultje, rbultje ronald.bitfreak net

Originally committed as revision 9243 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-07 15:30:54 +00:00
Diego Biurrun
b0b0d7e78c FAAN is not x86-specific.
Originally committed as revision 9242 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-07 15:27:53 +00:00
Andreas Öman
93cc10fa9c h264: use 'simple' in border backup / xchg
patch by Andreas Öman: [andreas olebyn nu]
original thread:
subject: [FFmpeg-devel] [patch] h264: use 'simple' in border backup / xchg
date: 06/07/2007 03:24 PM

Originally committed as revision 9237 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-07 13:51:06 +00:00
Diego Biurrun
9097a8e48d Add some forgotten lib prefixes to Makefile variables.
Originally committed as revision 9235 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-06 18:56:14 +00:00
Eric Lasota
160228f894 Rename cb field
patch by Eric Lasota: [riot at icculus org]
original thread: [FFmpeg-devel]   [PATCH] RoQ decoder 4:4:4 update
date: 06/05/2007 09:22 PM

Originally committed as revision 9231 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-06 10:40:05 +00:00
Diego Biurrun
1cc60c47c5 Consistent naming and lib prefixes for x264, xvid and mp3lame within the code.
Originally committed as revision 9230 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-06 08:51:41 +00:00
Diego Biurrun
b04f49c74c Give names of external library decoders/encoders a lib prefix
in the ffmpeg/ffplay output.

Originally committed as revision 9227 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-06 08:41:45 +00:00
Diego Biurrun
6f1af73557 Give all wrappers for external libraries names starting with lib.
Originally committed as revision 9226 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-06 00:14:18 +00:00
Diego Biurrun
83bc90dcfd Remove unused variables.
Originally committed as revision 9224 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-05 14:18:13 +00:00
Eric Lasota
3ccda4ca91 Convert RoQ decoder to use YUV 4:4:4 unpacked macroblocks
instead of packed 4:2:0 clusters
patch by Eric Lasota: \ riot icculus org /
original threads: [FFmpeg-devel]   [PATCH] RoQ decoder 4:4:4 update
date: 06/04/2007 03:52 AM and 06/05/2007 01:10 AM

Originally committed as revision 9223 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-05 08:05:16 +00:00
Denis Fortin
f0edfda578 Rename code012() to ff_code012(), and remove static qualifier: paves the way
to vc1 encoder, as this function would be useful there.
patch by Denis Fortin % fortin A nerim P net %
Original thread:
date: Jun 4, 2007 9:23 PM
subject: Re: [FFmpeg-devel] [RFC] move wmv2.c to its own file

Originally committed as revision 9222 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-05 07:18:29 +00:00
Diego Biurrun
ac3967c1ce spelling
Originally committed as revision 9221 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-04 23:07:27 +00:00
Christian Lohmaier
c11aac6cda fix error: indeo2.c:202:1: directives may not be used inside a macro argument,
introduced when init_vlc was turned into a macro
Patch by Christian Lohmaier %cloph A openoffice P org%

Originally committed as revision 9198 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-04 11:03:24 +00:00
Vitor Sessak
ddcf4b5d6d Codebook generator using the ELBG algorithm
patch by Vitor: printf(vitor%d gmail com, 1001)
original thread: Re: [FFmpeg-devel] [PATCH] Add a codebook generator
                 (was: [PATCH] RoQ video encoder, take 2)
date: 05/28/2007 01:21 PM

Originally committed as revision 9196 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-04 07:28:34 +00:00
Luca Barbato
5dda253943 h264_idct_add_altivec, based on an old patch from Mauricio Alvarez <alvarezATac.upc.edu>, polished by David Conrad <umovimusATgmail.com>
Originally committed as revision 9182 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-03 13:27:44 +00:00
Andreas Öman
83b3401731 filter_mb_fast() doesn't handle h->deblocking_filter==2 (skip slice edges), so delegate that case to filter_mb().
Patch by Andreas Öman [andreas at olebyn dot nu].

Originally committed as revision 9180 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-03 11:44:43 +00:00
Diego Biurrun
69ddbd1dad Rename aac_decoder to libfaad_decoder for consistency and to be able to
more easily add a possible future native decoder.

Originally committed as revision 9172 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-02 11:44:44 +00:00
Diego Biurrun
c9171a830b Rename faac_encoder to libfaac_encoder for consistency and to be able to
more easily add a possible future native encoder.

Originally committed as revision 9171 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-02 11:20:24 +00:00
Ramiro Polla
e5e587afbe Remove get_byte wrapper
Originally committed as revision 9170 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-02 01:42:47 +00:00
Ramiro Polla
2c124cb65c Use AV_xx throughout libavcodec
Originally committed as revision 9169 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-02 01:41:07 +00:00
Michael Niedermayer
29b29011e5 fix skipped blocks
fixes decoding of (http://samples.mplayerhq.hu/game-formats/idroq/bf2introseg.roq)

Originally committed as revision 9168 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-01 21:17:05 +00:00
Michael Niedermayer
0fa9a5ddc7 check qblur > 1 (prevent assert failure / segfault)
fixes sf bug #797610

Originally committed as revision 9166 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-31 21:40:22 +00:00
Michael Niedermayer
47b777ceed sanity checks (should prevent hypothetical div by zero issue)
should fix sf bug #1547313

Originally committed as revision 9164 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-30 23:06:37 +00:00
Michael Niedermayer
61d49d122c fix assert() 2nd try
Originally committed as revision 9163 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-30 21:38:57 +00:00
Stefano Sabatini
c3b95b1d3d Add support for listing the supported pixel formats using the option
-pix_fmt list
patch by Stefano Sabatini stefano sabatini minus lala chez poste it
original thread: [FFmpeg-devel] [PATCH] List supported pixel formats
date: 05/25/2007 05:46 PM

Originally committed as revision 9162 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-30 14:20:55 +00:00
Carl Eugen Hoyos
154e30f6c2 rename attribute_unused to av_unused and moves its declaration to common.h
patch by Carl Eugen Hoyos cehoyos chez ag or at
original thread: [FFmpeg-devel] [PATCH] attribute_unused -> av_unused
date: 05/29/2007 01:23 PM

Originally committed as revision 9155 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-30 09:32:25 +00:00
Michael Niedermayer
1e6b570087 fix assertion failure
Originally committed as revision 9152 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-29 16:51:55 +00:00
Kostya Shishkov
3dba31aa0d Do proper frame swapping so VMD video decoder works again
Originally committed as revision 9151 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-29 16:43:25 +00:00
Vitor Sessak
55c970e349 Split RoQ decoder to accommodate future encoder patch
patch by Vitor vitor1001 gmail moc
original thread: [FFmpeg-devel] [PATCH] RoQ video encoder, take 2
date: 05/27/2007 12:21 PM

Originally committed as revision 9149 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-29 15:01:33 +00:00
Andreas Öman
7978debdc2 allocate PPS and SPS dynamically
patch by Andreas Öman andreas ta olebyn tod nu
reference thread:
subject: [FFmpeg-devel] [PATCH] h264: allocate PPS and SPS dynamically
date: 05/28/2007 03:00 PM

Originally committed as revision 9148 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-29 14:35:29 +00:00
Vitor Sessak
750cbd34c9 cosmetics and function rename
patch by Vitor ken1001 gmail com | sed -e s/ken/vitor/
reference thread:
subject: [FFmpeg-devel] [PATCH] RoQ video encoder, take 2
date: 05/27/2007 12:21 PM

Originally committed as revision 9147 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-29 12:20:40 +00:00
Diego Biurrun
42610c4983 Remove redundant fastmemcpy.h #include, it is indirectly #included by avutil.h.
Originally committed as revision 9145 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-28 09:30:41 +00:00
Michael Niedermayer
d5aa01cd30 make decoder decode the first frame properly if theres more than just one
frame input

Originally committed as revision 9144 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-27 22:34:49 +00:00
Harald Karnet
f1edd8ef90 Correct the parameter order for the call to "av_clip".
Patch by Harald Karnet, harald karner % gmx net.
Thread [FFmpeg-devel] [PATCH] Bugfix H.263+ encoder frame header corruption

Originally committed as revision 9131 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-25 14:42:11 +00:00
Loren Merritt
8be6dac8dc merge huffman tables for rgb too
Originally committed as revision 9124 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-25 00:16:14 +00:00
Loren Merritt
f45fcba303 cosmetics (reduce nesting)
Originally committed as revision 9119 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-24 19:04:19 +00:00
Loren Merritt
acc0e0c8b6 use sparse huffman tables. 1.5% faster huffyuv decoding.
Originally committed as revision 9118 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-24 17:40:02 +00:00
Loren Merritt
b613bacca9 add init_vlc_sparse(). faster than init_vlc() if there are lots of holes in the tables.
Originally committed as revision 9117 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-24 17:38:56 +00:00
Sergey Vlasov
32dd6a9c78 fix dca_bitalloc_index decoder init
Patch by Sergey Vlasov (printf("%csu at altlinux%s",'v',".ru");)
Thread [FFmpeg-devel] [PATCH] dca: fix dca_bitalloc_index decoder init

Originally committed as revision 9115 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-24 04:08:48 +00:00
Sergey Vlasov
56e4603e67 Fix dca.c compilation with #define TRACE
Patch by Sergey Vlasov (v\0163u at \0141ltlinux.ru)
Thread [FFmpeg-devel] [PATCH] dca: fix compilation with #define TRACE

Originally committed as revision 9114 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-24 04:02:47 +00:00
Oded Shimon
8d641aedb9 fix mjpeg decoding with broken huffman table headers
Originally committed as revision 9111 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-23 18:41:34 +00:00
Ramiro Polla
67a5daf07f Remove duplicate bytestream functions
Originally committed as revision 9108 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-23 14:55:13 +00:00
Panagiotis Issaris
cb1a74cf8c Export the four remaining H.264 decoder intra prediction functions for reuse in
the H.264 encoder. These functions are: pred8x8_left_dc_c, pred8x8_top_dc_c,
pred16x16_left_dc_c and pred16x16_top_dc_c.

Originally committed as revision 9107 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-23 13:46:11 +00:00
Panagiotis Issaris
9aee21c8f7 Reindent
Originally committed as revision 9106 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-23 09:07:57 +00:00
Panagiotis Issaris
4edda03480 Make the compilation of h264idct.c optional.
Originally committed as revision 9105 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-23 09:07:23 +00:00
Loren Merritt
19716d6478 merge huffman tables so that we read 2 symbols at a time. 30% faster huffyuv decoding.
Originally committed as revision 9104 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-23 09:02:07 +00:00
Diego Biurrun
f353fbd205 Remove mdct.o and fft.o from fft-test prerequisites list.
Both objects were added to the link command, resulting in multiple definitions
of symbols. Now linking works in the general case when mdct.o and fft.o are
compiled into libavcodec.a.

Originally committed as revision 9097 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-22 07:08:38 +00:00
Panagiotis Issaris
6f9a35bb35 Only compile golomb.c when needed.
Originally committed as revision 9094 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-21 15:28:37 +00:00
Panagiotis Issaris
d72ecaf5af Fix compilation when the Sonic encoder and decoder were disabled and only the Sonic
LS encoder enabled.

Originally committed as revision 9093 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-21 15:24:31 +00:00
Panagiotis Issaris
8fae7b6f60 Only compile cabac.c when needed.
Originally committed as revision 9092 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-21 12:55:02 +00:00
Aurelien Jacobs
d0d866e09f vorbis encoder missed rename to libvorbis
Originally committed as revision 9091 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-21 12:54:12 +00:00
Panagiotis Issaris
d632239c9c Split the h261.c file into separate files for the encoder, decoder and common stuff.
Originally committed as revision 9090 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-21 12:51:29 +00:00
Diego Biurrun
86c33b29d2 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
other test programs. As a positive sideeffect, this makes the build system try
to actually create the executable file.

Originally committed as revision 9086 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-21 07:11:27 +00:00
Diego Biurrun
14eb0a2ed1 Fix imgresample-test linking.
Originally committed as revision 9085 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-21 07:05:23 +00:00
Diego Biurrun
fca6a0dd34 Add explanatory comments to some #endifs.
Originally committed as revision 9084 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-21 07:01:42 +00:00
Aurelien Jacobs
9f77cab2a0 make compilation of mpegaudiodec conditional
Originally committed as revision 9083 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-20 22:59:32 +00:00
Aurelien Jacobs
08aa2c9bd2 remove dependency of mpeg audio encoder over mpeg audio decoder
Originally committed as revision 9082 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-20 22:50:29 +00:00
Aurelien Jacobs
ca6e50afc1 add a ff_ prefix to some mpegaudio funcs
Originally committed as revision 9081 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-20 15:11:55 +00:00
Aurelien Jacobs
4bd8e17c8d loosen dependencies over mpegaudiodec
Originally committed as revision 9080 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-20 13:40:07 +00:00
Zuxy Meng
663deb54af Remove incorrect comment; MMX2 is preferred over 3DNow! on Athlon
Originally committed as revision 9079 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-20 05:07:44 +00:00
Michael Niedermayer
db7f647e10 use AV_LOG_ERROR instead of INFO for errors
Originally committed as revision 9078 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-20 01:41:36 +00:00
Michael Niedermayer
64be2e60ef sanity checks for bitrate tolerance and buffer size (= fail if a single frame at the
requested bitrate would be bigger than the buffer size)

Originally committed as revision 9077 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-20 01:35:15 +00:00
Michael Niedermayer
cb590b4842 slightly more correct spliting of frames
Originally committed as revision 9076 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-20 01:05:34 +00:00
Aurelien Jacobs
bf406d90e4 move MJpegDecodeContext declaration from mjpeg.h to mjpegdec.h
Originally committed as revision 9074 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-19 15:06:34 +00:00
Aurelien Jacobs
0a59a18b4e move mjpeg-b decoder in its own file
Originally committed as revision 9073 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-19 14:58:31 +00:00
Aurelien Jacobs
82ec791834 10l: forgot to svn add mjpegdec.h
Originally committed as revision 9072 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-19 14:53:55 +00:00
Aurelien Jacobs
40cce9ff91 move sp5x decoder in its own file
Originally committed as revision 9071 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-19 14:40:02 +00:00
Aurelien Jacobs
5acd8d9e77 allows to disable jpegls decoder
Originally committed as revision 9070 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-19 14:31:57 +00:00
Loren Merritt
98ef8c324c change brute force search to min-heap. 3.6x faster generate_len_table, 8% faster ffvhuff encoding.
Originally committed as revision 9069 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-19 02:32:59 +00:00
Aurelien Jacobs
d2f43ca998 move mjpega_dump_header bitstream filter in its own file
Originally committed as revision 9068 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-19 00:53:41 +00:00
Aurelien Jacobs
ab8072a6a2 move imx_dump_header bitstream filter in its own file
Originally committed as revision 9067 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-19 00:44:41 +00:00
Aurelien Jacobs
8bf63e1c80 move dump_extradata bitstream filter in its own file
Originally committed as revision 9066 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-19 00:35:27 +00:00
Aurelien Jacobs
5209c83607 move remove_extradata bitstream filter in its own file
Originally committed as revision 9065 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-19 00:32:11 +00:00
Aurelien Jacobs
cd7105e6a0 move noise bitstream filter in its own file
Originally committed as revision 9064 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-19 00:30:15 +00:00
Aurelien Jacobs
a975d9e288 move mp3_header_compress bitstream filter in its own file
Originally committed as revision 9063 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-19 00:27:43 +00:00
Aurelien Jacobs
b57eed12da move mp3_header_decompress bitstream filter in its own file
Originally committed as revision 9062 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-19 00:24:34 +00:00
Aurelien Jacobs
677fe2e226 add proper prefix to extern mpeg audio data tables
Originally committed as revision 9061 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-19 00:13:35 +00:00
Aurelien Jacobs
4991c0516d move some common mpeg audio tables from mpegaudiodectab.h to mpegaudiodata.c
Originally committed as revision 9060 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-19 00:06:02 +00:00
Aurelien Jacobs
63ab52b7ec move the mjpeg_encoder struct from mpegvideo.c to mjpegenc.c
Originally committed as revision 9059 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-18 22:58:01 +00:00
Aurelien Jacobs
44301eaa55 add a proper prefix to all mjpeg encoder exported functions
Originally committed as revision 9058 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-18 22:54:54 +00:00
Aurelien Jacobs
d9c9259f89 split ljpeg encoder out of mjpeg.c
Originally committed as revision 9057 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-18 22:42:49 +00:00
Benjamin Larsson
56fd7cc584 Better error reporting.
Originally committed as revision 9056 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-18 10:06:07 +00:00
Loren Merritt
bf1a5a46d6 cosmetics: macrofy duplicate code in huffyuv
Originally committed as revision 9055 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-18 08:58:30 +00:00
Loren Merritt
390f9f3127 r3938 broke 2pass huffyuv (not that anyone uses it)
Originally committed as revision 9054 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-18 08:56:46 +00:00
Zuxy Meng
038bfcf9d6 3DNow! and SSSE3 optimization to QNS DSP functions; use pmulhrw/pmulhrsw instead of pmulhw
Originally committed as revision 9053 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-18 08:18:56 +00:00
Reimar Döffinger
2c32b173d9 Move attribute_unused to variable declarations in macros instead of
introducing a useless extra variable.

Originally committed as revision 9052 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-17 20:18:46 +00:00
Aurelien Jacobs
670a6b133b remove libdts decoder, we have a native dts decoder
Originally committed as revision 9051 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-17 17:04:00 +00:00
Aurelien Jacobs
944721c160 add proper prefix to new mjpeg extern func/var
Originally committed as revision 9049 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-17 16:45:55 +00:00
Aurelien Jacobs
4922a5b0ee split mjpeg.c into an encoder and a decoder file
Originally committed as revision 9048 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-17 16:29:11 +00:00
Guillaume Poirier
88bcb6c23f use macro Use DECLARE_ALIGNED_16 to align stack-allocated variables
instead of compiler-dependent  __attribute__((aligned(16)))
Origiginal thread:
Date: May 17, 2007 12:30 AM
Subject: [PATCH] Use DECLARE_ALIGNED_16 in libavcodec/ppc/

Originally committed as revision 9047 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-17 14:14:53 +00:00
Benjamin Larsson
78a010fb00 Only compile fft and mdct when needed.
Initial patch by Benjamin Larsson.

Originally committed as revision 9046 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-17 12:26:04 +00:00
Benjamin Larsson
c17a53b71f Use FFABS instead of abs.
Originally committed as revision 9045 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-17 11:03:43 +00:00
Benjamin Larsson
54353abef2 Remove lots of unused commented code. (Cleanup)
Originally committed as revision 9041 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-17 07:50:08 +00:00
Benjamin Larsson
3bcb658c36 Change default 1 pass blocksize to 64x64.
Originally committed as revision 9040 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-17 07:47:02 +00:00
Aurelien Jacobs
5b0b7054b4 better separation of vp3dsp functions from dsputil_mmx.c
Originally committed as revision 9039 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-16 23:23:45 +00:00
Denis Fortin
b8a9974544 printf --> av_log, patch by Denis Fortin, fortin nerim net
Originally committed as revision 9038 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-16 12:57:27 +00:00
Diego Biurrun
605315248c Remove extern C declarations for C++.
FFmpeg is pure C and not all public headers have the declarations.

Originally committed as revision 9037 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-16 12:25:54 +00:00
Sergey Vlasov
31d89e1158 DTS decoding was broken for every speaker configuration except 5.1.
patch by Sergey Vlasov, vsu altlinux org

Originally committed as revision 9036 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-16 10:50:18 +00:00
Ronald S. Bultje
b550bfaa61 Add libavcodec to compiler include flags in order to simplify header
include paths in the source files.
mostly from a patch by Ronald S. Bultje, rbultje ronald.bitfreak net

Originally committed as revision 9034 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-16 09:51:45 +00:00
Reimar Döffinger
c6bcbb2cd3 Use DECLARE_ALIGNED to ease porting
Originally committed as revision 9031 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-15 20:47:55 +00:00
Michael Niedermayer
a1f6643d62 dont write over the end of ref_cache
Originally committed as revision 9026 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-14 23:22:02 +00:00
Panagiotis Issaris
9b5dc86746 Make vp3dsp*.c compilation optional.
Originally committed as revision 9025 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-14 14:28:13 +00:00
Reimar Döffinger
e36d79c837 Change some leftover __attribute__((unused)) and __attribute__((used)) to
attribute_unused and attribute_used respectively to ease compiling on non-gcc.

Originally committed as revision 9024 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-14 14:07:50 +00:00
Aurelien Jacobs
37c26ae9ff remove some unused mjpeg encoding variables
(they were always set to a constant value)

Originally committed as revision 9023 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-14 11:53:27 +00:00
Aurelien Jacobs
7fcf41091e jpegls encoder does not call this function, so remove useless tests
Originally committed as revision 9022 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-13 23:22:05 +00:00
Aurelien Jacobs
6ba04c2b03 split jpeg_ls into jpeglsdec, jpeglsenc and jpegls
Originally committed as revision 9021 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-13 23:16:56 +00:00
Diego Biurrun
1adf2e564a Use TARGET_ARMV6 variable instead of HAVE_ARMV6 for consistency.
Originally committed as revision 9020 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-13 22:15:52 +00:00
Marc Hoffman
27885fad3e Blackfin DSP utilities: add DEFUN_END
DEFUN_END macro adds the size information to the symbol
table. This is introduces no functionnal change, it's only meant to simplify
e.g. debugging
Patch by Marc Hoffman %mmh A pleasantst P com%
Original thread:
Date: May 5, 2007 12:26 PM
Subject: [FFmpeg-devel] PATCH Blackfin DSP utilities, DEFUN_END added

Originally committed as revision 9019 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-13 20:19:22 +00:00
Zuxy Meng
25e4f8aaee Faster SSE FFT/MDCT, patch by Zuxy Meng %zuxy P meng A gmail P com%
unrolls some loops, utilizing all 8 xmm registers. fft-test
shows ~10% speed up in (I)FFT and ~8% speed up in (I)MDCT on Dothan

Originally committed as revision 9017 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-13 16:32:32 +00:00
Alex Beregszaszi
43c7c7c7cf use DECLARE_ALIGNED from mem.h (which is included through common.h)
Originally committed as revision 9015 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-13 14:01:15 +00:00
Aurelien Jacobs
f8b2417eba cosmetics: indent
Originally committed as revision 9014 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-13 00:26:21 +00:00
Aurelien Jacobs
70724cba75 replace some #ifdef CONFIG_* by if(ENABLE_*)
Originally committed as revision 9013 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-13 00:24:37 +00:00
Aurelien Jacobs
6d8bfb52f0 cosmetics: indentation
Originally committed as revision 9012 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-12 23:43:23 +00:00
Aurelien Jacobs
f6993c9fa1 make compilation of mjpeg.c optional
Originally committed as revision 9011 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-12 23:42:07 +00:00
Jason Millard
cd61e40781 allow to enable or disable every bitstream filters individually
Original patch by Jason Millard   jsm174 _at_ gmail
Date: On Fri, 11 May 2007 11:14:01 -0400
Subject: [FFmpeg-devel] enable/disable bitstream filters?

Originally committed as revision 9010 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-12 23:33:53 +00:00
Aurelien Jacobs
cf32975222 jpegls never call this code, so those tests are useless
Originally committed as revision 9009 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-12 22:50:12 +00:00
Benjamin Larsson
d2bc04738b Added support for instances where linesize[0] is negative.
Based on patch by Jason Askew, jason dot askew at gmail dot com.

Originally committed as revision 9006 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-12 19:37:26 +00:00
Diego Biurrun
7f58baa8ca Remove redundant extern declaration of j_rev_dct that is already
present in the #included header file dsputil.h.

Originally committed as revision 9005 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-12 10:53:33 +00:00
Diego Biurrun
7f4f3e169f cosmetics: Group all test targets together.
Originally committed as revision 9004 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-12 10:43:45 +00:00
Loren Merritt
ff506a906e sse2 & ssse3 versions of dct_quantize.
core2: mmx2=154 sse2=73 ssse3=66 (cycles)
k8: mmx2=179 sse2=149
p4: mmx2=284 sse2=194

Originally committed as revision 9003 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-12 05:55:09 +00:00
Loren Merritt
1edbfe1994 factor sum_abs_dctelem out of dct_sad, and simd it.
sum_abs_dctelem_* alone:
core2: c=186 mmx2=39 sse2=21 ssse3=13 (cycles)
k8: c=163 mmx2=33 sse2=31
p4: c=370 mmx2=60 sse2=60
 dct_sad including sum_abs_dctelem_*:
core2: c=405 mmx2=258 sse2=240 ssse3=232
k8: c=624 mmx2=394 sse2=392
p4: c=849 mmx2=556 sse2=556

Originally committed as revision 9001 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-12 02:41:25 +00:00
Loren Merritt
561f940c03 sse2 & ssse3 versions of hadamard. unroll and inline diff_pixels.
core2: before mmx2=193 cycles. after mmx2=174 sse2=122 ssse3=115 (cycles).
k8: before mmx2=205. after mmx2=184 sse2=180.
p4: before mmx2=342. after mmx2=314 sse2=309.

Originally committed as revision 9000 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-12 01:16:06 +00:00
Loren Merritt
5b67307a68 fix a crash with svq1 + sse2.
EMU_EDGE broke memory alignment when the desired alignment is >32 bytes.

Originally committed as revision 8999 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-12 00:31:48 +00:00
Aurelien Jacobs
9ac2e7971b rename pnm.c to pnmenc.c and pnm_common.c to pnm.c
Originally committed as revision 8996 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-11 09:28:07 +00:00
Diego Biurrun
a2e4c0ddae Remove duplicate #includes, avcodec.h #includes common.h.
Originally committed as revision 8995 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-11 07:21:14 +00:00
Diego Biurrun
9636c4de32 Remove unused variable.
Originally committed as revision 8994 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-11 07:07:00 +00:00
Loren Merritt
ba53071acb 10l, r8991 broke mmx1 sad
Originally committed as revision 8993 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-11 03:29:06 +00:00
Loren Merritt
72946825fa sse2 version of fullpel sad.
16% faster on core2, 5% faster on p4. 10% slower (and thus disabled) on k8.

Originally committed as revision 8992 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-11 01:11:45 +00:00
Loren Merritt
164d75ebf3 tweak mmx2 sad.
40% faster on core2, 18% faster on k8, 5% faster on p4.

Originally committed as revision 8991 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-11 00:45:07 +00:00
Aurelien Jacobs
1b52bec7f7 make compilation of pnm.c optional
Originally committed as revision 8989 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-10 23:16:56 +00:00
Aurelien Jacobs
426a189b77 move pnm parser in its own file
Originally committed as revision 8988 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-10 23:03:14 +00:00
Aurelien Jacobs
b16560a389 move mjpeg parser in its own file
Originally committed as revision 8987 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-10 22:37:36 +00:00
Aurelien Jacobs
87acdd5391 cosmetics: reindent
Originally committed as revision 8986 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-10 22:28:23 +00:00
Aurelien Jacobs
26b4fe821c split h264.c to move parser in its own file
Originally committed as revision 8985 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-10 22:26:44 +00:00
Loren Merritt
eca3810e31 tweak mmx2 sad.
6% faster on core2 and k8, no change on p4.

Originally committed as revision 8984 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-10 22:24:19 +00:00
Ramiro Polla
b3a257af27 Revert r8979 (Ugly fix for r8963)
Originally committed as revision 8983 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-10 18:44:58 +00:00
Aurelien Jacobs
07c55d8ea3 rename vorbis.c to vorbis_dec.c and vorbis_common.c to vorbis.c
Originally committed as revision 8981 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-10 15:24:01 +00:00
Aurelien Jacobs
f6bd6eeffd loosen vorbis_enc.c dependencies by spliting vorbis.c
Originally committed as revision 8980 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-10 15:17:17 +00:00
Ramiro Polla
dccabd4c68 Fix r8963
Originally committed as revision 8979 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-10 15:00:09 +00:00
Panagiotis Issaris
7a0daaf18a Fix Vorbis encoder Xiph dependency by making sure the references to
ff_split_xiph_headers() are there.

Originally committed as revision 8978 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-10 14:36:36 +00:00
Benoit Fouet
35e7f087ba add AVERROR_NOENT
Originally committed as revision 8976 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-10 13:24:05 +00:00
Aurelien Jacobs
1502555362 disable reference to msmpeg4 and wmv2 code when those codecs are not compiled in
Originally committed as revision 8975 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-10 13:11:36 +00:00
Aurelien Jacobs
82dc348bd1 those tables don't need to be extern
Originally committed as revision 8972 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-10 10:14:58 +00:00
Aurelien Jacobs
5ecb0677a2 use header instead of copying table declarations
Originally committed as revision 8970 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-10 10:12:02 +00:00
Aurelien Jacobs
42ef2dbc77 split msmpeg4 data to easily share some of it with vc1.c
Originally committed as revision 8969 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-10 10:03:16 +00:00
Aurelien Jacobs
1d557d3577 add missing rules for wmv2 compilation
Originally committed as revision 8968 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-10 09:26:14 +00:00
Diego Biurrun
2029f312e8 Remove redundant #inclusion of common.h, avcodec.h already #includes it.
Originally committed as revision 8967 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-10 09:00:44 +00:00
Loren Merritt
7c3a9fe2a3 sse2 version of fdct_col.
k8: 72->61 cycles, core2: 51->26 cycles.

Originally committed as revision 8966 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-10 03:13:41 +00:00
Ramiro Polla
a4461664cd Simplify ptr[0]; ptr++; to *ptr++
Originally committed as revision 8965 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-09 23:32:29 +00:00
Ramiro Polla
5a2f421a43 Use bytestream
Originally committed as revision 8964 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-09 23:21:07 +00:00
Ramiro Polla
a32c2ce423 Use AV_XX16 macros
Originally committed as revision 8963 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-09 23:15:19 +00:00
Aurelien Jacobs
df495dbd9a move ff_mpeg4_find_frame_end() from h263dec.c to mpeg4video_parser.c
now h263dec depends on mpeg4video_parser
this fixes compilation when h263 decoder is disabled

Originally committed as revision 8962 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-09 23:13:43 +00:00
Ramiro Polla
7d5aaa049c Factorize usum
Originally committed as revision 8960 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-09 23:08:01 +00:00
Ramiro Polla
de8e2c1d22 Use 1 array with double the size instead of 2 arrays with normal size
Eliminates need for concatenation and adds proper fix for FIXME

Originally committed as revision 8958 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-09 22:24:23 +00:00
Ramiro Polla
a5cb1f13ba Add bias instead of -32 or 0, as is done in g.722.1
Originally committed as revision 8957 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-09 22:00:08 +00:00
Ramiro Polla
39938968e8 Indentation for previous patch
Originally committed as revision 8956 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-09 21:57:50 +00:00
Ramiro Polla
6b01997012 Add another tmpbias variable, as bias' value will be used later
Originally committed as revision 8955 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-09 21:56:22 +00:00
Ramiro Polla
cdb59552df Fix logic for return value of init_vlc
Originally committed as revision 8954 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-09 21:50:01 +00:00
Diego Biurrun
686dcc1167 Replace general CONFIG_ENCODERS by more fine-grained CONFIG_WMV2_ENCODER.
Originally committed as revision 8952 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-09 18:23:20 +00:00
Kostya Shishkov
a5c14fcaef Add ff_ prefix to (externally) visible variables
Originally committed as revision 8951 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-09 16:59:46 +00:00
Kostya Shishkov
2a2072fe1e Use correct dequantizer value
Originally committed as revision 8950 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-09 11:30:30 +00:00
Diego Biurrun
4a815a7f64 Allow conditional compilation of H.263-related decoders.
Originally committed as revision 8949 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-09 09:26:06 +00:00
Loren Merritt
5adf43e47e cosmetics: remove code duplication in hadamard8_diff_mmx
Originally committed as revision 8946 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-09 01:46:33 +00:00
Aurelien Jacobs
c5a60225c7 move cavs parser in it's own file
Originally committed as revision 8945 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-09 00:03:17 +00:00
Aurelien Jacobs
b88e211426 move defines and enums out of cavsdata.h
Originally committed as revision 8944 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-08 23:58:35 +00:00
Aurelien Jacobs
1fddeecd1d remove no more useful includes
Originally committed as revision 8943 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-08 23:30:42 +00:00
Aurelien Jacobs
679c2294cb cosmetics: rename for consistency after previous aac and ac3 parsers move
Originally committed as revision 8942 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-08 23:29:07 +00:00
Aurelien Jacobs
99ff31dc75 move aac and ac3 parsers in their own files
Originally committed as revision 8941 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-08 23:25:31 +00:00
Aurelien Jacobs
e0fe500f01 avoid multiple inclusion of ac3.h
Originally committed as revision 8940 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-08 23:24:22 +00:00
Loren Merritt
bba5293bb7 cosmetics: remove duplicate transpose macro
Originally committed as revision 8939 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-08 17:55:56 +00:00
Diego Biurrun
c33d98141d Move H.263 parser to its own file.
Originally committed as revision 8934 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-08 08:52:38 +00:00
Ivo van Poorten
929baad070 add doxygen comments
Originally committed as revision 8930 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-07 20:07:35 +00:00
Aurelien Jacobs
ba4816a0a9 cosmetics: fix inconsistent indentation
Originally committed as revision 8929 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-07 15:44:42 +00:00
Aurelien Jacobs
c0f716b86f fix display of theora videos with visible size smaller than encoded size
Originally committed as revision 8928 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-07 15:43:01 +00:00
Ivo van Poorten
1ca779e7eb Renderware TXD decoder
Originally committed as revision 8926 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-07 13:29:02 +00:00
Ivo van Poorten
c67b89c534 generic S3TC DXT1 and DXT3 decoding functions
Originally committed as revision 8925 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-07 13:15:24 +00:00
Vitor Sessak
f025588bb6 RoQ audio encoder
patch by Vitor vitor1001 gmail com

Originally committed as revision 8922 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-07 08:55:27 +00:00
Aurelien Jacobs
c53d2d9042 make some parser parameters const to avoid casting const to non-const
Originally committed as revision 8921 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-07 00:47:03 +00:00
Michael Niedermayer
beac8235b9 fix possibly exploitable stack overflow with num_sprite_warping_points (found by reimar)
Originally committed as revision 8919 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-06 15:25:04 +00:00
Kostya Shishkov
660e83f815 Add prefix to some variables for consistency
Originally committed as revision 8916 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-06 11:40:42 +00:00
Kostya Shishkov
986a865fc0 Move VC-1 data to .c file
Originally committed as revision 8915 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-06 11:23:12 +00:00
Kostya Shishkov
de53b04b53 Make vc1_parser.c compilable without special defines
Originally committed as revision 8914 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-06 11:01:25 +00:00
Kostya Shishkov
22c3029da1 Move variables to vc1data.h
Originally committed as revision 8913 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-06 10:58:32 +00:00
Loren Merritt
4b8419aa7f simplify
Originally committed as revision 8911 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-06 09:17:50 +00:00
Diego Biurrun
44c560003a Move dvdsub parser to its own file.
Originally committed as revision 8910 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-06 09:12:10 +00:00
Diego Biurrun
027f43f095 Rename dvbsubdec_parser.c to dvbsub_parser.c.
Originally committed as revision 8909 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-06 08:41:24 +00:00
Loren Merritt
cd66ddb6b0 simplify
Originally committed as revision 8908 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-06 06:46:20 +00:00
Loren Merritt
6ec4818525 faster and simpler vp6 bilinear mc
Originally committed as revision 8907 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-06 06:43:33 +00:00
Diego Biurrun
0d02cacda9 Move dvbsubdec parser to its own file.
Originally committed as revision 8906 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-06 02:11:31 +00:00
Diego Biurrun
bbb7d4c76b Remove superfluous #includes, parser.h now includes its prerequisites.
Originally committed as revision 8905 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-05 21:11:22 +00:00
Aurelien Jacobs
4c5ea91ca8 ff_frame_rate_tab is now declared in mpegvideo.h
Originally committed as revision 8904 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-05 18:32:19 +00:00
Aurelien Jacobs
20c11e4cee avoid a clash between two definitions of SEQ_START_CODE
Originally committed as revision 8903 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-05 18:31:34 +00:00
Aurelien Jacobs
95dca03f77 add a ff_ prefix to the now exported mpeg1_find_frame_end() function
Originally committed as revision 8902 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-05 18:25:02 +00:00
Aurelien Jacobs
7f50d4ac51 move mpegvideo_parser in it's own file
Originally committed as revision 8901 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-05 18:18:51 +00:00
Aurelien Jacobs
89550b2d68 avoid a 'discards qualifiers from pointer' warning
Originally committed as revision 8900 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-05 18:17:03 +00:00
Aurelien Jacobs
0cb4172803 move mpegaudio_parser in it's own file
Originally committed as revision 8899 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-05 18:08:16 +00:00
Aurelien Jacobs
d2e911fac8 move mpeg4video_parser in it's own file
Originally committed as revision 8898 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-05 17:59:37 +00:00
Aurelien Jacobs
41fe055242 parser.h uses AVCodecContext so it needs to include avcodec.h
Originally committed as revision 8897 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-05 17:56:47 +00:00
Aurelien Jacobs
75f6cc26ba set CODEC_CAP_DR1 for vp5 and vp6 decoders
Originally committed as revision 8896 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-05 15:21:57 +00:00
Diego Biurrun
442fc0e881 parser.c is compiled unconditionally, there is no need to compile it
conditional to CONFIG_AC3_PARSER.

Originally committed as revision 8895 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-05 12:24:51 +00:00
Diego Biurrun
5a6a6cc7dc Fix multiple "‘inline/static’ is not at beginning of declaration" warnings.
Originally committed as revision 8894 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-05 12:18:14 +00:00
Diego Biurrun
58170ffdf7 Fix warning:
In file included from mjpeg.c:903:
jpeg_ls.c:190: warning: ‘inline’ is not at beginning of declaration

Originally committed as revision 8893 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-05 11:14:03 +00:00
Diego Biurrun
ab8a0d04e9 parser.c is compiled unconditionally, there is no need to compile it
conditional to CONFIG_CAVSVIDEO_PARSER.

Originally committed as revision 8892 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-05 09:15:03 +00:00
Diego Biurrun
3883a99b7d Move H.261 parser to its own file.
Originally committed as revision 8888 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-04 19:38:10 +00:00
Kostya Shishkov
58683d2743 100l to myself. Do not include stuff unneeded by parser
Originally committed as revision 8886 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-04 12:31:40 +00:00
Kostya Shishkov
f9eada03db Typo
Originally committed as revision 8885 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-04 03:34:38 +00:00
Kostya Shishkov
7d9a6a0fc3 Move some declarations into header
Based on patch by Denis Fortin
(cons (car '(fortin NOSPAM)) '(nerim net))

Originally committed as revision 8884 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-04 03:34:21 +00:00
Diego Biurrun
b0caf888d2 Rename oggvorbis decoder to libvorbis.
Originally committed as revision 8883 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-04 00:18:54 +00:00
Diego Biurrun
5982ae94ee Move VC1 parser to its own file.
Originally committed as revision 8882 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-04 00:09:33 +00:00
Diego Biurrun
98c98e04cc Move dca parser to its own file.
Originally committed as revision 8881 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-03 23:50:24 +00:00
Diego Biurrun
f5a756ef26 Give libamr decoders/encoders a lib prefix in the name.
Originally committed as revision 8880 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-03 10:38:03 +00:00
Diego Biurrun
23aee96097 Rename dts_decoder to libdts_decoder.
Originally committed as revision 8879 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-03 09:35:54 +00:00
Diego Biurrun
e24465962d Remove unused variable.
Originally committed as revision 8878 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-02 23:11:23 +00:00
Justin Ruggles
6369e6ebc3 cosmetics: indention after last commit
Originally committed as revision 8876 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-02 20:42:44 +00:00
Justin Ruggles
c31a76e4ef use downmixing coefficients in dca decoder.
reference:
Subject: [Ffmpeg-devel] [PATCH] DTS multichannel
Date: Wed, 25 Apr 2007 16:25:18 -0400

Originally committed as revision 8875 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-02 20:33:32 +00:00
Justin Ruggles
cc82662662 enable multichannel output in dca decoder.
reference:
Subject: [Ffmpeg-devel] [PATCH] DTS multichannel
Date: Wed, 25 Apr 2007 16:25:18 -0400

Originally committed as revision 8874 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-02 20:31:32 +00:00
Kostya Shishkov
c95d406d32 1000l to myself - DCA decoder should not be registered in video codecs section
Originally committed as revision 8873 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-02 16:43:29 +00:00
Nicolas George
4f2c36ac4f add the possibility to choose aac profile
patch by Nicolas George nicolas george chez normalesup org
original thread: [Ffmpeg-devel] [PATCH] FAAC profile selection
date: 04/27/2007 08:11 PM

Originally committed as revision 8872 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-02 13:49:08 +00:00
Diego Biurrun
aa244b695e cosmetics: Group all external library decoders and encoders together.
Originally committed as revision 8868 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-02 09:37:47 +00:00
Mark Cox
671adb1742 patch so that the deprecated items show up correctly
when building doxygen docs
patch by mark cox melbournemark plus ffmpeg minus devel chez gmail dot com

Originally committed as revision 8866 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-02 09:13:47 +00:00
Heikki Lindholm
29644cb504 make mpeg decoder handle mid-stream changes in resolution
patch by Heikki Lindholm holindho at cs helsinki fi
original thread: [Ffmpeg-devel] [PATCH] fix mid-stream resolution changes
date: Sat Mar 31 13:52:50 CEST 2007

Originally committed as revision 8865 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-02 08:18:28 +00:00
Denis Fortin
f52a02be35 add some comments
patch by Denis Fortin \ fortin  nerim net /

Originally committed as revision 8864 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-02 07:26:07 +00:00
Mean
dcc3a30b58 prevent going out of the buffer if the nal size does not fit in the buffer.
Patch by Mean % fixounet A free P fr %
Original thread:
Date: Apr 29, 2007 2:00 PM
Subject: Re: [Ffmpeg-devel] [patch] h264.c, dont go beyond buffer in h264_decode_nal_unit

Originally committed as revision 8858 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-29 23:18:39 +00:00
Alex Beregszaszi
07d84a4e9f check for channels<=0 and print a reasonable error message
Originally committed as revision 8857 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-29 13:25:32 +00:00
Ivo van Poorten
b46d68c634 add V.Flash PTX decoder
Originally committed as revision 8856 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-29 09:37:07 +00:00
Michael Niedermayer
9f1473b304 fix exploitable buffer overflow
Originally committed as revision 8850 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-27 12:41:55 +00:00
Diego Biurrun
e69364b700 Mark code parts that cannot work on AMD64 due to broken relocations as such.
This allows building shared libraries on AMD64 again.
based on a patch by Diego 'Flameeyes' Pettenò and suggestions by Michael
original thread:
Date: Wed, 18 Apr 2007 11:26:12 +0200
Subject: [Ffmpeg-devel] [PATCH] (try 2) Build shared libraries on AMD64 again

Originally committed as revision 8849 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-27 09:32:31 +00:00
Diego Biurrun
784b7f77c8 10l: Rename missed occurrences of CONFIG_EBX_AVAILABLE to HAVE_EBX_AVAILABLE.
Originally committed as revision 8821 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-26 00:32:31 +00:00
Aurelien Jacobs
cd53ae3a65 cosmetics: align
Originally committed as revision 8817 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-25 22:16:50 +00:00
Aurelien Jacobs
7adb10bedf move ac3 tables from a .h to a .c
Originally committed as revision 8816 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-25 22:12:51 +00:00
Diego Biurrun
9cfacd527c cosmetics: Put AMR entry in alphabetical order with all external libraries.
Originally committed as revision 8814 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-25 19:13:09 +00:00
Diego Biurrun
73508bc6d3 Remove hackish support for the non-free fixed-point AMR-NB reference code.
Originally committed as revision 8813 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-25 19:12:04 +00:00
Kostya Shishkov
c5d1349242 1000l to myself as used VLC indexes were totally wrong
Originally committed as revision 8800 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-24 17:31:39 +00:00
Marc Hoffman
73a47fb297 Blackfin is a strictly aligned processor.
Patch by Marc Hoffman  mmh _at_ pleasantst.com
Subject: [Ffmpeg-devel] PATCH Blackfin UNALIGNED_STORES_ARE_BAD in bitstream.h
Date: Tue, 17 Apr 2007 06:12:02 -0400

Originally committed as revision 8777 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-21 23:05:30 +00:00
Mark Cox
94cebc5641 simplify, patch by Mark Cox, melbournemark plus ffmpeg minus devel gmail com
Originally committed as revision 8775 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-21 18:47:30 +00:00
Diego Biurrun
7f3f0dc221 Remove unused variable.
Originally committed as revision 8769 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-21 15:55:45 +00:00
Alex Beregszaszi
11fde35d7c compile rawvideo decoder on request
Originally committed as revision 8767 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-21 00:47:55 +00:00
Alex Beregszaszi
4ea385bbbc compile mjpeg parser if requested
Originally committed as revision 8766 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-21 00:36:53 +00:00
Alex Beregszaszi
ddec67e8b1 ac3 parser requires tables from ac3tab.h, which are compiled into ac3.c
Originally committed as revision 8765 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-21 00:29:01 +00:00
Alex Beregszaszi
a7b91ac6de cosmetics: remove my email address
Originally committed as revision 8764 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-20 23:59:22 +00:00
Diego Biurrun
3154f6dbf9 typo
Originally committed as revision 8762 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-20 15:48:26 +00:00
Måns Rullgård
8520b6345c add .type foo, %function directives for the benefit of debuggers
based on patch by Matthieu Castet, castet ! matthieu $ free ! fr

Originally committed as revision 8761 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-19 20:09:43 +00:00
Reimar Döffinger
a1ce61108b Fix parts missed in clip -> av_clip rename
Originally committed as revision 8760 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-19 16:12:06 +00:00
Benjamin Larsson
b8c4a51598 Deobfuscade decodeTonalComponents calling logic.
Originally committed as revision 8757 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-18 19:58:20 +00:00
Benjamin Larsson
1e8391777d Version bump, atrac3 added.
Originally committed as revision 8756 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-18 19:49:47 +00:00
Ramiro Polla
a31978e97c Simplify, patch by Ramiro Polla.
ramiro ta lisha tod ufsc tod br

Originally committed as revision 8754 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-18 19:47:22 +00:00
Ramiro Polla
4620ce8bb8 Remove unused vars, patch by Ramiro Polla.
ramiro ta lisha tod ufsc tod br

Originally committed as revision 8753 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-18 19:46:42 +00:00
Ramiro Polla
d9fd5461aa Remove unused vars, patch by Ramiro Polla.
ramiro ta lisha tod ufsc tod br

Originally committed as revision 8752 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-18 19:44:54 +00:00
Ramiro Polla
b707cbb3e8 Cosmetics, patch by Ramiro Polla.
ramiro ta lisha tod ufsc tod br

Originally committed as revision 8751 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-18 19:44:04 +00:00
Kostya Shishkov
a61456152d Pullback should be performed on scaled motion vectors in B-frames
Originally committed as revision 8750 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-18 17:36:52 +00:00
Diego Biurrun
9a79101f1e Remove the build instructions from the doxygen comments, they are duplicated
from the user level documentation and already partially outdated.

Originally committed as revision 8749 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-18 09:34:08 +00:00
Diego Biurrun
ee4c54a313 Doxygen comment wording/spelling
Originally committed as revision 8748 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-18 09:29:18 +00:00
Benjamin Larsson
10e26bc782 Atrac3 decoder.
Originally committed as revision 8747 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-17 20:53:39 +00:00
Diego Biurrun
98d0205145 Move AC3 header parsing code together with the rest of the AC3 parsing code.
Originally committed as revision 8739 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-15 12:32:36 +00:00
Michael Niedermayer
d3255f6fd8 fix mjpeg.mov
Originally committed as revision 8738 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-15 08:53:03 +00:00
Michael Niedermayer
fe2ad119e9 fix playback of angels_480-mjpegcompress.avi
Originally committed as revision 8737 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-14 22:58:23 +00:00
Michael Niedermayer
6b5e72c994 fix playback of odd_height.mov
this isnt the most beautifull solution but at least it works independant of the
random height in mov and it doesnt add any secholes

Originally committed as revision 8736 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-14 22:22:34 +00:00
Michael Niedermayer
6c3dba5760 correct another possible buffer overflow where interlaced would
get stuck to 1 but then width/height would change and interlaced
wouldnt be reset ...

Originally committed as revision 8735 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-14 22:05:12 +00:00
Michael Niedermayer
c28baf069d fix tiff regression test (bitexact flag was ignoredwhich caused the
LAVC version to be in the file and thus breaking with the last change of that)

Originally committed as revision 8734 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-14 18:58:26 +00:00
Baptiste Coudurier
1106e4abe4 remove MpegEncContext, patch by baptiste
approved by me already but apparently forgotten

Originally committed as revision 8733 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-14 18:42:50 +00:00
Diego Biurrun
f9be0cb800 Update preprocessor directive comments to take recent changes to this file
into account.

Originally committed as revision 8731 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-14 09:59:57 +00:00
Diego Biurrun
24ba15b16e cosmetics: Fix indentation.
Originally committed as revision 8726 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-13 12:02:54 +00:00
Joakim Plate
a74008a4c3 timestamps generation improvement when parsing avi
patch by Joakim \ elupus chez ecce dot se /
original thread:
date: 03/19/2007 01:47 AM
subject: [Ffmpeg-devel] [RFC] Improvement for the odd timestamp generation when parser is in use.

Originally committed as revision 8725 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-13 07:50:04 +00:00
Benjamin Larsson
940d8f7614 As usual Real actually took something existing and rebranded it.
Cook looks very much like G.722.1.

Originally committed as revision 8723 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-12 15:37:23 +00:00
Diego Biurrun
79f20349ce Add complete instructions for the brave people wishing to fiddle with the
reference encoder/decoder source.

Originally committed as revision 8720 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-12 11:12:43 +00:00
Stanislav Brabec
91024272cb Replace hackish support for amr-nb and amr-wb. Instead of including the source
of the reference implementation it is possible to use proper libraries now.
patch by Stanislav Brabec, sbrabec suse cz, changes and bug fixes by me

Originally committed as revision 8717 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-12 10:59:52 +00:00
Diego Biurrun
0c8351b80f Update download URL with a link to a working version.
Originally committed as revision 8716 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-12 10:27:40 +00:00
Limin Wang
3b77e48f0a add a check before find_frame_end call
Patch by Limin Wang % lance P lmwang A gmail P com %
Original thread:
date: 04/09/2007 03:54 PM
subject: [Ffmpeg-devel] [PATCH] fix segment fault in h264_parse if buf_size is zero

Originally committed as revision 8714 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-11 14:04:47 +00:00
Benjamin Larsson
d64b88d440 Per reference swf/flv adpcm encoder.
Originally committed as revision 8713 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-11 13:10:13 +00:00
Diego Biurrun
3011c6f62e cosmetics: indentation
Originally committed as revision 8712 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-11 06:59:09 +00:00
Luca Barbato
1f1aadc37c ssd_int8_vs_int16_altivec, not completely benchmarkedwith svq1
Originally committed as revision 8706 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-10 09:47:37 +00:00
Ivo van Poorten
6db140ddb4 cosmetics after last commit
Originally committed as revision 8705 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-10 09:16:35 +00:00
Ivo van Poorten
201df5a19f Add support for grayscale images with arbitrary maxvals.
The image data is rescaled to the nearest pix_fmt it will fit in (gray8 or
gray16). Conversion is done inside the codec in order to avoid the need
for 14 (or 65534) new pix_fmt's.

Originally committed as revision 8704 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-10 09:15:54 +00:00
Marco Gerards
e457023a95 Fix an underflow/overflow that was causing some crackles when playing
certain THP files.
patch by Marco Gerards, mgerards xs4all nl

Originally committed as revision 8703 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-10 08:18:04 +00:00
Kostya Shishkov
44942d52b6 Set C predictor to zero if unavailable (should fix B-frame border artifacts)
Originally committed as revision 8702 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-10 05:31:22 +00:00
Michael Niedermayer
c4a7b86100 superflouos ()
Originally committed as revision 8701 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-09 22:25:27 +00:00
Michael Niedermayer
0ddfb84d6d remove code_prefix variable, no speed change
Originally committed as revision 8700 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-09 22:21:49 +00:00
Michael Niedermayer
adf6640c8c simplify
Originally committed as revision 8699 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-09 22:18:09 +00:00
Reinhard Nissl
ad1ea1f155 When dst_length == 0 bit_length has to be 0, too, but the current code still
calls decode_rbsp_trailing() and therefore bit_length might get negative.
Although the remaining code is able to handle a negative bit_length, avoid
the calculation at all by setting bit_length to 0 for dst_length == 0.
patch by Reinhard Nissl, rnissl gmx de

Originally committed as revision 8690 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-09 14:10:07 +00:00
Reinhard Nissl
6ac9696e77 Remove a NAL unit's trailing zero bytes even when dst_length is 1.
Consider the following byte sequence

    00 00 01 0a 00 00 00 01 09 ...
               ^  ^
               A  B

decode_nal() determines dst_length to be 1 (i. e. the byte between label
A and B above). However, this byte is a trailing zero byte as the spec
says the the current NAL unit is terminated by a byte sequence 00 00 00.

The current code used a loop to decrement dst_length accordingly. But the
loop doesn't start as the loop condition checks for dst_length > 1, which
should read dst_length > 0.
patch by Reinhard Nissl, rnissl gmx de

Originally committed as revision 8689 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-09 13:39:35 +00:00
Reinhard Nissl
ff82e429cb scenario: A properly coded frame is followed by an end of sequence NAL unit,
i.e. the four bytes 00 00 01 0a.
When decode_nal() decodes the end of sequence NAL unit, it returns with
dst_length == 0. The original code leads to a return -1 which discards
the current properly decoded frame.
patch by Reinhard Nissl, rnissl gmx de

Originally committed as revision 8688 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-09 12:55:07 +00:00
Nicholas Tung
e4141433ea Get rid of unnecessary pointer casts.
patch by Nicholas Tung, ntung ntung com

Originally committed as revision 8687 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-08 20:24:16 +00:00
Diego Biurrun
597cbdaf03 Only compile in Theora-specific functions if the Theora decoder has been
enabled.  Also fixes some "defined but not used" warnings in that case.

Originally committed as revision 8685 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-08 18:54:53 +00:00
Diego Biurrun
6f6a3e2acb cosmetics: Move one code block to save an #ifdef in the next commit.
Originally committed as revision 8684 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-08 18:52:03 +00:00
Diego Biurrun
d7455a1c18 Remove #if 0 code.
Originally committed as revision 8683 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-08 18:50:18 +00:00
Diego Biurrun
51cea49ab4 Fix compilation when Theora decoder is disabled, but VP3 is enabled.
Originally committed as revision 8682 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-08 13:42:44 +00:00
Diego Biurrun
0339fab8fc Remove unused variable.
Originally committed as revision 8681 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-08 13:02:25 +00:00
Marco Gerards
90f2a1a03c cosmetics: indentation fix
patch by Marco Gerards, mgerards xs4all nl

Originally committed as revision 8680 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-08 12:05:02 +00:00
Michael Niedermayer
fb12fca35b factorize & 0x0F
Originally committed as revision 8675 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-08 09:44:34 +00:00
Michael Niedermayer
bee4f778ae remove c93_ prefix from static functions in c93.c
Originally committed as revision 8674 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-08 09:31:54 +00:00
Michael Niedermayer
fee9e80550 align vertically
Originally committed as revision 8672 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-07 23:31:30 +00:00
Michael Niedermayer
43769d722a shorter variable names
Originally committed as revision 8671 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-07 23:30:47 +00:00
Michael Niedermayer
bbbd775714 general purpose var should be int
Originally committed as revision 8670 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-07 23:27:11 +00:00
Michael Niedermayer
bce317498b remove redundant comments
Originally committed as revision 8667 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-07 23:18:34 +00:00
Michael Niedermayer
b0094722b2 remove useless debuging av_log()
Originally committed as revision 8666 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-07 23:17:06 +00:00
Michael Niedermayer
dc338d173e indention cleanup
Originally committed as revision 8665 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-07 23:16:05 +00:00
Michael Niedermayer
d7cf44899f use shorter names for the block type enum
Originally committed as revision 8664 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-07 23:10:22 +00:00
Michael Niedermayer
ee77c2c922 cosmetic
Originally committed as revision 8663 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-07 23:02:43 +00:00
Michael Niedermayer
949ed6bb30 use bytestream reader instead of bitstream for THP
5% smaller adpcm.o
20% faster

Originally committed as revision 8657 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-07 22:04:33 +00:00
Anssi Hannula
8e952e4d23 CRYO APC demuxer
patch by Anssi Hannula, anssi.hannula gmail com

Originally committed as revision 8656 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-07 21:34:18 +00:00
Michael Niedermayer
204424a4c7 simplify
Originally committed as revision 8655 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-07 21:30:19 +00:00
Michael Niedermayer
b736a365be prev1/2 -> prev[2]
Originally committed as revision 8654 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-07 21:27:58 +00:00
Michael Niedermayer
11d662666d simplify
Originally committed as revision 8653 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-07 21:22:50 +00:00
Michael Niedermayer
d9ddac2579 general purpose vars should be int
Originally committed as revision 8652 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-07 21:19:36 +00:00
Michael Niedermayer
20f757076e table[index][ch] -> table[ch][index] (might be faster ...)
Originally committed as revision 8651 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-07 21:15:52 +00:00
Nicholas Tung
1e6c67599e Bethsoft VID demuxer and video decoder
patch by Nicholas Tung, ntung ntung com

Originally committed as revision 8649 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-07 20:51:58 +00:00
Ivo van Poorten
e5b5149603 Fix segmentation fault for gray16le to gray conversion.
Originally committed as revision 8648 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-07 19:24:27 +00:00
Nicholas Tung
587d07227e Remove superfluous setting of has_b_frames in codecs without B-frames.
patch by Nicholas Tung, ntung ntung com

Originally committed as revision 8647 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-07 17:37:30 +00:00
Marco Gerards
d1e0d21f94 THP PCM decoder, used on the Nintendo GameCube.
patch by Marco Gerards, mgerards xs4all nl

Originally committed as revision 8646 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-07 16:03:23 +00:00
Michael Niedermayer
efd2afc2ae TIFF-LZW encoding support by (Bartlomiej Wolowiec b.wolowiec students mimuw edu pl)
Originally committed as revision 8645 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-07 15:15:45 +00:00
Michael Niedermayer
f0790c59f4 LZW encoder by Bartlomiej Wolowiec b.wolowiec students mimuw edu pl
Originally committed as revision 8644 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-07 15:10:22 +00:00
Anssi Hannula
9a0ddd09e7 Interplay C93 demuxer and video decoder
patch by Anssi Hannula, anssi.hannula gmail com

Originally committed as revision 8643 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-07 14:25:25 +00:00
Diego Biurrun
fe0372296a typos
Originally committed as revision 8642 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-07 14:10:02 +00:00
Diego Biurrun
e42dba481f typos/grammar
Originally committed as revision 8641 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-07 14:09:20 +00:00
Diego Biurrun
f5bccd8574 spelling/wording/grammar
Originally committed as revision 8640 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-07 14:07:33 +00:00
Víctor Paesa
414425e064 Print a list of valid AMR bitrates if a wrong one is used.
patch by Víctor Paesa, wzrlpy arsystel com

Originally committed as revision 8639 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-07 11:57:35 +00:00
Kamil Nowosad
f4d47d6b30 YUV support patch by (Kamil Nowosad k.nowosad students mimuw edu pl)
Originally committed as revision 8638 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-06 23:16:08 +00:00
Kamil Nowosad
e780e99e5a s/invert/photometric_interpretation/ patch by Kamil Nowosad k.nowosad students mimuw edu pl
Originally committed as revision 8637 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-06 20:49:26 +00:00
Xiaohui Sun
2d99eed135 SGI image decoder ported to the new image API.
patch by Xiaohui Sun, sunxiaohui dsp.ac cn

Originally committed as revision 8635 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-06 18:29:27 +00:00
Benoit Fouet
5558bda833 Return correct decoded size, decoder is called with only one frame at a time.
patch by Benoit Fouet, benoit.fouet purplelabs com

Originally committed as revision 8633 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-06 10:37:34 +00:00
David Bateman
e8d0041701 IWMMXT-specific dsputils clear_blocks function.
patch by David Bateman, adb014 gmail com

Originally committed as revision 8632 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-06 09:59:55 +00:00
Kostya Shishkov
bcae1fd02e This codec is PAL8 so make it output PAL8 too
Originally committed as revision 8630 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-06 04:40:13 +00:00
Michael Niedermayer
0a7a33d239 remove compound literals gcc 2.95 doesnt support taking an address of a compound literal
and the current code was my fault as i suggested the student to use compound literals
beliving gcc 2.95 supports them completely ...

Originally committed as revision 8629 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-05 00:09:48 +00:00
Ian Braithwaite
5bd526d9ad WMA decoder improvement, output closer to the dmo binary.
Patch by Ian Braithwaite ian braithwaite dot dk

[Ffmpeg-devel] WMA decoder improvement, 2007-03-28 15:50

Originally committed as revision 8627 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-04 13:49:55 +00:00
Kostya Shishkov
047549d382 vc1_split should be static
Originally committed as revision 8626 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-04 13:26:26 +00:00
Stefan Huehner
2b100ab2bf changes some function declarations from () to (void) as per ansi c.
Patch by Stefan Huehner % stefan A huehner P org %

Originally committed as revision 8625 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-04 11:51:08 +00:00
Diego Biurrun
ee5c8a9bc4 Add some Doxygen comments, by Kamil Nowosad, k.nowosad students.mimuw.edu pl.
Originally committed as revision 8624 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-04 11:43:08 +00:00
Diego Biurrun
e7b85a15c8 cosmetics: Fix indentation.
Originally committed as revision 8622 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-03 22:17:37 +00:00
Benoit Fouet
8896cdd379 Remove useless pointer shift.
patch by Benoit Fouet, benoit.fouet purplelabs com

Originally committed as revision 8621 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-03 22:16:21 +00:00
Benoit Fouet
636b69c5a4 Remove commented-out while loop.
patch by Benoit Fouet, benoit.fouet purplelabs com

Originally committed as revision 8620 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-03 22:13:16 +00:00
Diego Biurrun
7038fa6102 Explain which configure options are necessary for which AMR variant.
Originally committed as revision 8612 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-03 14:15:59 +00:00
Michael Niedermayer
5d79e24a98 typo
Originally committed as revision 8611 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-03 13:53:25 +00:00
Michael Niedermayer
bd446bb156 cosmetic
Originally committed as revision 8610 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-03 13:52:36 +00:00
Kamil Nowosad
f87459e419 FF_CODER_TYPE_RAW / RLE / DEFLATE extracted from a patch by Kamil Nowosad
Originally committed as revision 8609 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-03 13:52:00 +00:00
Michael Niedermayer
716222db17 tiff encoder by (Bartlomiej Wolowiec b.wolowiec students mimuw edu pl)
Originally committed as revision 8608 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-03 13:43:57 +00:00
Diego Biurrun
987c3aa810 Remove #if 0 code.
Originally committed as revision 8605 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-03 11:26:14 +00:00
Michael Niedermayer
eb6905f064 dont use *int8_t for the arguments (ive missed that in the patches ...)
Originally committed as revision 8603 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-03 06:46:12 +00:00
Xiaohui Sun
b25514a43f Changed the rle encoder a little and made it more universal.
Not only the repeated byte is calculated as (count ^ xor) + add
but also the raw encoding lenth byte is calculated as that too
patch by Xiaohui Sun sunxiaohui  dsp ac cn

Originally committed as revision 8602 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-03 06:40:21 +00:00
Michael Niedermayer
65df54496e cosmetic
Originally committed as revision 8601 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-03 02:18:00 +00:00
Michael Niedermayer
eb24fd6458 fix indention (less work to fix it myself than to check if a indention fix patch is ok ...)
Originally committed as revision 8600 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-03 01:23:37 +00:00
Michael Niedermayer
bee3851598 move doxy from .c to .h
Originally committed as revision 8599 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-03 01:20:31 +00:00
Michael Niedermayer
1ca286e194 generic rle encoder by Bartlomiej Wolowiec b.wolowiec students mimuw edu pl
Originally committed as revision 8598 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-03 01:01:46 +00:00
Marc Hoffman
b56a8374b1 Remove stray object from list of Blackfin assembler objects.
patch by Marc Hoffman, mmh pleasantst com

Originally committed as revision 8597 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-02 07:26:14 +00:00
Marc Hoffman
67fd620c01 bfin dsputils, basic pixel operations sads, diffs, motion compensation
and standard IEEE 8x8 block transforms
patch by Marc Hoffman, mmh pleasantst com

Originally committed as revision 8594 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-01 22:28:45 +00:00
Aurelien Jacobs
f8fb86e9bb cosmetics: indentation
Originally committed as revision 8593 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-01 22:20:51 +00:00
Michael Niedermayer
2de4f9eb47 indention
Originally committed as revision 8590 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-01 16:14:19 +00:00
Michael Niedermayer
6e546aaa24 make AVCodec.init() optional
Originally committed as revision 8589 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-01 16:13:24 +00:00
Diego Biurrun
efb0c399ca support for the THP game format by Marco Gerards, mgerards xs4all nl
Originally committed as revision 8587 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-01 14:28:48 +00:00
Diego Biurrun
2818647310 Add '#undef exit', the function is now forbidden.
Originally committed as revision 8584 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-01 11:40:36 +00:00
Diego Biurrun
1026a8d4a7 Merge redundant comments.
Originally committed as revision 8582 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-01 11:07:28 +00:00
Loren Merritt
1cfe393a25 doxy comment tweaks
Originally committed as revision 8580 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-31 23:58:33 +00:00
Guillaume Poirier
bb21f1762a Add doxy comments, based on Loren's explanations posted here:
Date: Mar 30, 2007 9:00 PM
Subject: Re: [Ffmpeg-devel] Motion Estimation in snow.c for Waevelet encoded frames (DWT)

Originally committed as revision 8579 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-31 22:39:43 +00:00
Diego Biurrun
51aeb7aa6e dct-test works on non-x86 now.
Originally committed as revision 8577 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-31 17:24:53 +00:00
Marc Hoffman
3ac35bdb3e platform-independent restructuring and code simplification
patch by Marc Hoffman, mmh pleasantst com

Originally committed as revision 8576 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-31 17:24:09 +00:00
Marc Hoffman
c6bdc90890 Remove illegal call to exit().
patch by Marc Hoffman, mmh pleasantst com

Originally committed as revision 8575 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-31 17:14:59 +00:00
Diego Pettenò
b83f7eb2ce call faacDecClose() with all libfaad versions
patch by Diego Petteno flameeyes gmail com

Originally committed as revision 8574 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-31 16:47:39 +00:00
Marc Hoffman
19ef2ba57a Replace emms() with emms_c(), patch by Marc Hoffman, mmh pleasantst com.
Originally committed as revision 8571 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-31 16:20:51 +00:00
Luca Barbato
30f1505380 Typos in comments
Originally committed as revision 8561 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-30 20:56:32 +00:00
Loren Merritt
e62b3dd210 move some stuff out of an inner loop. 12% faster svq1 encoding.
Originally committed as revision 8560 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-30 19:16:41 +00:00
Loren Merritt
5900637219 mmx 16-bit ssd. 2.3x faster svq1 encoding.
Originally committed as revision 8559 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-30 19:15:31 +00:00
Kamil Nowosad
a4072c453b Fix a bug in av_find_opt(). Because some of the AVOption structures have field
unit = NULL, the function could pass NULL to strcmp and cause a segfault.

Patch by Kamil Nowosad, k nowosad % students mimuw edu pl.

Original thread:
Subject: [PATCH] small bugfix in av_find_opt()
Date: 03/23/2007 12:20 PM

Originally committed as revision 8553 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-30 09:26:13 +00:00
Limin Wang
226d6947bc add 'all' and 'none' options for partitions config
Patch by Limin Wang % lance P lmwang A gmail P com %
Original thread:
date: Mar 24, 2007 3:53 PM
subject: [Ffmpeg-devel] [PATCH] add all and none options for partitions config

Originally committed as revision 8552 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-30 09:05:52 +00:00
Robert Swain
2c48a21c4f Update specification and reference implementation links.
patch by Robert Swain, robert.swain gmail com

Originally committed as revision 8551 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-30 06:33:15 +00:00
Panagiotis Issaris
449659919c Fix compilation when using the --disable-opts parameter. This to help those
interested in using a debugger to debug FFmpeg.

Original thread:
Subject: [PATCH] Fix compilation when using --disable-opts
Date: 2007-03-15 16:58:35 GMT

Originally committed as revision 8549 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-29 14:20:30 +00:00
Benoit Fouet
db56acd480 Accept only existing bitrates.
patch by Benoit Fouet, benoit.fouet purplelabs com

Originally committed as revision 8543 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-29 09:39:20 +00:00
Michael Niedermayer
7ebf5927fd codec id addition guidlines
Originally committed as revision 8534 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-27 11:18:24 +00:00
Kostya Shishkov
351f6b4e91 FASTTX==0 means additional 16 bits in extradata
Originally committed as revision 8533 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-27 07:28:52 +00:00
Kostya Shishkov
6b27f3b87f One more FASTTX-related hack
Originally committed as revision 8532 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-27 07:27:53 +00:00
Kostya Shishkov
9ac421e3c1 Remove redundant assign
Originally committed as revision 8531 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-27 05:23:07 +00:00
Michael Niedermayer
adcb72b521 set pict_type to I type during init so parsers which dont set it get all i frames, fixes mp3 seeking
Originally committed as revision 8528 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-26 17:33:45 +00:00
Ivan Kalvachev
d215d07ae0 get rid of unused entries in the middle of xvmc_render struct,
extensions are added to the end of the struct (avoids build issues on 64 bits platform)
add osd extension to be used by mplayer (required by the resent changes in the build system)
breaking the compability, thus bumping minor lavc version number

Originally committed as revision 8527 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-26 15:21:19 +00:00
Ian Braithwaite
1890c2acf4 Optimize by building the mdct window and multipying/adding at the same time.
Patch by Ian Braithwaite ian .. braithwaite . dk

[Ffmpeg-devel] WMA decoder speedup 2007-03-22 22:56

Originally committed as revision 8526 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-26 10:03:57 +00:00
Michael Niedermayer
f39c3c8855 factorize &
Originally committed as revision 8525 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-26 00:54:29 +00:00
Michael Niedermayer
0abfd53344 simplify
Originally committed as revision 8524 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-26 00:44:42 +00:00
Aurelien Jacobs
ed18643199 properly set *data_size when returning >= 0 values in shorten_decode_frame()
Original thread:
Date: Sat, 24 Mar 2007 04:04:53 +0100
Subject: [Ffmpeg-devel] Shorten file playback broken in SVN trunk

Originally committed as revision 8523 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-26 00:00:43 +00:00
Michael Niedermayer
0cb7f8a260 check input validity, this prevents a few variables from reachin odd values which might have lead to out of array writes and thus might have been exploitable
Originally committed as revision 8522 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-25 23:37:38 +00:00
Michael Niedermayer
34a370cb0c simplify
Originally committed as revision 8521 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-25 23:22:11 +00:00
Baptiste Coudurier
f0cb03e9f2 increment subminor version due to r8502 and r8504, those revisions make dnxhd and gif decoders in line with libavcodec API
Originally committed as revision 8520 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-25 20:52:45 +00:00
Baptiste Coudurier
04f7136bfe remove TODO, its done now
Originally committed as revision 8519 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-25 16:43:59 +00:00
Baptiste Coudurier
10d4899c01 pass correct buffer size to lzw decode init
Originally committed as revision 8518 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-25 16:29:11 +00:00
Michael Niedermayer
5f01beb548 move eob_reached logic into ff_lzw_decode_tail() which simplifies the code, avoids some checks in the innermost loop and also gets rid of the controversal break while hopefully retaining the last byte in a valid bytestream, invalid bytestreams still can have very significant overread
Originally committed as revision 8517 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-25 15:43:46 +00:00
Michael Niedermayer
6aaf3abd6d simplify
Originally committed as revision 8514 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-25 15:09:16 +00:00
Michael Niedermayer
bf7709619b factorize
Originally committed as revision 8510 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-25 14:02:54 +00:00
Michael Niedermayer
62ef8925c5 simplify
Originally committed as revision 8509 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-25 13:41:14 +00:00
Kostya Shishkov
b666151045 1000l to myself - get correct quantization for blocks 1 and 2
P.S.  This condition could be also written as if(n==3 || n==(2-dc_pred_dir))

Originally committed as revision 8508 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-25 06:00:06 +00:00
Aurelien Jacobs
da91ed594e use generic xiph header spliting func to split theora headers
Original thread:
Date: Thu, 22 Mar 2007 20:23:08 -0400
Subject: [Ffmpeg-devel] [PATCH] Theora in MKV (GSoC '07 Qualification)

Originally committed as revision 8506 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-25 01:09:26 +00:00
Aurelien Jacobs
5bb127a98f extract vorbis header spliting code into a reusable function
Original thread:
Date: Thu, 22 Mar 2007 20:23:08 -0400
Subject: [Ffmpeg-devel] [PATCH] Theora in MKV (GSoC '07 Qualification)

Originally committed as revision 8505 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-25 01:06:45 +00:00
Baptiste Coudurier
239e1b6f8f actually return bytes read
Originally committed as revision 8504 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-25 00:16:30 +00:00
Baptiste Coudurier
ea82552c09 return error if loop has ended before decoding image
Originally committed as revision 8503 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-25 00:12:24 +00:00
Baptiste Coudurier
877519f550 actually return bytes read
Originally committed as revision 8502 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-25 00:00:56 +00:00
Baptiste Coudurier
7a28b7714e add some length checks
Originally committed as revision 8501 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-24 23:57:42 +00:00
Baptiste Coudurier
5f7ab90a0c simplify
Originally committed as revision 8500 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-24 23:53:34 +00:00
Baptiste Coudurier
93e91145b4 fix indentation
Originally committed as revision 8499 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-24 23:23:51 +00:00
Baptiste Coudurier
36376fa3ba break if eob is reached to avoid reading one too much byte
Originally committed as revision 8498 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-24 23:23:05 +00:00
Limin Wang
e2f3d94786 Fix H.264 8x8 transform selection
It seems that it's opt parse bug, it can't process the flags which start by
digit. After change 8x8dct to dct8x8, I can set it without problem. I guess
nobody will use it since it can't work as expected, so the quick fix is change
the option name.

Patch by Limin Wang lance dot lmwang at gmail com

Originally committed as revision 8492 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-24 12:07:07 +00:00
Tim Chick
56cc42664a iwmmxt ffmpeg code does not implement dct_unquantize_h263_inter_iwmmxt, but
armv5t does - use the armv5t function rather than default c code.
patch by Tim Chick chick at computergeek freeserve co uk

Originally committed as revision 8487 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-23 00:05:45 +00:00
Michael Niedermayer
8ec04d344a set more reasonable cutoff for audio rate conversion
Originally committed as revision 8486 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-22 14:27:16 +00:00
Michael Niedermayer
47bbf8a71d clarify codec_tag
Originally committed as revision 8484 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-22 13:27:11 +00:00
Michael Niedermayer
89cff671f4 clarify sub_id
Originally committed as revision 8483 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-22 13:17:03 +00:00
Michael Niedermayer
7e068841cb replace long double in the audiophile kiddy mode with doubles, its faster (and more portable) and the audiophile placebo 120db stopband attenuation isnt affected
Originally committed as revision 8482 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-22 11:23:38 +00:00
Michael Niedermayer
d6fead9089 change high precision mode to 30 bits again after making the code less overflow sensitive
Originally committed as revision 8481 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-22 11:13:13 +00:00
Michael Niedermayer
303bd95cd2 optimize linear filter coeff interpolation code, this also makes the code less prone to overflows
Originally committed as revision 8480 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-22 11:10:30 +00:00
Justin Ruggles
d971a5fa81 cosmetics. align and condense.
Originally committed as revision 8479 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-22 05:39:20 +00:00
Justin Ruggles
319708da02 simplify
Originally committed as revision 8478 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-22 05:38:00 +00:00
Justin Ruggles
bbd16dea67 utilize multi-stage AC-3 bit allocation. speeds up encoding by 25-30%
Originally committed as revision 8477 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-22 05:34:26 +00:00
Michael Niedermayer
447caf7941 revert r8469 (increase bits for non default highprecision mode)
it causes overflows with linear interpolated filters coefficients

Originally committed as revision 8476 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-22 03:18:34 +00:00
Michael Niedermayer
55fc0eb174 AUDIOPHILE_KIDDY_MODE
Originally committed as revision 8475 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-22 03:16:02 +00:00
Michael Niedermayer
50df67d3b5 optimize bessel function instead of trusting gcc to do trivial optimizations (as gcc doesnt ...)
Originally committed as revision 8474 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-22 00:52:49 +00:00
Michael Niedermayer
14f887efc6 select more sensible default windows (= attenuation beyond the dynamic range of your input is silly if it negatively affects other parameters)
Originally committed as revision 8473 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-22 00:16:41 +00:00
Michael Niedermayer
20cf58c32b make kaiser windows with other beta than 16 available
Originally committed as revision 8472 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-21 23:44:49 +00:00
Tim Chick
f88e7c833b enable iwmmxt support, removing mm_support() stub
patch by Tim Chick, chick at computergeek freeserve co uk

Originally committed as revision 8471 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-21 23:07:24 +00:00
Michael Niedermayer
c252b26d55 make high precision mode accessible at compile time
Originally committed as revision 8470 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-21 22:39:00 +00:00
Michael Niedermayer
ca6940f871 increase bits for non default highprecision mode
Originally committed as revision 8469 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-21 22:38:07 +00:00
Michael Niedermayer
ae232dd740 code for testing the accuracy of the resampler
Originally committed as revision 8468 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-21 22:37:05 +00:00
Michael Niedermayer
66a148a19a remove dithering of filter coefficients, improves precision by 1-2 bits and
improves subjective sound quality on artificial sample (udial.wav resampling
to 32khz)

Originally committed as revision 8467 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-21 22:02:52 +00:00
Kostya Shishkov
c72e05ba0f Smacker Audio stereo fix
Originally committed as revision 8460 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-21 05:56:29 +00:00
Ian Braithwaite
058ee0cf95 Small simplifications to subband coefficient handling and use av_random().
Patch by Ian Braithwaite ian .. braithwaite ... dk

Originally committed as revision 8456 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-20 18:08:51 +00:00
Loren Merritt
0ec4bc6a27 oops, encoder was under ifdef decoders.
Originally committed as revision 8455 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-20 16:51:30 +00:00
Kostya Shishkov
b314cfe709 Correctly handle data_size on decoding
Originally committed as revision 8451 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-20 05:44:42 +00:00
Justin Ruggles
b5a05cc295 fix handling of special case for lowest snroffset. regressions are unaffected.
Originally committed as revision 8450 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-20 02:12:13 +00:00
Baptiste Coudurier
8a0cdea157 10l, fix debug, dprintf does not have log level
Originally committed as revision 8449 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-19 16:07:51 +00:00
Baptiste Coudurier
52b6bad219 dnxhd decoder
Originally committed as revision 8445 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-18 23:25:00 +00:00
Bill O'Shaughnessy
4140a5234e AC-3 encoded volume is too high. Revert revision 7160:
bring AC3 encoder output up to input volume level
patch by Bill O'Shaughnessy % bill P oshaughnessy A gmail.com %
+ reg tests update gruntwork by me
Original thread:
date: Nov 21, 2006 11:36PM
subject: [Ffmpeg-devel] Simpler Patch to bring AC3 encoder output up to input level

Originally committed as revision 8444 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-18 23:18:05 +00:00
Måns Rullgård
d7645fb9db fix init_vlc() with nonzero flags
Originally committed as revision 8443 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-18 22:32:39 +00:00
Justin Ruggles
575bf46f16 split ac3_parametric_bit_allocation into 3 separate functions
Originally committed as revision 8442 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-18 21:43:20 +00:00
Kostya Shishkov
9a44385e1a Zero MV vectors for P frame intra blocks
Originally committed as revision 8440 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-18 18:07:27 +00:00
Loren Merritt
d2bfaf8aae huffyuv rgb encoder
Originally committed as revision 8439 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-18 12:03:29 +00:00
Kostya Shishkov
7c9712335b indentation
Originally committed as revision 8437 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-18 07:53:16 +00:00
Kostya Shishkov
ab47579565 Proper handling of motion vectors for adv. profile
Originally committed as revision 8436 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-18 07:51:40 +00:00
Justin Ruggles
495529f7df hardcode ff_ac3_frame_sizes table
Originally committed as revision 8435 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-18 04:53:21 +00:00
Bobby Bingham
92964be895 Add RLE encoding support, patch by Bobby Bingham, uhmmmm gmail com.
Originally committed as revision 8434 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-17 14:59:58 +00:00
Bobby Bingham
e8952fa571 Move the encoding of the image data to its own function.
patch by Bobby Bingham, uhmmmm gmail com

Originally committed as revision 8430 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-17 13:16:18 +00:00
Bobby Bingham
552cf71281 Add 15 bit support, patch by Bobby Bingham, uhmmmm gmail com.
Originally committed as revision 8429 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-17 12:56:34 +00:00
John Dalgliesh
5885dda4c5 force 16-bytes alignement of block array, as needed by the implementation of ff_dct_sse2
patch by John Dalgliesh %johnd A defyne P org%

Originally committed as revision 8420 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-15 23:45:20 +00:00
Ian Braithwaite
baab295750 subband_coef_noise -> subband_coef_sign
Cosmetics patch by Ian Braithwaite ian .. braithwaite dot dk

Originally committed as revision 8417 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-15 21:22:10 +00:00
Bobby Bingham
2c0c00cb14 Targa (.tga) encoder,
patch by Bobby Bingham % uhmmmm A gmail P com %
Only handles 24-bit BGR and 8-bit grayscale, no RLE at the moment either.
Original thread:
Date: Mar 11, 2007 7:58 PM
Subject: [Ffmpeg-devel] [PATCH] Targa encoder

Originally committed as revision 8411 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-15 12:23:08 +00:00
Michael Niedermayer
7ca6cc099c 10l for myself, fixing --disable-encoders
Originally committed as revision 8408 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-14 23:23:30 +00:00
Kostya Shishkov
33a0dd378a DXA demuxer and decoder
Originally committed as revision 8405 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-14 14:49:49 +00:00
Michael Niedermayer
0769498a9f deprecate ff_realloc_static
Originally committed as revision 8404 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-14 13:25:15 +00:00
Michael Niedermayer
f78da6d64f 10l to whoever wrote this
Originally committed as revision 8403 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-14 13:20:29 +00:00
Michael Niedermayer
3502a54f59 kill av_mallocz_static() calls in init_rl()
Originally committed as revision 8402 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-14 13:19:19 +00:00
Michael Niedermayer
efddbce9d0 move RLTable stuff to its own header
Originally committed as revision 8401 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-14 12:29:32 +00:00
Michael Niedermayer
6bd10f2de5 kill av_mallocz_static()
Originally committed as revision 8400 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-14 12:15:34 +00:00
Baptiste Coudurier
b21c9af936 reindent after last commit
Originally committed as revision 8399 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-14 11:13:17 +00:00
Baptiste Coudurier
1153be3be1 h264 complete frames parsing support
Originally committed as revision 8398 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-14 11:12:02 +00:00
Michael Niedermayer
08cb195020 kill 3 more av_mallocz_static()
Originally committed as revision 8397 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-14 01:59:53 +00:00
Michael Niedermayer
9608652dc1 kill another 2 av_mallocz_static()
Originally committed as revision 8396 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-14 00:19:56 +00:00
Michael Niedermayer
2df6e97872 kill a av_mallocz_static()
Originally committed as revision 8395 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 23:30:28 +00:00
Michael Niedermayer
e2e712e7c1 10^10l to whoever wrote this
Originally committed as revision 8394 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 23:10:42 +00:00
Michael Niedermayer
0c3c674cde remove useless static cm variable
Originally committed as revision 8393 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 22:53:01 +00:00
Michael Niedermayer
861450d551 cosmetic
Originally committed as revision 8392 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 22:51:49 +00:00
Michael Niedermayer
3e207bb1bd remove silly static int done protecting the initalization of 32 elements to 1
Originally committed as revision 8391 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 22:51:11 +00:00
Michael Niedermayer
2d2020b825 remove redundant memset()
Originally committed as revision 8390 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 22:47:59 +00:00
Michael Niedermayer
5ac0915179 dont malloc() static mv_penalty arrays
Originally committed as revision 8389 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 22:47:05 +00:00
Michael Niedermayer
ca2a0c938e deprecate av_mallocz_static()
Originally committed as revision 8388 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 22:01:06 +00:00
Ian Braithwaite
85e7386ae0 Combine the window and overlap loops,
and get rid of the data swapping.

Patch by Ian Braithwaite <dk dot braithwaite at ian>

Originally committed as revision 8387 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 19:44:02 +00:00
Michel Bardiaux
318c5e0524 Give context to dprintf
Originally committed as revision 8338 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-12 12:36:41 +00:00
Benjamin Larsson
8736d68a80 Respect the gop size (-g) for marking I frames. Use -g 0 gives the old behaviour.
Originally committed as revision 8326 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-11 21:01:33 +00:00
Ian Braithwaite
e7485bf378 Replace custom modified discrete cosine transform with ffmpeg's own.
This does alter the decoded output, but not by much.
The new output is closer to that produced by Real's "official" decoder,
and the decoder runs slightly faster.

Patch by Ian Braithwaite ian at braithwaite dot dk

Originally committed as revision 8325 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-11 20:30:06 +00:00
Justin Ruggles
43a0791b66 the AC-3 parser needs ac3.o
Originally committed as revision 8324 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-11 16:57:05 +00:00
Justin Ruggles
2476139973 move AC-3 header parsing to ac3.c
Originally committed as revision 8323 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-11 16:44:14 +00:00
Kostya Shishkov
c81ab015f8 Correctly ME border blocks
Originally committed as revision 8322 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-11 09:51:01 +00:00
Reimar Döffinger
284ad8a4f0 Check dimensions to avoid division by zero due to invalid new dimensions.
Partially fixes http://bugzilla.mplayerhq.hu/show_bug.cgi?id=773.

Originally committed as revision 8321 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-11 09:16:11 +00:00
Justin Ruggles
050aa8b9bc remove redundancy in AC-3 parser by using common tables from ac3tab.h
Originally committed as revision 8318 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-11 02:13:05 +00:00
Benjamin Larsson
64472fcff1 Simplify, use avctx->frame_number.
Originally committed as revision 8309 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-10 09:20:07 +00:00
Justin Ruggles
4258a0a32a Remove common code from AC-3 encoder and utilize ac3.c.
Originally committed as revision 8306 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-09 13:57:42 +00:00
Justin Ruggles
96ae7f11e7 Create ac3.c which will be used for AC-3 common code.
Originally committed as revision 8305 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-09 13:54:44 +00:00
Justin Ruggles
abfe5a4a75 simplify AC-3 bit allocation
Originally committed as revision 8302 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-09 03:17:43 +00:00
Justin Ruggles
3a8bf52983 cosmetics. remove space before semi-colon.
Originally committed as revision 8301 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-08 23:38:50 +00:00
Ian Braithwaite
d0429b4ff5 Simplify gain block handling.
Patch by Ian Braithwaite <ian at braithwaite dot dk>

Originally committed as revision 8298 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-08 20:43:51 +00:00
Ian Braithwaite
4ff5e6563e Don't output the first two frames, since they don't contain valid audio.
This also eases comparison of decoded output with Real's binary decoder.

Patch by Ian Braithwaite <ian at braithwaite dot dk>

Originally committed as revision 8297 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-08 19:47:03 +00:00
Baptiste Coudurier
39076e27de fix drop frame timecode flag
Originally committed as revision 8296 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-08 18:25:47 +00:00
Michel Bardiaux
bdb4b698d8 Corrections so that builds with DEBUG work
Originally committed as revision 8295 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-08 14:49:43 +00:00
Michael Niedermayer
2ed76c08c3 bitrate sanity check (fixes assertion failure)
Originally committed as revision 8293 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-08 10:25:06 +00:00
Benoit Fouet
c4f452fd03 Remove useless casts as recommended by Måns Rullgård.
Patch by Benoit Fouet, benoit fouet % purplelabs com.

Originally committed as revision 8292 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-08 10:21:35 +00:00
Benoit Fouet
be6753c07f Cosmetics in amr.c.
- remove carriage returns where (i find it) unneeded
 - don't break lines when defining variables
 - break line between variable definition and the rest of the code
Patch by Ben Fouet, benoit fouet % purplelabs com.

Originally committed as revision 8291 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-08 10:11:31 +00:00
Benoit Fouet
e7a5854d23 Move the initialization on context definition. In amr.c, only the
amr_wb_encode_frame function initialized its context on a different line as it
defined it.
Patch by Benoit Fouet, benoit fouet % purplelabs com.

Originally committed as revision 8290 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-08 10:06:59 +00:00
Michael Niedermayer
6289025d8c add a -ab with default of 64k
change -b to only apply to video
this returns -ab/-b to the old defautls and old behavior regarding ordering of them

Originally committed as revision 8286 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-07 09:51:45 +00:00
Michael Niedermayer
29301573af add avcodec_get_context_defaults2() / avcodec_alloc_context2() which take CodecType as an additional parameter
also mark them as NOT part of the public API yet, so we can change their argument to CodecID if we decide to do so

Originally committed as revision 8283 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-07 09:29:44 +00:00
Michael Niedermayer
20e708cbbe add av_opt_set_defaults2() which sets just defaults from AVOptions whos flags match a user specified & mask = flags
Originally committed as revision 8280 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-07 02:21:35 +00:00
Michael Niedermayer
bc2a1c340a make av_find_opt() available to the public and add a mask+flags parameter to search for specific AVOptions
Originally committed as revision 8279 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-07 02:03:44 +00:00
Alex Beregszaszi
cbc09a7d5a typo: unkown->unknown
Originally committed as revision 8274 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-07 00:27:23 +00:00
Alex Beregszaszi
c6e3365c81 add little endian 24bit read/write
Originally committed as revision 8270 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-06 13:05:38 +00:00
Benoit Fouet
066a81a80f change management of "ab" option in ffmpeg.c, so that it works as "b" option.
patch by Benoit Fouet % benoit P fouet A purplelabs P com %
Original thread:
Subj: [Ffmpeg-devel] [PATCH] use new way to handle "ab" option
Date: 03/03/2007 10:51 PM

Originally committed as revision 8244 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-05 10:04:53 +00:00
Panagiotis Issaris
636d6a4a47 Add the prefix "av_" to img_crop(), img_copy() and img_pad(), and rename "img"
to "picture" as suggested by Baptiste Coudurier.

Originally committed as revision 8220 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-04 11:53:11 +00:00
Baptiste Coudurier
92d6b7fda2 imx dump header bitstream filter, modifies bitstream to fit in mov and be decoded by final cut pro decoder
Originally committed as revision 8218 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-04 02:59:11 +00:00
Baptiste Coudurier
895c2c005e add bytestream_get/put_be24 functions
Originally committed as revision 8217 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-04 02:51:33 +00:00
Baptiste Coudurier
5a6b9443ed dummy support for mpeg2 non linear quant
Originally committed as revision 8215 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-04 02:26:20 +00:00
Michael Niedermayer
56c70e1d3a check for no frame and prevent segfault
Originally committed as revision 8211 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-03 21:33:33 +00:00
Baptiste Coudurier
b0c59da234 partial avid meridien uncompressed support
Originally committed as revision 8203 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-03 14:11:45 +00:00
Patrice Bensoussan
43a498f205 Add proper #idef to dlsymm call, also fixes an unresolved symbol on OS X 10.2.
patch by Patrice Bensoussan, patrice.bensoussan free fr

Originally committed as revision 8200 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-03 08:33:07 +00:00
Diego Biurrun
4926485d92 Clarify that this decoder uses liba52.
Originally committed as revision 8199 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-03 08:29:03 +00:00
Michael Niedermayer
66a4b2c179 support feeding individual NAL units to the decoder instead of just complete frames
Originally committed as revision 8197 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-02 23:35:26 +00:00
Baptiste Coudurier
9a63497b0f support for mjpeg bottom field first in mov
Originally committed as revision 8192 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-02 12:26:07 +00:00
Baptiste Coudurier
387afa9d01 fix adpcm swf decoding
Originally committed as revision 8186 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-02 10:08:05 +00:00
Baptiste Coudurier
ea0fe83b0f remove ps option and rename rtp_payload_size AVOption to ps
Originally committed as revision 8172 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-01 16:36:38 +00:00
Panagiotis Issaris
81299d421b Add documentation to some avcodec.h's pix_fmt related functions and defines.
Originally committed as revision 8171 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-01 15:27:26 +00:00
Baptiste Coudurier
c828c70916 quicktime 'raw ' support
Originally committed as revision 8168 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-01 13:03:33 +00:00
Baptiste Coudurier
6b936ec662 get rid of CODEC_FLAG_H263P_AIC with next major bump
Originally committed as revision 8167 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-01 10:29:03 +00:00
Baptiste Coudurier
abd6a4fc53 define MPEG4AAC id to AAC, and get rid of it and MP3LAME id with next major bump
Originally committed as revision 8166 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-01 10:24:07 +00:00
Baptiste Coudurier
ccec0f4f94 get rid of rtp_mode field after next major bump
Originally committed as revision 8164 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-28 17:56:45 +00:00
Baptiste Coudurier
39c39d5f25 enable rtp payload size AVOption for video encoding
Originally committed as revision 8163 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-28 17:40:31 +00:00
Baptiste Coudurier
4c02e46daf free faac extradata
Originally committed as revision 8161 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-28 09:56:15 +00:00
Kostya Shishkov
c52ff68852 Looks like I'll work on it this year too
Originally committed as revision 8160 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-28 06:59:39 +00:00
Kostya Shishkov
9d1f80f207 WMV3 Complex Profile initial support
Originally committed as revision 8159 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-28 06:39:58 +00:00
Aurelien Jacobs
c2a29455e3 enable some 64bit optimized code on 64bit arch
Originally committed as revision 8155 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-28 00:55:19 +00:00
Diego Biurrun
bf925c056b Fix wrong license header.
Originally committed as revision 8144 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-27 09:56:09 +00:00
Michel Bardiaux
911b9faf31 Rename WMADecodeContext to WMACodecContext
Originally committed as revision 8143 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-27 09:54:48 +00:00
Michel Bardiaux
a9c9a2400b Supply context to tprintf
Originally committed as revision 8142 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-27 09:39:04 +00:00
Kostya Shishkov
01ca9ac334 DCA decoder
Originally committed as revision 8141 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-27 06:30:40 +00:00
Diego Biurrun
e7ebecbf44 The Snow DEcoding routines should be under CONFIG_SNOW_DECODER.
Originally committed as revision 8140 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-27 00:24:49 +00:00
Diego Biurrun
3cee76e6c9 Remove useless conditional.
Originally committed as revision 8139 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-27 00:18:38 +00:00
Aurelien Jacobs
eba0fcad9e cleanup setting of returned data frame
Originally committed as revision 8125 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-25 16:02:32 +00:00
Aurelien Jacobs
704a2881bc Use pointers to avoid copying AVFrame.
This ensure get_buffer() won't be confused with an AVFrame pointer
which looks like it wasn't released.

Originally committed as revision 8124 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-25 15:33:38 +00:00
Reimar Döffinger
f66e4f5f9e Add av_ prefix to clip functions
Originally committed as revision 8122 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-25 10:27:12 +00:00
Panagiotis Issaris
392cf77a4b Move the unaltered documentation of the functions which are part of the public
API out of imgconvert.c into avcodec.h.

Originally committed as revision 8121 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-25 07:53:44 +00:00
Michael Niedermayer
0268a54a65 rewrite find_frame_end()
new code correctly splits long start codes, also its about twice as fast

Originally committed as revision 8120 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-25 02:38:08 +00:00
Ramiro Polla
0b2d5a8ed5 use FFMIN
patch by ramiro _at_ lisha.ufsc.br

Originally committed as revision 8119 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-25 00:35:30 +00:00
Diego Biurrun
e870111e4f Only compile snowdsp_mmx.c if the Snow decoder is enabled.
Originally committed as revision 8117 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-24 11:59:26 +00:00
Diego Biurrun
d42f88025a Fix wrong conditional, Snow decoding, not encoding, was SIMD-accelerated.
Originally committed as revision 8116 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-24 11:58:52 +00:00
Diego Biurrun
eafcac6ac8 cosmetics: Fix another common typo, dependAnt --> dependEnt.
Originally committed as revision 8114 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-24 09:41:43 +00:00
Alexander Strange
bd91fee3d7 h264 optimization: common case hl_decode_mb patch by (Alexander Strange astrange ithinksw com)
144095->142319 dezicycles for hl_decode_mb() on duron
trailing whitespace removed by me

Originally committed as revision 8106 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-24 00:58:28 +00:00
Aurelien Jacobs
65a455a879 Use pointers to avoid copying AVFrame.
This ensure get_buffer() won't be confused with an AVFrame pointer
which looks like it wasn't released.

Originally committed as revision 8105 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-24 00:55:50 +00:00
Michael Niedermayer
58e31fb1d5 reorder a few more paddws to reduce dependancy chains
chroma mc4 put 2480 -> 2460 dezicyles on duron

Originally committed as revision 8098 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-23 15:44:56 +00:00
Michael Niedermayer
b4fe97696c reorder paddws to reduce dependancy chain
put_h264_chroma_mc2_mmx2() 927 -> 902 dezicyles on duron

Originally committed as revision 8097 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-23 15:28:35 +00:00
Benoit Fouet
9ff77d1797 add CODEC_TYPE_NB to enum CodecType, will be used to declare option arrays in ffmpeg.c
Patch by Benoit Fouet % benoit P fouet A purplelabs P com %

Originally committed as revision 8096 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-23 15:19:29 +00:00
Michael Niedermayer
0c67082e02 shortening dependancy chain in chroma mc2
Originally committed as revision 8095 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-23 15:03:30 +00:00
Michael Niedermayer
af26516261 remove now wrong comment
Originally committed as revision 8094 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-23 14:29:59 +00:00
Michael Niedermayer
61240ae556 fix chroma mc2 bug, this is based on a patch by (Oleg Metelitsa oleg hitron co kr)
and does slow the mc2 chroma put down, avg interrestingly seems unaffected speedwise on duron
this of course should be rather done in a way which doesnt slow it down but its better a few %
slower but correct then incorrect

Originally committed as revision 8093 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-23 14:29:13 +00:00
Aurelien Jacobs
f0b23422fa use av_noinline instead of __attribute((noinline))
Originally committed as revision 8091 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-23 10:23:45 +00:00
Michael Niedermayer
9c856d62be dont check buffer size if the decode function wont be called at all
Originally committed as revision 8090 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-23 00:47:21 +00:00
Panagiotis Issaris
5dad0282b5 av_realloc_static() is an internal function and therefore should use the ff_ prefix instead of av_.
Originally committed as revision 8089 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-23 00:20:39 +00:00
Panagiotis Issaris
beebfdb1e8 Move the av_realloc_static() declaration out of avcodec.h into bitstream.c.
Originally committed as revision 8088 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-22 20:21:33 +00:00
Panagiotis Issaris
e0b67c7618 Doxygenize the existing amr.c documentation.
Originally committed as revision 8087 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-22 19:16:31 +00:00
Panagiotis Issaris
4267e90dd0 Doxygenize the comments for the av_fast_realloc() function.
Originally committed as revision 8086 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-22 19:14:07 +00:00
Panagiotis Issaris
8079a686c3 Doxygenize the comments for the av_free_static() function.
Originally committed as revision 8085 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-22 19:12:40 +00:00
Panagiotis Issaris
9c5cb112ca Doxygenize the comments for the av_mallocz_static() function.
Originally committed as revision 8084 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-22 19:11:33 +00:00
Panagiotis Issaris
3d0a39fa2d Doxygenize the comments for the av_realloc_static() function.
Originally committed as revision 8083 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-22 19:10:55 +00:00
Panagiotis Issaris
2fa378a72c Doxygenize the comments for the av_get_bits_per_sample() function.
Originally committed as revision 8082 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-22 19:09:35 +00:00
Panagiotis Issaris
8f6260af48 Doxygenize the comments for the av_get_pict_type_char() function.
Originally committed as revision 8081 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-22 19:08:39 +00:00
Panagiotis Issaris
8fc3d25c0a Doxygenize the comments for the avpicture_free() function.
Originally committed as revision 8080 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-22 19:06:28 +00:00
Panagiotis Issaris
8ab4861cc2 Move the Doxygen function documentation unaltered from libavcodec/utils.c to
libavcodec/avcodec.h.

Originally committed as revision 8079 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-22 19:05:44 +00:00
Panagiotis Issaris
f9ec0aa1a9 Add more Doxygen documentation.
Originally committed as revision 8078 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-22 18:59:05 +00:00
Panagiotis Issaris
930344d854 Fix spelling.
Originally committed as revision 8077 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-22 14:56:54 +00:00
Panagiotis Issaris
b24daebf22 The memsetting of the end of buffer is not needed for audio.
Originally committed as revision 8070 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-22 12:56:31 +00:00
Panagiotis Issaris
f6618b0f43 Stray comment, probably copy & pasted from audio_encode_example().
Originally committed as revision 8066 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-22 02:12:54 +00:00
Panagiotis Issaris
5604801191 Fix typo.
Originally committed as revision 8065 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-22 00:46:36 +00:00
Diego Biurrun
3700dab4f2 cosmetics: aswell --> as well typo fix
Originally committed as revision 8062 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-22 00:14:54 +00:00
Michael Niedermayer
470d2d03cc gcc 2.95 fix
Originally committed as revision 8059 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-22 00:04:36 +00:00
Panagiotis Issaris
85975aa9a5 Correct typo.
Originally committed as revision 8058 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-21 23:48:20 +00:00
Aurelien Jacobs
6829ac8de4 simplify release_buffer using FFSWAP
Originally committed as revision 8057 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-21 23:46:25 +00:00
Diego Biurrun
3dc09ed188 simplify i386 object handling
Originally committed as revision 8056 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-21 23:32:13 +00:00
Michael Niedermayer
97bbb8851b output delayed frames
fixes:
CANL4_SVA_B.264
NL3_SVA_C.264
NL3_SVA_E.264

Originally committed as revision 8055 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-21 21:16:07 +00:00
Diego Biurrun
57177f648d cosmetics: Fix another common typo, gurantee --> guArantee.
Originally committed as revision 8054 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-21 19:19:46 +00:00
Kostya Shishkov
391fcef9a9 100l: forgot to reset LS mode on new frame
Originally committed as revision 8053 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-21 18:10:25 +00:00
Diego Biurrun
0afd2a92bd cosmetics: Fix a common typo, sepErate --> sepArate.
Originally committed as revision 8047 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-21 10:15:08 +00:00
Panagiotis Issaris
7ad731e99f Add some more Doxygen documentation to libavcodec/utils.c.
Originally committed as revision 8041 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-20 12:45:16 +00:00
Michel Bardiaux
346a655d46 Add support for MS-GSM codec
Originally committed as revision 8039 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-20 11:09:47 +00:00
Panagiotis Issaris
758a6b3c06 Provide Doxygen documentation.
Originally committed as revision 8038 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-20 10:34:01 +00:00
Guillaume Poirier
bb0f999bbb add doxygen docs for avpicture_fill()
Patch  by Panagiotis Issaris % takis P issaris A uhasselt P be %

Originally committed as revision 8034 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-20 08:35:25 +00:00
Stefan Gehrer
0ac47d632f fix comment, get/show_bits(0) does not work
Originally committed as revision 8029 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-19 20:59:40 +00:00
Michel Bardiaux
78104b5d76 Remove some old disabled debugging output
Originally committed as revision 8027 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-19 11:00:38 +00:00
Loren Merritt
4672503d8c simplify in fill_caches
Originally committed as revision 8026 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-19 04:44:17 +00:00
Panagiotis Issaris
9b2bb40341 Remove a non-C dependency (being M_PI) from the libavcodec example.
Originally committed as revision 8025 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-18 21:23:50 +00:00
Benjamin Larsson
0564528eff Clairyfication of the gain tool struct.
Originally committed as revision 8023 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-18 20:35:22 +00:00
Måns Rullgård
459022f504 fix for x86-64
Originally committed as revision 8022 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-18 20:00:05 +00:00
Benjamin Larsson
dd462087fd Don't use byte swaps and use the more portable way
of declaring aligned buffers.

Originally committed as revision 8021 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-18 19:12:20 +00:00
Michael Niedermayer
fda51641b1 factorize more calls to fill_rectangle()
Originally committed as revision 8017 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-18 01:37:50 +00:00
Michael Niedermayer
d19f5acb36 factorize fill_rectangle() calls
Originally committed as revision 8016 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-18 01:24:57 +00:00
Alex Beregszaszi
492d0e4c12 display line number when printing error
Originally committed as revision 8015 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-18 01:02:34 +00:00
Michael Niedermayer
b21e0b6dfc rewrite H264_CHROMA_MC4_TMPL (20% faster)
Originally committed as revision 8012 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-17 23:43:02 +00:00
Michael Niedermayer
bc2ce35b31 remove imgresample and convert with the next version bump
Originally committed as revision 8005 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-17 11:55:57 +00:00
Kostya Shishkov
e4cc43625f Use AVRandom
Originally committed as revision 8004 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-17 11:41:59 +00:00
Kostya Shishkov
eeb40eb367 10l: forgot break statement
Originally committed as revision 8003 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-17 11:39:54 +00:00
Michael Niedermayer
8d6947bc7d factorize fill_rectangle()
remove more silly ref_count checks
use list_count where appropriate

Originally committed as revision 8000 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-16 21:50:37 +00:00
Michael Niedermayer
3425501d3b replace list<2 checks by list<list_count
remove silly ref_count<0 and ref_count==0 checks its impossible for this variable to have such a value

Originally committed as revision 7999 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-16 21:42:01 +00:00
Michael Niedermayer
187696fa72 fix 2nd ref_count check
add list_count

Originally committed as revision 7998 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-16 21:34:21 +00:00
Michael Niedermayer
0565c64834 fix ref_count check
Originally committed as revision 7997 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-16 21:29:15 +00:00
Michael Niedermayer
65a0f3fd47 factorize mv_cache and mvd_cache init
Originally committed as revision 7996 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-16 21:27:59 +00:00
Michael Niedermayer
43ff071456 simplify
Originally committed as revision 7995 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-16 21:25:22 +00:00
Michael Niedermayer
2a115873af add a few asserts to ensure alignment
Originally committed as revision 7994 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-16 21:22:53 +00:00
Michael Niedermayer
00e210ddbb prevent h.264 MC related functions from being inlined (yes this is much faster the code just doesnt fit in the code cache otherwise)
Originally committed as revision 7993 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-16 21:21:07 +00:00
Michel Bardiaux
5286d11fcd Spelling fix
Originally committed as revision 7989 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-15 12:57:51 +00:00
Michel Bardiaux
1d726a5958 Spelling fix
Originally committed as revision 7988 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-15 12:57:20 +00:00
Diego Biurrun
befa3397c5 Move xvmc_render.h to libavcodec where it belongs. Blessed by Ivan.
Originally committed as revision 7986 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-14 23:33:16 +00:00
Michael Niedermayer
e13d80238c doxy for avcodec_encode_video()
Originally committed as revision 7977 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-14 10:50:01 +00:00
Michel Bardiaux
e372862674 Fix one warning
Originally committed as revision 7976 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-14 09:57:41 +00:00
Måns Rullgård
35f9736988 rename POWERPC_PERFORMANCE_REPORT to CONFIG_POWERPC_PERF
Originally committed as revision 7968 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-13 23:45:28 +00:00
François Revol
8fa36ae09d This fixes error handling for BeOS, removing the need for some ifdefs.
AVERROR_ defines are moved to avcodec.h as they are needed in there as well. Feel free to move that to avutil/common.h.
Bumped up avcodec/format version numbers as though it's binary compatible we will want to rebuild apps as error values changed.
Please from now on use return AVERROR(EFOO) instead of the ugly return -EFOO in your code.
This also removes the need for berrno.h.

Originally committed as revision 7965 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-13 18:26:14 +00:00
Michel Bardiaux
bcdf0d2697 Change some dprintf to av_log
Originally committed as revision 7964 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-13 16:06:50 +00:00
Kostya Shishkov
674678b04a Intensity compensation for B-frames in AP was missing
Originally committed as revision 7962 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-13 07:48:23 +00:00
Diego Biurrun
dc02fc6a68 consistency renaming: yuv422 --> yuyv422
Originally committed as revision 7959 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-12 23:23:05 +00:00
Diego Biurrun
9ac529a5ba consistency renaming: uyvy411 --> uyyvyy411
Originally committed as revision 7958 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-12 23:15:38 +00:00
Diego Biurrun
3cf5b6bed7 consistency renaming: rgba32 --> rgb32
Originally committed as revision 7957 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-12 23:07:17 +00:00
Diego Biurrun
7bc5f2a8a4 Restore the possibility to link liba52 instead of dlopening.
Originally committed as revision 7945 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-12 10:05:19 +00:00
Diego Biurrun
f4ca507980 Rename ac3 decoder to liba52 to prepare for native decoder.
Originally committed as revision 7939 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-11 19:02:59 +00:00
Måns Rullgård
ecfc4f4436 rename HAVE_GPROF to CONFIG_GPROF
Originally committed as revision 7934 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-11 16:39:09 +00:00
Diego Biurrun
0900a85fe8 Remove internal liba52; external lib still works, native decoder coming up.
Originally committed as revision 7933 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-11 16:29:00 +00:00
Diego Biurrun
b7d3bfa6d3 Remove unused libac3 AC3 decoding interface.
Originally committed as revision 7923 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-11 12:27:11 +00:00
Reimar Döffinger
392b76ca93 Minor AMD64 compilation fix
Originally committed as revision 7907 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-10 13:33:08 +00:00
Michael Niedermayer
9bc0d3ef3e maybe fix x86_64 (untested)
Originally committed as revision 7906 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-10 03:56:49 +00:00
Francois Oligny-Lemieux
6ff9b4226b always decode extradata when of non-avc stream (like RTSP)
Patch by Francois Oligny-Lemieux % eucloid A gmail P com %
Original thread:
Date: Feb 9, 2007 12:00 AM
Subject: [Ffmpeg-devel] h264.c patch, always decoding extradata when on non avc stream

Originally committed as revision 7904 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-09 22:25:29 +00:00
Michael Niedermayer
b2a581dc71 packets with half pcm samples are invalid
Originally committed as revision 7900 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-09 13:57:14 +00:00
Michael Niedermayer
7c4fd7eb0c factor out common subexprssion (gcc of course is too stupid to do this ...)
5% faster avg_h264_chroma_mc2_mmx2()
10% faster put_h264_chroma_mc2_mmx2()

Originally committed as revision 7898 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-09 12:37:38 +00:00
Michael Niedermayer
9301a0b4a9 merge asm fragments in H264_CHROMA_MC2_TMPL()
10% faster avg_h264_chroma_mc2_mmx2()
5% faster put_h264_chroma_mc2_mmx2()

Originally committed as revision 7897 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-09 12:24:22 +00:00
Michael Niedermayer
04cfef21ff sanity check
Originally committed as revision 7890 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-09 02:25:23 +00:00
Michael Niedermayer
960964f5a9 fix segfault with lol-ffplay2.mpg (dunno if this is exploitable, probably not easily)
Originally committed as revision 7889 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-09 02:21:34 +00:00
Justin Ruggles
f7a49547de fix parsing of RealAudio AC-3/DolbyNet
Originally committed as revision 7888 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-09 02:02:09 +00:00
Luca Abeni
ab1c6dc95c Directly access av_log_level instead of calling av_log_{set, get}_level()
(which will be removed at the next avutil version increment)

Originally committed as revision 7882 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-08 18:55:36 +00:00
Reimar Döffinger
5959a29893 Fix incorrect use of ff_get_fourcc that made mjpgb not play on big endian.
Fixes bug 739.

Originally committed as revision 7875 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-07 17:35:36 +00:00
Michael Niedermayer
7dda43eefd vorbis suffers from the same sign flip issue as wma (so this lame workaround, though it arguably doesnt matter much where the sign is fliped back)
Originally committed as revision 7873 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-07 16:59:10 +00:00
Michael Niedermayer
6836af5250 doxygenize
Originally committed as revision 7872 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-07 14:53:25 +00:00
Diego Biurrun
013591c5f2 Add a comment about swapped numerator and denominator.
Originally committed as revision 7871 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-07 14:10:50 +00:00
Diego Biurrun
9b1a3ea0de missing spaces
Originally committed as revision 7870 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-07 12:38:47 +00:00
Diego Biurrun
71e445fca3 Replace deprecated PIX_FMT names by the newer variants.
Originally committed as revision 7867 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-07 01:48:09 +00:00
Michael Niedermayer
a1fd944f73 workaround sign bug
Originally committed as revision 7864 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-06 23:58:02 +00:00
Michael Niedermayer
21ac1d47d1 10l use of uninitalized var
Originally committed as revision 7863 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-06 22:20:55 +00:00
Michael Niedermayer
e8ebd57360 kill debuging code
Originally committed as revision 7856 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-06 21:12:48 +00:00
Michael Niedermayer
5968607304 wma encoder
Originally committed as revision 7855 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-06 20:19:04 +00:00
Michael Niedermayer
aad512b4ec Revised patch for HD DVD .EVO demuxing by (Ian Caulfield <lowercase name seperated by . place at here gmail place a dot here com>)
Originally committed as revision 7853 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-06 19:14:16 +00:00
Michael Niedermayer
7d4495dafe simplify and remove useless index in AV_W*
Originally committed as revision 7852 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-06 19:10:17 +00:00
Kostya Shishkov
ac91185fb7 Progressive frames disguised as interlaced are supported
Originally committed as revision 7849 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-06 07:16:52 +00:00
Kostya Shishkov
6eda6e37a9 B-frames could not be determined from broken_link/closed_entry, use fixed value
Originally committed as revision 7848 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-06 07:11:20 +00:00
Kostya Shishkov
02c823d4f3 Wrong flag tested
Originally committed as revision 7847 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-06 07:07:29 +00:00
Aurelien Jacobs
5e5067c73d ensure that data[0] is set to NULL for next frame
to please avcodec_default_get_buffer()

Originally committed as revision 7846 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-06 00:35:51 +00:00
Måns Rullgård
7ee829922b oops, revert accidental checkin
Originally committed as revision 7840 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-05 21:18:11 +00:00
Måns Rullgård
271593f123 fix multichannel decoding
Originally committed as revision 7839 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-05 21:16:31 +00:00
Måns Rullgård
3a0495a29f move static variables to private context struct
Originally committed as revision 7838 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-05 20:17:02 +00:00
Måns Rullgård
89fa5b4e23 remove preprocessor cruft
Originally committed as revision 7837 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-05 19:56:31 +00:00
Måns Rullgård
8af23633a2 cosmetics: don't needlessly open new blocks
Originally committed as revision 7836 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-05 19:55:15 +00:00
Måns Rullgård
ac49ddc60d cosmetic: indent sensibly so code can be read at all
Originally committed as revision 7835 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-05 19:35:36 +00:00
Diego Biurrun
52548eeede BMP encoder by Michel Bardiaux, mbardiaux mediaxim be
Originally committed as revision 7824 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-05 15:05:29 +00:00
Sascha Sommer
8274e4224a fix use of uninitialized variables
Originally committed as revision 7822 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-05 11:57:36 +00:00
Benoit Fouet
487747de57 Remove useless check, patch by Benoit Fouet, benoit.fouet purplelabs com.
Originally committed as revision 7821 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-05 09:11:10 +00:00
Kostya Shishkov
4305a4ef0d Set codec dimensions in extradata parsing
Originally committed as revision 7820 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-05 06:58:02 +00:00
Kostya Shishkov
5dc4b2108f table fix
Originally committed as revision 7819 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-05 06:56:49 +00:00
Michael Niedermayer
ac975ac462 useless as this file wont be compiled if this is not true
Originally committed as revision 7816 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-04 11:20:32 +00:00
Kostya Shishkov
93731ff27d Save frame header info in context variables
Originally committed as revision 7815 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-04 10:46:28 +00:00
Kostya Shishkov
f0c31621c6 Set frame rate from extradata
Originally committed as revision 7814 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-04 10:45:01 +00:00
Michael Niedermayer
5773d46009 factorize switch_buffer()
Originally committed as revision 7813 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-03 13:15:55 +00:00
Michael Niedermayer
e0cf92048a fix decoding of takethat.mp3
Originally committed as revision 7812 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-03 12:42:12 +00:00
Kostya Shishkov
f0a85d5f5c These messages are just for debug purposes
Originally committed as revision 7811 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-03 06:43:06 +00:00
Kostya Shishkov
e7cf38e556 Set codec dimensions if provided by extradata
Originally committed as revision 7810 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-03 06:41:14 +00:00
Kostya Shishkov
35bffd7f3d VC-1 parser
Originally committed as revision 7809 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-03 06:39:50 +00:00
Kostya Shishkov
8165ee9394 0x00000103 is not an escape marker
Originally committed as revision 7807 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-02 15:14:13 +00:00
Michael Niedermayer
3d7232ff00 add FIXME
Originally committed as revision 7804 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-02 10:25:30 +00:00
Kostya Shishkov
77ccd3ba54 General approach to parsing chunks in VC-1 AP
Originally committed as revision 7803 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-02 06:45:21 +00:00
Michael Niedermayer
14c49573d8 some (probably exploitable) out of array write fixes
Originally committed as revision 7802 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-02 02:58:01 +00:00
Måns Rullgård
7348ed6e94 missed a redundant load
Originally committed as revision 7801 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-02 00:23:19 +00:00
Måns Rullgård
7c6c0dd9e7 revert accidental checkin
Originally committed as revision 7800 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-01 23:30:33 +00:00
Måns Rullgård
ac62b62600 save one cycle
Originally committed as revision 7799 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-01 22:50:38 +00:00
Måns Rullgård
173fd724f5 remove redundant loads
Originally committed as revision 7798 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-01 22:44:42 +00:00
Kostya Shishkov
b956373b6f Check for out-of-bounds access
Originally committed as revision 7797 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-01 18:39:49 +00:00
Michel Bardiaux
286c71074a Add decode_end method to bmp decoder. Patch by Michel Bardiaux,
mbardiaux mediaxim dot be.

Originally committed as revision 7796 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-01 09:48:09 +00:00
Baptiste Coudurier
09d7aa7e30 correctly set profile/level for hd
Originally committed as revision 7795 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-01 09:47:36 +00:00
Michel Bardiaux
65d999d6cf Activate guards in avcodec_default_get_buffer. Patch by Michel Bardiaux,
mbardiaux mediaxim dot be.

Originally committed as revision 7794 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-01 09:45:05 +00:00
Måns Rullgård
118a49b0b7 optimize IDCT of rows with mostly zero coefficients
Originally committed as revision 7790 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-31 23:04:56 +00:00
Reimar Döffinger
4302963daa Move lzo decompression to libavutil
Originally committed as revision 7789 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-31 22:58:53 +00:00
Reimar Döffinger
c215e40316 Make sure we do not accidentially "fix" cnt to something < 0
Originally committed as revision 7788 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-31 21:20:31 +00:00
Reimar Döffinger
c0a8b87600 Simplify checks, use that we know that cnt will not be < 0
Originally committed as revision 7787 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-31 21:00:48 +00:00
Reimar Döffinger
56f8647aaa Remove boundary checks that are actually done "well enough"
in copy function

Originally committed as revision 7786 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-31 20:57:30 +00:00
Reimar Döffinger
9b2c14df60 Documentation fix: Copy functions should "work" fine for cnt == 0
Originally committed as revision 7785 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-31 20:26:32 +00:00
Reimar Döffinger
1db8c21c1f Optimize LZO copy operations
Originally committed as revision 7784 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-31 17:16:13 +00:00
Michel Bardiaux
e8f917d6fd Fix memcpy out-of-bounds.
patch by Michel Bardiaux, mbardiaux mediaxim be

Originally committed as revision 7780 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-31 11:19:48 +00:00
Michael Niedermayer
960e48f8f0 another >> vs >
Originally committed as revision 7779 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-31 10:48:08 +00:00
Michael Niedermayer
bf47272f3c simpify state and make code 2% faster
reimar, dont hesitate to flame me for not sending patches and feel free to revert any or all of my changes to lzo.c if you dont like them

Originally committed as revision 7778 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-31 10:34:13 +00:00
Reimar Döffinger
5fe9c42ceb Add two extra needed bounds checks
Originally committed as revision 7777 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-31 10:29:58 +00:00
Michael Niedermayer
801778bc83 replace if(x>>b) by if(x>C) as shifts are slow on some cpus and i have my doubts that gcc can replace the shifts as x is signed, it could in theory but well its gcc ...
Originally committed as revision 7776 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-31 10:07:22 +00:00
Reimar Döffinger
d62a0c1e5d Add code to testcode to ease comparing with liblzo.
Originally committed as revision 7775 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-31 09:37:02 +00:00
Michel Bardiaux
e96cc09dd2 Make BMP decoder use bytestream. Patch by Michel Bardiaux
mbardiaux mediaxim dot be.

Originally committed as revision 7773 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-31 00:34:56 +00:00
Panagiotis Issaris
eabf65608d Remove the getbe16 functions and use the AV_RB16 macro instead. Patch by Ian
Caulfield, ian dot caulfield gmail dot com.

Originally committed as revision 7768 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-30 14:24:12 +00:00
Ian Caulfield
4ee97612c7 Fix a bug in the DVD subtitle decoder where subtitles with odd heights would not
have the last line decoded, leaving the bottom line of the bitmap array
uninitialised. Patch by Ian Caulfield, ian dot caulfield gmail dot com.

Originally committed as revision 7767 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-30 14:19:43 +00:00
Panagiotis Issaris
9dd6c80453 Add the const specifier as needed to reduce the number of warnings.
Originally committed as revision 7764 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-30 10:31:34 +00:00
Måns Rullgård
204ce38f53 typo fix by Dmitry Antipov dmantipov =a= yandex =d= ru
Originally committed as revision 7763 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-29 22:27:27 +00:00
Måns Rullgård
34b1b8fda8 theoretically save one cycle
Originally committed as revision 7762 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-29 22:25:54 +00:00
Kostya Shishkov
b024824bed Fix BI-frames decoding for Adv. profile
Originally committed as revision 7758 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-29 14:23:00 +00:00
Michel Bardiaux
d8b7b352a8 Fix segfault in bmp decoder. Patch by Michel Bardiaux mbardiaux mediaxim dot be.
Originally committed as revision 7757 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-29 14:07:12 +00:00
Benjamin Larsson
753c9d3260 Check that js_vlc_bits from the extradata is in a valid range.
Originally committed as revision 7756 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-29 10:42:36 +00:00
Benjamin Larsson
862be28b19 Get rid of the COOKextradata struct. And use valid C to parse the extradata.
Originally committed as revision 7755 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-29 10:32:14 +00:00
Benjamin Larsson
6e584be16c Kill a warning and don't use modulus.
Originally committed as revision 7754 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-29 08:58:03 +00:00
Benjamin Larsson
a5b8a69c70 decode_subpacket cleanup by Ian Braithwaite ian braithwaite dot dk.
Originally committed as revision 7753 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-29 08:37:22 +00:00
Måns Rullgård
7d42886b93 ARMv6 SIMD IDCT
Originally committed as revision 7752 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-28 21:32:08 +00:00
Reimar Döffinger
a737f1dfdb LZO optimization: check input buffer bounds less frequently if padded
Originally committed as revision 7747 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-28 16:49:51 +00:00
Benjamin Larsson
d7973906de Sort out the diffrent cook versions.
Originally committed as revision 7739 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-28 10:17:48 +00:00
Benjamin Larsson
70ab75eb6a Cook stereo (MONO_COOK2) bugfix, by Ian Braithwaite.
ian at braithwaite dot dk.

Originally committed as revision 7738 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-28 10:05:21 +00:00
Benjamin Larsson
b3203b64c6 Get rid of one warning.
Originally committed as revision 7735 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-27 17:30:54 +00:00
Luca Barbato
fe70f25c58 Simplify and avoid a warning (should be faster on Cell and certain G4 revisions)
Originally committed as revision 7734 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-27 15:09:34 +00:00
Kostya Shishkov
4b3b5a2337 Coded residual in WavPack may be > 0xFFFF
Originally committed as revision 7733 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-27 14:24:40 +00:00
Reimar Döffinger
8cb59bce97 Fix _LZO_H vs. LZO_H typo
Originally committed as revision 7732 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-27 14:23:55 +00:00
Reimar Döffinger
cf0ef3dc34 Fix buffer end checks in lzo copy code to work in all cases.
Originally committed as revision 7731 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-27 14:15:03 +00:00
Måns Rullgård
7073e9fc69 rename CMOV_IS_FAST to HAVE_FAST_CMOV and simplify configure
Originally committed as revision 7729 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-27 14:10:57 +00:00
Reimar Döffinger
266aa26c52 Add lzo test code
Originally committed as revision 7727 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-27 13:48:27 +00:00
Luca Barbato
994fd8500d Fix warnings and simplify/reorder the code
Originally committed as revision 7726 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-27 12:35:12 +00:00
Michel Bardiaux
76ebb18f16 Segregate code common to BMP decoder and future encoder
patch by Michel Bardiaux, mbardiaux mediaxim be

Originally committed as revision 7721 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-27 07:39:16 +00:00
Kostya Shishkov
74fd63d009 Set aspect ratio if present (for AP only)
Originally committed as revision 7720 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-27 06:57:11 +00:00
Michael Niedermayer
1fdefd9881 fix inifnite loop with http://sam.zoy.org/zzuf/lol-mplayer.mpg
Originally committed as revision 7718 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-26 15:26:08 +00:00
Panagiotis Issaris
de6c4b2dd3 Typo
Originally committed as revision 7717 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-26 15:11:10 +00:00
Baptiste Coudurier
4abc097146 remove void * used in arithmetic warnings
Originally committed as revision 7716 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-26 12:32:23 +00:00
Michael Niedermayer
24368c4ae4 cosmetics / remove #if 0 code
Originally committed as revision 7715 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-26 02:29:23 +00:00
Panagiotis Issaris
b5bfb9f9de Silence GCC when incorrectly complaining that the "line" variable could be used
without having been initialized.

Originally committed as revision 7711 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-25 15:23:22 +00:00
Panagiotis Issaris
aadcc5cecd Bring down the number of snow.c warnings from 27 to 17 by using the const
keyword.

Originally committed as revision 7706 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-25 09:54:22 +00:00
Panagiotis Issaris
6884c36c42 Brings down the number of snow.c warnings from 33 to 27 by putting parentheses
around + or - inside shift.

Originally committed as revision 7704 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-25 09:43:52 +00:00
Benjamin Larsson
b6607559af Don't copy more then needed, bugfix by Gus Scheidt ellocogato at gmail dot com and Michel Bardiaux mbardiaux at mediaxim dot be.
Originally committed as revision 7702 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-25 08:21:02 +00:00
Kostya Shishkov
615259a33e Some TIFFs do not set rows per strip for single strip.
Originally committed as revision 7701 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-25 06:44:53 +00:00
Diego Biurrun
722dabcc94 Move conditional CFLAGS and OBJS setting to common place.
Originally committed as revision 7699 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-25 00:34:38 +00:00
Diego Biurrun
150d27725b Theora encoding via libtheora.
courtesy of Paul Richards, paul.richards gmail com

Originally committed as revision 7698 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-25 00:16:28 +00:00
Kostya Shishkov
8ea780d73d Add debug messages for AP headers
Originally committed as revision 7695 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-24 17:50:28 +00:00
Kostya Shishkov
14f3f3a1ad Off-by-one error fix
Originally committed as revision 7694 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-24 17:49:26 +00:00
Kostya Shishkov
5cca6bc3cd Fail on VC-1 interlaced streams
Originally committed as revision 7693 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-24 17:47:42 +00:00
Baptiste Coudurier
9d57fd9be5 add hint for closed gop and sc threshold error message
Originally committed as revision 7692 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-24 16:15:00 +00:00
Ian Caulfield
08c8831685 fix indentation, patch by Ian Caulfield % ian P caulfield A gmail P com %
Originally committed as revision 7688 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-24 15:32:49 +00:00
Ian Caulfield
44a39bd770 Allows the AC3 parser to read the frame size and codec parameters from E-AC3 streams,
allowing them to be correctly demuxed.
Currently it only identifies the primary substream, and will skip over any additional
dependent or independent substreams.
Patch by Ian Caulfield % ian P caulfield A gmail P com %
Original thread:
date: Jan 19, 2007 9:55 AM
subject: Re: [Ffmpeg-devel] [PATCH] Correctly parse headers of E-AC3 streams

Originally committed as revision 7687 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-24 15:31:48 +00:00
Michael Niedermayer
6ad7cd0469 set last_picture for h.264 too, this significantly improves error concealment quality, i hope it doesnt break anything as last_picture_ptr was always NULL for h.264
Originally committed as revision 7686 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-24 14:20:00 +00:00
Michael Niedermayer
0c74098b1c crash fix by Carl Eugen Hoyos cehoyos ag.or at
Originally committed as revision 7684 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-24 11:20:01 +00:00
Michael Niedermayer
9ce5f3b7ea explicit values for all enums
Originally committed as revision 7683 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-24 11:01:17 +00:00
Michael Niedermayer
3e997aa425 enum
Originally committed as revision 7678 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-24 10:41:03 +00:00
Michael Niedermayer
2c16032028 maybe fix segfault with missing extradata (unchecked)
Originally committed as revision 7677 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-24 00:54:36 +00:00
Michael Niedermayer
08eb8fcdbf fix segfault with darkkben.free.fr/corrupted_h264.mp4
Originally committed as revision 7671 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-23 19:32:26 +00:00
Michael Niedermayer
2f29af3952 flame
Originally committed as revision 7664 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-23 13:42:09 +00:00
Michael Niedermayer
6f9ca74bec check num_reorder_frames for validity
increase delayed_pic buffer size (one temporary is used and a terminating NULL is assumed by most code so it has to be 18 large)

Originally committed as revision 7663 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-23 13:36:56 +00:00
Michael Niedermayer
9170e34537 adding assert to protect delayed_pic
Originally committed as revision 7661 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-23 12:45:57 +00:00
Luca Barbato
6847e61af3 10l, there is a corner case afterall...
Originally committed as revision 7660 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-23 12:04:48 +00:00
Michael Niedermayer
b34397b4cd 1/0 fix
Originally committed as revision 7658 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-22 22:27:02 +00:00
Diego Biurrun
98cc3cea33 Fix FSF postal address.
Originally committed as revision 7638 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-22 01:18:33 +00:00
Diego Biurrun
9688979c51 Fix some more license headers.
Originally committed as revision 7637 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-22 01:16:42 +00:00
Diego Biurrun
7ce6a249c7 cosmetics: Sort decoder/encoder/parser variables lists.
Originally committed as revision 7630 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-21 22:45:18 +00:00
Måns Rullgård
bf60f563aa remove the last #ifdef from allcodecs.c
Originally committed as revision 7627 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-21 22:31:52 +00:00
Diego Biurrun
ec23a8cb73 cosmetics: List all encoders together.
Originally committed as revision 7626 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-21 22:20:18 +00:00
Måns Rullgård
f9aba097a3 remove useless #ifdef CONFIG_ZLIB
Originally committed as revision 7624 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-21 21:58:32 +00:00
Måns Rullgård
e3d2a690e8 remove useless #ifdef CONFIG_ZLIB
Originally committed as revision 7623 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-21 21:55:10 +00:00
Benjamin Larsson
21f6aa108f Remove debug line.
Originally committed as revision 7621 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-21 21:25:16 +00:00
Benjamin Larsson
8adc51f2ad Add flashsv encoder to changelog and fix the encoder so it actually works.
Originally committed as revision 7620 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-21 21:24:05 +00:00
Måns Rullgård
90d912afd9 remove no longer needed ifeq tests
Originally committed as revision 7618 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-21 21:06:10 +00:00
Måns Rullgård
eba70fa4e2 remove no longer needed #ifdefs
Originally committed as revision 7617 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-21 21:04:01 +00:00
Benjamin Larsson
053185c2fa Flash screen video encoder.
Originally committed as revision 7615 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-21 20:56:20 +00:00
Diego Biurrun
efbd19fe76 Declare zlib dependency in the Makefile, not in the source.
Originally committed as revision 7610 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-21 20:04:00 +00:00
Benjamin Larsson
60527f3163 Really fix my never ending mistakes.
Originally committed as revision 7609 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-21 18:46:19 +00:00
Benjamin Larsson
97ec93e176 Don't break compilation on systems without zlib.
Originally committed as revision 7608 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-21 17:48:03 +00:00
Benjamin Larsson
0f7af06674 The block_size might be used incorrectly if it is not updated.
Originally committed as revision 7607 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-21 14:14:50 +00:00
Luca Barbato
f8a32f450a Constantize AVOption, solve few warnings, patch from flameeyes@gentoo.org aka "the other Diego"
Originally committed as revision 7601 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-21 12:32:01 +00:00
Benjamin Larsson
65de07ea4f Fixed a typo, cosmetics.
Originally committed as revision 7598 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-21 12:27:53 +00:00
Benjamin Larsson
96dbe78f75 Get rid of #ifdef CONFIG_ZLIB in the code. Code cleanup.
Originally committed as revision 7597 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-21 12:26:23 +00:00
Reimar Döffinger
5484dad7f6 Fix crash when pred_order greater s->blocksize >> rice_order.
Fixes http://sam.zoy.org/zzuf/lol-mplayer.flac

Originally committed as revision 7595 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-21 09:55:28 +00:00
Michael Niedermayer
88e7a4d18c checking bitstream values and other related changes
some of these might have been exploitable

Originally committed as revision 7591 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-20 13:50:00 +00:00
Alex Beregszaszi
fead30d444 rename BE/LE_8/16/32 to AV_RL/B_8/16/32
Originally committed as revision 7587 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-19 22:12:59 +00:00
Guillaume Poirier
50eaa857c0 remove useless cast that makes code unreadable
Originally committed as revision 7586 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-19 12:41:56 +00:00
Francois Oligny-Lemieux
ac658be5db harden h264 decoding to prevent some crashes when input data is corrupted.
Patch by Frank %eucloid A gmail P com%
date: Jan 18, 2007 6:48 PM
subject: Re: [Ffmpeg-devel] h264, protection against corrupted data (second try patch)
AND
date: Jan 17, 2007 8:22 PM
subject: [Ffmpeg-devel] h264, protection against corrupted data

this also fixes a possible security issue (the sps and pps ids where not checked,
then used as index into an array of sps/pps structs which was then filled with data from the bitstream)

Originally committed as revision 7585 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-19 09:37:04 +00:00
Michael Niedermayer
045bdb5ab4 uint16->uint8
Originally committed as revision 7584 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-19 03:14:13 +00:00
Panagiotis Issaris
e2158da8cc Change the Snow encoder to always use the available MotionEstContext pointer.
Originally committed as revision 7579 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-18 13:35:24 +00:00
Luca Barbato
79acfb0e13 Avoid branches in the loop and solve a gcc warning
Originally committed as revision 7566 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-17 11:02:07 +00:00
Luca Barbato
6845801f82 Cosmetics
Originally committed as revision 7564 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-17 10:47:58 +00:00
Panagiotis Issaris
0467531999 fix segfault with http://sam.zoy.org/zzuf/lol-ffplay.ogm and
http://sam.zoy.org/zzuf/lol-ffplay.ogg

Originally committed as revision 7561 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-17 10:26:13 +00:00
Michael Niedermayer
d9319ccebd set data_size to 0 so that in case we return without setting it nothing funny can happen
Originally committed as revision 7558 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-16 23:28:41 +00:00
Luca Barbato
a02142a50a fix a gcc warning, avoid an unnecessary operation
Originally committed as revision 7555 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-16 22:07:49 +00:00
Reimar Döffinger
b18e5c031c Avoid calling decode_slice when context_initialized is not set.
Avoids a crash due to dsp.clear_blocks being NULL when called.

Originally committed as revision 7547 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-16 17:46:26 +00:00
Michael Niedermayer
0e066acb62 fix segfault with http://sam.zoy.org/zzuf/lol-ffplay.mpg and http://sam.zoy.org/zzuf/lol-ffplay.m2v
Originally committed as revision 7538 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-15 23:26:09 +00:00
Roman Shaposhnik
e950141a58 * Fixing a bug with incorrect bits set in AAUX source pack
* Making DV codec release a buffer on exit
   * Flagging accepted pix_fmts for DV encoder

Originally committed as revision 7531 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-15 07:41:28 +00:00
Michael Niedermayer
ac66834c75 avcodec_decode_audio2()
difference to avcodec_decode_audio() is that the user can pass the allocated size of the output buffer to the decoder and the decoder can check if theres enough space

Originally committed as revision 7518 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 23:50:06 +00:00
Michael Niedermayer
4785c01668 er and strict also apply to audio theoretically
Originally committed as revision 7510 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 23:19:22 +00:00
Aurelien Jacobs
ae5574508e cosmetics: reindent
Originally committed as revision 7486 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 18:18:14 +00:00
Aurelien Jacobs
dd9b86354c add support for another variant of vp6
with block coeffs coded separatly from other parts of the frame

Originally committed as revision 7484 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 18:17:15 +00:00
Reimar Döffinger
a5ee04c3e0 Buffer for get_bits must be padded because readers may overread.
Originally committed as revision 7477 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 16:11:10 +00:00
Michael Niedermayer
2d0bcfb412 some interlaced direct sanity checks
Originally committed as revision 7442 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-13 02:45:05 +00:00
Michael Niedermayer
3b6dc9ca6d replace a few hardcoded numbers with their correct named ones
Originally committed as revision 7441 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-13 01:00:37 +00:00
Michael Niedermayer
6de062957b fix 16 CABAC_BIT * 10l bug introduced in r6578
Originally committed as revision 7440 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-13 00:56:43 +00:00
Baptiste Coudurier
d0f4e4fb17 print error when decoding fails
Originally committed as revision 7436 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-10 14:23:28 +00:00
Diego Biurrun
a9621908dc Unconditionally enable Theora decoder. It works fine now and there is no
Theora support through libtheora in FFmpeg.

Originally committed as revision 7435 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-10 14:19:33 +00:00
Guillaume Poirier
f57c7ad234 add missing bit from commit r7423
Originally committed as revision 7424 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-07 23:34:01 +00:00
Siarhei Siamashka
7a88606398 Optimization of 'dct_unquantize_h263_intra' for ARM (armv5te)
patch by Siarhei Siamashka % siarhei P siamashka A gmail P com %
Original thread:
Date: Jan 6, 2007 5:07 PM
Subject: [Ffmpeg-devel] [PATCH] Optimization of 'dct_unquantize_h263_intra' for ARM (armv5te) (try2)
and
Date: Jan 2, 2007 6:13 PM
Subject: [Ffmpeg-devel] [PATCH] Optimization of 'dct_unquantize_h263_intra' for ARM (armv5te)

Originally committed as revision 7423 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-07 23:24:14 +00:00
Robert Swain
a5474d50c3 enable bidirectional me with x264
patch by Robert Swain <robert =dot= swain =at= gmail =dot= com>

Originally committed as revision 7422 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-07 18:04:11 +00:00
Diego Biurrun
20c9dfe391 cosmetics: Reorder external libraries.
Originally committed as revision 7418 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-07 00:07:10 +00:00
Diego Biurrun
6ebe07fbb5 variable renaming: mp3lame --> libmp3lame
Originally committed as revision 7417 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-07 00:02:15 +00:00
Diego Biurrun
2eed5a461f Rename variables: faad --> libfaad, faac --> libfaac, faadbin --> libfaadbin
Originally committed as revision 7416 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-06 23:54:01 +00:00
Diego Biurrun
3ffab36139 variable renaming: dts --> libdts
Originally committed as revision 7415 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-06 23:44:48 +00:00
Diego Biurrun
f8904fd959 Rename variables: a52 --> liba52, a52bin --> liba52bin
Originally committed as revision 7414 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-06 23:33:43 +00:00
Michael Niedermayer
bc9a459780 maybe fixing a segfault
Originally committed as revision 7407 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-03 11:32:02 +00:00
Michael Niedermayer
1e90b34f08 dead code removial
Originally committed as revision 7405 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-03 00:48:20 +00:00
Michael Niedermayer
396a5e6837 store a few values in the header as difference to the last
this makes frames a few bytes smaller (0.1% for high bitrate but >1% for low bitrates)

Originally committed as revision 7401 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-02 12:24:31 +00:00
Kostya Shishkov
aac88b534c Decode previous 32 frames to avoid seeking artifacts in MPC
Originally committed as revision 7393 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-01 05:32:27 +00:00
Michael Niedermayer
2606f38a67 skiprd doxygen comment from avcodec.h -> AVOption comment
Originally committed as revision 7376 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-26 17:08:03 +00:00
Kostya Shishkov
185c7b6b26 Musepack SV7 decoding support
Originally committed as revision 7375 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-24 04:51:43 +00:00
Michael Niedermayer
c52f5d66a2 skiprd
Originally committed as revision 7365 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-23 03:05:36 +00:00
Michael Niedermayer
d951bb9a5c test DIRECT{0,0} too if flag mv0 is used
slight PSNR/bitrate increase

Originally committed as revision 7361 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-22 23:30:57 +00:00
Baptiste Coudurier
a45bc5922f bt 0 is invalid, setting min to 1
Originally committed as revision 7357 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-22 10:10:13 +00:00
Aurelien Jacobs
df32bc1213 more simplification
Originally committed as revision 7352 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-21 22:58:02 +00:00
Michael Niedermayer
acff54d831 10l
Originally committed as revision 7351 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-21 22:35:13 +00:00
Michael Niedermayer
5970845f1f FIXME has already been fixed ages ago
Originally committed as revision 7348 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-21 15:49:40 +00:00
Michael Niedermayer
66884a2946 simplify
Originally committed as revision 7347 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-21 15:46:32 +00:00
Michael Niedermayer
d6975eb82b use qscale_table in adaptive quant
some PSNR/bitrate improvement for adaptive quant

Originally committed as revision 7346 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-21 15:45:53 +00:00
Michael Niedermayer
2175b80bed simplify
Originally committed as revision 7345 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-21 15:22:16 +00:00
Michael Niedermayer
3b9cf3bdb3 i think this if() is useless lets abuse our users to test this ;)
Originally committed as revision 7344 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-21 15:21:44 +00:00
Michael Niedermayer
2f16af0667 skip motion estimation and encoding of non direct-0,0 MBs if the next MB is skiped (mpeg4 doesnt allow such MBs and in the past we did ME and encoding until at the end we droped them, so this should be faster though i didnt benchmark it, benchmark welcome)
Originally committed as revision 7343 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-21 15:20:02 +00:00
Michael Niedermayer
59743d16c7 dont randomly disallow intr4v in adaptive quant
some PSNR/bitrate gain if adaptive quant is used
initalize qscale_table correctly (it was pretty much random since the qp->lambda change)
  this probably has not much effect as the table isnt used currently IIRC

Originally committed as revision 7342 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-21 14:24:23 +00:00
Michael Niedermayer
51b1a6c939 dont randomly dissallow direct MBs
some PSNR/bitrate gain for b frames with adaptive quant or QPRD

Originally committed as revision 7341 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-21 13:23:49 +00:00
Michael Niedermayer
cb284d4b77 try direct mode MB after QPRD, slight PSNR/bitrate gain if b frames + QPRD
Originally committed as revision 7336 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-20 23:43:13 +00:00
Michael Niedermayer
e4d0e2edb9 fix special casing of the 0,0 MV for b frames (slight PSNR/bitrate gain)
Originally committed as revision 7334 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-20 17:11:54 +00:00
Michael Niedermayer
ff8dc81b5b dont favor the zero MV if mv0 is used (psnr per bitrate gains ranging from 0 to 0.14, most are <=0.04 though)
Originally committed as revision 7333 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-20 01:30:17 +00:00
Guillaume Poirier
5a5c770d5a Add SSSE3 (Core2 aka Conroe/Merom/Woodcrester new instructions) detection
Originally committed as revision 7332 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-18 22:43:09 +00:00
Michael Niedermayer
832a7b631f minor doc fix
Originally committed as revision 7331 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-18 19:27:28 +00:00
Baptiste Coudurier
7910d13474 always print message when error, AV_LOG_DEBUG -> AV_LOG_ERROR
Originally committed as revision 7330 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-18 13:45:03 +00:00
Aurelien Jacobs
9110a0e32d Add support for VP60 and VP61.
Originally committed as revision 7329 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-17 22:00:12 +00:00
Michael Niedermayer
95cefcb4ed 10l
Originally committed as revision 7328 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-17 15:41:30 +00:00
Aurelien Jacobs
c29ff23c2a small optimization
Originally committed as revision 7327 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-17 15:26:50 +00:00
Michael Niedermayer
af6a403a05 warn user if the selected diamond size is larger then the motion estimation score cache size
Originally committed as revision 7326 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-17 13:11:34 +00:00
Michael Niedermayer
a6daaf7cce limit x/ymin/max to me_range
slight psnr/bitrate gain for most but not all files if me_range is used

Originally committed as revision 7325 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-17 12:07:09 +00:00
Reimar Döffinger
6f3e4e1712 Check mb_pos is big enough before trying to access data left or above.
Fixes out-of-bound access for http://samples.mplayerhq.hu/V-codecs/WMV9/nokia_n90.wmv

Originally committed as revision 7324 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-17 11:11:44 +00:00
Benjamin Larsson
162b983598 av_log(NULL,... -> av_log(avctx,.. where appropriate.
Originally committed as revision 7319 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-14 17:58:25 +00:00
Benjamin Larsson
e7a6d5f313 Bug fix for crashes when SSE is used on unaligned arrays.
No measureable change in speed. This gave random crashes on Win32
and BeOS. The cause for this bug is that gcc doesn't align the
stackframe. Linux and glibc always ensure this to be true thus
this never affected Linux.

Originally committed as revision 7318 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-14 17:50:23 +00:00
Diego Biurrun
f70d367b63 vqmin/vqmax --> qmin/qmax in the option description
Originally committed as revision 7316 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-13 11:10:41 +00:00
Guillaume Poirier
e828d257e7 Doxygen comments about variables described by Michael here:
Date: Tue, 12 Dec 2006 14:00:54 +0100
Subject: Re: [Ffmpeg-cvslog] r6876 - trunk/libavcodec/motion_est.c

Originally committed as revision 7288 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-12 13:41:17 +00:00
Michael Niedermayer
2b0cdd9ec6 mv overflow in map fix (untested except regression tests)
Originally committed as revision 7287 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-12 13:31:12 +00:00
Reimar Döffinger
c8aee695c5 Fix JPEG-LS encoder 0xff-escaping writing too much or uninitialized data.
Originally committed as revision 7284 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-11 20:18:36 +00:00
Panagiotis Issaris
c6b237da9e Adding H.264 DCT.
Originally committed as revision 7282 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-11 15:53:55 +00:00
Michael Niedermayer
2f5560ee49 fix playback of mp3_bits_left.avi
Originally committed as revision 7279 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-11 13:01:20 +00:00
Guillaume Poirier
ec4e0056ef GCC 3.3 compile fix
Originally committed as revision 7277 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-11 10:52:18 +00:00
Diego Biurrun
895bf49961 Improve option description.
Originally committed as revision 7276 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-11 10:51:42 +00:00
Måns Rullgård
c1173617ce improved stack misalignment warning
Originally committed as revision 7275 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-11 09:19:58 +00:00
Panagiotis Issaris
e39e60a37e Adding function which enables writing H.264 NAL units.
Originally committed as revision 7273 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-11 01:00:50 +00:00
Reimar Döffinger
46f9dcc3ee Fix 16 bit cscd samples, 16 bit raw means RGB555 on Windows, and the original
cscd codec is for windows.

Originally committed as revision 7266 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-09 13:30:28 +00:00
Reimar Döffinger
2c04fc1f8c Typo in error message
Originally committed as revision 7265 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-09 13:13:45 +00:00
Martin Storsjö
4027ed1d06 fix bug when __GNUC__ isn't defined and when compiling for a non-x86 architecture, patch by Martin Storsjö, martin at martin st
Originally committed as revision 7261 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-08 13:25:37 +00:00
Kostya Shishkov
a4b940198a Deobfuscate expression
Originally committed as revision 7260 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-08 05:28:00 +00:00
Kostya Shishkov
3dd52c5afe Now ZMBV encoder compiles
Originally committed as revision 7259 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-08 05:13:40 +00:00
Kostya Shishkov
766937298e 1e6l forgot to add zmbvenc.c
Originally committed as revision 7258 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-08 04:37:00 +00:00
Måns Rullgård
c97dc988ba lavc is at major version 51, delete old stuff
Originally committed as revision 7257 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-08 00:42:55 +00:00
Måns Rullgård
849f10351d rename always_inline to av_always_inline and move to common.h
Originally committed as revision 7256 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-08 00:35:08 +00:00
Michael Niedermayer
6c81ca9906 better warning
Originally committed as revision 7250 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-07 18:35:58 +00:00
Michael Niedermayer
6dc7d5da70 ff_check_alignment to warn the user about a missaligned stack
Originally committed as revision 7249 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-07 18:33:00 +00:00
Michael Niedermayer
f95778f80d fix compilation
Originally committed as revision 7248 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-07 18:29:02 +00:00
Panagiotis Issaris
f1862127f5 Added entry for H.264 DCT to the DSP context.
Originally committed as revision 7247 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-07 16:09:33 +00:00
Panagiotis Issaris
3edeab8209 Add codec ID for a native H.264 encoder.
Originally committed as revision 7246 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-07 15:59:42 +00:00
Panagiotis Issaris
acd8d10ffb Making rem6 and div6 globally visible and thus adding prefixes.
Originally committed as revision 7245 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-07 09:59:05 +00:00
Panagiotis Issaris
14e95e2c92 Removing unused code
Originally committed as revision 7244 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-07 09:47:29 +00:00
Kostya Shishkov
f48d6e1b44 ZMBV encoder
Originally committed as revision 7242 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-07 04:17:01 +00:00
Måns Rullgård
8da9266cea use the standard INT64_C() macro for 64-bit constants
Originally committed as revision 7240 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-06 23:46:11 +00:00
Panagiotis Issaris
d3075ed502 Add "mixed_refs" description suggested by Loren Merritt and update accompanying
comment in the code.

Originally committed as revision 7235 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-06 17:04:23 +00:00
Panagiotis Issaris
119aae1dd5 Add more descriptions to the AVOption array taken from the avcodec.h AVCodec structure member comments.
Originally committed as revision 7233 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-06 08:24:29 +00:00
Panagiotis Issaris
a074f143dd Export symbols of several H.264 intra prediction functions
Originally committed as revision 7232 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-06 08:17:43 +00:00
Alexander Chemeris
a083f53c45 fix crash when decoding a truncated H264 slice
patch by Alexander Chemeris % ipse P ffmpeg A gmail.com %
Original thread:
date: Dec 5, 2006 7:26 PM
subject: [Ffmpeg-devel] [PATCH] Fix crush when truncated slice passed to H.264 decoder

Originally committed as revision 7229 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-05 22:18:19 +00:00
Panagiotis Issaris
3ee5c5b739 Removing unused code
Originally committed as revision 7228 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-05 22:05:09 +00:00
Panagiotis Issaris
ea9f5d6f76 Add comment denoting group of H.264 functions
Originally committed as revision 7227 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-05 21:57:31 +00:00
Panagiotis Issaris
550e66cb59 Change NAL unit type defines to an enum and move to a header file for usage
in other code.

Originally committed as revision 7226 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-05 21:52:15 +00:00
Michael Niedermayer
2421a01b25 10l umh search needs hex size 2 now after the last change
Originally committed as revision 7224 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-05 12:35:47 +00:00
Michael Niedermayer
f852ff3257 make hex and large 2 small diamond search half their size instead or -1 if the initial size was a power of 2
double the hex size so odd sized hexagons are possible

Originally committed as revision 7223 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-05 12:34:52 +00:00
Diego Biurrun
4a1bb6196b Fix some obvious mistakes in the option descriptions.
Originally committed as revision 7220 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-04 12:04:53 +00:00
Reimar Döffinger
cf1e119bb2 Move BE_*/LE_*/ST*/LD* macros to a common place. Some further
optimization/cleanup would be desirable (e.g. LE_* and LD*
should be the same on x86).

Originally committed as revision 7218 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-03 16:35:30 +00:00
Mike Melanson
10f865c9b7 Another hack to allow the Cinepak decoder to detect both types of deviant Cinepak
data. Tested against both known FILM files, several CPK files, and normal
CVID-encoded files.

Originally committed as revision 7215 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-02 22:27:18 +00:00
Víctor Paesa
970419236d Fill in some missing AVOption descriptions.
patch by Víctor Paesa, wzrlpy arsystel com

Originally committed as revision 7213 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-02 18:58:20 +00:00
Guillaume Poirier
3813dcc9bf Add IDCT8 routine in Altivec. Patch by yours truely with Linux fixes by Luca Barbato
Originally committed as revision 7210 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-02 14:50:42 +00:00
Diego Biurrun
c6c367254f spelling cosmetics: cliped --> clipped
Originally committed as revision 7208 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-02 14:19:49 +00:00
Kostya Shishkov
08baa3e0d7 10e6l FastUVMC was done right but in the wrong place
Originally committed as revision 7207 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-02 12:55:29 +00:00
Michael Niedermayer
516ea8d222 fix indention
Originally committed as revision 7206 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-02 11:24:41 +00:00
Michael Niedermayer
1994e7c6b6 dia_size=-1 -> funny_diamond_search()
dia_siue=768 + size -> umh search (old -1 was 784)

Originally committed as revision 7205 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-02 10:58:20 +00:00
Michael Niedermayer
376edfcc0f hexagon search
dia_size=512 + hexagon size (513 is the normal one used in h264)
large to small diamond search
        dia_size=256 + diamond size

Originally committed as revision 7204 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-02 10:45:51 +00:00
Luca Barbato
4b47d258f6 Unused variable removed
Originally committed as revision 7203 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-02 01:28:21 +00:00
Michael Niedermayer
ed1dfc4970 remove pretty much useless skiping of some predictors
this has pretty much no quality or speed effect except very small random changes

Originally committed as revision 7202 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-01 20:38:54 +00:00
Baptiste Coudurier
1a1c53856f mjpeg a dump header bitstream filter, modifies bitstream to be decoded by quicktime
Originally committed as revision 7201 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-01 14:06:21 +00:00
Baptiste Coudurier
e68e5ab0cf add bytestream big endian 16/32 writing functions
Originally committed as revision 7200 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-01 14:01:50 +00:00
Michael Niedermayer
c9cac6e3d7 typo in umh
Originally committed as revision 7193 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-01 09:58:06 +00:00
Michael Niedermayer
c7675718e4 UMH support (dia_size=-1 activates it)
Originally committed as revision 7192 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-01 09:48:33 +00:00
Michael Niedermayer
ac003d2461 cosmetic (prevent name clashes of variables in a macro with surrounding code)
Originally committed as revision 7191 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-01 09:46:52 +00:00
Kostya Shishkov
98ba1cfaf7 100l FastUVMC rounding was incorrect.
This should also improve quality on WMV9Drifting.asf

Originally committed as revision 7190 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-01 07:24:56 +00:00
Michael Niedermayer
f7f8af46f7 1 step diamond search around the median MV predictor
+0.01 PSNR
idea from x264

Originally committed as revision 7189 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-30 22:44:22 +00:00
Kostya Shishkov
7667896a36 VQA v1 support
Originally committed as revision 7183 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-29 05:40:37 +00:00
Aurelien Jacobs
f39020269e cleanup the #ifdef mess in encoder/decoder/parser registration
Originally committed as revision 7182 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-28 23:55:24 +00:00
Kostya Shishkov
7504e4fa1d Correct information in header
Originally committed as revision 7178 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-28 05:34:28 +00:00
Robert Swain
c411e7f6fb alphabetic reordering of codec registration
patch by Robert Swain < robert.swain _at_ gmail.com >

Originally committed as revision 7176 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-27 13:04:56 +00:00
Michael Niedermayer
c61b9d4473 PIC fix
Originally committed as revision 7173 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-27 10:56:10 +00:00
Brian Foley
49cef7443a Move copy_block* functions to dsp dsputil.h
Patch by Brian Foley % bfoley A compsoc P nuigalway P ie %
Original thread:
Date: Nov 26, 2006 6:44 PM
Subject: Re: [Ffmpeg-devel] [PATCH] put_mpeg4_qpel16_h_lowpass altivec, take 2

Originally committed as revision 7172 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-26 18:25:07 +00:00
Kostya Shishkov
61f5b14a8e Correct rounding values in overlap filtering
Originally committed as revision 7171 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-26 04:57:31 +00:00
Kostya Shishkov
5081f3aad5 B-frames support for adv. profile
Originally committed as revision 7170 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-26 04:54:17 +00:00
Kostya Shishkov
b8ce8f15a0 100l: Initialize dc_scale with current quantizer for adv I frames
Originally committed as revision 7169 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-26 04:53:36 +00:00
Kostya Shishkov
25e9c7efa5 Use halfpq in coefficient scaling
Originally committed as revision 7168 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-26 04:52:36 +00:00
Luca Barbato
c61e1098e7 typo
Originally committed as revision 7166 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-24 12:36:06 +00:00
Steven Johnson
fce2200da0 Implement DELTA_FLI opcodes correctly. Patch by Steven Johnson
Originally committed as revision 7165 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-24 00:16:32 +00:00
Alex Beregszaszi
37e6f5f321 support byte_run=0 case in DELTA_FLI (this case means only skip pixels)
Originally committed as revision 7164 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-23 23:50:08 +00:00
Alex Beregszaszi
fe99025b16 10l memory corruption bug found by Steven Johnson
Originally committed as revision 7163 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-23 22:57:20 +00:00
Aurelien Jacobs
17c90b9d62 flac: allow reading of full metadata headers from extradata
Originally committed as revision 7161 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-23 22:22:03 +00:00
Bill O'Shaughnessy
3e954443dd bring AC3 encoder output up to input volume level
patch by Bill O'Shaughnessy % bill P oshaughnessy A gmail.com %
+ reg tests update gruntwork by me
Original thread:
date: Nov 21, 2006 11:36 PM
subject: [Ffmpeg-devel] Simpler Patch to bring AC3 encoder output up to input level

Originally committed as revision 7160 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-23 22:21:01 +00:00
Baptiste Coudurier
3c1418175d fix bitstream to be correctly decoded by quicktime
Originally committed as revision 7157 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-22 13:53:22 +00:00
Baptiste Coudurier
f856756059 fix sigfpe with intra only encoding
Originally committed as revision 7156 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-22 13:24:58 +00:00
Diego Biurrun
8cff89be43 Conditionally compile some of the AltiVec optimizations.
Originally committed as revision 7154 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-22 09:20:16 +00:00
Matthias Hopf
1e25a7e7eb fix some potential security issues, patch by Matthias Hopf, mat at mshopf dot de
Originally committed as revision 7153 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-22 01:11:29 +00:00
Diego Biurrun
248bc6bb8c Fix compilation with VC-1 decoder disabled.
Originally committed as revision 7149 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-21 21:18:55 +00:00
Michael Niedermayer
bb243e7100 fix b frames + -mbd rd without -psnr (yes that was seriously buggy and probably hasnt been noticed as everyone who tested stuff used -psnr)
Originally committed as revision 7148 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-21 19:37:44 +00:00
Michael Niedermayer
169bc475d1 100l infinite loop fix
Originally committed as revision 7147 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-21 19:35:06 +00:00
Kostya Shishkov
426b11a833 Decode non-interleaved scans
Originally committed as revision 7143 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-21 06:15:18 +00:00
Guillaume Poirier
8db4f43c68 Fix declaration and code thingie
Originally committed as revision 7140 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-20 20:41:31 +00:00
Martin
4ec0ccb1a4 allow amr bitrate to be changed "on the fly" through avctx->bitrate.
Patch by Martin % marthi A graphics P cs P uni - sb P de %
Original thread:
date: Nov 20, 2006 6:20 PM
subject: Re: [Ffmpeg-devel] [PATCH] Re: AMR bitrate

Originally committed as revision 7139 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-20 20:35:47 +00:00
Tom Harper
9f83e1427a Fix linking with H.261 support disabled.
patch by Tom Harper, d.thomas.harper gmail com

Originally committed as revision 7134 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-20 14:13:32 +00:00
Michael Niedermayer
ec9ed85dc7 infiinit loop fix for CBR + adaptive quant
Originally committed as revision 7133 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-20 11:53:02 +00:00
Michael Niedermayer
789382d340 100l qprd fix 2nd try
Originally committed as revision 7132 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-20 10:48:23 +00:00
Kostya Shishkov
6ffdc53de9 Some progressive JPEG support
Originally committed as revision 7131 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-20 05:21:17 +00:00
Michael Niedermayer
3f9fea7230 testing all dquant for qp_rd fixes the qp runaway to 31 bug
Originally committed as revision 7126 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-19 23:19:52 +00:00
Guillaume Poirier
00f636a04f Add useful Altivec types, taken from with permission from x264 authors
Originally committed as revision 7125 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-19 22:51:54 +00:00
Kostya Shishkov
c8f9f9b91a Divide first audio buffer chunk into atomary bufffers.
This slightly simplifies decoder and removes potential
audio buffer overrun.

Originally committed as revision 7121 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-19 05:30:43 +00:00
Benjamin Larsson
3644d47241 Missed one log2().
Originally committed as revision 7117 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-17 21:43:46 +00:00
Kostya Shishkov
b615c1edfc Optimize overlapping
Suggested by Skal, sprintf(mail, "skal%d@orange.fr", 0xFFFF)

Originally committed as revision 7113 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-17 06:12:33 +00:00
Kostya Shishkov
7ad8d3bf0c Fix comments
Originally committed as revision 7112 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-17 06:10:52 +00:00
Kostya Shishkov
b6fa8993fb Overlap filtering was done in reverse order
Originally committed as revision 7111 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-17 06:09:32 +00:00
Alex Beregszaszi
20d46c038a Remove alpha channel from RGB555
Originally committed as revision 7106 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-16 20:46:36 +00:00
Alex Beregszaszi
08d23410ea BGR555 has never been working as alpha supporting format. Remove the false setting.
Originally committed as revision 7105 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-16 20:43:29 +00:00
Baptiste Coudurier
a57d13b713 throw error if unsupported resolution is used with h261
Originally committed as revision 7097 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-16 09:58:34 +00:00
Michael Niedermayer
8e5606bfcd detect a few more errors (fixes libmp3-bug.avi again)
make pickyness of the decoder user selectable through error_resilience param like for video decoders

Originally committed as revision 7089 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-15 17:58:35 +00:00
Michael Niedermayer
ee50a7c1e5 making decoding more error robust
Originally committed as revision 7073 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-14 22:06:28 +00:00
Michael Niedermayer
9bb328d397 reset internal buffer during seeking
Originally committed as revision 7070 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-14 20:39:20 +00:00
Michael Niedermayer
bd60e11bf4 more checks and error messages
Originally committed as revision 7069 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-14 20:35:15 +00:00
Alex Beregszaszi
b362567605 changed rgba32_to routines to support both alpha and non-alpha formats (see r7066 too)
Originally committed as revision 7067 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-14 19:53:22 +00:00
Alex Beregszaszi
8e96866a52 changed rgba32_to routines to support both alpha and non-alpha formats
Originally committed as revision 7066 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-14 19:48:11 +00:00
Alex Beregszaszi
d8b45f7961 Fix possible overflows. Found by Steven Johnson
Originally committed as revision 7065 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-14 19:19:13 +00:00
Benjamin Larsson
521fe1d2da Remove log2() usage.
Originally committed as revision 7063 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-14 18:54:42 +00:00
Måns Rullgård
486497e07b revert bad checkin
Originally committed as revision 7044 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-14 03:18:09 +00:00
Måns Rullgård
be6ed6fff4 move some CFLAGS settings away from config.* writing section
Originally committed as revision 7043 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-14 03:12:29 +00:00
Diego Biurrun
10265a1aa9 Remove redundant #ifdef HAVE_THREAD, the file is only compiled
if that condition holds anyway.

Originally committed as revision 7029 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-14 00:56:56 +00:00
Måns Rullgård
af63114e0d rename CONFIG_AC3 to CONFIG_A52
it's more consistent and Dolby never liked people "infringing" their TM

Originally committed as revision 7014 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-13 22:09:31 +00:00
Kostya Shishkov
ee0a035820 Support for 16-bit grayscale
Originally committed as revision 7012 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-13 11:39:28 +00:00
Kostya Shishkov
2878cecd6d Give error about planar RGB
Originally committed as revision 7011 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-13 11:38:42 +00:00
Kostya Shishkov
b39cf84cca Update error message
Originally committed as revision 7010 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-13 11:36:22 +00:00
Kostya Shishkov
339aabd5a8 Use table for determining type sizes
Originally committed as revision 7009 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-13 11:34:46 +00:00
Baptiste Coudurier
9cc6be9d27 add low delay forcing option for mpeg1/2 encoding
Originally committed as revision 7008 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-13 11:30:26 +00:00
Kostya Shishkov
213309782d Decoder can decode many ZLib-packed strips
Originally committed as revision 7007 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-13 11:27:36 +00:00
Kostya Shishkov
d00026d062 Print error message for unsupported mode (RGB planar,CMYK,YCrCb)
Originally committed as revision 7006 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-13 11:20:50 +00:00
Kostya Shishkov
e2570297c0 8-bit images support for TIFF
Originally committed as revision 7005 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-13 05:32:10 +00:00
Kostya Shishkov
380fd08fe6 Rows per strip may be >= height
Originally committed as revision 7004 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-13 05:30:50 +00:00
Kostya Shishkov
27c189394b Warn about JPEG in TIFF
Originally committed as revision 7003 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-13 05:29:45 +00:00
Kostya Shishkov
ec8a152b6f Correctly detect 4-component images
Originally committed as revision 7002 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-13 05:28:55 +00:00
Kostya Shishkov
a47d3c0442 Output proper 16-bit sound (fixes decoding on PPC)
Originally committed as revision 7000 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-13 05:15:55 +00:00
Måns Rullgård
7466ed2f02 zigzag_direct_noperm doesn't exist, remove declaration
Originally committed as revision 6998 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-12 23:35:49 +00:00
Måns Rullgård
7b7abda3b3 make more tables static
Originally committed as revision 6996 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-12 23:14:20 +00:00
Måns Rullgård
1d50395746 rename squareTbl -> ff_squareTbl
Originally committed as revision 6995 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-12 21:48:04 +00:00
Stefan Gehrer
e275b7efd9 rename ff_cavs_flush to cavs_flush and make it static
Originally committed as revision 6994 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-12 20:23:47 +00:00
Stefan Gehrer
53aa68b329 move all cavs-parsing to cavs.c
This should help building parser without decoder

Originally committed as revision 6993 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-12 20:18:07 +00:00
Måns Rullgård
55fde95e3b rename cropTbl -> ff_cropTbl
Originally committed as revision 6992 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-12 20:08:09 +00:00
Stefan Gehrer
d136d2fcea make mpeg4video_split public as ff_mpeg4video_split
Originally committed as revision 6991 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-12 20:01:50 +00:00
Måns Rullgård
36cd306907 rename inverse -> ff_inverse
Originally committed as revision 6990 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-12 18:49:36 +00:00
Måns Rullgård
1bd29b078c make some tables static
Originally committed as revision 6981 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-12 13:40:40 +00:00
Måns Rullgård
bb54f6ab62 adding more static keywords
Originally committed as revision 6976 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-12 03:34:12 +00:00
Måns Rullgård
6b781ce746 make vp6_pcr_tree static
Originally committed as revision 6975 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-12 01:08:05 +00:00
Måns Rullgård
8e981daf2b make some symbols static
Originally committed as revision 6972 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-11 20:54:48 +00:00
Måns Rullgård
c328f313d8 make two functions static
Originally committed as revision 6970 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-11 19:46:53 +00:00
Michael Niedermayer
f1a06ca80b zero private bits
Originally committed as revision 6961 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-10 11:45:43 +00:00
Michael Niedermayer
eea784dab0 store a identifer and the first header in extradata
with this mp3 should be binary identical to what you had before header compression
support mp3 with crc (by droping the crc and putting it back during header decompress, currently its just random tough, does any deocoder even check it?)

Originally committed as revision 6960 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-10 11:31:02 +00:00
Michael Niedermayer
eacb41b2e9 mp3 header (de)compression bitstream filter
this will make mp3 frames 4 bytes smaller, it will not give you binary identical mp3 files, but it will give you mp3 files which decode to binary identical output
this will only work in containers providing at least packet size, sample_rate and number of channels
bugreports about mp3 files for which this fails are welcome
and this is experimental (dont expect compatibility and dont even expect to be able to decompress what you compressed, hell dont even expect this to work without editing the source a little)

Originally committed as revision 6958 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-10 01:41:53 +00:00
Michael Niedermayer
92a3541876 16bit in avi is RGB555
Originally committed as revision 6956 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-09 17:28:46 +00:00
Panagiotis Issaris
c2212338e8 Remove the H264Context parameter from decode_init_vlc() as it is not being used.
Originally committed as revision 6955 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-09 16:40:33 +00:00
Baptiste Coudurier
cbee7a6944 get rid of CODEC_ID_MPEG4AAC after next version bump, and change it to CODEC_ID_AAC where used
Originally committed as revision 6954 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-09 11:37:30 +00:00
Michael Niedermayer
6c4d16556b 10000l to myself, fixing regression test failure
Originally committed as revision 6953 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-09 01:23:47 +00:00
Michael Niedermayer
b5ca0c6ff9 100l for me, iam being to stupid to read the mpeg4 spec / eat stuffing mbs a the end of the picture
Originally committed as revision 6942 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-08 18:15:54 +00:00
Måns Rullgård
997baf0141 allow spaces in source and build directory names
out of tree builds from a source dir with spaces is impossible
due to how make handles vpath

Originally committed as revision 6938 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-08 00:02:15 +00:00
Baptiste Coudurier
9d210bb42b typo
Originally committed as revision 6934 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-07 13:50:41 +00:00
Baptiste Coudurier
80d617f5b4 add option to set mpeg1/2 gop timecode start, and drop frame flag timecode flag
Originally committed as revision 6933 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-07 13:45:08 +00:00
Luca Barbato
d9d2f88def Simplify
Originally committed as revision 6932 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-07 12:45:29 +00:00
Diego Biurrun
4802a7a7b1 Use MMX only under x86_32, there are compilation problems.
Originally committed as revision 6931 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-07 12:28:13 +00:00
Baptiste Coudurier
1766295516 add codec_tag and codec_stream_tag to MpegEncContext to not alter avctx values
Originally committed as revision 6930 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-07 09:46:57 +00:00
Kostya Shishkov
7d7912c34b Bump version for Fraps v[24] support
Originally committed as revision 6928 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-07 05:57:42 +00:00
Reimar Döffinger
e07eaaccc1 Avoid void*-arithmetic, and uint8_t* is more correct anyway.
Originally committed as revision 6918 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-06 17:56:08 +00:00
Baptiste Coudurier
79e7b9609e include parser.h instead of mpegvideo.h
Originally committed as revision 6916 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-06 10:47:41 +00:00
Baptiste Coudurier
7d6b1abe1a rename ff_mpeg1_find_frame_end to mpeg1_find_frame_end and make it static
Originally committed as revision 6915 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-06 10:46:54 +00:00
Baptiste Coudurier
4067d81be2 move AVCodecParser prototypes and definitions to parser.h, and move mpegvideo parser to mpeg12.c
Originally committed as revision 6914 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-06 10:43:49 +00:00
Zuxy Meng
360932f76d Fix ASF format parser's broken UTF-16 string handling
1. Add a PUT_UTF8 macro to common.h; code borrowed from libavcodec/flacenc.c.
2. Make use of the macro in flacenc.c
Patch by Zuxy Meng % zuxy P meng A gmail P com %
Original thread:
Date: Nov 5, 2006 9:56 AM
Subject: [Ffmpeg-devel] PUT_UTF8 & asf format enhancement

Originally committed as revision 6911 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-06 10:32:48 +00:00
Kostya Shishkov
f4e31985da Check for symbol count
Originally committed as revision 6910 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-06 06:13:29 +00:00
Kostya Shishkov
39ff2ee84d Limit output sample to 0..maxval, fixes decoding of T16E0.JLS
Originally committed as revision 6908 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-06 05:35:09 +00:00
Baptiste Coudurier
8cd13128b8 use AVRational and ff_frame_rate_tab for frame_rate
Originally committed as revision 6905 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-05 19:24:23 +00:00
Reimar Döffinger
c9ec7564f0 Move idct block array variable onto rtjpeg_decode_frame_yuv420 stack since
it is only used there and is only 128 byte large.
Also make it aligned to fix playback with altivec.

Originally committed as revision 6902 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-05 16:18:37 +00:00
Baptiste Coudurier
bc52b0c518 remove useless line variable
Originally committed as revision 6901 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-05 15:10:33 +00:00
Baptiste Coudurier
b190aa8919 fix decoding position
Originally committed as revision 6900 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-05 15:06:12 +00:00
Kostya Shishkov
75a71b6c38 Correct support for Fraps v4 (and Huffman tree for < 256 symbols)
Originally committed as revision 6898 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-05 08:18:52 +00:00
Kostya Shishkov
78629a746f Update comment
Originally committed as revision 6897 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-05 04:59:38 +00:00
Kostya Shishkov
08a4c4bfb9 Fraps v2 and v4 support
Originally committed as revision 6896 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-05 04:57:14 +00:00
Oded Shimon
483b8b1210 ministry of english grammar :) then->than
Originally committed as revision 6894 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-04 00:42:50 +00:00
Michael Niedermayer
21d4d5dafb doxy
Originally committed as revision 6893 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-03 20:30:22 +00:00
Michael Niedermayer
079e61db5d ensure alignment (no speed change)
Originally committed as revision 6891 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-03 16:54:05 +00:00
Michael Niedermayer
f5a9e8f33d merging mov & and (no speedchange)
Originally committed as revision 6889 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-03 16:02:18 +00:00
Michael Niedermayer
e80cf125a7 2 instructions less (same speed)
Originally committed as revision 6888 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-03 15:40:57 +00:00
Michael Niedermayer
9347118237 comment about failed optimization
Originally committed as revision 6887 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-03 15:17:36 +00:00
Michael Niedermayer
38cfdc83f0 move luma tc0 related init into asm
5% faster filter_mb_fast() on P3

Originally committed as revision 6884 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-03 14:28:30 +00:00
Kostya Shishkov
57aff88581 RGB32 support in Targa
Originally committed as revision 6883 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-03 13:13:08 +00:00
Michael Niedermayer
25225c3773 2 instructions less in h264_loop_filter_luma_mmx2()
Originally committed as revision 6882 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-03 12:07:53 +00:00
Michael Niedermayer
bda2203d56 preempt possible overflow
Originally committed as revision 6881 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-03 11:07:35 +00:00
Michael Niedermayer
5a1553dee3 1 instruction less
Originally committed as revision 6880 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-03 09:59:15 +00:00
Kostya Shishkov
a21711022e Use bpp from header in error message
Originally committed as revision 6878 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-03 04:42:11 +00:00
Michael Niedermayer
e9f1885c21 optimize H264_DEBLOCK_P0_Q0
2.5% faster filter_mb_fast() on P3

Originally committed as revision 6877 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-03 02:03:56 +00:00
Michael Niedermayer
dd7e46e7c3 new I/P frame selection heuristic
PSNR/bitrate is slightly better for my (short) test videos
more tests welcome ...

Originally committed as revision 6876 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-02 23:36:39 +00:00
Baptiste Coudurier
93481fe5fe change gif muxer to simple gif encoder
Originally committed as revision 6874 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-02 23:13:34 +00:00
Corey Hickey
1984f5cdc9 Correct description of mblmin and mblmax.
Originally committed as revision 6873 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-02 23:08:09 +00:00
Tom Harper
a9dc190f17 outputs bit spent on various encoding functions (motion vectors, overhead, etc)
back into AVCodecContext for external consumption
patch by Tom Harper % d P thomas P harper A gmail P com %
Original thread:
Date: Nov 2, 2006 1:30 AM
Subject: [Ffmpeg-devel] [patch] snow stats

Originally committed as revision 6872 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-02 19:11:20 +00:00
Steve L'Homme
949b1a13bf Replace most of the %lld and %llx by their (cleaner) PRI*64 counterparts.
patch by Steve Lhomme, slhomme divxcorp com

Originally committed as revision 6868 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-01 22:39:58 +00:00
Michael Niedermayer
45f3704c6d 10l (forgot ALT_SCAN)
Originally committed as revision 6866 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-01 21:41:54 +00:00
Diego Biurrun
1345f4ed6c Rename SWAP macro to FFSWAP.
Originally committed as revision 6865 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-01 21:28:36 +00:00
Steve L'Homme
e344c1ea36 reindentation, patch by From: Steve Lhomme, slhomme divxcorp com
Originally committed as revision 6864 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-01 21:09:14 +00:00
Michael Niedermayer
65342b2b4a merge clip() into the alpha/beta/tc0 tables (10% faster filter_mb_fast() on P3)
Originally committed as revision 6863 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-01 19:34:30 +00:00
Diego Biurrun
e164fbfeac Make tests compile on non-x86.
Originally committed as revision 6860 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-01 18:51:37 +00:00
Diego Biurrun
3cd52279c9 Use common define for x86_32 and x86_64.
Originally committed as revision 6859 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-01 18:34:40 +00:00
Måns Rullgård
67bcc87092 indentation
Originally committed as revision 6857 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-01 18:19:20 +00:00
Måns Rullgård
84278104e1 CODEC_CAP_DELAY support
Originally committed as revision 6856 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-01 18:18:48 +00:00
Reimar Döffinger
d55f46e5a8 Reenable AMD64 optimizations for cabac accidentially disabled in r6852
Originally committed as revision 6853 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-01 17:18:49 +00:00
Diego Biurrun
419b878494 Add ARCH_X86_32 as a new define for 32 bit x86 architectures and change
the semantics of ARCH_X86 to mean both 32 and 64 bits.

Originally committed as revision 6852 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-01 17:01:33 +00:00
Michael Niedermayer
7aba918708 fix 1/0 b frames + CBR bug
Originally committed as revision 6850 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-31 22:22:11 +00:00
Diego Biurrun
9a64e0440e cosmetics: Restore alphabetical order.
Originally committed as revision 6848 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-31 11:19:51 +00:00
Måns Rullgård
743311a1b0 coded line size is a multiple of 4
Originally committed as revision 6844 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-30 20:43:07 +00:00
Oded Shimon
e389399289 fix for disabling vorbis decoder but enabling vorbis encoder
Originally committed as revision 6841 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-30 18:05:35 +00:00
Kostya Shishkov
469f9de72f Init vlc tables as static
Originally committed as revision 6840 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-30 13:57:55 +00:00
Kostya Shishkov
84ed36da85 IMC decoder
Originally committed as revision 6839 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-30 13:48:48 +00:00
Luca Abeni
9c5d7c568b AVPicture has 4 planes, not 3
Originally committed as revision 6838 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-30 10:15:37 +00:00
Michael Niedermayer
498c544ad2 dont set the sampling rate just because 1 mp3 packet header says so (fixes playback speed on some old mencoder generated avis which where then dumped to mp3)
Originally committed as revision 6837 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-30 02:19:55 +00:00
Michael Niedermayer
c0d8052b50 avoid random noise on damaged frames
Originally committed as revision 6836 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-30 01:29:56 +00:00
Diego Biurrun
d5cd50ed73 Fix compilation with PIC enabled, BRANCHLESS_GET_CABAC is defined under
!PIC but gets used without a check for !PIC.

Originally committed as revision 6834 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-29 13:14:37 +00:00
Michael Niedermayer
3cedeeca02 update copyright year, it looks odd otherwise :)
Originally committed as revision 6830 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-28 20:18:18 +00:00
Michael Niedermayer
95da34cd54 CANDIDATE_MB_TYPE_INTER heuristic doesnt work at really low quality where the distortion becomes less relevant then the overhead of intra blocks
Originally committed as revision 6829 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-28 20:00:05 +00:00
Oded Shimon
b5c5a86bb7 I hope noone minds, adding myself to eval.c copyright...
Originally committed as revision 6827 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-28 18:30:20 +00:00
Michael Niedermayer
973cbc2a28 lambda* should be unsigned
Originally committed as revision 6824 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-28 16:11:25 +00:00
Michael Niedermayer
1928d04640 prevent overflow if lambda2 is "too" large
Originally committed as revision 6823 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-28 15:20:00 +00:00
Michael Niedermayer
ea7307df20 use lambda/lmax instead of qscale/qmax as end check for vbv retry
Originally committed as revision 6822 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-28 11:15:06 +00:00
Oded Shimon
8cd68d8056 ignore whitespace in ff_eval
Originally committed as revision 6821 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-28 09:49:13 +00:00
Andrew Voznytsa
b500cc2a46 sample rate fix
patch by Andrew Voznytsa andrew.voznytsa gmail com

Originally committed as revision 6820 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-28 09:30:43 +00:00
Oded Shimon
72523c7a20 add missing 'e->value * '
Originally committed as revision 6819 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-28 08:03:30 +00:00
Oded Shimon
63a547eabc shut gcc warning, also makes sense for NAN to be returned if the loop was never executed
Originally committed as revision 6818 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-28 07:03:24 +00:00
Diego Biurrun
ebd6a69444 Rename dvdsub.c to dvdsubdec.c.
Originally committed as revision 6815 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-27 23:37:35 +00:00
Michael Niedermayer
45ee0e3282 add support for while() loops again ugly syntax while(condition, statements) but very simple implementation
Originally committed as revision 6814 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-27 22:35:55 +00:00
Michael Niedermayer
835954e3a4 support seperating expressons by ;
support variables, the syntax isnt beautifull (st(a,b) means var[a]=b and ld(a) var[a]) but for a mere 19 lines of code its fairly simple, if anyone wants to write real variables support with names for variables and = and [] then that would of course be welcome but only if it doesnt bloat the code up terribly...)

Originally committed as revision 6813 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-27 22:16:25 +00:00
Reynaldo H. Verdejo Pinochet
418f17e006 Fix obvious typo, BGR555 was missing
Originally committed as revision 6812 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-27 22:08:02 +00:00
Oded Shimon
d024359a36 possible bug of 'gte' being read as 'gt', same with 'lte'
Originally committed as revision 6811 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-27 21:37:47 +00:00
Michael Niedermayer
577eab6b62 minor simplification
Originally committed as revision 6810 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-27 21:13:31 +00:00
Michael Niedermayer
a98f4515cf factorize AVEvalExpr alloc and init
Originally committed as revision 6809 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-27 20:38:10 +00:00
Oded Shimon
bb0f1ea72f update ratecontrol to new ff_eval API
Originally committed as revision 6808 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-27 20:16:26 +00:00
Reynaldo H. Verdejo Pinochet
ce459e12da adds missing rgb/bgr 565 codec->fmt mappings, ok'ed by Michael
Originally committed as revision 6807 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-27 19:53:41 +00:00
Reynaldo H. Verdejo Pinochet
ba8a621891 adds missing rgb/bgr 555 codec->fmt mappings, ok'ed by Michael
Originally committed as revision 6806 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-27 19:50:31 +00:00
Oded Shimon
85b4eb08cc new optimized eval method, by seperating parsing and runtime
Originally committed as revision 6803 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-27 16:42:16 +00:00
Kostya Shishkov
ffc5430bc3 LZW decoder as separate module plus TIFF LZW support
Originally committed as revision 6795 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-26 04:15:48 +00:00
Kostya Shishkov
b0c32a70b4 10l predictor should not skip first line
Originally committed as revision 6794 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-26 04:06:08 +00:00
Steve L'Homme
33400850cf Don't include inttypes.h/stdint.h directly, there is an abstraction in
libavutil/common.h for platforms with no inttypes.h.
patch by Steve Lhomme, slhomme divxcorp com

Originally committed as revision 6790 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-24 18:57:43 +00:00
Michael Niedermayer
836096aa7a simplify
Originally committed as revision 6789 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-24 10:33:40 +00:00
Michael Niedermayer
54fe115921 reverse my last change, it was wrong and broken
Originally committed as revision 6788 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-24 10:13:26 +00:00
Michael Niedermayer
46d9fe622d remove map variable
Originally committed as revision 6787 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-24 09:45:21 +00:00
Michael Niedermayer
71977422d1 factorize update state out
Originally committed as revision 6786 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-24 09:34:13 +00:00
Michael Niedermayer
3b6d23293c FFMAX
Originally committed as revision 6785 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-24 09:09:38 +00:00
Michael Niedermayer
8d42cf7496 common subexpression elimination
Originally committed as revision 6784 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-24 08:52:51 +00:00
Michael Niedermayer
62412b8d28 merge 8 and 16bit functions, they are identical except the data type
Originally committed as revision 6783 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-24 08:33:44 +00:00
Michael Niedermayer
5d48f0cb05 set v_edge_pos correctly for field picture mpeg2
Originally committed as revision 6782 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-24 07:33:39 +00:00
Kostya Shishkov
9efe56f691 JPEG-LS 16-bit gray support
Originally committed as revision 6781 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-24 05:01:04 +00:00
Kostya Shishkov
22eafdf24f PGM 16-bit gray support
Originally committed as revision 6780 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-24 05:00:14 +00:00
Kostya Shishkov
ae912c5b62 PNG 16-bit gray decoding support
Originally committed as revision 6779 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-24 04:59:46 +00:00
Kostya Shishkov
34380af0e1 16-bit grayscale support
Originally committed as revision 6778 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-24 04:57:43 +00:00
Luca Abeni
a163ed1aaa Do not use a fake libavcodec/swscale.h, but always use the real one
(from libswscale) instead

Originally committed as revision 6777 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-23 17:06:32 +00:00
Reimar Döffinger
755073fe3c CABAC assembler optimizations ported to AMD64
Originally committed as revision 6776 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-23 16:54:21 +00:00
Aurelien Jacobs
246f86a4d6 document the extradata protocol for VP6F
Originally committed as revision 6772 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-23 00:10:18 +00:00
Aurelien Jacobs
9e2424ce60 use the adjustment value present in FLV to crop VP6 video
Originally committed as revision 6770 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-22 23:19:42 +00:00
Aurelien Jacobs
24d3e5a2f2 use coded_width and coded_height instead of width and height
Originally committed as revision 6769 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-22 18:33:09 +00:00
Baptiste Coudurier
47babca839 indention
Originally committed as revision 6768 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-22 17:25:16 +00:00
Baptiste Coudurier
bcd872a73f removed useless variables
Originally committed as revision 6766 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-22 16:12:13 +00:00
Baptiste Coudurier
d54d396d08 use avctx->get_buffer
Originally committed as revision 6765 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-22 16:10:04 +00:00
Baptiste Coudurier
a7fb3a9600 remove unused variables
Originally committed as revision 6764 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-22 15:15:15 +00:00
Baptiste Coudurier
1e22f00d79 printf -> dprintf
Originally committed as revision 6763 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-22 15:11:51 +00:00
Baptiste Coudurier
8e57cae794 indention
Originally committed as revision 6762 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-22 15:09:32 +00:00
Baptiste Coudurier
06d392a7cc change gif demuxer to gif decoder
Originally committed as revision 6760 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-22 15:05:03 +00:00
Kostya Shishkov
76aca7a8bf handle limit>32 for set_ur_golomb_jpegls()
Originally committed as revision 6754 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-22 04:52:15 +00:00
Michael Niedermayer
5dc4970661 prevent infinite loop
Originally committed as revision 6753 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-21 22:07:01 +00:00
Michael Niedermayer
e08f580644 decode_significance_8x8_x86()
8% faster decode_cabac_residual() (8x8 case only) on P3

Originally committed as revision 6750 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-20 21:34:02 +00:00
Guillaume Poirier
94e4c3a333 Protect code that uses CMOV instructions with HAVE_CMOV,
Make configure set CMOV_IS_FAST on arches on which cmov has a low latency
(typically non-Netburst based processor)

Originally committed as revision 6749 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-20 17:53:19 +00:00
Michael Niedermayer
849a50041c another instruction less in decode_significance_x86() -> 1% faster ion P3
Originally committed as revision 6745 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-20 10:00:28 +00:00
Michael Niedermayer
d3e7c5c35b 1 instruction less
Originally committed as revision 6743 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-20 08:46:33 +00:00
Michael Niedermayer
a616db285a reordering instructions a little in decode_significance_x86() -> 2 instructions less / 1% faster decode_residual on P3
Originally committed as revision 6741 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-20 00:51:04 +00:00
Michael Niedermayer
13404b2e98 factorize get_cabac asm (0.5% slower but its much cleaner)
Originally committed as revision 6740 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-20 00:35:54 +00:00
Alex Beregszaszi
1e4051aaa0 correct signaling of palette change
Originally committed as revision 6739 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-19 23:03:47 +00:00
Bernhard Rosenkränzer
ba9fb5da3a Fix PIC compilation, some defines were under #ifdef !PIC but used
in the PIC case nevertheless.
patch by Bernhard Rosenkranzer, bero arklinux org

Originally committed as revision 6738 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-19 20:24:33 +00:00
Michael Niedermayer
d72bc32389 unused variable
Originally committed as revision 6737 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-19 18:22:03 +00:00
Michael Niedermayer
f624f029f0 slightly faster decode_cabac_mb_mvd()
Originally committed as revision 6735 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-19 14:54:34 +00:00
Michael Niedermayer
aa1da263aa 1 variable less in decode_cabac_residual() no speed change (but less vars means less things gcc can load and store redundantly)
Originally committed as revision 6734 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-19 10:33:56 +00:00
Michael Niedermayer
ebd624b662 optimize sign decoding code in decode_residual()
x86 is 4% faster on P3
C sign stuff + x86 code for everything else is also faster then before (sorry forgot to test pure C)
... and if i replace the second occurance of the sign decoding in decode_residual by the asm too then everything gets slower iam starting to think that it might be best to write the whole function in asm, playing this avoid random deoptimizations game with gcc is not fun at all

Originally committed as revision 6732 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-19 01:19:03 +00:00
Jindřich Makovička
a0f2c6ba38 Kill a warning with MSVC
Patch by Jindrich Makovicka makovick A gmail P com
Original thread:
Date: 08:21 AM
Subject Re: [Ffmpeg-devel] Weird line in cabac.h

Originally committed as revision 6726 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-18 09:37:25 +00:00
Michael Niedermayer
30865e2aa1 copy cabac context onto the stack for the c code in decode_cabac_residual() (15% faster on P3 but still slower then the current asm)
Originally committed as revision 6725 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-17 23:59:21 +00:00
Michael Niedermayer
eb73bf723d x86 asm version of the decode significance loop (not 8x8) of decode_residual() 5% faster decode_residual() on P3
Originally committed as revision 6724 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-17 22:18:29 +00:00
Luca Abeni
96db380836 Implement sws_getCachedContext() in swscale emulation
Originally committed as revision 6718 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-17 10:26:37 +00:00
Michael Niedermayer
4041a495a8 cosmetic (%%eax->%0)
Originally committed as revision 6717 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-17 09:38:37 +00:00
Diego Biurrun
8dda3e796b Fix crash with illegal instruction, cmov is available on 686 and later only.
Originally committed as revision 6715 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-16 21:47:19 +00:00
Diego Biurrun
e962604f1c Expand some #endif comments.
Originally committed as revision 6714 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-16 21:22:47 +00:00
Michael Niedermayer
2c409cc7af fix -a^b which was interpreted as (-a)^b
Originally committed as revision 6713 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-16 19:06:56 +00:00
Michael Niedermayer
cacb17b47f asin() acos() atan()
Originally committed as revision 6712 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-16 18:36:44 +00:00
Luca Barbato
9f1c1c9985 Make ffmpeg work with x264 r592
Originally committed as revision 6711 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-16 17:44:29 +00:00
Michael Niedermayer
212d84881a mod()
Originally committed as revision 6710 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-16 15:01:12 +00:00
Diego Biurrun
c45b5de03a Fix #endif comments.
Originally committed as revision 6709 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-16 12:52:21 +00:00
Michael Niedermayer
165c5f0909 fix !CMOV_IS_FAST case (iam not really happy with the fix but i didnt come up with a better one quickly)
Originally committed as revision 6707 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-16 11:11:20 +00:00
Michael Niedermayer
1d7c111856 10l
Originally committed as revision 6704 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-15 21:04:10 +00:00
Michael Niedermayer
faff3a7ad0 this code will not work with PIC as it needs 7 registers and gcc doesnt support that in PIC
Originally committed as revision 6703 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-15 20:50:05 +00:00
Michael Niedermayer
f24a515931 shift CABACContext.range right, this reduces the number of shifts needed in get_cabac() and is slightly faster on P3 (and should be much faster on P4 as the P4 except the more recent variants lacks an integer shifter and so shifts have ~10 times longer latency then simple operations like adds)
Originally committed as revision 6702 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-15 20:40:50 +00:00
Ramiro Polla
aa770811a3 Have xvid encoder wrapper honnor -vtag option
Patch by Ramiro Polla angustia A arrozcru P no-ip P org
Original thread:
Date: 14.10.2006 05:44
Subject: [Ffmpeg-devel] xvid ignores -vtag

Originally committed as revision 6701 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-15 16:52:33 +00:00
Diego Biurrun
14f29f795d Revert putting EXTRALIBS in common.mak, linking fails on MinGW.
Originally committed as revision 6700 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-15 12:59:45 +00:00
Kostya Shishkov
a8789714ba Ignore blocks with no samples and flags (but usually with MD5 sum)
Originally committed as revision 6694 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-15 04:50:19 +00:00
Diego Biurrun
7c428ea681 Put libmpeg2 IDCT functions under CONFIG_GPL, fixes link failure
with --disable-opts.

Originally committed as revision 6691 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-14 17:04:50 +00:00
Steve L'Homme
8aaed74c4b Remove empty structures,
Patch by Steve LHomme
Original thread:
Date: 13.10.2006 21:55
Subject: [Ffmpeg-devel] [PATCH] Remove empty structures

Originally committed as revision 6690 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-14 14:48:45 +00:00
Kostya Shishkov
ab9ce19170 Make PNG produce correct 8-bit pictures
Originally committed as revision 6689 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-14 12:23:54 +00:00
Kostya Shishkov
4ec0beaa59 Move block size check to decoder
Originally committed as revision 6688 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-14 05:01:05 +00:00
Michael Niedermayer
b566bd65e2 simplify escape decoding
Originally committed as revision 6685 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-13 16:19:15 +00:00
Diego Biurrun
a88fc5c040 Remove intrinsics checks, they are no longer used.
partly based on a patch by Zuxy Meng, zuxy.meng gmail com

Originally committed as revision 6684 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-13 16:04:41 +00:00
Michael Niedermayer
68a205edef dehack *ps_state indexing in the branchless decoder
Originally committed as revision 6683 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-13 14:21:25 +00:00
Kostya Shishkov
a991b1fecb TIFF decoder
Originally committed as revision 6682 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-13 10:48:29 +00:00
Michael Niedermayer
12ff5b0f3b add "memory" to the clobber list we change memory so we need it, this also fixes some problems with gcc svn
Originally committed as revision 6679 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-12 21:32:56 +00:00
Michael Niedermayer
5ed0d67da5 -1 is a valid return value in ratecontrol_1pass() -> 100l for takis
Originally committed as revision 6677 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-12 20:55:42 +00:00
Dominik Mierzejewski
61b769871f Fixes:
xvmcvideo.c: In function ‘XVMC_decode_mb’:
xvmcvideo.c:141: warning: ‘return’ with a value, in function returning void

Approved by Ivan.

Originally committed as revision 6676 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-12 19:57:47 +00:00
Michael Niedermayer
de1013e1ca 10l int vs uint8_t
Originally committed as revision 6675 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-12 18:41:29 +00:00
Michael Niedermayer
851ded8918 prevent "mb level" get_cabac() calls from being inlined (3% faster decode_mb_cabac() on P3)
Originally committed as revision 6674 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-12 14:49:19 +00:00
Michael Niedermayer
1f6049f515 int->uint8_t for 2 tables
Originally committed as revision 6673 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-12 12:27:02 +00:00
Baptiste Coudurier
29f86228a0 support for Tiertex .seq files demuxing/video decoding, by Gregory Montoir %cyx A users P sourceforge P net%
Originally committed as revision 6672 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-12 12:02:58 +00:00
Gregory Montoir
7da4d4cdec fix SHOW_SBITS for ALT_BITSTREAM_READER_LE, patch by Gregory Montoir %cyx A users P sourceforge P net%
Originally committed as revision 6671 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-12 11:54:24 +00:00
Diego Biurrun
cb690cadaf Rename internal.h --> xvid_internal.h, it clashes with libavutil/internal.h.
Originally committed as revision 6670 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-12 11:51:34 +00:00
Luca Barbato
a5db5bda07 ppc generic prefetch
Originally committed as revision 6669 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-12 10:26:07 +00:00
Guillaume Poirier
a0490b324a adds some useful comments after some of the #else, #elseif,
#endif preprocessor directives to make it clearer which code
block depends on which #define xx

Originally committed as revision 6668 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-12 07:51:18 +00:00
Diego Biurrun
c26abfa541 Rename ABS macro to FFABS.
Originally committed as revision 6666 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-11 23:17:58 +00:00
Loren Merritt
a957c27b03 more prefetches, 2% faster h264
Originally committed as revision 6664 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-11 21:34:15 +00:00
Michael Niedermayer
1f4d5e9f69 slightly faster on P3 slightly slower on athlon and probably faster on P4
Originally committed as revision 6663 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-11 17:59:40 +00:00
Baptiste Coudurier
dc56e0de1d update doc, changelog, and increase libavcodec version for .cin files support
Originally committed as revision 6660 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-11 17:14:02 +00:00
Baptiste Coudurier
72450e50a5 support for Delphine Software .cin files demuxing / audio and video decoding, by Gregory Montoir %cyx A users P sourceforge P net%
Originally committed as revision 6659 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-11 16:57:00 +00:00
Michael Niedermayer
2b5269b51c moving lps state transition code a little up in the branched asm code (1% faster on P3)
Originally committed as revision 6658 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-11 16:39:50 +00:00
Michael Niedermayer
b99f3cabed write cabac low and range variables as early as possible to prevent stalls from reading them before they where written, the P4 is said to disslike that alot, on P3 its 2% faster (START/STOP_TIMER over decode_residual)
Originally committed as revision 6657 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-11 16:11:41 +00:00
Michael Niedermayer
d17faef011 use ecx instead of cl (no speed change on P3 but might avoid partial register stalls on some cpus)
Originally committed as revision 6656 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-11 15:20:08 +00:00
Michael Niedermayer
d61c4e731e make state transition tables global as they are constant and the code is slightly faster that way
Originally committed as revision 6655 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-11 14:44:17 +00:00
Michael Niedermayer
5f3eca121e 10l
Originally committed as revision 6654 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-11 13:25:29 +00:00
Michael Niedermayer
0fa352c7e6 make lps_range a global table its constant anyway (saves 1 addition for accessing it)
Originally committed as revision 6653 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-11 13:21:42 +00:00
Michael Niedermayer
3650b43959 enable CMOV_IS_FAST as its faster or equal speed on every cpu (duron, athlon, PM, P3) from which ive seen benchmarks, it might be slower on P4 but noone has posted benchmarks ...
Originally committed as revision 6652 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-11 12:23:40 +00:00
Michael Niedermayer
6ab312daa2 doxy
Originally committed as revision 6647 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-11 10:29:00 +00:00
Diego Biurrun
dadb850a50 Move CFLAGS handling to common.mak.
Originally committed as revision 6642 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-11 08:30:13 +00:00
Diego Biurrun
a33fe57287 Switch to the LGPL as agreed to by the author according to the
initial commit log message.

Originally committed as revision 6641 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-11 07:47:59 +00:00
Kostya Shishkov
3689cf1649 Targa image decoder
Originally committed as revision 6640 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-11 04:15:04 +00:00
Diego Biurrun
15e35274d8 Rename SIGN macro to the more fitting UNFOLD.
Originally committed as revision 6626 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-10 12:07:25 +00:00
Diego Biurrun
0bc2e7f081 BRANCHLESS_CABAD --> BRANCHLESS_CABAC_DECODER
Originally committed as revision 6623 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-10 08:16:41 +00:00
Guillaume Poirier
ab5a1435ec Move TRANSPOSE8 macro to dsputil_altivec.h.
(was duplicated in libavcodec/ppc/vc1dsp_altivec.c
nd libavcodec/ppc/mpegvideo_altivec.c, and will be
used in upcoming routines for h264_altivec.c)

Originally committed as revision 6621 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-10 08:01:19 +00:00
Michael Niedermayer
9ed92c65f1 moving another bit&1 out, this is as fast as with it in there, but it makes more sense with it outside of the loop
Originally committed as revision 6618 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-10 06:56:51 +00:00
Michael Niedermayer
f1b37db48d move the &1 out of the asm so gcc can optimize it away in inlined cases (yes this is slightly faster)
Originally committed as revision 6616 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-10 01:17:39 +00:00
Michael Niedermayer
ab0151d163 replace a few and/sub/... by cmov
this is faster on P3, should be faster on AMD, and should be slower on P4
its disabled by default (benchmarks welcome so we know when to enable it)

Originally committed as revision 6615 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-10 01:08:39 +00:00
Michael Niedermayer
a6672acf45 reading 8bit mem into a 8bit register needs 2 uops on P4, 8bit->32bit with zero extension needs just 1
Originally committed as revision 6612 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-09 21:57:10 +00:00
Michael Niedermayer
2d3df05ca0 on the P4 inc needs twice as much time a add
Originally committed as revision 6611 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-09 21:39:07 +00:00
Michael Niedermayer
2ee9dc65be 10l
Originally committed as revision 6610 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-09 21:21:10 +00:00
Michael Niedermayer
7822e1c1ff reverse remainder of the failed attempt to optimize *state=c->mps_state[s]
Originally committed as revision 6609 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-09 21:14:16 +00:00
Michael Niedermayer
ef0090a998 x86 branchless cabac decoder
slightly faster on P3

Originally committed as revision 6608 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-09 20:51:33 +00:00
Michael Niedermayer
2e1aee80f4 optimize branchless C CABAC decoder
Originally committed as revision 6607 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-09 20:44:11 +00:00
Luca Barbato
b420448e38 removing ALTIVEC_USE_REFERENCE_C_CODE, since has no use anymore
Originally committed as revision 6606 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-09 18:29:46 +00:00
Michael Niedermayer
1c2a417f6a move outcommented START/STOP_TIMER to a hopefully better place for benchmarking ...
Originally committed as revision 6605 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-09 18:20:00 +00:00
Michael Niedermayer
30dc5f56ad drop failed attempt to optimize *state= c->mps_state[s];
Originally committed as revision 6604 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-09 15:52:17 +00:00
Michael Niedermayer
c56d23dacf 10l bugfix for some disabled code
Originally committed as revision 6603 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-09 14:15:53 +00:00
Michael Niedermayer
f7d0b68361 first try of a handwritten get_cabac() for x86, this is 10-20% faster on P3 depening on if you try to subtract the START/STOP_TIMER overhead
Originally committed as revision 6602 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-09 14:15:14 +00:00
Luca Barbato
441e8fe9c9 add_bytes passes tests
Originally committed as revision 6600 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-09 13:37:43 +00:00
Michael Niedermayer
5bbe2a5292 remove bytestream_end checks, seems to work fine without them and the bitstream reader doesnt check for the end either
Originally committed as revision 6599 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-09 12:25:24 +00:00
Andrea Gianarro
462209fe10 fix AC3 5.1 being decoded as mono
patch by Andrea Gianarro % giandrea AH gmail P com %
Original thread:
Date: Oct 9, 2006 11:55 AM
Subject: [Ffmpeg-devel] AC3 5:1 decoding as mono

Originally committed as revision 6598 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-09 11:36:42 +00:00
Diego Biurrun
bca519e0f6 Fix GPL/LGPL license version mismatch.
Originally committed as revision 6597 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-09 07:31:27 +00:00
Michael Niedermayer
c010d69a75 decrease ff_h264_norm_shift[] size
Originally committed as revision 6596 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-09 00:59:42 +00:00
Dominik Mierzejewski
158256a13a Fixes:
rv10.c:494: warning: implicit declaration of function ‘ff_mpeg4_init_direct_mv’

Approved by Michael.

Originally committed as revision 6595 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-08 21:26:19 +00:00
Michael Niedermayer
6ff042699f cleanup
Originally committed as revision 6594 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-08 21:26:08 +00:00
Dominik Mierzejewski
a10c779f76 Fixes:
opt.c:327: warning: no return statement in function returning non-void

opt_list return value is never checked.

Approved by Michael.

Originally committed as revision 6593 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-08 21:25:22 +00:00
Dominik Mierzejewski
69261768d3 Fixes:
parser.c:555: warning: implicit declaration of function ‘ff_cavs_find_frame_end’

Approved by Michael.

Originally committed as revision 6592 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-08 21:23:57 +00:00
Dominik Mierzejewski
621d92940e Fixes:
mpegvideo.h:777: warning: ‘inline’ is not at beginning of declaration
motion_est_template.c:236: warning: ‘inline’ is not at beginning of declaration

Approved by Diego.

Originally committed as revision 6591 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-08 21:11:03 +00:00
Reimar Döffinger
214019ed32 Avoid void *-arithmetic
Originally committed as revision 6590 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-08 14:32:27 +00:00
Luca Barbato
75336fc885 Non Altivec optimizations already present at the top
Originally committed as revision 6588 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-08 13:55:02 +00:00
Michael Niedermayer
260ceb6322 branchless renormalization (1% faster get_cabac) old branchless renormalization wasnt faster because gcc was scared of the shift variable (missusing bit variable now)
Originally committed as revision 6587 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-08 13:20:22 +00:00
Michael Niedermayer
99ce10873d 5% faster get_cabac()
Originally committed as revision 6586 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-08 11:24:37 +00:00
Diego Biurrun
e16c407a81 output typo fixes
Originally committed as revision 6585 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-08 10:11:58 +00:00
Diego Biurrun
cad35abc0a Compilation fix: pix_abs16x16_c was undeclared.
Originally committed as revision 6584 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-08 09:41:00 +00:00
Diego Biurrun
8823419fc1 Compilation fix, printf gets redefined to please_use_av_log.
Originally committed as revision 6583 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-08 09:38:22 +00:00
Michael Niedermayer
400d0f8e47 disable benchmarking code
disable asm optims as the fastest depends on cpu type

Originally committed as revision 6582 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-07 22:37:34 +00:00
Michael Niedermayer
4310580db5 renorm_cabac_decoder_once START/STOP_TIMER scores for athlon
Originally committed as revision 6581 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-07 22:34:32 +00:00
Luca Barbato
87ea51e0b5 fix the dcbz check and move it in configure
Originally committed as revision 6580 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-07 19:14:25 +00:00
Michael Niedermayer
5659b509c7 refill cabac variables in 16bit steps, 3% faster get_cabac()
Originally committed as revision 6578 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-07 15:44:14 +00:00
Diego Biurrun
b78e7197a8 Change license headers to say 'FFmpeg' instead of 'this program/this library'
and fix GPL/LGPL version mismatches.

Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-07 15:30:46 +00:00
Michael Niedermayer
2ae7569dc8 () 10l
Originally committed as revision 6576 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-07 12:41:55 +00:00
Luca Barbato
d4165a8190 fix a warning
Originally committed as revision 6575 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-07 11:46:35 +00:00
Diego Biurrun
ade6e7f3ae Compilation fix, printf gets redefined to please_use_av_log.
Originally committed as revision 6574 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-07 11:30:24 +00:00
Michael Niedermayer
ec8f483ab5 several x86 renorm_cabac_decoder_once optimizations
START/STOP_TIMER benchmarking code for them
please benchmark on P4 & athlon
(ill remove the benchmarking code and the always slower variants as soon as p4/athlon benchmarks have been posted or commited)

Originally committed as revision 6573 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-07 11:15:10 +00:00
Diego Biurrun
cbeee4d8e5 Replace -I../-I. by -I$(BUILD_ROOT).
Originally committed as revision 6572 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-07 09:22:44 +00:00
Diego Biurrun
5064755e54 cosmetics: Add backslashes to the last line of continued lines to make
future commits look cleaner.

Originally committed as revision 6570 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-07 08:10:47 +00:00
Michael Niedermayer
59ef342beb fix decoding of ED-small-sample-file.ogg
Originally committed as revision 6567 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-06 11:33:57 +00:00
Michael Niedermayer
075060023d fix buffer underflows by reencoding the current frame with a higher QP
Originally committed as revision 6565 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-05 19:27:18 +00:00
Diego Biurrun
e1931c59f6 message typo fixes
Originally committed as revision 6564 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-05 18:15:17 +00:00
Diego Biurrun
c6c4651138 Simplify test program build.
Originally committed as revision 6563 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-05 17:10:33 +00:00
Diego Biurrun
9933dc7168 Fix imgresample-test compilation.
Originally committed as revision 6560 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-05 01:28:25 +00:00
Diego Biurrun
0ec92a15dd imgresample-test depends on $(LIB).
Originally committed as revision 6559 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-05 00:51:40 +00:00
Diego Biurrun
425139d55f Simplify EXTRALIBS handling.
Originally committed as revision 6558 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-05 00:32:56 +00:00
Diego Biurrun
0eb59ddba4 Switch idct_mmx_xvid.c from GPL to LGPL as permitted by the
author, Peter Ross (pross xvid org).

Originally committed as revision 6557 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-05 00:23:24 +00:00
Diego Biurrun
7fd265a7a1 cosmetics: Put all OBJS on a line of their own for nicer-looking diffs.
Originally committed as revision 6556 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-04 21:42:31 +00:00
Baptiste Coudurier
58f2a4b07f change extradata type to uint8_t *
Originally committed as revision 6551 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-04 13:13:07 +00:00
Baptiste Coudurier
2bb7875987 mjpeg 4:2:2 encoding support
Originally committed as revision 6550 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-04 12:49:52 +00:00
Loren Merritt
938dd84693 don't try to inline cabac functions. gcc ignored the hint anyway, and forcing it would make h264 slower.
Originally committed as revision 6549 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-04 07:16:10 +00:00
Loren Merritt
e6e77eb6fa simplify write_back_motion for skip mbs
Originally committed as revision 6548 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-04 07:08:26 +00:00
Loren Merritt
a1b13cf590 10l in r6412
Originally committed as revision 6547 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-04 02:57:43 +00:00
Diego Biurrun
0533322ea3 Move EXTRALIBS handling to common.mak.
Originally committed as revision 6545 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-03 19:23:39 +00:00
Diego Biurrun
7f778ed111 Slightly simplify apiexample compilation command line.
Originally committed as revision 6543 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-03 18:03:45 +00:00
Diego Biurrun
93555ad500 Also remove cpuid_test on clean.
Originally committed as revision 6542 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-03 17:59:10 +00:00
Diego Biurrun
f901d78e01 Remove bogus dependency information.
Originally committed as revision 6541 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-03 17:50:02 +00:00
Diego Biurrun
3263626feb Mark all phony targets as such.
Originally committed as revision 6538 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-03 17:42:17 +00:00
Diego Biurrun
36c32bdddf Remove unused variables and the corresponding warnings along with them.
Originally committed as revision 6536 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-03 17:12:48 +00:00
Oded Shimon
4109400295 more forgotten free's.
Originally committed as revision 6527 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 11:55:24 +00:00
Oded Shimon
419550990c 10l, wrong order in freeing
Originally committed as revision 6526 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 11:47:10 +00:00
Michael Niedermayer
35af7a9b27 slightly saner indention
Originally committed as revision 6525 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 11:31:52 +00:00
Diego Biurrun
4bef236ba8 Fix quantiSer --> quantiZer typo.
Originally committed as revision 6523 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 10:23:59 +00:00
Oded Shimon
bec5fc5ffb add vorbis_enc_data.h, remove codebook data from vorbis_enc.c
Originally committed as revision 6520 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:56:39 +00:00
Oded Shimon
8c37516af0 Add vorbis encoder to ffmpeg
Originally committed as revision 6519 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:18:02 +00:00
Oded Shimon
007574482a Original Commit: r114 | ods15 | 2006-10-01 21:38:37 +0200 (Sun, 01 Oct 2006) | 2 lines
blocksize -> log2_blocksize

Originally committed as revision 6518 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:09:52 +00:00
Oded Shimon
631941441d Original Commit: r113 | ods15 | 2006-10-01 21:35:47 +0200 (Sun, 01 Oct 2006) | 2 lines
some more static consts

Originally committed as revision 6517 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:09:49 +00:00
Oded Shimon
2613f6c156 Original Commit: r112 | ods15 | 2006-10-01 20:48:39 +0200 (Sun, 01 Oct 2006) | 3 lines
psy change. -aq param about the same, and behaves more consistently with
different content.

Originally committed as revision 6516 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:09:47 +00:00
Oded Shimon
c83637b965 Original Commit: r111 | ods15 | 2006-10-01 19:40:50 +0200 (Sun, 01 Oct 2006) | 2 lines
update to use ff_vorbis_floor1_render_list

Originally committed as revision 6515 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:09:45 +00:00
Oded Shimon
2eb3db5f69 Original Commit: r110 | ods15 | 2006-10-01 19:17:32 +0200 (Sun, 01 Oct 2006) | 2 lines
slight simlification for residue division by floor

Originally committed as revision 6514 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:09:43 +00:00
Oded Shimon
f8a6a56a75 Original Commit: r109 | ods15 | 2006-10-01 19:14:52 +0200 (Sun, 01 Oct 2006) | 2 lines
5% speed improovement by changing put_vector

Originally committed as revision 6513 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:09:41 +00:00
Oded Shimon
ac0057f3a6 Original Commit: r108 | ods15 | 2006-10-01 18:46:06 +0200 (Sun, 01 Oct 2006) | 2 lines
prevent division/modulo

Originally committed as revision 6512 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:09:39 +00:00
Oded Shimon
0c4630f244 Original Commit: r107 | ods15 | 2006-10-01 18:13:12 +0200 (Sun, 01 Oct 2006) | 2 lines
give proper error message for channels!=2

Originally committed as revision 6511 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:09:36 +00:00
Oded Shimon
a88de9682f Original Commit: r106 | ods15 | 2006-10-01 18:11:55 +0200 (Sun, 01 Oct 2006) | 2 lines
window -> apply_window_and_mdct

Originally committed as revision 6510 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:09:33 +00:00
Oded Shimon
64c82a7411 Original Commit: r105 | ods15 | 2006-10-01 18:09:55 +0200 (Sun, 01 Oct 2006) | 2 lines
slight simplification for channel coupling

Originally committed as revision 6509 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:09:30 +00:00
Oded Shimon
c2ee47ac06 Original Commit: r104 | ods15 | 2006-10-01 18:04:08 +0200 (Sun, 01 Oct 2006) | 2 lines
somewhat cosmetic formatting, use FFMAX

Originally committed as revision 6508 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:09:28 +00:00
Oded Shimon
cc767a8969 Original Commit: r103 | ods15 | 2006-10-01 18:00:43 +0200 (Sun, 01 Oct 2006) | 2 lines
slight optimization, don't calculate average twice

Originally committed as revision 6507 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:09:24 +00:00
Oded Shimon
7e46045784 Original Commit: r102 | ods15 | 2006-10-01 17:58:38 +0200 (Sun, 01 Oct 2006) | 2 lines
remove ready_floor()

Originally committed as revision 6506 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:09:22 +00:00
Oded Shimon
5f3de4b86b Original Commit: r101 | ods15 | 2006-10-01 14:15:00 +0200 (Sun, 01 Oct 2006) | 2 lines
some cleanup

Originally committed as revision 6505 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:09:20 +00:00
Oded Shimon
f11329e461 Original Commit: r100 | ods15 | 2006-10-01 14:01:27 +0200 (Sun, 01 Oct 2006) | 2 lines
update to global functions now shared in vorbis.h

Originally committed as revision 6504 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:09:18 +00:00
Oded Shimon
cbf306f328 Original Commit: r99 | ods15 | 2006-10-01 11:12:44 +0200 (Sun, 01 Oct 2006) | 2 lines
codebook init data cleanup

Originally committed as revision 6503 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:09:14 +00:00
Oded Shimon
ccc0fbf3c4 Original Commit: r98 | ods15 | 2006-10-01 10:15:33 +0200 (Sun, 01 Oct 2006) | 2 lines
switch to int8_t for residue codebook numbers, use memcpy in residue init

Originally committed as revision 6502 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:09:12 +00:00
Oded Shimon
8d38e5e5f0 Original Commit: r97 | ods15 | 2006-09-30 23:32:19 +0300 (Sat, 30 Sep 2006) | 2 lines
don't assert fail for channels != 2, exit cleanly instead...

Originally committed as revision 6501 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:09:10 +00:00
Oded Shimon
7a82a10a09 Original Commit: r96 | ods15 | 2006-09-30 23:25:18 +0300 (Sat, 30 Sep 2006) | 2 lines
even though it doesn't do anything, use flush_put_bits()

Originally committed as revision 6500 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:09:08 +00:00
Oded Shimon
6fde6305b1 Original Commit: r95 | ods15 | 2006-09-30 22:11:08 +0300 (Sat, 30 Sep 2006) | 3 lines
scale user settable quality for more fine-grainablity
now sane values for -aq is 10-30

Originally committed as revision 6499 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:09:06 +00:00
Oded Shimon
39d0567737 Original Commit: r94 | ods15 | 2006-09-30 22:09:33 +0300 (Sat, 30 Sep 2006) | 2 lines
prevent c++ decleration

Originally committed as revision 6498 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:09:04 +00:00
Oded Shimon
ddf217ba14 Original Commit: r93 | ods15 | 2006-09-30 22:02:21 +0300 (Sat, 30 Sep 2006) | 2 lines
update to change made in vorbis.h/vorbis_data.c

Originally committed as revision 6497 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:09:02 +00:00
Oded Shimon
4000774d8f Original Commit: r92 | ods15 | 2006-09-30 12:13:47 +0300 (Sat, 30 Sep 2006) | 3 lines
user settable audio quality, with -aq. values between 0.1 to 0.3 are sane.
the higher the better.

Originally committed as revision 6496 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:08:59 +00:00
Oded Shimon
b002eec985 Original Commit: r91 | ods15 | 2006-09-30 10:05:16 +0300 (Sat, 30 Sep 2006) | 4 lines
even better psy.
My encoder officially kicks ass :) same bitrate to libvorbis, and (IMO)
same quality! :)

Originally committed as revision 6495 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:08:57 +00:00
Oded Shimon
68e75e4dec Original Commit: r90 | ods15 | 2006-09-29 22:14:40 +0300 (Fri, 29 Sep 2006) | 3 lines
much better magic for floor, the first psychoacoustic in this encoder!
now creates valid, 175kbps audio, which sounds good! :)

Originally committed as revision 6494 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:08:55 +00:00
Oded Shimon
9b9941bee6 Original Commit: r88 | ods15 | 2006-09-29 21:10:36 +0300 (Fri, 29 Sep 2006) | 2 lines
slight similification

Originally committed as revision 6493 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:08:53 +00:00
Oded Shimon
40b6c72133 Original Commit: r87 | ods15 | 2006-09-29 21:10:05 +0300 (Fri, 29 Sep 2006) | 2 lines
prevent valgrind warning

Originally committed as revision 6492 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:08:51 +00:00
Oded Shimon
8b33748c45 Original Commit: r86 | ods15 | 2006-09-29 21:08:42 +0300 (Fri, 29 Sep 2006) | 2 lines
make put_vector ignore unused codebook entries

Originally committed as revision 6491 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:08:48 +00:00
Oded Shimon
5e93d002e5 Original Commit: r85 | ods15 | 2006-09-29 21:07:58 +0300 (Fri, 29 Sep 2006) | 2 lines
bad array decleration

Originally committed as revision 6490 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:08:46 +00:00
Oded Shimon
866bfee373 Original Commit: r84 | ods15 | 2006-09-29 21:07:07 +0300 (Fri, 29 Sep 2006) | 2 lines
dangling piece from last commit

Originally committed as revision 6489 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:08:44 +00:00
Oded Shimon
a2cf16fe03 Original Commit: r83 | ods15 | 2006-09-29 21:06:13 +0300 (Fri, 29 Sep 2006) | 2 lines
add real_len to residue codebooks, which are smaller than supposed to be

Originally committed as revision 6488 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:08:41 +00:00
Oded Shimon
0e9bf4a296 Original Commit: r82 | ods15 | 2006-09-29 21:03:43 +0300 (Fri, 29 Sep 2006) | 2 lines
fix channels to be correct for rc->type==2 before classes[] decleration

Originally committed as revision 6487 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:08:39 +00:00
Oded Shimon
7f44dfe264 Original Commit: r81 | ods15 | 2006-09-29 21:02:09 +0300 (Fri, 29 Sep 2006) | 2 lines
make residue_encode decide good classification per partition

Originally committed as revision 6486 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:08:36 +00:00
Oded Shimon
840d157323 Original Commit: r80 | ods15 | 2006-09-29 15:44:22 +0300 (Fri, 29 Sep 2006) | 2 lines
import libvorbis codebooks for residue

Originally committed as revision 6485 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:08:33 +00:00
Oded Shimon
6f5be556dd Original Commit: r79 | ods15 | 2006-09-29 15:15:26 +0300 (Fri, 29 Sep 2006) | 2 lines
cosmetic reindent

Originally committed as revision 6484 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:08:31 +00:00
Oded Shimon
9127d7c3d4 Original Commit: r78 | ods15 | 2006-09-29 15:14:28 +0300 (Fri, 29 Sep 2006) | 2 lines
improove floor codebooks

Originally committed as revision 6483 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:08:28 +00:00
Oded Shimon
dac7b2f6dd Original Commit: r77 | ods15 | 2006-09-29 15:12:56 +0300 (Fri, 29 Sep 2006) | 2 lines
fix for book==-1 in floor

Originally committed as revision 6482 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:08:25 +00:00
Oded Shimon
7e4221fd6b Original Commit: r76 | ods15 | 2006-09-29 13:16:37 +0300 (Fri, 29 Sep 2006) | 2 lines
switch to 2048 block size

Originally committed as revision 6481 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:08:23 +00:00
Oded Shimon
a9ce92679d Original Commit: r75 | ods15 | 2006-09-29 13:03:51 +0300 (Fri, 29 Sep 2006) | 2 lines
remove debugging printf

Originally committed as revision 6480 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:08:21 +00:00
Oded Shimon
a277ad842e Original Commit: r74 | ods15 | 2006-09-29 13:03:31 +0300 (Fri, 29 Sep 2006) | 2 lines
support multiple codebooks for floor

Originally committed as revision 6479 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:08:19 +00:00
Oded Shimon
899124aa38 Original Commit: r73 | ods15 | 2006-09-28 21:01:59 +0300 (Thu, 28 Sep 2006) | 2 lines
almost cosmetic, remove redundant variable

Originally committed as revision 6478 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:08:16 +00:00
Oded Shimon
4c588d8e9f Original Commit: r72 | ods15 | 2006-09-28 21:00:47 +0300 (Thu, 28 Sep 2006) | 2 lines
cosmetic

Originally committed as revision 6477 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:08:14 +00:00
Oded Shimon
e3df7fc64c Original Commit: r71 | ods15 | 2006-09-28 21:00:24 +0300 (Thu, 28 Sep 2006) | 2 lines
residue type 2

Originally committed as revision 6476 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:08:11 +00:00
Oded Shimon
9d74ff0e55 Original Commit: r70 | ods15 | 2006-09-28 19:07:36 +0300 (Thu, 28 Sep 2006) | 2 lines
channel coupling

Originally committed as revision 6475 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:08:09 +00:00
Oded Shimon
90a09b69d7 Original Commit: r69 | ods15 | 2006-09-27 20:27:50 +0300 (Wed, 27 Sep 2006) | 2 lines
prevent buffer overflow

Originally committed as revision 6474 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:08:07 +00:00
Oded Shimon
65c7236929 Original Commit: r68 | ods15 | 2006-09-25 21:15:09 +0300 (Mon, 25 Sep 2006) | 2 lines
slightly more compressing, 50% compression now :)

Originally committed as revision 6473 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:08:03 +00:00
Oded Shimon
af1cb7ee4c Original Commit: r67 | ods15 | 2006-09-25 20:33:06 +0300 (Mon, 25 Sep 2006) | 2 lines
horrible off-by-one causing lots of troubles...

Originally committed as revision 6472 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:08:01 +00:00
Oded Shimon
cbb834afa1 Original Commit: r66 | ods15 | 2006-09-25 18:42:13 +0300 (Mon, 25 Sep 2006) | 2 lines
some different values for higher accuracy

Originally committed as revision 6471 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:07:59 +00:00
Oded Shimon
4fa29073eb Original Commit: r65 | ods15 | 2006-09-25 18:40:19 +0300 (Mon, 25 Sep 2006) | 2 lines
cosmetic

Originally committed as revision 6470 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:07:57 +00:00
Oded Shimon
63fc901ec9 Original Commit: r64 | ods15 | 2006-09-25 18:39:30 +0300 (Mon, 25 Sep 2006) | 2 lines
some fixes to floor

Originally committed as revision 6469 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:07:55 +00:00
Oded Shimon
09a0d8b3c9 Original Commit: r63 | ods15 | 2006-09-25 13:51:44 +0300 (Mon, 25 Sep 2006) | 3 lines
last step to improoving floor code-wise - now the floor data needs to be
improved..

Originally committed as revision 6468 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:07:53 +00:00
Oded Shimon
6e8ef5ae6f Original Commit: r62 | ods15 | 2006-09-25 13:12:07 +0300 (Mon, 25 Sep 2006) | 2 lines
api change for floor_encode

Originally committed as revision 6467 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:07:51 +00:00
Oded Shimon
cf0f2642f4 Original Commit: r61 | ods15 | 2006-09-25 13:10:56 +0300 (Mon, 25 Sep 2006) | 2 lines
step 2, floor_fit, decides on the values to be encoded

Originally committed as revision 6466 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:07:49 +00:00
Oded Shimon
62ca51b3fa Original Commit: r60 | ods15 | 2006-09-25 12:46:30 +0300 (Mon, 25 Sep 2006) | 2 lines
first step to improoving floor

Originally committed as revision 6465 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:07:46 +00:00
Oded Shimon
6f17618af9 Original Commit: r59 | ods15 | 2006-09-24 17:40:40 +0300 (Sun, 24 Sep 2006) | 2 lines
cosmetic, reorganize

Originally committed as revision 6464 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:07:44 +00:00
Oded Shimon
8a202cb3a7 Original Commit: r58 | ods15 | 2006-09-24 17:35:28 +0300 (Sun, 24 Sep 2006) | 2 lines
add ability to use codebook dimentions in residue

Originally committed as revision 6463 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:07:42 +00:00
Oded Shimon
4132242dfc Original Commit: r56 | ods15 | 2006-09-24 13:55:01 +0300 (Sun, 24 Sep 2006) | 2 lines
oggvorbis_encoder => vorbis_encoder

Originally committed as revision 6462 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:07:40 +00:00
Oded Shimon
91f64941d3 Original Commit: r55 | ods15 | 2006-09-24 13:54:43 +0300 (Sun, 24 Sep 2006) | 2 lines
bug fixes for residue with no books in all passes

Originally committed as revision 6461 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:07:38 +00:00
Oded Shimon
b8d5b161ae Original Commit: r54 | ods15 | 2006-09-24 13:54:12 +0300 (Sun, 24 Sep 2006) | 2 lines
change floor value to lower residue

Originally committed as revision 6460 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:07:36 +00:00
Oded Shimon
36e09a5144 Original Commit: r52 | ods15 | 2006-09-23 17:38:43 +0300 (Sat, 23 Sep 2006) | 2 lines
correct rangebits for floor

Originally committed as revision 6459 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:07:34 +00:00
Oded Shimon
4fb432e743 Original Commit: r51 | ods15 | 2006-09-23 16:32:30 +0300 (Sat, 23 Sep 2006) | 2 lines
deobfuscate a bit

Originally committed as revision 6458 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:07:32 +00:00
Oded Shimon
a7849cc90e Original Commit: r50 | ods15 | 2006-09-23 16:24:51 +0300 (Sat, 23 Sep 2006) | 2 lines
ilog => av_log2

Originally committed as revision 6457 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:07:30 +00:00
Oded Shimon
0e6fd0f12f Original Commit: r49 | ods15 | 2006-09-23 12:52:21 +0300 (Sat, 23 Sep 2006) | 3 lines
fix off-by-one in both encoder and decoder.
libvorbis and tremor work now, ffvorbis still doesn't

Originally committed as revision 6456 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:07:28 +00:00
Oded Shimon
33592a633f Original Commit: r48 | ods15 | 2006-09-23 12:45:25 +0300 (Sat, 23 Sep 2006) | 2 lines
small fix for residue header

Originally committed as revision 6455 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:07:26 +00:00
Oded Shimon
174476cd7d Original Commit: r47 | ods15 | 2006-09-23 12:34:48 +0300 (Sat, 23 Sep 2006) | 2 lines
make ffvorbis happy about init stuff, still can't play correctly

Originally committed as revision 6454 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 06:07:24 +00:00
Oded Shimon
2278783547 Original Commit: r46 | ods15 | 2006-09-23 11:36:32 +0300 (Sat, 23 Sep 2006) | 2 lines
fix normalization, output is (roughly?) same volume as input

Originally committed as revision 6453 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 05:56:40 +00:00
Oded Shimon
f4e5e657b8 Original Commit: r44 | ods15 | 2006-09-23 10:54:43 +0300 (Sat, 23 Sep 2006) | 2 lines
some bug fixes for window()

Originally committed as revision 6452 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 05:56:37 +00:00
Oded Shimon
19b00cf16e Original Commit: r43 | ods15 | 2006-09-23 10:53:46 +0300 (Sat, 23 Sep 2006) | 2 lines
change residue codebook dimentions

Originally committed as revision 6451 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 05:56:35 +00:00
Oded Shimon
4317306f34 Original Commit: r42 | ods15 | 2006-09-23 10:53:16 +0300 (Sat, 23 Sep 2006) | 2 lines
fix for residue end

Originally committed as revision 6450 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 05:56:32 +00:00
Oded Shimon
b452ee42f5 Original Commit: r41 | ods15 | 2006-09-23 10:52:34 +0300 (Sat, 23 Sep 2006) | 4 lines
residue packet encode

ACTUALLY ENCODES NOW!! still some bugs to fix :)

Originally committed as revision 6449 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 05:56:30 +00:00
Oded Shimon
6fbf5855b1 Original Commit: r40 | ods15 | 2006-09-23 09:36:30 +0300 (Sat, 23 Sep 2006) | 2 lines
fix frame_size, we need input of half the mdct

Originally committed as revision 6448 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 05:56:27 +00:00
Oded Shimon
f71b6d7072 Original Commit: r39 | ods15 | 2006-09-23 09:36:11 +0300 (Sat, 23 Sep 2006) | 2 lines
add window function

Originally committed as revision 6447 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 05:56:25 +00:00
Oded Shimon
6b03d096dc Original Commit: r38 | ods15 | 2006-09-23 09:02:34 +0300 (Sat, 23 Sep 2006) | 2 lines
buffer related struct variables

Originally committed as revision 6446 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 05:56:23 +00:00
Oded Shimon
1b34d5737d Original Commit: r37 | ods15 | 2006-09-23 08:43:43 +0300 (Sat, 23 Sep 2006) | 2 lines
cosmetic

Originally committed as revision 6445 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 05:56:21 +00:00
Oded Shimon
b9b040236e Original Commit: r36 | ods15 | 2006-09-23 08:43:09 +0300 (Sat, 23 Sep 2006) | 2 lines
starting point for packet encode, writing floor

Originally committed as revision 6444 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 05:56:18 +00:00
Oded Shimon
e3bbb5910f Original Commit: r35 | ods15 | 2006-09-22 18:53:22 +0300 (Fri, 22 Sep 2006) | 4 lines
another off by one

header writing seems compliant now!

Originally committed as revision 6443 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 05:56:16 +00:00
Oded Shimon
9da6847deb Original Commit: r34 | ods15 | 2006-09-22 18:46:57 +0300 (Fri, 22 Sep 2006) | 2 lines
off by one in codebook header

Originally committed as revision 6442 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 05:56:14 +00:00
Oded Shimon
be01eec6c7 Original Commit: r32 | ods15 | 2006-09-22 18:37:50 +0300 (Fri, 22 Sep 2006) | 2 lines
add framing bit

Originally committed as revision 6441 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 05:56:12 +00:00
Oded Shimon
22c72a08df Original Commit: r31 | ods15 | 2006-09-22 18:33:17 +0300 (Fri, 22 Sep 2006) | 2 lines
use my own bitpacker

Originally committed as revision 6440 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 05:56:10 +00:00
Oded Shimon
b4b6ff3a55 Original Commit: r30 | ods15 | 2006-09-22 18:24:04 +0300 (Fri, 22 Sep 2006) | 2 lines
remove some old defines, use ALT_BITSTREAM_WRITER

Originally committed as revision 6439 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 05:56:07 +00:00
Oded Shimon
b1f6c8b120 Original Commit: r27 | ods15 | 2006-09-22 14:19:51 +0300 (Fri, 22 Sep 2006) | 2 lines
better frame_size, depending on blocksize

Originally committed as revision 6438 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 05:56:05 +00:00
Oded Shimon
2d06ce4c87 Original Commit: r26 | ods15 | 2006-09-22 14:18:22 +0300 (Fri, 22 Sep 2006) | 2 lines
crash fix

Originally committed as revision 6437 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 05:56:03 +00:00
Oded Shimon
ae9b187ab2 Original Commit: r25 | ods15 | 2006-09-22 14:06:04 +0300 (Fri, 22 Sep 2006) | 2 lines
add proper uninit/free to all vorbis encoder context

Originally committed as revision 6436 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 05:56:01 +00:00
Oded Shimon
fb5eba8c2d Original Commit: r24 | ods15 | 2006-09-22 13:57:09 +0300 (Fri, 22 Sep 2006) | 2 lines
last and least, modes generation

Originally committed as revision 6435 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 05:55:59 +00:00
Oded Shimon
8e59b82db1 Original Commit: r23 | ods15 | 2006-09-22 13:55:48 +0300 (Fri, 22 Sep 2006) | 2 lines
mapping generation

Originally committed as revision 6434 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 05:55:57 +00:00
Oded Shimon
0df46aa216 Original Commit: r22 | ods15 | 2006-09-22 13:49:56 +0300 (Fri, 22 Sep 2006) | 2 lines
add residue generation

Originally committed as revision 6433 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 05:55:55 +00:00
Oded Shimon
e185750ab7 Original Commit: r21 | ods15 | 2006-09-22 13:40:31 +0300 (Fri, 22 Sep 2006) | 2 lines
placeholders for reisudes, mappings and modes

Originally committed as revision 6432 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 05:55:52 +00:00
Oded Shimon
491d4dfd6c Original Commit: r20 | ods15 | 2006-09-22 13:12:48 +0300 (Fri, 22 Sep 2006) | 2 lines
cosmetic

Originally committed as revision 6431 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 05:55:49 +00:00
Oded Shimon
b9db113d6d Original Commit: r19 | ods15 | 2006-09-22 12:54:18 +0300 (Fri, 22 Sep 2006) | 2 lines
floor generation

Originally committed as revision 6430 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 05:55:47 +00:00
Oded Shimon
faf7f0ce7e Original Commit: r18 | ods15 | 2006-09-22 12:29:26 +0300 (Fri, 22 Sep 2006) | 2 lines
add ability to run encoder for testing purposes...

Originally committed as revision 6429 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 05:55:45 +00:00
Oded Shimon
128c0dfe9a Original Commit: r17 | ods15 | 2006-09-22 12:28:28 +0300 (Fri, 22 Sep 2006) | 2 lines
bug fixes in codebook header syntax

Originally committed as revision 6428 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 05:55:43 +00:00
Oded Shimon
1495689c5b Original Commit: r16 | ods15 | 2006-09-22 12:27:17 +0300 (Fri, 22 Sep 2006) | 2 lines
minimum size for a huffman table is 2 entries, 1bit

Originally committed as revision 6427 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 05:55:41 +00:00
Oded Shimon
53261080b9 Original Commit: r15 | ods15 | 2006-09-22 12:26:42 +0300 (Fri, 22 Sep 2006) | 2 lines
bug fix in main header function, 0 -> i

Originally committed as revision 6426 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 05:55:39 +00:00
Oded Shimon
e08d964df6 Original Commit: r14 | ods15 | 2006-09-22 12:26:17 +0300 (Fri, 22 Sep 2006) | 2 lines
use several codebooks and passes to prevent header from being several MB...

Originally committed as revision 6425 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 05:55:37 +00:00
Oded Shimon
3c83828ca4 Original Commit: r13 | ods15 | 2006-09-22 09:29:38 +0300 (Fri, 22 Sep 2006) | 2 lines
better comment

Originally committed as revision 6424 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 05:55:35 +00:00
Oded Shimon
73acc51cd2 Original Commit: r12 | ods15 | 2006-09-22 09:28:30 +0300 (Fri, 22 Sep 2006) | 5 lines
entry_t -> cb_entry_t
add float * dimentions, it will be needed for deciding the correct codebook entry
document blocksize
first steps to creating the context to be used

Originally committed as revision 6423 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 05:55:33 +00:00
Oded Shimon
8016c73f4c Original Commit: r11 | ods15 | 2006-09-17 19:41:28 +0300 (Sun, 17 Sep 2006) | 4 lines
modes header syntax

that's the last of the headers! woo

Originally committed as revision 6422 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 05:55:30 +00:00
Oded Shimon
beaec74a94 Original Commit: r10 | ods15 | 2006-09-17 19:37:17 +0300 (Sun, 17 Sep 2006) | 2 lines
mappings header syntax

Originally committed as revision 6421 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 05:55:28 +00:00
Oded Shimon
6f133df1ea Original Commit: r9 | ods15 | 2006-09-17 18:56:41 +0300 (Sun, 17 Sep 2006) | 2 lines
add residue header syntax

Originally committed as revision 6420 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 05:55:26 +00:00
Oded Shimon
d2d5c89d34 Original Commit: r8 | ods15 | 2006-09-17 09:43:38 +0300 (Sun, 17 Sep 2006) | 2 lines
floor header syntax

Originally committed as revision 6419 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 05:55:24 +00:00
Oded Shimon
d52480b40d Original Commit: r7 | ods15 | 2006-09-17 08:50:47 +0300 (Sun, 17 Sep 2006) | 2 lines
skeleton for residue/floor/mappings header

Originally committed as revision 6418 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 05:55:22 +00:00
Oded Shimon
1f7e7464e9 Original Commit: r6 | ods15 | 2006-09-16 20:36:31 +0300 (Sat, 16 Sep 2006) | 2 lines
add correct and working put_float ...

Originally committed as revision 6417 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 05:55:20 +00:00
Oded Shimon
3112124154 Original Commit: r5 | ods15 | 2006-09-16 17:29:04 +0300 (Sat, 16 Sep 2006) | 4 lines
more "surrounding" stuff, main header. some cleanup.

actually compiles now! doesn't do anything though

Originally committed as revision 6416 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 05:55:18 +00:00
Oded Shimon
0688b89c6d Original Commit: r4 | ods15 | 2006-09-16 15:36:03 +0300 (Sat, 16 Sep 2006) | 3 lines
codebook header syntax
small simplification for encode_init()

Originally committed as revision 6415 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 05:55:16 +00:00
Oded Shimon
3a5fdf92f5 Original Commit: r3 | ods15 | 2006-09-16 11:49:07 +0300 (Sat, 16 Sep 2006) | 2 lines
cosmetics

Originally committed as revision 6414 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 05:55:14 +00:00
Oded Shimon
504d195260 skeleton for vorbis_enc.c
Originally committed as revision 6413 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 05:54:55 +00:00
Loren Merritt
2833fc4646 approximate qpel functions: sacrifice some quality for some decoding speed. enabled on B-frames with -lavdopts fast.
Originally committed as revision 6412 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-01 21:25:17 +00:00
Alexander Strange
eacad59e03 Fix compilation with --disable-encoders.
patch by Alexander Strange, astrange at ithinksw dot com

Originally committed as revision 6410 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-01 18:19:49 +00:00
Oded Shimon
7f09a56091 remove render_line from vorbis.h, add ff_vorbis_floor1_render_list instead
Originally committed as revision 6409 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-01 17:38:07 +00:00
Oded Shimon
e8f42cc0f5 prevent warning in vorbis_data.c
Originally committed as revision 6404 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-01 13:53:08 +00:00
Oded Shimon
ded515b241 100l, broke ffmpeg compilation, ABS() and uint* types not defined in vorbis_data.c
Originally committed as revision 6403 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-01 13:45:17 +00:00
Oded Shimon
6c29d7c8f3 make some more functions global so they can be shared with vorbis_enc.c
Originally committed as revision 6402 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-01 11:59:33 +00:00
Oded Shimon
9f963af5a0 make ready_floor1_list() shared for vorbis_enc.c
Originally committed as revision 6401 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-01 11:11:30 +00:00
Kostya Shishkov
429914a330 1l: correct argument order in avcodec_check_dimensions
Originally committed as revision 6400 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-01 05:09:20 +00:00
Michael Niedermayer
3129f3bd0f palette (if we memcpy it into AVFrame) must be uint32_t
Originally committed as revision 6399 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-30 23:49:09 +00:00
Oded Shimon
cc0ba5a58f vorbis.h -> vorbis_data.c
move tables from vorbis.h to a C file so they can be used later in
vorbis_enc.c

Originally committed as revision 6398 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-30 18:47:15 +00:00
Michael Niedermayer
18239edfa9 marking AVPaletteControl as deprecated due to thread saftey amongth other issues (it doesnt work if theres any delay between demuxer and decoder)
Originally committed as revision 6397 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-30 18:16:38 +00:00
Michael Niedermayer
0d415b2dd7 seems only 3 bits are used for the number of resolutions, some rv30 files have this set to 10 even though there are just 2 resolutions in the extradata
Originally committed as revision 6395 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-30 16:00:27 +00:00
Michael Niedermayer
f457965c20 ignore sub_id
Originally committed as revision 6392 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-30 11:45:09 +00:00
Michael Niedermayer
fb3d155c31 big endian fix
Originally committed as revision 6391 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-30 11:35:14 +00:00
Michael Niedermayer
113533a582 support resolution switching, fixes rv20errors.rm
Originally committed as revision 6390 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-30 11:31:15 +00:00
Michael Niedermayer
78a5ec27aa simplify
Originally committed as revision 6389 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-29 23:57:03 +00:00
Michael Niedermayer
6d3124961b fix rv20 b frames (broke since r5264 Mon Apr 3 07:52:24 2006 UTC 2x faster ff_mpeg4_set_direct_mv)
Originally committed as revision 6388 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-29 23:34:42 +00:00
Panagiotis Issaris
b2f86c170d Add forgotten eval.h...
Originally committed as revision 6387 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-29 19:48:27 +00:00
Panagiotis Issaris
0de9926f62 Move the ratecontrol related code from mpegvideo.h to a separate header file.
Originally committed as revision 6386 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-29 19:39:19 +00:00
Panagiotis Issaris
d70ef6d761 Reformat the output of the list of available AVOptions, by indenting the
parameters of certain options and displaying them _right after_ the actual
option taking the parameter.

Originally committed as revision 6385 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-29 19:36:12 +00:00
Panagiotis Issaris
6d6f42d202 Remove the override of lmin and lmax, so the actual option value provided will
be used.

Originally committed as revision 6384 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-29 19:34:53 +00:00
Panagiotis Issaris
4d7b4613a1 Pull out the ff_eval* from the mpegvideo header, as it doesn't belong there and
put it in a separate file.

Originally committed as revision 6383 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-29 19:33:04 +00:00
Måns Rullgård
f28748e671 remove extraneous #ifdef CONFIG_ENCODERS/DECODERS
Originally committed as revision 6375 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-28 22:03:52 +00:00
Panagiotis Issaris
720442981b Remove the "mblmax" OptionDef. The equally named AVOption takes over its
function. A unit change is involved, but as AVOption parameters are now parsed
with ff_eval2(), you can use the QP2LAMBDA constant to ease the change.

Originally committed as revision 6370 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-28 17:46:25 +00:00
Panagiotis Issaris
93b26b6381 Remove the "mblmin" OptionDef. The equally named AVOption takes over its
function. A unit change is involved, but as AVOption parameters are now parsed
with ff_eval2(), you can use the QP2LAMBDA constant to ease the change.

Originally committed as revision 6369 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-28 17:45:51 +00:00
Kostya Shishkov
8db0c25d95 Handle case of get_bits(0)
Originally committed as revision 6365 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-28 05:01:02 +00:00
Måns Rullgård
b86216de4c dc_val should be signed
Originally committed as revision 6364 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-27 22:13:44 +00:00
Måns Rullgård
bca99b47bf return 0 from encode_picture() and estimate_qp() on success
Originally committed as revision 6363 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-27 22:12:08 +00:00
Panagiotis Issaris
0ec6065a34 Break compatibility only when first part of version number changes, in this
specific case for ff_eval deprecation.

Originally committed as revision 6358 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-27 20:08:36 +00:00
Panagiotis Issaris
95c9943081 Make AVOption parsign code use ff_eval2()
Originally committed as revision 6357 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-27 20:01:39 +00:00
Måns Rullgård
62bb489b13 add some #ifdef CONFIG_ENCODERS/DECODERS
Originally committed as revision 6356 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-27 19:54:07 +00:00
Måns Rullgård
191e8ca752 fix some signedness warnings
Originally committed as revision 6355 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-27 19:47:39 +00:00
Panagiotis Issaris
d80f243ae9 Make ratecontrol use ff_eval2().
Originally committed as revision 6354 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-27 19:46:19 +00:00
Panagiotis Issaris
a2eb288ac7 Fix compilation by postponing deprecation of ff_eval() until the next version
increment.

Originally committed as revision 6352 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-27 11:09:35 +00:00
Kostya Shishkov
050b60b2cc free memory before return
Originally committed as revision 6351 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-27 04:37:57 +00:00
Kostya Shishkov
1dbb339db3 bump lavc version for WavPack decoder
Originally committed as revision 6350 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-27 04:31:39 +00:00
Michael Niedermayer
c38a29a448 fix decoding of bastard3.rm (ver=0x10003001 ver0=0x9000000)
Originally committed as revision 6349 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-26 22:23:33 +00:00
Panagiotis Issaris
ae41e29b5b Introduce ff_eval2 which is equivalent to ff_eval but does not log anything.
Instead, error messages are passed upward by means of a struct member variable.

Originally committed as revision 6348 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-26 22:01:33 +00:00
Måns Rullgård
a0403006f8 ARMv5TE optimized IDCT
Originally committed as revision 6347 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-26 20:26:22 +00:00
Michael Niedermayer
e2887363e1 fix decoding of bastard1.rm (rv ver=0x10003001 ver0=0x8000000)
Originally committed as revision 6346 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-26 20:24:13 +00:00
Måns Rullgård
89cba1bd7d fix MUL16 macro
Originally committed as revision 6344 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-26 18:31:43 +00:00
Panagiotis Issaris
4156a436e3 Handle possible failure of ff_eval.
Originally committed as revision 6338 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-26 14:04:36 +00:00
Michael Niedermayer
327409d7b9 mpeg1 b_strategy=2 segfault fix
Originally committed as revision 6337 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-26 08:49:24 +00:00
Kostya Shishkov
730581f3b4 WavPack lossless audio decoder
Originally committed as revision 6336 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-26 03:41:51 +00:00
Reimar Döffinger
1a174c2831 remove get_le16 and get_le32, get_bits and get_bits_long can just be used directly.
Originally committed as revision 6335 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-25 22:57:34 +00:00
Reimar Döffinger
544c449d12 Get rid of get_bits_long_le, get_bits_long was fixed and now behaves the same way.
Originally committed as revision 6334 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-25 22:54:19 +00:00
Reimar Döffinger
6831406b2f Changes needed due to show_bits_long behaviour changes/fixes
Originally committed as revision 6333 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-25 22:53:11 +00:00
Reimar Döffinger
d1121caa66 Fix get_bits_long to work with ALT_BITSTREAM_READER_LE.
Gives the same result as get_bits_long_le in vorbis.c instead
of some wild big-/little-endian mixture.

Originally committed as revision 6332 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-25 22:47:55 +00:00
Aurelien Jacobs
4fde50604d rename vector to vect to avoid clash with Apple gcc
Originally committed as revision 6331 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-25 18:54:18 +00:00
Luca Barbato
79e47000c8 move memory functions from avcodec to avutil
Originally committed as revision 6330 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-25 15:23:40 +00:00
Oded Shimon
0e3cb7a1ff fix to vorbis decoder for book==0
Originally committed as revision 6328 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-24 10:58:06 +00:00
Panagiotis Issaris
97a9195feb Missing extern declaration for av_strtod.
Originally committed as revision 6327 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-24 10:53:54 +00:00
Michael Niedermayer
b8100438a0 cosmetic
Originally committed as revision 6326 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-24 10:41:25 +00:00
Michael Niedermayer
e6b120018b segfault fix
thanks to takis for finding the cause of this

Originally committed as revision 6325 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-24 10:38:14 +00:00
Panagiotis Issaris
79ca4de35b Define NAN -if not already defined- as 0.0/0.0
Originally committed as revision 6324 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-23 08:50:50 +00:00
Luca Barbato
004390a639 Use mathops
Originally committed as revision 6323 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-22 15:57:23 +00:00
Panagiotis Issaris
22565f5d7e Remove the "error" OptionDef. The equally named AVOption takes over its
function.

Originally committed as revision 6322 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-22 15:05:27 +00:00
Panagiotis Issaris
cccb4c966b Remove the "mepc" OptionDef. The equally named AVOption takes over its function.
Originally committed as revision 6321 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-22 15:04:56 +00:00
Panagiotis Issaris
bf08081389 Remove the "mb_threshold" OptionDef. The equally named AVOption takes over its
function.

Originally committed as revision 6317 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-22 13:55:56 +00:00
Loren Merritt
a4eb118a41 cosmetics (indentation)
Originally committed as revision 6313 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-21 17:43:09 +00:00
Loren Merritt
f469094c9b tweak ff_imdct_calc_3dn2
Originally committed as revision 6312 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-21 17:42:23 +00:00
Loren Merritt
ebbafcb454 sse implementation of imdct.
patch mostly by Zuxy Meng (zuxy dot meng at gmail dot com)

Originally committed as revision 6311 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-21 16:37:39 +00:00
Kostya Shishkov
a1ef006823 Finally enable B-frame decoding as all known samples work perfect
Originally committed as revision 6309 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-21 04:46:11 +00:00
Kostya Shishkov
6b33eed83f For B-frames if the second reference frame signals intensity compensation
then the first reference frame should be intensity compensated.

Originally committed as revision 6308 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-21 04:44:35 +00:00
Kostya Shishkov
162f412dec Reorder MV order in B-frames so no swapping in vc1_b_mc() is needed
Originally committed as revision 6307 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-21 04:38:47 +00:00
Kostya Shishkov
75807fe26e Zero number of current scan after decoding one picture.
This fixes grayscale JPEG-LS decoding.

Originally committed as revision 6306 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-21 04:28:46 +00:00
Michael Niedermayer
98bf484309 1000l copy and paste typo
Originally committed as revision 6305 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-21 01:08:05 +00:00
Michael Niedermayer
c3e462a8ca set supported pixel formats for a few encoders (fixes crashes with grayscale)
Originally committed as revision 6303 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-20 21:17:37 +00:00
Panagiotis Issaris
58bba31e3f Remove the "qsquish" OptionDef. The AVOption min/max value is changed to match
the removed range check in ffmpeg.c.

Originally committed as revision 6299 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-20 08:39:56 +00:00
Panagiotis Issaris
6bacd250f4 Remove the "qmax" OptionDef.
Originally committed as revision 6298 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-20 08:36:33 +00:00
Panagiotis Issaris
5687a2f4cc Remove the "qmin" OptionDef.
Originally committed as revision 6297 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-20 08:34:58 +00:00
Panagiotis Issaris
315b0f9742 Remove the "bf" OptionDef parameter so the equally named AVOption will take
over. Move over ffmpeg.c constraint checking, but allow value of zero to disable
B-frame.

Originally committed as revision 6296 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-20 08:34:13 +00:00
Panagiotis Issaris
fcc9b95653 Inform the user that a certain AVOption is out of range.
Originally committed as revision 6295 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-20 08:28:24 +00:00
Panagiotis Issaris
076ce01793 Correct the constraints of some AVOptions. These had a default value of zero,
while the minimum allowed value was set to FLT_MIN.

Originally committed as revision 6294 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-20 08:27:18 +00:00
Luca Barbato
99aed7c8fc New single instruction math operation header
Originally committed as revision 6291 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-19 22:22:29 +00:00
Michael Niedermayer
39e1b5cf8e use correct rounding functions
this should fix a floating point exception on some systems
lets hope these arent missing anywhere, if so another solution must be found

Originally committed as revision 6290 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-19 09:31:00 +00:00
Panagiotis Issaris
97c73545a5 Add support for SI (k, M, ...) and IEC/IEEE (Ki, Mi, ...) units.
Originally committed as revision 6287 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-18 11:35:48 +00:00
Michael Niedermayer
7eb1042cbd K prefix
add SI prefix selftest

Originally committed as revision 6286 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-17 10:22:01 +00:00
Michael Niedermayer
e66477afbe support SI and some non SI prefixes
Originally committed as revision 6284 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-17 08:52:41 +00:00
Michael Benjamin
5ca030fed4 ADI Blackfin optimizations
patch by Michael Benjamin, neuroptik gmail com

Originally committed as revision 6282 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-16 22:26:09 +00:00
Måns Rullgård
cd621028c0 remove junk characters in comment
Originally committed as revision 6279 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-16 00:51:49 +00:00
Måns Rullgård
f07e8487b0 clean up #ifdef HAVE_IPP
Originally committed as revision 6278 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-15 23:20:58 +00:00
Panagiotis Issaris
fda7eb9098 Correct the i_qfactor minimum, which was current set higher then the default
value.

Originally committed as revision 6274 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-15 21:57:19 +00:00
Diego Biurrun
02c1592fde Fix Indel --> Intel typo.
Originally committed as revision 6260 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-15 13:53:26 +00:00
Panagiotis Issaris
7df00a4e06 Rename the AVOption's names to the shorter OptionDef names.
Originally committed as revision 6257 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-15 10:57:20 +00:00
Baptiste Coudurier
8e453fc3c7 remove unused, uninitialized free format frame size
Originally committed as revision 6256 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-15 10:28:23 +00:00
Aurelien Jacobs
2a2311bee3 disable vp3 mmx idct for theora files to avoid artifacts
(see theora-a4_v6-k250-s0_2.ogg)

Originally committed as revision 6253 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-14 22:13:23 +00:00
Panagiotis Issaris
0b97eea306 Synchronize the defaults specified in the AVOptions[] array to the defaults
specified in the ffmpeg.c global static variabels. This preserves the current
behavior.

Originally committed as revision 6252 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-14 14:02:32 +00:00
Panagiotis Issaris
66acccf05f Make OFFSET() reuse offsetof
Originally committed as revision 6251 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-14 13:51:54 +00:00
Panagiotis Issaris
a41e9d6899 Allow parameter values (AVOptions) to use the 'k', 'M', 'G'
and 'B' postfixes.

Originally committed as revision 6249 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-14 11:23:41 +00:00
Diego Biurrun
7f889a76ad Remove the LGPL exception clause as discussed on ffmpeg-devel
and move the dependent code under CONFIG_GPL.

Originally committed as revision 6248 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-14 00:38:03 +00:00
Siarhei Siamashka
1839e854e5 Proper armv5te instructions support detection.
patch by Siarhei Siamashka, siarhei dot siamashka gmail com

Originally committed as revision 6246 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-13 21:39:41 +00:00
Aurelien Jacobs
a8678a3a7a replaces back some C code by dsp.put_pixels_tab[0][0] (revert r6231)
but this time ensure proper alignment using av_malloc instead of av_realloc

Originally committed as revision 6245 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-13 20:16:33 +00:00
Panagiotis Issaris
7facadb0bb corrects the type of the AVOption parameter "bugs", patch by Takis
Original thread:
Date: Sep 11, 2006 1:43 PM
Subject: [Ffmpeg-devel] [PATCH] Wrong AVOption type

Originally committed as revision 6244 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-13 09:28:48 +00:00
Panagiotis Issaris
5cc9b87f45 adds descriptions to the libavcodec AVOptions array, taken from the
OptionDef options[] array.
Patch by Takis,
Original thread:
Date: Sep 11, 2006 3:39 PM
Subject: [Ffmpeg-devel] [PATCH] AVOptions description sync

Originally committed as revision 6243 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-13 09:03:13 +00:00
Aurelien Jacobs
1dac8fea05 Enables back the mmx/sse optimized version of the vp3 idct.
It generates different md5sum than the reference C implementation,
but no visual difference, so enabled only when bitexact is not set.

Originally committed as revision 6241 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-12 20:58:17 +00:00
Kostya Shishkov
e179fbc850 Swap back and forward motion vectors to achieve correct picture
Originally committed as revision 6237 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-12 04:35:11 +00:00
Kostya Shishkov
1884a48bee Set motion vectors used in B-frames to zero by default
Originally committed as revision 6236 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-12 04:29:37 +00:00
Kostya Shishkov
c8868640c1 Use h264_chroma funcs in B-frames MC too
Originally committed as revision 6235 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-12 04:19:07 +00:00
Kostya Shishkov
b116cc7f95 Fix edge emulation for bicubic MC in B frames
Originally committed as revision 6234 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-12 04:16:28 +00:00
Kostya Shishkov
f9942ba94b 2989l: Set avctx->has_b_frames value in header and don't change it
Originally committed as revision 6233 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-12 04:13:00 +00:00
Aurelien Jacobs
0dd5866af7 don't use dsp.put_pixels_tab[0][0] with unaligned ptr (fix artifacts on altivec)
Originally committed as revision 6231 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-11 23:29:24 +00:00
Siarhei Siamashka
024da4b146 armv5 optimizations
patch by Siarhei Siamashka siarhei.siamashka at gmail com

Originally committed as revision 6228 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-10 22:29:02 +00:00
Panagiotis Issaris
8c3dd5dc9c Use and set sane AVOption defaults
Patch by Takis
Original thread:
Date: Sep 8, 2006 3:26 PM
Subject: [Ffmpeg-devel] [PATCH 2/2] Use and set sane AVOption defaults

Originally committed as revision 6227 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-10 21:51:08 +00:00
Panagiotis Issaris
493f7857de adds doxygen docs to av_opt_set_defaults. Patch by Takis
Originally committed as revision 6226 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-10 20:46:20 +00:00
Panagiotis Issaris
73a8ceaa17 make AVOptions default value field work.
Patch by Panagiotis Issaris % takis P issaris A uhasselt P be %
Original thread:
Date: Sep 8, 2006 3:22 PM
Subject: [Ffmpeg-devel] [PATCH 1/2] Enable usage of AVOption default value

Originally committed as revision 6224 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-10 20:21:40 +00:00
Diego Biurrun
b7cff9ce7c Remove unused variable.
Originally committed as revision 6223 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-10 18:16:19 +00:00
Luca Barbato
8faf544392 Cleanup, from Emanuele Giaquinta <exg@gentoo.org>
Originally committed as revision 6221 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-10 15:36:53 +00:00
Diego Biurrun
04d7f60143 Add official LGPL license headers to the files that were missing them.
Originally committed as revision 6219 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-10 14:02:42 +00:00
Kostya Shishkov
dc43482b26 Disable B-frames decoding until they produce correct picture
Originally committed as revision 6218 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-10 04:24:53 +00:00
Aurelien Jacobs
d120e4026d rename vector to vect to avoid clash with Apple gcc
Originally committed as revision 6217 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-09 22:53:44 +00:00
Diego Biurrun
9a8e6f8708 Add proper GPL headers.
Originally committed as revision 6216 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-09 22:04:43 +00:00
Aurelien Jacobs
5ce117c37c VP5 and VP6 video decoder
Originally committed as revision 6213 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-09 17:19:37 +00:00
Kostya Shishkov
34a8dcd031 Drop unneeded checks before av_free() and change to av_freep() where it's more suitable.
Originally committed as revision 6212 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-09 11:40:41 +00:00
Kostya Shishkov
767516533d Support for BI-frames in Advanced Profile
Originally committed as revision 6211 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-09 11:32:36 +00:00
Kostya Shishkov
d429c98208 Don't print header bits by default
Originally committed as revision 6210 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-09 11:29:17 +00:00
Kostya Shishkov
6cf6d0ec1a [Cosmetics] Remove if(profile < PROFILE_ADVANCED) from decode_sequence_header()
as it's always true and reindent code inside by the way.

Originally committed as revision 6209 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-09 11:28:02 +00:00
Kostya Shishkov
d1d28ddf99 [Cosmetics] Remove some done TODOs/FIXMEs from comments
Originally committed as revision 6208 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-09 11:23:44 +00:00
Kostya Shishkov
1dc1ce643e Proper support for B/BI frames
Originally committed as revision 6207 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-09 11:21:56 +00:00
Panagiotis Issaris
5e89b50b29 undefines a few temporary defines which were not undefined after their usage.
Patch by Panagiotis Issaris

Originally committed as revision 6205 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-09 08:49:28 +00:00
Michael Niedermayer
7b95bc5842 print more correct error messges
Originally committed as revision 6194 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-08 08:27:51 +00:00
Kostya Shishkov
7ff0b84f0e Handle the rest of known blocks (by skipping them)
Originally committed as revision 6185 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-07 04:08:34 +00:00
Kostya Shishkov
096bc417ae Tests for overreading input data
Originally committed as revision 6184 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-07 04:05:04 +00:00
Kostya Shishkov
54b55c8da0 Cursor drawing support
Originally committed as revision 6183 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-07 04:01:42 +00:00
Diego Biurrun
f7b106cb35 Switch license from GPL to LGPL. The original author agreed to this as
stated in the commit message adding this file.

Originally committed as revision 6181 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-06 10:17:28 +00:00
Alan Curry
afd1a2d88e Fix buffer handling for stereo mace files, fixes some random sig11
Patch by Alan Curry !<! pacman !@! TheWorld !.! com !>!

Originally committed as revision 6178 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-05 21:17:30 +00:00
Corey Hickey
577cd173e3 second pass encoding changes:
- warn rather than fail when specified bitrate need not be used
- fail with a useful message when specified bitrate is too low
- print potentially useful information if verbose

patch based mostly on suggestions from Michael Niedermayer and Loren Merritt

Originally committed as revision 6176 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-05 15:46:06 +00:00
Diego Biurrun
157cba3bdb Mark this file properly as LGPL as allowed by its author Leon van Stuivenberg.
Clean up the outdated URLs in the header.

Originally committed as revision 6175 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-05 13:50:36 +00:00
Kostya Shishkov
805934b3e4 Try to handle all chunks, previous scheme was not correct.
Originally committed as revision 6173 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-05 07:31:53 +00:00
Kostya Shishkov
c0d6fc1f73 Handle raw blocks correctly (both updating pointer and storing to memory)
Originally committed as revision 6172 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-05 07:29:26 +00:00
Kostya Shishkov
eb57c88973 VMware Video decoder (fourcc: VMnc)
Originally committed as revision 6171 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-05 04:37:14 +00:00
Michael Niedermayer
353e433b96 seems the output of that code is never used
Originally committed as revision 6170 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-04 21:11:54 +00:00
Måns Rullgård
ae5e7e7f10 inline align_get_bits()
Originally committed as revision 6169 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-04 17:25:38 +00:00
Corey Hickey
29b372b9e9 error message spelling typo
Originally committed as revision 6168 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-04 17:08:20 +00:00
Diego Biurrun
d67898427b Exchange informal GPL notice by official license header.
Originally committed as revision 6165 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-04 09:37:28 +00:00
Kostya Shishkov
3c275f6def VC-1 Advanced Profile support (progressive only, tested on WVC1 samples)
Originally committed as revision 6162 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-04 04:24:49 +00:00
Roman Shaposhnik
3c8f30a745 * Restructuring the division of labor between DV codec and DV format
[ Based on a patch by Brian Brice (bbrice at newtek dot com) ]

Originally committed as revision 6161 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-04 03:33:11 +00:00
Diego Biurrun
712ae911bb The license of this file is LGPL, as clarified by Fabrice.
Originally committed as revision 6160 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-03 22:16:54 +00:00
Diego Biurrun
73c42241b4 Add copyright notice from the Independent JPEG Group instead of referring
to a README we don't include.

Originally committed as revision 6157 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-03 16:15:29 +00:00
Justin Ruggles
1df051e197 Fix 2 bit allocation bugs. One fix enables using a higher bandwidth code. The other fixes an issue with floorcod=7.
Originally committed as revision 6156 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-03 15:59:08 +00:00
Kostya Shishkov
60aae27ad9 AltiVec version of put_no_rnd_h264_chroma_pixels_tab[0] (slightly changed version of put_h264_chroma_pixels_tab[0])
Originally committed as revision 6154 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-03 04:44:50 +00:00
Måns Rullgård
0e176c3eb5 remove redundant declarations
Originally committed as revision 6153 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-02 23:10:28 +00:00
Kostya Shishkov
6243da0d50 Drop put_vc1_qpel_pixels_tab as they won't be needed anymore.
Originally committed as revision 6152 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-02 04:58:51 +00:00
Kostya Shishkov
b0c8e1b80a Replace usage of put_*_vc1_qpel_pixels_tab with put_*_h264_chroma_pixels_tab
Originally committed as revision 6151 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-02 04:53:49 +00:00
Kostya Shishkov
e34350a376 New function for chroma MC (will be used in VC-1)
Originally committed as revision 6150 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-02 04:52:00 +00:00
Loren Merritt
f7e89c73e3 snow cosmetics: merge the sliced and non-sliced versions of add_yblock
Originally committed as revision 6149 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-01 22:02:38 +00:00
Loren Merritt
74e6a8aade fix snow 1pass rc: the qlog used and the one written to the bitstream weren't always the same.
Originally committed as revision 6148 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-01 21:51:35 +00:00
Luca Barbato
9814587500 Align the input buffer in ffplay, introduce a public macro for aligned declarations
Update the avcodec_decode_audio and the float_to_int16 descriptions accordingly

Originally committed as revision 6147 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-31 19:14:00 +00:00
Luca Barbato
27303c8abc Proper fix for the corner case that would have been corrected before, praise&blame to me and exg in equal shares
Originally committed as revision 6143 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-31 15:44:37 +00:00
Luca Barbato
7e82145755 Revert previous commit
Originally committed as revision 6142 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-31 15:27:26 +00:00
Luca Barbato
99d239b3e7 Fix float_to_int16, unaligned case, broken by the previous commit
Originally committed as revision 6141 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-31 15:15:14 +00:00
Kostya Shishkov
74691b7bcb New qpel MC functions conforming to VC-1 standard.
Existing DSPUtil functions cause chroma artifacts on some files.

Originally committed as revision 6139 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-31 04:44:54 +00:00
Kostya Shishkov
2d5eadccb5 Spelling
Originally committed as revision 6138 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-31 04:42:13 +00:00
Kostya Shishkov
66ff2c1f52 Motion compensation for luma always use halfpel precision.
Originally committed as revision 6137 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-31 04:39:27 +00:00
Michael Niedermayer
504ee036ee fix b pyramid in mp4 muxing if no dts are provided to the muxer
Originally committed as revision 6133 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-30 21:18:17 +00:00
Nico Sabbi
bb42f8296f install opt.h
Originally committed as revision 6126 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-29 21:23:27 +00:00
Loren Merritt
776fe466b2 slightly faster deblock
Originally committed as revision 6121 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-29 03:07:58 +00:00
Aurelien Jacobs
a1b65018f1 use the A32_BITSTREAM_READER by default on ARM (faster)
Originally committed as revision 6120 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-28 22:25:30 +00:00
Aurelien Jacobs
75c998a219 force usage of ALT_BITSTREAM_READER where needed
Originally committed as revision 6118 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-28 18:46:01 +00:00
Aurelien Jacobs
8fbc6aae75 move some functions to bitstream.h to avoid conflicts
between different  bitstream readers in different codecs

Originally committed as revision 6117 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-28 18:44:49 +00:00
Michael Niedermayer
1b4f17fafa fix buffer handling
Originally committed as revision 6116 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-28 16:15:40 +00:00
Luca Abeni
00b2fa864e Minimal support for the new pixel formats in libavcodec
Originally committed as revision 6115 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-28 14:56:47 +00:00
Loren Merritt
3e20143ee7 mmx implementation of deblocking strength decision.
2-3% faster h264.

Originally committed as revision 6113 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-28 09:33:01 +00:00
Michael Niedermayer
ee3bc9d386 overread AV_LOG_ERROR -> AV_LOG_DEBUG
Originally committed as revision 6111 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-27 21:45:26 +00:00
Michael Niedermayer
c0c66dd81d fix low bitrate mp3
Originally committed as revision 6107 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-27 11:42:40 +00:00
Loren Merritt
bfe328caf0 tweak cabac. 0.5% faster h264.
Originally committed as revision 6106 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-27 09:19:02 +00:00
Michael Niedermayer
39b434c6ae check the validity of the amount of the remaining bytes in the bitsteam before memcpy
Originally committed as revision 6105 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-27 07:19:11 +00:00
Michael Niedermayer
716d73b47d unused var
Originally committed as revision 6104 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-26 20:16:54 +00:00
Michael Niedermayer
4e2d6a456d dont copy frame if the whole mp1/2/3 frame is available in one piece in the input
Originally committed as revision 6103 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-26 18:56:24 +00:00
Aurelien Jacobs
6ff3b2b838 Fix A32_BITSTREAM_READER compilation on x86
Originally committed as revision 6102 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-26 18:12:16 +00:00
Michael Niedermayer
d6bea62338 make mpa_decode_header() 10 times faster
Originally committed as revision 6101 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-26 18:02:52 +00:00
Michael Niedermayer
731d0b1aaa another silly typo which surprisingly neither valgrind nor cmp of the file output cought
Originally committed as revision 6100 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-26 17:29:31 +00:00
Michael Niedermayer
d37bb9d8c1 10l found by valgrind
Originally committed as revision 6099 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-26 15:24:13 +00:00
Michael Niedermayer
06e7fb82a4 remove duplicated parser, people who pass random gibblets of the bitstream into the decoder will have to pass it through a AVParser like for all other codecs too
remove silly internal buffering architecture (removes 1 memcpy() of the bitstream)
mp3on4 and mp3adu untested

Originally committed as revision 6098 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-26 12:19:05 +00:00
Michael Niedermayer
6e4703cac7 2nd try of skip_bits_long() for the ALT reader
1st try for the LIBMPEG2 reader
simplify init_get_bits()

Originally committed as revision 6097 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-26 11:50:23 +00:00
Michael Niedermayer
a42ec9f484 make A32 reader align its ptr during init no matter what missaligned mess is given to it
Originally committed as revision 6096 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-26 11:37:33 +00:00
Michael Niedermayer
3dddf21fcc 3rd try :)
Originally committed as revision 6095 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-26 11:26:54 +00:00
Michael Niedermayer
1491e21cdb 2nd try for a skip_bits_long() for the A32 reader
Originally committed as revision 6094 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-26 11:06:33 +00:00
Michael Niedermayer
5a7bd28335 move align_get_bits() to .h to avoid conflicts between different bitstream readers in different codecs
add a skip_bits_long() which can skip by any amount in any direction (several codecs contain half working hacks to do that)

Originally committed as revision 6093 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-26 10:26:14 +00:00
Michael Niedermayer
727c236a6b prevent bitstream reader to be overriden
Originally committed as revision 6092 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-26 09:34:02 +00:00
Michael Niedermayer
9bffa9e7af avoid branch
Originally committed as revision 6088 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-25 14:42:32 +00:00
Michael Niedermayer
14168ddb28 move variable declarations so that their scope is smaller
Originally committed as revision 6087 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-25 13:58:27 +00:00
Michael Niedermayer
bc2d2757bb move the +400 out of the innermost loop
Originally committed as revision 6086 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-25 13:46:56 +00:00
Michael Niedermayer
9b49f89cdf avoid reading exponent twice
Originally committed as revision 6085 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-25 13:36:27 +00:00
Michael Niedermayer
1f1d675b68 reduce size of vlc table, thats slightly faster here
Originally committed as revision 6084 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-25 12:26:34 +00:00
Michael Niedermayer
55017f35da try to avoid l3_unscale() by using a table
Originally committed as revision 6083 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-25 11:55:20 +00:00
Michael Niedermayer
f8347c4167 replace l3_unscale(1, exponents[pos]) by LUT
Originally committed as revision 6082 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-25 10:00:30 +00:00
Michael Niedermayer
7ca1ed0d9c maybe fixing the segfault on ARM
Originally committed as revision 6081 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-25 02:40:52 +00:00
Aurelien Jacobs
5902bdd8d4 cook shouldn't try to enforce the bitstream reader type
Originally committed as revision 6080 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-24 21:59:20 +00:00
Baptiste Coudurier
f31065f6e5 add codec id and tag for JPEG 2000
Originally committed as revision 6076 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-24 14:13:57 +00:00
Michael Niedermayer
92c5cb62b0 10l typo
Originally committed as revision 6074 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-24 12:35:53 +00:00
Michael Niedermayer
e90a72701e avoid a few if(x==0) checks in the inner loops
Originally committed as revision 6073 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-24 11:18:41 +00:00
Michael Niedermayer
25be48eb48 fix non ALT bitstream reader
Originally committed as revision 6070 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-24 09:24:50 +00:00
Michael Niedermayer
6430ce0f72 optimize reorder_block() though this function seems to be executed too rarely for this to make much difference
Originally committed as revision 6068 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-24 08:40:09 +00:00
Michael Niedermayer
a753e55bb5 simplify
Originally committed as revision 6067 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-24 08:39:07 +00:00
Michael Niedermayer
a08a502eda dont copy the whole GetBitContext around
Originally committed as revision 6062 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-24 06:57:32 +00:00
Michael Niedermayer
3328ec6331 faster handling of zero coeffs in the low freq decode
Originally committed as revision 6061 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-24 01:12:26 +00:00
Michael Niedermayer
3c693e7743 optimizing high freq decode
Originally committed as revision 6060 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-24 01:01:39 +00:00
Michael Niedermayer
daf4cd9ac3 use memset() instead of slow c loops
Originally committed as revision 6059 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-24 00:03:51 +00:00
Michael Niedermayer
c7aa36964e simplify
Originally committed as revision 6058 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-23 23:40:03 +00:00
Aurelien Jacobs
acba32385b fix arm asm compilation in mpegaudiodec
Originally committed as revision 6057 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-23 23:39:27 +00:00
Baptiste Coudurier
b3701f5cc0 Alignment of the LT window, segfault fix patch by Baptiste Coudurier.
Originally committed as revision 6051 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-22 16:23:56 +00:00
Michael Niedermayer
69fd15f871 MUL* for ARM code based on a patch by Siarhei Siamashka
untested

Originally committed as revision 6050 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-22 13:25:09 +00:00
Michael Niedermayer
f617adedc8 replace MULL with asm too, no significnat speedup but its probably better to not take any chances, some versions of gcc will almost certainly mess it up too if they can
Originally committed as revision 6049 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-22 12:07:02 +00:00
Michael Niedermayer
47a0cd7408 replacing MULH by asm for x86
about 30% faster imdct36()

Originally committed as revision 6048 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-22 11:51:09 +00:00
Michael Niedermayer
5ab1972b53 indent preprocessor directives
Originally committed as revision 6047 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-22 11:16:47 +00:00
Michael Niedermayer
355903f5a8 make high precission synth filter 3 times faster on x86
Originally committed as revision 6046 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-22 11:11:04 +00:00
Michael Niedermayer
0bd2483a75 replace MULL by MULH + shift in dct32() (code is very slightly faster, and the compiler should be able to optimize the shift away on 64bit archs)
Originally committed as revision 6045 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-22 06:24:59 +00:00
Michael Niedermayer
eb6447766d replace a few MULL by MULH
Originally committed as revision 6039 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-21 12:12:43 +00:00
Michael Niedermayer
120aad7fe9 reorder butterflies to reduce memory load/store
Originally committed as revision 6037 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-20 22:18:26 +00:00
Benjamin Larsson
6c496518e8 Added codec id for QCELP.
Originally committed as revision 6036 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-20 19:08:05 +00:00
Michael Niedermayer
ed567d9c41 cosmetics
Originally committed as revision 6032 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-19 23:12:10 +00:00
Michael Niedermayer
67eca72dc0 SWAP
Originally committed as revision 6030 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-19 20:55:02 +00:00
Michael Niedermayer
0eb6817d98 audio format conversion
untested and unused

Originally committed as revision 6029 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-19 20:22:57 +00:00
Luca Abeni
a37e9e8606 Allow swscale emulation header to be included by C++ programs
Originally committed as revision 6027 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-19 15:14:44 +00:00
Benjamin Larsson
9aee40d967 SIMD vector optimizations. 3% faster overall decoding.
Originally committed as revision 6026 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-19 08:46:52 +00:00
Loren Merritt
652c59b967 use ff_fft_calc_3dn2 instead of sse on a K8.
1.5% faster vorbis.

Originally committed as revision 6024 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-19 02:42:20 +00:00
Loren Merritt
1e4ecf26f5 ff_fft_calc_3dn/3dn2/sse: convert intrinsics to inline asm.
2.5% faster fft, 0.5% faster vorbis.

Originally committed as revision 6023 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-18 23:53:49 +00:00
Diego Biurrun
f4bd289a04 Explicitly include fastmemcpy.h from libvo/.
Originally committed as revision 6021 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-18 13:38:24 +00:00
Michael Niedermayer
cf5aed5bad simplify
Originally committed as revision 6020 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-18 10:43:23 +00:00
Steve L'Homme
0b23d689d8 Add YV12 support, patch by Steve Lhomme % steve P lhomme A free P fr %
Original thread:
Date: Aug 17, 2006 5:45 PM
Subject: Re: [Ffmpeg-devel] [PATCH] AVISynth support

Originally committed as revision 6018 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-18 07:55:08 +00:00
Diego Biurrun
7981555d89 Move all internal -I parameters to the front of CFLAGS to avoid using external
header files that happen to have the same name as internal ones.

Originally committed as revision 6016 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-17 16:32:08 +00:00
Michael Niedermayer
2287c100b2 cleanup
Originally committed as revision 6007 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-17 08:08:28 +00:00
Michael Niedermayer
3829a62eae insufficient alignment
Originally committed as revision 6006 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-17 07:49:22 +00:00
Luca Barbato
cb243ea220 10l, thanks to Emanuele Giaquinta <exg@gentoo.org> for testing and finding the issue
Originally committed as revision 6002 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-15 20:36:05 +00:00
Guillaume Poirier
696e1bb36e Compile fix (for GCC<3.3) when encoders are disabled
Original thread:
Date: Aug 10, 2006 10:45 AM
Subject: [Ffmpeg-devel] [PATCH] fix compilation when Snow ENcoder is disabled

Originally committed as revision 6000 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-15 14:59:27 +00:00
Luca Barbato
241807f32d altivec float optimizations
Originally committed as revision 5999 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-14 22:55:11 +00:00
Michael Niedermayer
94c8fbdcad fix codec timebase and timestamps
Originally committed as revision 5998 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-14 18:17:14 +00:00
Michael Niedermayer
0f812f5291 fix h261 parsing bug
Originally committed as revision 5997 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-14 17:58:30 +00:00
Marco Manfredini
6bb9e49249 Fix building with --disable-opts but MMX enabled.
patch by Marco Manfredini mldb %at% gmx %dot% net

Originally committed as revision 5994 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-13 10:10:06 +00:00
Luca Barbato
b5f7e6eb95 Clean up:make dsputil subfile names consistent
Originally committed as revision 5993 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-13 08:26:43 +00:00
John Dalgliesh
4454dc1b6f Support for MacIntel, last part: balign directives
Determines whether .align's arg is power-of-two or not, then defines ASMALIGN appropriately in config.h. Changes all .baligns to ASMALIGNs.
Patch by John Dalgliesh % johnd AH defyne P org %
Original thread:
Date: Aug 11, 2006 8:00 AM
Subject: Re: [Ffmpeg-devel] Mac OS X Intel last part: balign directives

Originally committed as revision 5990 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-12 16:37:31 +00:00
Marco Manfredini
8226ecaa6c Fix CHECK_BIDIR macro so it works with Intel's Compiler
Patch by Marco Manfredini  mldb A gmx P net

Originally committed as revision 5989 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-12 16:31:17 +00:00
Loren Merritt
069720565c vorbis simd tweaks
Originally committed as revision 5983 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-11 18:19:37 +00:00
Kostya Shishkov
6b53e173cf Disable B-frames decoding until I return and finish their proper decoding.
Originally committed as revision 5980 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-11 04:41:30 +00:00
Luca Barbato
876031a74e keep in sync with dsputil, makes --disable-decoder=vorbis build
Originally committed as revision 5979 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-11 02:56:32 +00:00
Loren Merritt
0e0adae0ba vorbis cosmetics: mdct0,mdct1 => mdct[2]
Originally committed as revision 5978 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-10 21:57:30 +00:00
Loren Merritt
88db1a15c5 misc tweaks in vorbis_residue_decode().
4% faster vorbis.

Originally committed as revision 5977 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-10 21:55:31 +00:00
Michael Niedermayer
1f1aa1d955 convert vector_fmul_reverse_sse2 and vector_fmul_add_add_sse2 to sse
please complain if they are slower on sse2 cpus ...

Originally committed as revision 5976 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-10 20:24:58 +00:00
Loren Merritt
eb4825b5d4 sse and 3dnow implementations of float->int conversion and mdct windowing.
15% faster vorbis.

Originally committed as revision 5975 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-10 19:06:25 +00:00
Loren Merritt
60ae06e77e r5954 broke fft on cpus with 3dnow but without mm3dnow.h
Originally committed as revision 5974 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-10 18:49:47 +00:00
Luca Barbato
ffad4ed154 Fix x86 SIMD asm and pic, patch from Martin von Gagern <Martin.vGagern@gmx.net>
Originally committed as revision 5973 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-10 16:05:29 +00:00
John Dalgliesh
347be47226 Support for MacIntel, take xx: '/nop' illegal for old versions of GAS
Patch by John Dalgliesh % johnd AH defyne P org %
Original thread:
Date: Aug 8, 2006 8:12 PM
Subject: Re: [Ffmpeg-devel] [PATCH] '/nop' illegal for old versions of GAS

Originally committed as revision 5972 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-10 15:26:18 +00:00
John Dalgliesh
0fc256f3d9 Add support for Mac OS X Intel part 2: Assembler macros in fdct_mmx.c
convert gas macros to ccp macros
Patch by John Dalgliesh % johnd AH defyne P org %
Original thread:
Date: Aug 10, 2006 5:39 AM
Subject: Re: [Ffmpeg-devel] Mac OS X Intel part 2: Assembler macros in fdct_mmx.c

Originally committed as revision 5971 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-10 11:29:57 +00:00
John Dalgliesh
fc48b6fe74 Support for Mac OS X Intel, part 3: binary integer constants:
Apple's assembler only understands the same integer constants as C does: hex, decimal, octal. It doesn't understand binary integer constants (0b...) so this patch replaces binary integer constants with hex ones.
Patch by John Dalgliesh % johnd AH defyne P org %
Original thread:
Date: Aug 10, 2006 8:16 AM
Subject: [Ffmpeg-devel] Mac OS X Intel part 3: binary integer constants

Originally committed as revision 5970 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-10 09:06:06 +00:00
Panagiotis Issaris
e38f34fd7f Correct wrong memset invocation.
patch by Panagiotis Issaris, takis%%.%%issaris%%@%%uhasselt%%.%%be

Originally committed as revision 5966 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-09 07:52:28 +00:00
Loren Merritt
ee5df92750 emms -> femms
Originally committed as revision 5965 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-09 06:37:25 +00:00
Loren Merritt
2494bdd90d gcc 2.95 and 3.4.x on x86 32bit without fomit-frame-pointer can't even find 5 registers for asm input.
0.5% slower vorbis.

Originally committed as revision 5964 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-09 06:33:49 +00:00
Loren Merritt
1b87c40245 slightly faster ff_imdct_calc_3dn2() on amd64. (gcc added a bunch of useless movsxd)
Originally committed as revision 5962 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-08 21:47:11 +00:00
Luca Abeni
790c9ca72a Enable swscale usage in ffmpeg
Originally committed as revision 5959 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-08 18:51:38 +00:00
Michael Niedermayer
21bb884fb7 change vorbis_inverse_coupling_sse2() so it works on sse1 cpus
Originally committed as revision 5957 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-08 12:03:51 +00:00
Diego Biurrun
ed4e20ac7f Fix some "'static' is not at beginning of declaration" warnings.
Originally committed as revision 5956 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-08 10:24:26 +00:00
Loren Merritt
bcfa3e58ee 3dnow2 implementation of imdct.
6% faster vorbis and wma.

Originally committed as revision 5954 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-08 04:01:04 +00:00
Luca Barbato
bf29ed5dbc Cosmetics: 2->4 spaces and some braces
Originally committed as revision 5940 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-06 23:15:32 +00:00
Kostya Shishkov
fb2d9140e4 Correct MC for B-frames and some improvements (not 100% complete though)
Originally committed as revision 5938 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-06 03:44:31 +00:00
Kostya Shishkov
78cbfc0c88 Bicubic interpolation requires two additional pixels for block
Originally committed as revision 5937 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-06 03:42:39 +00:00
Mike Melanson
9bd0d79fcb printf -> av_log, only occurs in DEBUG cases
Originally committed as revision 5934 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-04 22:51:20 +00:00
Luca Barbato
c489d907e1 Yet another typo
Originally committed as revision 5933 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-04 19:11:12 +00:00
Luca Barbato
532877894b Fix a stupid typo and another error, thanks to Emanuele Giaquinta <exg@gentoo.org> for pointing out the issue and the patch
Originally committed as revision 5932 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-04 19:03:01 +00:00
Kostya Shishkov
99f649a265 100l: intensity compensation must be also done in 4-MV mode
Originally committed as revision 5928 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-04 03:31:01 +00:00
Luca Barbato
7f624e80ef standalone snow dsputil init
Originally committed as revision 5919 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-03 16:19:13 +00:00
Luca Barbato
73e4ff9de9 Almost cosmetic changes in dsputil_init_ppc and vorbis_inverse_coupling_altivec:
- whitespace consistency 2->4 [dsputil_init_ppc]
- reorder struct initialization with dsputil_init_altivec [dsputil_init_ppc]
- use casts instead of temp variables [vorbis_inverse_coupling_altivec]

Originally committed as revision 5918 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-03 16:13:50 +00:00
Luca Barbato
7c2a270b70 Minor fix
Originally committed as revision 5916 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-03 14:37:58 +00:00
Luca Barbato
8047fe72a9 avoid alignment hacks, luckly gcc does the right thing on arches different from x86
Originally committed as revision 5915 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-03 13:21:13 +00:00
Luca Barbato
3b0df5254e vorbis_inverse_coupling_altivec
Originally committed as revision 5914 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-03 13:19:32 +00:00
Luca Barbato
90530cec20 Cleanup
Originally committed as revision 5913 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-03 13:00:37 +00:00
Loren Merritt
cd035a6051 10l, vorbis_inverse_coupling_sse() was really 3dnow
Originally committed as revision 5903 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-03 07:09:29 +00:00
Loren Merritt
32e8763103 another div -> fastdiv, another 2% faster vorbis.
Originally committed as revision 5902 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-03 06:07:13 +00:00
Kostya Shishkov
c198597864 Looks like to be a good time to re-enable WMV3 decoder
Originally committed as revision 5901 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-03 05:15:50 +00:00
Kostya Shishkov
48d3fca717 Don't try to decode P-frames from old WMV3 variant until their format is figured
Originally committed as revision 5900 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-03 05:09:36 +00:00
Kostya Shishkov
481fb636b1 Some AltiVec optimizations for VC-1
Originally committed as revision 5899 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-03 05:02:31 +00:00
Loren Merritt
2dac4acfc0 sse & sse2 implementations of vorbis channel coupling.
9% faster vorbis (on a K8).

Originally committed as revision 5898 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-03 03:18:47 +00:00
Loren Merritt
7bf0049623 int16_t is faster than int_fast16_t for division.
2% faster vorbis (on a K8).

Originally committed as revision 5897 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-03 02:18:07 +00:00
Michael Niedermayer
27dc20a071 set supported pixel formats correctly
Originally committed as revision 5896 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-02 22:48:50 +00:00
Luca Barbato
832e6e9071 avoid possible segfault situations
Originally committed as revision 5895 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-02 21:37:38 +00:00
Luca Barbato
50b35f7aa6 Cosmetics
Originally committed as revision 5890 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-02 11:18:10 +00:00
Kostya Shishkov
9c05096967 Forgot to update LIBAVCODEC_VERSION_INT
Originally committed as revision 5877 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-01 04:00:14 +00:00
Måns Rullgård
6c9ce82f74 remove libtheora wrapper
Originally committed as revision 5873 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-31 20:56:15 +00:00
Kostya Shishkov
a70c27e813 Fix overflows in bicubic interpolation.
Originally committed as revision 5868 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-31 03:32:59 +00:00
Kostya Shishkov
8295eb302f Use bicubic MC (should also remove those ringing artifacts) when needed
Originally committed as revision 5864 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-30 03:50:31 +00:00
Kostya Shishkov
5ce425f7e6 Use functions from DSPContext in vc1.c
Originally committed as revision 5863 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-30 03:47:26 +00:00
Kostya Shishkov
64db55aedb New functions in DSPContext for VC-1 decoding
Originally committed as revision 5862 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-30 03:45:02 +00:00
Diego Biurrun
9cf94714d0 Remove spurious references to Ogg Theora encoder, such a thing never existed.
Originally committed as revision 5858 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-29 20:47:47 +00:00
Stefan Gehrer
595e7bd940 some MMX optimizations for the CAVS decoder
Originally committed as revision 5846 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-29 08:45:33 +00:00
Kostya Shishkov
09be55df9c Set MpegEncContext->mspel flag (here it indicates that bicubic MC will be use)
Originally committed as revision 5845 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-29 03:11:14 +00:00
Kostya Shishkov
ffb9a8b1b6 Support range reduced frames
Originally committed as revision 5844 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-29 03:07:30 +00:00
Kostya Shishkov
138712fe43 Support grayscale decoding.
Originally committed as revision 5843 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-29 03:05:29 +00:00
Kostya Shishkov
0154bae137 Add rounding for overlap filters
Originally committed as revision 5834 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-28 03:27:37 +00:00
Loren Merritt
ae08a5631e 10l in r5768 (broke mbaff)
Originally committed as revision 5831 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-27 20:37:21 +00:00
Luca Abeni
1ea501aff0 Remove sws_global_init() from swscaler emulation
Originally committed as revision 5830 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-27 12:31:31 +00:00
Diego Biurrun
538389c981 Fix FSF postal address.
Originally committed as revision 5829 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-26 01:12:26 +00:00
Luca Abeni
2793096fe3 Fix a corner case in sws emulation
Originally committed as revision 5827 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-25 15:23:44 +00:00
Kostya Shishkov
5df6889364 Some B-frames support (parsing and decoding only, no motion compesation is done)
Originally committed as revision 5820 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-24 04:24:53 +00:00
Kostya Shishkov
c39e3c6fbb Some fixes for decode_p_mb()
Originally committed as revision 5819 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-24 04:20:49 +00:00
Diego Biurrun
9f82cdc7b5 Remove obsolete and misleading warning.
Originally committed as revision 5816 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-23 20:45:20 +00:00
Reimar Döffinger
bc185f72c0 Do not crash when the first frame is not a keyframe (and thus none of the
necessary initialization has been done yet).

Originally committed as revision 5815 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-23 18:22:29 +00:00
Kostya Shishkov
83b3df83d3 Correct edge MC for chroma
Originally committed as revision 5813 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-23 04:57:36 +00:00
Kostya Shishkov
230e9d4ca7 Replace code for clipping MV vectors (which is wrong to use here) with clipping source coords.
Originally committed as revision 5811 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-22 03:57:53 +00:00
Kostya Shishkov
4b94465927 Don't do non-uniform quantization on zero coeffs.
Originally committed as revision 5810 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-22 03:54:00 +00:00
Kostya Shishkov
27ed1a0dee 1000l: scale DC predictors instead of predicted value.
Originally committed as revision 5808 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-21 04:06:06 +00:00
Kostya Shishkov
92ad0d9d3b Set DC = 0 for skipped MB as it interferes DC prediction
Originally committed as revision 5807 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-21 04:03:56 +00:00
Kostya Shishkov
b53921aabd Set correctly quantizer and transform mode when parsing frame header.
Originally committed as revision 5806 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-21 03:58:48 +00:00
Michael Niedermayer
d9cf32d920 avoid 4 +
Originally committed as revision 5799 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-19 23:51:11 +00:00
Michael Niedermayer
d26a9ea0df remove 166 useless underscores, and make this file valid c code as a result
Originally committed as revision 5798 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-19 23:21:20 +00:00
Michael Niedermayer
e003ea066b remove a few useless casts and avoid the useless t1/t2 variables
Originally committed as revision 5797 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-19 23:17:18 +00:00
Michael Niedermayer
684d9e36fc simplify
Originally committed as revision 5796 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-19 22:42:31 +00:00
Michael Niedermayer
006ff1cabe more simplifications
Originally committed as revision 5795 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-19 22:21:45 +00:00
Michael Niedermayer
f72f8a7735 simplification
Originally committed as revision 5794 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-19 21:20:56 +00:00
Michael Niedermayer
09eb00f6b5 iabs -> ABS
Originally committed as revision 5793 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-19 21:05:42 +00:00
Michael Niedermayer
1abbf64e3b simplify
Originally committed as revision 5792 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-19 20:57:44 +00:00
Michael Niedermayer
1af5f60f6a fix loop filter
Originally committed as revision 5791 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-19 20:41:16 +00:00
Michael Niedermayer
5ced7b80ad disable the vp3 mmx and sse2 idcts, their output doesnt match the c idct (tested with -f crc) and the theora spec does not allow different idcts not to mention the difference is quite vissible ...
Originally committed as revision 5788 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-19 09:49:21 +00:00
Luca Abeni
cea8f6f323 Move av_malloc(), av_realloc(), and av_free() from libavcodec to libavutil
Originally committed as revision 5784 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-19 07:28:58 +00:00
Luca Abeni
4b45de0e87 Move av_log() & friends to libavutil
Originally committed as revision 5781 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-18 11:00:55 +00:00
Loren Merritt
8b75e45d8c sync to x264 r537
Originally committed as revision 5780 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-18 01:29:43 +00:00
Michael Niedermayer
efea852877 parse all QIS values (we still ignore them though ...)
Originally committed as revision 5778 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-17 13:09:45 +00:00
Michael Niedermayer
a14ab4e4d4 100l for me
Originally committed as revision 5777 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-17 11:06:09 +00:00
Matthieu Castet
116d866ca5 fix playback of theora.ogg on mphq patch by (matthieu castet %% castet dat matthieu ot free dat fr %%)
Originally committed as revision 5776 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-17 10:44:53 +00:00
Michael Niedermayer
ae1dd8e125 attempt to implement xiphs useless and stupid quantization matrix mess
Originally committed as revision 5775 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-17 09:51:59 +00:00
Michael Niedermayer
187c9be7a6 replace *_dequant (2 intra, 1 inter) by qmat (3 intra, 3 inter) (needed for theora according to spec)
Originally committed as revision 5774 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-17 08:09:08 +00:00
Michael Niedermayer
d2744e19e0 use RSHIFT
Originally committed as revision 5773 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-16 21:09:32 +00:00
Michael Niedermayer
4501e678e7 useless memcpy
Originally committed as revision 5772 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-16 21:00:38 +00:00
Michael Niedermayer
7cfe7fe5e7 some fixmes if someone ever wants to implement theora support correctly ...
Originally committed as revision 5771 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-16 20:47:48 +00:00
Michael Niedermayer
e278056fba check how many bits are left after decoding extradata
this change is messy as whoever wrote the original code copied the GetBitContext instead of passing a pointer to it which has to be fixed for the above thing

Originally committed as revision 5770 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-16 20:30:39 +00:00
Michael Niedermayer
b7f3fdd779 cleanup
Originally committed as revision 5769 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-16 19:21:59 +00:00
Loren Merritt
717b173366 slightly faster h264 fill_caches()
Originally committed as revision 5768 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-16 18:55:18 +00:00
Justin Ruggles
e1bbc0321c cosmetic change to adjust alignment.
Originally committed as revision 5767 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-16 17:08:25 +00:00
Justin Ruggles
5f3acd9ec9 Modify preset compression levels to utilize log search.
Originally committed as revision 5766 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-16 17:04:54 +00:00
Måns Rullgård
7a5f09f66e cosmetics
Originally committed as revision 5764 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-16 16:23:12 +00:00
Michael Niedermayer
dbb45a3bb7 log prediction order search method
Originally committed as revision 5763 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-16 15:46:45 +00:00
Justin Ruggles
26053bdcc8 Add lpc order search. This creates new compression levels 6 to 12.
Originally committed as revision 5762 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-16 13:34:47 +00:00
Kostya Shishkov
7e84f27693 Don't pass block[6][64] parameter to decode_p_mb as we always use s->block
Originally committed as revision 5761 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-16 03:50:00 +00:00
Kostya Shishkov
0a45801f8e Correct inverse quantization for P-frames
Originally committed as revision 5760 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-16 03:47:34 +00:00
Kostya Shishkov
c5b32ec1cb Rounding control for motion compensation.
Originally committed as revision 5759 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-16 03:45:04 +00:00
Michael Niedermayer
408ec4e2a6 calculate all coefficients for several orders during cholesky factorization, the resulting coefficients are not strictly optimal though as there is a small difference in the autocorrelation matrixes which is ignored for the smaller orders
Originally committed as revision 5758 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-15 23:43:38 +00:00
Stefan Gehrer
5cf226fb09 avoid double copying of left border in luma prediction
Originally committed as revision 5752 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-14 19:31:58 +00:00
Stefan Gehrer
50879935d1 replace run by run+1 in VLC tables
Originally committed as revision 5751 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-14 19:15:08 +00:00
Michael Niedermayer
8ea543b580 cleanup
Originally committed as revision 5750 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-14 19:14:25 +00:00
Stefan Gehrer
c90c39190e change partition flags SYM -> FWD|SYM
Originally committed as revision 5749 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-14 18:56:17 +00:00
Stefan Gehrer
77f173bef5 set mvP2 also in PSKIP macroblock
Originally committed as revision 5748 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-14 18:48:50 +00:00
Michael Niedermayer
ab01b2b82a optionally (use_lpc=2) support Cholesky factorization for finding the lpc coeficients
this will find the coefficients which minimize the sum of the squared errors,
  levinson-durbin recursion OTOH is only strictly correct if the autocorrelation matrix is a
  toeplitz matrix which it is only if the blocksize is infinite, this is also why applying
  a window (like the welch winodw we currently use) improves the lpc coefficients generated
  by levinson-durbin recursion ...

optionally (use_lpc>2) support iterative linear least abs() solver using cholesky
  factorization with adjusted weights in each iteration

compression gain for both is small, and multiple passes are of course dead slow

Originally committed as revision 5747 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-14 18:48:38 +00:00
Stefan Gehrer
643326f747 avoid overflows of qp and pic_type
Originally committed as revision 5746 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-14 18:38:23 +00:00
Måns Rullgård
4b65d88fd7 replace -D_GNU_SOURCE with -D_ISOC9X_SOURCE to avoid accidental use
of gnu extensions

Originally committed as revision 5733 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-13 23:10:01 +00:00
Michael Niedermayer
1484a46753 dither lpc cpeffs
Originally committed as revision 5727 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-13 11:41:52 +00:00
Måns Rullgård
6636b7e8e3 rename AMR config variables to CONFIG_AMR*
Originally committed as revision 5725 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-12 16:49:14 +00:00
Diego Biurrun
f7f03a6303 Remove MPlayer-specific include option hacks.
Originally committed as revision 5723 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-12 15:19:51 +00:00
Diego Biurrun
2f30a81d19 CONFIG_WIN32 implies MinGW and Cygwin and possibly more, so use just
CONFIG_MINGW or __MINGW32__ instead.

Originally committed as revision 5718 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-11 21:45:45 +00:00
Michael Niedermayer
21227514de simplify
Originally committed as revision 5696 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-09 22:41:42 +00:00
Michael Niedermayer
b2846effb7 avoid redundant local variables
Originally committed as revision 5695 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-09 15:35:06 +00:00
Michael Niedermayer
69f34e5b1f simplify
Originally committed as revision 5694 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-09 15:20:18 +00:00
Diego Biurrun
e148c6e193 FastUVMV vs FastUVMC typo, noticed by bond
Originally committed as revision 5693 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-09 15:12:45 +00:00
Måns Rullgård
608bd84365 make some tables const
Originally committed as revision 5692 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-09 13:01:06 +00:00
Måns Rullgård
af9e7d1810 --enable/disable parsers. Warning: some combinations are broken.
Originally committed as revision 5691 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-09 12:02:15 +00:00
Michael Niedermayer
a7702890bd remove STATS code (probably hasnt been used for years ..., and its not completely clear what it was good for anyway)
Originally committed as revision 5689 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-09 10:33:49 +00:00
Kostya Shishkov
fdb5983285 Check if 4-MV MB should not be decoded.
Originally committed as revision 5688 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-09 03:00:57 +00:00
Kostya Shishkov
5c4b8efd4b MVRANGE may occur in all frames and RESPIC in all but B-frames
Originally committed as revision 5687 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-09 02:56:40 +00:00
Kostya Shishkov
3a3f1cf3f8 Fix mquant selection for ALL_MBS mode
Originally committed as revision 5686 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-09 02:51:13 +00:00
Kostya Shishkov
65c7bb9ec4 Use overlap filter instead of loop filter.
Originally committed as revision 5685 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-09 02:47:09 +00:00
Kostya Shishkov
d2779ecd8b Use s->first_slice_line in checks instead of s->mb_y
Originally committed as revision 5684 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-09 02:44:05 +00:00
Måns Rullgård
88e2539b7e 10l: make disabling all pcm/adpcm codecs work
Originally committed as revision 5683 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-09 01:08:13 +00:00
Måns Rullgård
f7e79298d1 only build dpcm.o if its codecs are enabled
Originally committed as revision 5681 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-08 23:05:12 +00:00
Måns Rullgård
6f3d6022cf forgot to remove adx.o from objs always built
Originally committed as revision 5680 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-08 22:38:35 +00:00
Måns Rullgård
7239fb5738 make the adx adpcm codec available
Originally committed as revision 5679 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-08 22:31:14 +00:00
Måns Rullgård
327dcfd315 enable/disable pcm and adpcm codecs
Originally committed as revision 5678 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-08 21:15:50 +00:00
Måns Rullgård
a29ff6b76b cosmetic: sort codec list alphabetically
Originally committed as revision 5675 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-08 16:41:52 +00:00
Justin Ruggles
c6375bf23c allows user-settable block size and fixes related typo
Originally committed as revision 5674 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-08 16:39:58 +00:00
Måns Rullgård
bac3be382e rewrite kconfig-style
Originally committed as revision 5673 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-08 16:39:49 +00:00
Måns Rullgård
7f53b77c83 Sun mlib works fine. Remove comment stating otherwise.
Originally committed as revision 5672 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-08 16:36:21 +00:00
Diego Biurrun
6be4846a1a Remove bogus IPP section that is not referenced anywhere.
Originally committed as revision 5670 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-08 15:29:33 +00:00
Aurelien Jacobs
f1b163e01e set proper bits_per_sample value for ADPCM codecs
Originally committed as revision 5666 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-08 07:14:00 +00:00
Måns Rullgård
ab7e315396 remove -fforce-addr as it to generate slightly slower code
Originally committed as revision 5665 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-07 23:54:13 +00:00
Michael Niedermayer
9d82b0dda1 moving utf8 reading function to libavutil
Originally committed as revision 5664 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-07 22:43:32 +00:00
Aurelien Jacobs
5da714699d simplify the voc demuxer using av_get_bits_per_sample()
Originally committed as revision 5663 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-07 22:42:36 +00:00
Michael Niedermayer
c448303df6 seems i forgot to commit this simplification ...
Originally committed as revision 5662 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-07 22:41:43 +00:00
Baptiste Coudurier
ac3e183403 av_get_bits_per_sample and due simplifications
Originally committed as revision 5661 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-07 17:50:09 +00:00
Emiliano Parasassi
29c5cdcaec Fix compilation with --disable-decoders.
patch by Emiliano Parasassi, millallo --at-- gmail --dot-- com

Originally committed as revision 5660 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-07 11:08:58 +00:00
Michael Niedermayer
55582f8de3 table contains vlc with 19 bits and 8*2 < 19
Originally committed as revision 5658 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-07 10:50:14 +00:00
Kostya Shishkov
913e93d5f2 Improve chroma MC: correct case for FASTUVMC=1, use slower but correct /2, and always use halfpel MC.
Not quite there yet but a bit better picture on some files.

Originally committed as revision 5652 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-07 05:02:01 +00:00
Kostya Shishkov
50af2fd30d Enable coefficient scaling
Originally committed as revision 5651 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-07 04:51:50 +00:00
Kostya Shishkov
928dc49d0e Don't read out-of-bounds values.
Originally committed as revision 5650 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-07 04:50:13 +00:00
Måns Rullgård
1ede1725f1 simplify
Originally committed as revision 5649 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-06 21:41:54 +00:00
Måns Rullgård
0ac3dcb8e8 build mpegaudio.c and ac3enc.c only if needed
Originally committed as revision 5648 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-06 20:32:19 +00:00
Stefan Gehrer
3284e7f3fe hopefully better for platforms not supporting misaligned read
Originally committed as revision 5647 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-06 19:23:21 +00:00
Stefan Gehrer
1a1650feca make use of 16x16 motion comp functions, 16x8 and 8x16 do not seem to be worth it
Originally committed as revision 5646 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-06 19:21:00 +00:00
Michael Niedermayer
76b566687f increasing version for AVBitStreamFilters
Originally committed as revision 5645 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-06 15:35:29 +00:00
Michael Niedermayer
514e0831ae noise bitstream filter
add priv_data field to AVBitStreamFilterContext

Originally committed as revision 5644 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-06 15:28:17 +00:00
Michael Niedermayer
748c2fca7e AVBitStreamFilter (some thingy which can modify the bitstream like add or remove global headers or change the headers or ...)
Originally committed as revision 5643 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-06 15:04:46 +00:00
Stefan Huehner
62a05b5b00 Mark some read-only datastructures as const.
patch by Stefan Huehner, stefan & at & huehner & dot & org

Originally committed as revision 5639 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-06 13:53:07 +00:00
Kostya Shishkov
1ae4a8e61f Fix one case of choosing MV for chroma
Originally committed as revision 5635 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-06 03:42:51 +00:00
Diego Biurrun
da2e9781bb spelling typo
Originally committed as revision 5633 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-05 22:56:45 +00:00
Måns Rullgård
bb428277fa use $(LIBOBJFLAGS) when compiling sparc/*.c
Originally committed as revision 5630 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-05 19:34:26 +00:00
Måns Rullgård
98d417cbcd #define SBUTTERFLY outside CONFIG_ENCODERS
Originally committed as revision 5628 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-05 19:31:01 +00:00
Stefan Gehrer
2e0141c351 even more cbp safety
Originally committed as revision 5627 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-05 17:11:55 +00:00
Stefan Gehrer
0e9b7305d0 missed removing this line in my last commit
Originally committed as revision 5626 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-05 17:08:13 +00:00
Diego Biurrun
f130fd4630 cosmetics: Break overly long lines.
Originally committed as revision 5622 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-05 14:12:00 +00:00
Michael Niedermayer
05e7e64d1a add rounding bias earlier in the idct, avoids many adds
Originally committed as revision 5618 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-04 22:43:35 +00:00
Stefan Huehner
109d2de108 Mark read-only data as const. Patch by stefan huehner org.
Originally committed as revision 5615 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-04 19:15:47 +00:00
Michael Niedermayer
57d664ff32 return -1 on bitstream errors instead of continuing, as the following stuff almost always will be useless until the next startcode
Originally committed as revision 5613 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-04 17:08:35 +00:00
Michael Niedermayer
784036e404 simplify intra prediction mode decoding
Originally committed as revision 5612 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-04 17:06:43 +00:00
Michael Niedermayer
5ca0106879 check cbp for validity, avoids possible out of array reads / segfaults
Originally committed as revision 5611 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-04 16:42:22 +00:00
Michael Niedermayer
5781d6d6e8 minor simplificationn
Originally committed as revision 5610 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-04 16:30:14 +00:00
Kostya Shishkov
66d0ad2605 Implement intensity compensation
Originally committed as revision 5609 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-04 15:40:09 +00:00
Kostya Shishkov
8a66a390cc Correctly choose global transform mode, MV mode and fix bitplane decoding
Originally committed as revision 5608 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-04 15:39:21 +00:00
Kostya Shishkov
35a9cac888 Optimizations suggested by Michael Niedermayer
Originally committed as revision 5607 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-04 15:33:28 +00:00
Stefan Gehrer
ad78c0f3f1 cleanup macroblock layer: merged decode of skipped MBs
with non-skipped

Originally committed as revision 5603 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-03 18:43:45 +00:00
Stefan Gehrer
f503b19574 cosmetic patch:
Doxygen-style comments
added some more comments

Originally committed as revision 5602 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-03 17:37:57 +00:00
Kostya Shishkov
05103ed33f Correctly detect when use hpel or qpel mode
Originally committed as revision 5601 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-03 17:22:18 +00:00
Kostya Shishkov
ef6cc8ce46 4-MV mode final fixes (now it works for non-exotic modes)
Originally committed as revision 5600 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-03 17:21:18 +00:00
Kostya Shishkov
4a5343fabc vc1_decode_intra_block() simplifications and corrections
Originally committed as revision 5599 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-03 17:17:25 +00:00
Luca Abeni
9c39071d6d Move REG_* macros from libavcodec/i386/mmx.h to libavutil/x86_cpu.h
Originally committed as revision 5595 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-03 10:52:07 +00:00
Justin Ruggles
1e5707b7b8 porder patch by (Justin Ruggles jruggle a t earthlink d ot net)
Originally committed as revision 5593 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-03 09:20:26 +00:00
Kostya Shishkov
e4bf0302a3 4-MV decoding support
Originally committed as revision 5591 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-03 02:38:08 +00:00
Michael Niedermayer
b482e2d12f CAVS decoder by (Stefan Gehrer stefan.gehrer gmx.de)
Originally committed as revision 5590 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-03 00:16:45 +00:00
Måns Rullgård
3f8674a902 remove redundant macro definitions
Originally committed as revision 5589 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-02 22:01:31 +00:00
Måns Rullgård
8fb0d07339 kill warning
Originally committed as revision 5588 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-02 21:53:30 +00:00
Stefan Gehrer
20ffddb93a CODEC_ID_CAVS (part of the cavs patch by Stefan Gehrer stefan.gehrer gmx de)
Originally committed as revision 5579 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-02 14:58:17 +00:00
Stefan Gehrer
761089b028 staric frame_rate_tab -> non static ff_frame_rate_tab part of the cavs patch by (Stefan Gehrer stefan.gehrer gmx de)
Originally committed as revision 5578 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-02 14:50:23 +00:00
Michael Niedermayer
474176bf92 3 lines while -> 1 line for loop
Originally committed as revision 5577 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-02 13:14:04 +00:00
Michael Niedermayer
5d2f52b989 simplify
Originally committed as revision 5576 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-02 13:10:08 +00:00
Michael Niedermayer
b2e30cb324 simplify compute_autocorr
Originally committed as revision 5575 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-02 13:01:01 +00:00
Michael Niedermayer
412759560c dont use memcpy for copying structs
Originally committed as revision 5574 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-02 12:40:39 +00:00
Michael Niedermayer
7c69b83057 simplify
Originally committed as revision 5573 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-02 11:06:27 +00:00
Justin Ruggles
a403fc0324 flac-lpc patch by (Justin Ruggles jruggle earthlink net)
tabs removed and regression.sh fixed (it was missing in the patch) by me

Originally committed as revision 5572 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-02 10:22:31 +00:00
Michael Niedermayer
78f67b7ad3 simplify
Originally committed as revision 5571 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-02 09:30:51 +00:00
Benjamin Larsson
7943355485 ff_fft_init now double checks that the system has mm3dnow.h before
checking if the cpu can do 3dnow at all. This bug caused amd cpu's
without sse to not have a working fft function. Ie no wma, cook or
vorbis decoder.

Originally committed as revision 5570 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-02 02:05:35 +00:00
Måns Rullgård
76f2a12fe7 remove unneeded casts
Originally committed as revision 5569 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-02 01:52:40 +00:00
Måns Rullgård
3dd46a296e get rid of veccpy(), replace with simple assignment
Originally committed as revision 5568 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-02 01:39:38 +00:00
Michael Niedermayer
0abc2e73f8 new files for the CAVS decoder by (Stefan Gehrer <stefan gehrer gmx de)
Originally committed as revision 5567 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-01 22:52:56 +00:00
Måns Rullgård
91c58c944f fill_mbaff_ref_list is missing a return statement, its return value
is ignored, and it can't possibly fail, so make it void

Originally committed as revision 5566 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-01 17:33:48 +00:00
Kostya Shishkov
8f8d0e4875 Adjust AC prediction if (some) predictors are not available.
Originally committed as revision 5564 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-01 07:22:29 +00:00
Kostya Shishkov
e9f2396e6f 0xFFFF l of cola. Now P-frames are decoded almost without distortions.
Originally committed as revision 5563 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-01 07:13:52 +00:00
Kostya Shishkov
a34c26cc3d Remove unused variable (and it wasn't free'd too)
Originally committed as revision 5562 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-01 03:19:28 +00:00
Kostya Shishkov
0f7344aad9 Use MpegEncContext->mbskip_table instead of custom bitplane.
Originally committed as revision 5561 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-01 03:17:54 +00:00
Herve W
a949360163 * Allocating 16 bytes more for the MEMALIGN_HACK is enough. There's no
need for 1 more extra byte.

* Checking whether the to be allocated size is larger than INT_MAX,
doesn't assure that size+16 bytes for the MEMALIGN_HACK isn't larger
than INT_MAX.

* malloc might return NULL. Checking for it before using that pointer
seems like a good idea.
Patch by Herve W. H PPP O PPP W PPP aka PPP V+ffmpeg AH gmail PPP com
Original thread:
Date: Jun 29, 2006 1:21 PM
Subject: [Ffmpeg-devel] [PATCH] minor improvements to libavcodec/mem.c

Originally committed as revision 5559 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-30 08:00:01 +00:00
Diego Pettenò
3a6fc8faf3 Disable w53 and w97 cmp methods when snow encoder is disabled
Patch by Diego 'Flameeyes' Petteno flameeyes AH gentoo PP org
Original thread:
Date: Jun 30, 2006 1:16 AM
Subject: [Ffmpeg-devel] [PATCH] Disable w53 and w97 cmp methods when snow encoder is disabled

Originally committed as revision 5558 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-30 07:50:30 +00:00
Reynaldo H. Verdejo Pinochet
f2508b1712 anothe useless sizeof(char)
Originally committed as revision 5555 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-30 05:53:28 +00:00
Kostya Shishkov
3f6d6af66e Slightly reworked MC code, it gives better picture.
Originally committed as revision 5554 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-30 03:19:31 +00:00
Kostya Shishkov
c436ff41d2 typo
Originally committed as revision 5553 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-30 03:17:31 +00:00
Diego Biurrun
7d77d5f639 spelling fixes courtesy of "Hervé W." H.O.W.aka.V+ffmpeg (at) gmail (dot) com
Originally committed as revision 5552 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-30 02:47:36 +00:00
Reimar Döffinger
c6bb50e002 Fix initialization of vc1_decoder (the same as wmv3_decoder).
Patch by Reimar Doeffinger.

Originally committed as revision 5544 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-29 11:17:50 +00:00
Kostya Shishkov
87dfe848fa Some optimization and fixes - mostly reworked MC and bitplanes.
Originally committed as revision 5543 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-29 11:05:33 +00:00
Kostya Shishkov
e8ba1cea3c This should make P-frames decoding work on x86 (by avoiding get_bits(0))
Originally committed as revision 5542 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-29 11:02:33 +00:00
Justin Ruggles
e71bcc3798 flacenc - rice param search patch by (Justin Ruggles jruggle earthlink net
1) search for optimal rice parameters and partition order. i also
modified the stereo method estimation to use this to calculate estimated
bit count instead of using just the pure sums.

2) search for the best fixed prediction order

3) constant subframe mode (good for encoding silence)

Note that the regression test for the decoded wav file also changed.
This is due to FFmpeg's FLAC decoder truncating the file, which it did
before anyway...just at a different cutoff point.  The generated FLAC
files are still 100% lossless.

With this update, FFmpeg's FLAC encoder has speed and compression
somewhere between "flac -1" and "flac -2".  On my machine, it's about
15% faster than "flac -2", and about 10% slower than "flac -1".  The
encoding parameters are identical to "flac -2" (fixed predictors, 1152
blocksize, partition order 0 to 3).

Originally committed as revision 5536 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-27 21:01:21 +00:00
Kostya Shishkov
f26c2ef53b Added loop filtering as ersatz for overlap filter (improves picture quality for coarse quantization).
Originally committed as revision 5535 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-27 15:37:48 +00:00
Kostya Shishkov
8985c915af VC1 Intra blocks in P-frames use different zigzag table than I-frames.
Originally committed as revision 5534 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-27 15:34:14 +00:00
Reimar Döffinger
0b52626eb0 Do not read full byte when less than 8 bits are still to be read.
Does not make a difference with any of my samples, but current
code does not make much sense.

Originally committed as revision 5533 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-27 12:13:01 +00:00
Reimar Döffinger
a5ecd69ec1 Ignore overrun in spectral RLE decoding, fixes
http://www.missouri.edu/~bah347/gprime/nintendothemesacappellax.wmv

Originally committed as revision 5532 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-27 12:09:58 +00:00
Kostya Shishkov
be3492ec7e VC-1 decoder with I-frames support and partial P-frames decoding
Originally committed as revision 5530 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-27 03:11:51 +00:00
Kostya Shishkov
10b9c374cf Rename VC9 to VC1 as there is no such thing as VC9
Originally committed as revision 5529 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-27 02:55:54 +00:00
Michael Niedermayer
f33aa12011 stereo decorrelation support by (Justin Ruggles jruggle earthlink net>)
Originally committed as revision 5528 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-26 06:00:07 +00:00
Michael Niedermayer
6c35b4dee3 10l
Originally committed as revision 5527 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-25 21:22:25 +00:00
Luca Barbato
f3a30e3a9c cleanup patch from Diego Pettenò <flameeyes@gentoo.org>
Originally committed as revision 5526 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-25 17:37:12 +00:00
Luca Barbato
24e1591036 minor cleanup
Originally committed as revision 5518 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-24 20:09:49 +00:00
Michael Niedermayer
d1015e88b4 simplify & optimize things a little
Originally committed as revision 5516 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-24 13:56:29 +00:00
Michael Niedermayer
9e96ab0389 first rudimentary version of (Justin Ruggles jruggle earthlink net) flac encoder
Originally committed as revision 5514 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-24 10:20:15 +00:00
Justin Ruggles
cef7cc7232 CODEC_CAP_SMALL_LAST_FRAME patch by Justin Ruggles jruggle earthlink net
Originally committed as revision 5512 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-24 09:25:21 +00:00
Luca Barbato
0187178e07 fix 24bit flac support, revised from Thibaut Mattern <thibaut.mattern@gmail.com>
Originally committed as revision 5507 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-21 00:21:26 +00:00
Luca Barbato
4726111362 Make gcc-3 happy again, thanks to Olivier Castan <castan.o@free.fr> for pointing the issue
Originally committed as revision 5504 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-20 10:35:30 +00:00
Diego Biurrun
5689ec7cde Remove unused FFMPEG_VERSION_INT.
Note: If this is useful I'll put it in version.sh/version.h.

Originally committed as revision 5503 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-20 10:26:00 +00:00
Diego Biurrun
f1cc88a5d6 Use Subversion revision for FFMPEG_VERSION.
based on a patch by Ismail Dönmez ismail$$at$$pardus$$dot$$org$$dot$$tr

Originally committed as revision 5502 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-20 10:24:08 +00:00
Stefan Huehner
7b49ce2e34 Add const to (mostly) char* and make some functions static, which aren't used
outside their declaring source file and which have no corresponding prototype.
patch by Stefan Huehner stefan^^@^^huehner^^.^^org

Originally committed as revision 5497 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-18 11:33:14 +00:00
Luca Barbato
e8772eecdc Cosmetics: should not hurt performance, scream if are
Originally committed as revision 5493 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-17 18:46:06 +00:00
Diego Biurrun
2b9c9e097d Rename version from CVS to the more sensible HEAD.
Originally committed as revision 5489 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-17 09:27:36 +00:00
Måns Rullgård
4f8ff17e75 The AAC frame header uses 13 bits for the frame size, so the buffer should
have room for such a frame.  A frame that large seems unlikely in a valid
file, but leaving room for it spares us the need to check it elsewhere.
Moving the buffer to the end of the struct made debugging this easier.

Originally committed as revision 5487 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-16 20:41:33 +00:00
Michael Niedermayer
1449b7220d 10l to whoever wrote this
Originally committed as revision 5479 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-15 09:20:31 +00:00
Måns Rullgård
e6f0ad5167 MIPS doesn't like unaligned accesses
Originally committed as revision 5469 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-12 21:34:43 +00:00
Loren Merritt
c4da83fb0f h264: accept rbsp_trailing longer than 1 byte
Originally committed as revision 5467 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-12 09:30:17 +00:00
Måns Rullgård
87318d6988 use ifeq(...,yes) instead of ifdef
Originally committed as revision 5462 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-09 22:26:03 +00:00
Baptiste Coudurier
f2cf4a6be7 fix closed gop flag
Originally committed as revision 5460 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-09 13:10:37 +00:00
Michael Niedermayer
086bfd256e support doing motion estimation and compensation without any residual transform or coding
this is usefull for filters which need ME/MC

Originally committed as revision 5456 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-04 21:54:58 +00:00
Luca Barbato
0d18f79860 put_pixels16_l2_altivec and avg_pixels16_l2_altivec
Originally committed as revision 5452 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-03 22:18:03 +00:00
Loren Merritt
696d6889d2 ADPCM: trellis quantization
Originally committed as revision 5451 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-03 19:04:56 +00:00
Corey Hickey
f9243d34f1 Make B-frame reduction sensitivity by b_strategy/vb_strategy = 1
user-tunable.

Originally committed as revision 5450 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-03 06:26:04 +00:00
Loren Merritt
7e5370516b adpcm_ima & adpcm_yamaha: improved quantization
Originally committed as revision 5449 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-03 04:38:11 +00:00
Benjamin Larsson
63d6a6b91e Fixed a possible bug, checked against the assembly.
No sample that used the code has been found though.

Originally committed as revision 5448 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-02 07:50:12 +00:00
Måns Rullgård
42225a3058 remove redundant make variable SUBDIR
Originally committed as revision 5442 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-01 21:57:44 +00:00
Diego Biurrun
6d9a242106 libavcodec/libpostproc ---> libpostproc
Originally committed as revision 5440 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-01 21:37:48 +00:00
Benjamin Larsson
0919e788ae Flash Screen Video decoder (fourcc:FSV1)
Originally committed as revision 5436 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-01 07:31:59 +00:00
Kostya Shishkov
2d2b86c207 Palette support for newer KMVC
Originally committed as revision 5435 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-31 04:52:02 +00:00
Loren Merritt
7374794a89 Snow: don't try to encode lossless with 9/7 wavelet, because it isn't lossless.
Originally committed as revision 5433 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-30 19:45:12 +00:00
Loren Merritt
d4b287ed36 Snow: cosmetics
Originally committed as revision 5432 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-30 19:40:28 +00:00
Loren Merritt
85fc0e7531 Snow: scale predicted mv based on which reference frame the neighbors used.
Originally committed as revision 5431 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-30 16:42:29 +00:00
Loren Merritt
7f21a9a7b8 Snow: cosmetics
Originally committed as revision 5428 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-30 06:49:15 +00:00
Loren Merritt
871371a768 Snow: fix subband weighting in wavelet cmp functions. use 32x32 cmp in iterative motion estimation.
Originally committed as revision 5427 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-30 05:44:22 +00:00
Loren Merritt
383f62fdfe Snow: 10l. 1pass ratecontrol failed to set snow's internal quant.
Originally committed as revision 5426 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-30 04:51:58 +00:00
Corey Hickey
b29183a150 Make b_frame_strategy not fail on pass 2, but still print a notice.
Originally committed as revision 5425 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-29 22:44:16 +00:00
Roberto Togni
3bbe7f5d6b 10000l don't reuse outer loop index in inner loops
Originally committed as revision 5423 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-29 19:25:46 +00:00
Michael Niedermayer
2fefd23b96 fabs is better then abs for floats ...
Originally committed as revision 5422 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-29 16:50:37 +00:00
Michael Niedermayer
b3aaa7bea6 typo me thinks ...
Originally committed as revision 5421 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-29 16:39:40 +00:00
Michael Niedermayer
5964935c92 cbp must be >0 here or we are in troubble
Originally committed as revision 5420 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-29 16:30:56 +00:00
Loren Merritt
5d18eaad13 h264: MBAFF interlaced decoding
Originally committed as revision 5419 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-28 22:44:14 +00:00
Loren Merritt
67a8208695 h264: faster fill_rectangle()
Originally committed as revision 5418 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-28 22:28:08 +00:00
Loren Merritt
8c36eaaa94 Snow multiple reference frames
(bitstream is not backwards compatible, even if refs aren't used)

Originally committed as revision 5417 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-28 21:44:47 +00:00
Loren Merritt
4e64beadf0 Snow 1pass ratecontrol
Originally committed as revision 5416 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-28 12:38:10 +00:00
Baptiste Coudurier
702497f886 fix mbd bits bug, finally
Originally committed as revision 5411 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-26 15:44:29 +00:00
Diego Biurrun
16862398a2 Remove all .cvsignore files, they are no longer necessary.
Originally committed as revision 5410 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-26 15:37:11 +00:00
Kostya Shishkov
103eee5352 Now MPlayer should understand Smacker audio and video codecs.
Originally committed as revision 5389 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-17 03:03:53 +00:00
Baptiste Coudurier
2d974017b0 MPEG-2 4:2:2 encoding support
Originally committed as revision 5387 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-16 15:19:54 +00:00
Guillaume Poirier
c2f69579bb fix compilation of 3dnowext instinsincs, both on ia32 and AMD64.
3dnow intrinsincs are for now only compiled if 3dnowext support is available. (I should add smth that
checks for plain 3dnow later)

Originally committed as revision 5386 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-16 14:24:45 +00:00
Guillaume Poirier
fce9551efc Add 3dnow intrinsic support for AMD64 machines: -march=athlon means IA32 for GCC, so use -m3dnow instead.
Note that there's no way to specificly activate 3dnow ext support

Originally committed as revision 5380 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-14 22:00:03 +00:00
Baptiste Coudurier
ed70a5099e add quicktime uncompressed 8bit 4:2:2 support
Originally committed as revision 5379 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-14 14:21:06 +00:00
Baptiste Coudurier
307eb24879 add MPEG-2 intra vlc support
Originally committed as revision 5372 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-13 17:16:58 +00:00
Baptiste Coudurier
d634aa2095 remove unused variable
Originally committed as revision 5371 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-13 15:43:51 +00:00
Michael Niedermayer
3a1a7e32ac sanity checks, some might have been exploitable ...
Originally committed as revision 5369 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-13 10:45:26 +00:00
Måns Rullgård
b8d10977f4 add unaligned16() and unaligned64()
Originally committed as revision 5366 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-11 23:17:23 +00:00
Benjamin Larsson
8dcf48a8c3 Cosmetics. Add the defines needed for debug output.
Originally committed as revision 5361 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-11 00:28:30 +00:00
Loren Merritt
24efb5e51b fix a crash on x86_64
Originally committed as revision 5360 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-11 00:06:50 +00:00
Baptiste Coudurier
415d10d0a5 fix alac decoder on little endian
Originally committed as revision 5357 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-10 11:59:09 +00:00
Michael Niedermayer
2d661e073e cosmetics (initalize variables where they are used)
Originally committed as revision 5356 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-10 11:05:03 +00:00
Michael Niedermayer
11b681687d decoders should (IMHO) not duplicate frames, the application can do this if it wants
Originally committed as revision 5355 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-10 10:57:27 +00:00
Michael Niedermayer
d4277a7d51 allow insane gop sizes if the user doesnt care about playable streams (doesnt want compliance to any standard)
Originally committed as revision 5351 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-09 08:40:38 +00:00
Michael Niedermayer
3b29cb6b59 add outcommented chunk of code to handle stuffing MBs at the end of slices (IMHO the standard doesnt allow this and there are no real world files which need it)
Originally committed as revision 5350 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-08 13:44:54 +00:00
Denes Balatoni
8d39d67a78 vorbis 5:1 decoding fix, fix mi2_vorbis51.mp4, patch by Denes Balatoni <dbalatoni at programozo dot hu>
Originally committed as revision 5349 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-07 17:30:00 +00:00
Michael Niedermayer
1dd509b157 make zero motion vector threshold user setable
Originally committed as revision 5348 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-07 11:48:07 +00:00
Diego Biurrun
60827a1a80 Further simplify AMR build.
Originally committed as revision 5347 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-06 10:57:38 +00:00
Loren Merritt
09786209e6 reinit quant matrices if pps is overwritten by another of the same pps_id.
Originally committed as revision 5346 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-05 18:08:01 +00:00
Diego Biurrun
215e46e6e5 Ignore errors from recursive AMR cleans.
Originally committed as revision 5345 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-05 10:27:44 +00:00
Diego Biurrun
c7f1a2f56e Unconditionally clean AMR subdirs.
Originally committed as revision 5344 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-05 09:41:06 +00:00
Luca Barbato
a487e0f654 Macosx fix
Originally committed as revision 5342 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-02 18:45:04 +00:00
Michael Niedermayer
7923a3f904 d10 decoding fix
Originally committed as revision 5341 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-02 09:03:22 +00:00
Aurelien Jacobs
c51ba67a98 clip_uint8 now return an uint8_t so no need to &0xFF
Originally committed as revision 5339 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-01 00:28:36 +00:00
Loren Merritt
89ddb72aa1 warn on interlaced streams
Originally committed as revision 5337 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-30 19:31:45 +00:00
Loren Merritt
2848ce84d2 don't force asserts in release builds. 2% faster h264.
Originally committed as revision 5332 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-29 00:43:15 +00:00
Loren Merritt
0c2aaa882d memory leak.
Originally committed as revision 5331 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-28 23:16:42 +00:00
Michael Niedermayer
7f12a9780e use previous qscale for intra_dc_threshold check
Originally committed as revision 5329 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-28 17:29:07 +00:00
Michael Niedermayer
e27b6e62f7 missmatch control for mpeg2 intra dequantization if bitexact=1
Originally committed as revision 5328 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-28 17:03:52 +00:00
Benjamin Larsson
6eb1427f0f Revert bad ac3enc commit, the commited code was bigger and slower.
Originally committed as revision 5327 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-28 14:19:11 +00:00
Zuxy Meng
392f6da897 Remove unused and unsupported Cyrix's "Extended MMX",
Add SSE3 support.
Patch by Zuxy Meng < zuxy POIS meng AH gmail POIS com >
Original thread:
04/26/06 13:13:
[Ffmpeg-devel] [PATCH] Bug fix,	SSE3 support in i386/cputest.c and dsputil.h

Originally committed as revision 5326 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-28 07:46:13 +00:00
Diego Biurrun
c4921874f5 Enable AMR_NB decoder/encoder when either AMR_NB or AMR_NB_FIXED is defined.
Originally committed as revision 5325 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-27 11:49:15 +00:00
Diego Biurrun
3ed410a6bd Fix amr_nb-fixed build.
Originally committed as revision 5324 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-27 03:31:26 +00:00
Diego Biurrun
6eb07e7349 Disentangle dependencies between amr_nb and amr_nb-fixed: amr_nb-fixed does
work even without amr_nb.

Originally committed as revision 5321 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-27 02:33:27 +00:00
Diego Biurrun
e0fb7e5b0d cosmetics: Group all AMR variables together, add some newlines.
Originally committed as revision 5319 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-27 02:23:42 +00:00
Diego Biurrun
90d9a1ba70 Misplaced CLEANAMR.
Originally committed as revision 5318 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-27 02:19:42 +00:00
Diego Biurrun
1ea00ed061 CLEANAMRWB --> CLEANAMR typo
Originally committed as revision 5317 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-27 02:10:49 +00:00
Luca Barbato
5f22aa3cc0 13% faster inner_add_yblock
Originally committed as revision 5316 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-25 19:54:02 +00:00
Luca Barbato
f420826c35 40% faster decode
Originally committed as revision 5315 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-25 17:29:31 +00:00
Uoti Urpala
f267587ece Vorbis specs requires blocksize_1 >= blocksize_0, error if it's false.
Predict buffer size from blocksize_1 and number of channels and make
sure this does not exceed AVCODEC_MAX_AUDIO_FRAME_SIZE

Patch by Uoti Urpala >>> uoti |.| urpala |@| pp1 |.| inet |.| fi <<<

Originally committed as revision 5313 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-23 21:11:31 +00:00
Benjamin Larsson
176c142abc Patch to generate the ac3 window, based on code by Justin Ruggles.
Originally committed as revision 5310 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-22 21:21:16 +00:00
Loren Merritt
c6f9e821c3 10l in h264 vismb/vismv (broke on 2006-03-09)
Originally committed as revision 5309 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-21 19:22:14 +00:00
Uoti Urpala
4f26258f84 dtsdec.c copies one input packet at a time to a (static) buffer of size
4096 bytes while the packet can be up to 18726 bytes.
The code also keeps decoding until all input data has been used up,
not respecting AVCODEC_MAX_AUDIO_FRAME_SIZE.

The patch increases the buffer size and return after decoding one frame.
Also fixes dts_decode_init to return -1, not 1, on failure.

Patch by Uoti Urpala  ||| uoti : urpala |!| pp1 : inet : fi |||

Originally committed as revision 5307 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-20 19:23:57 +00:00
Reimar Döffinger
2d5545c302 make "size" variable in avpicture_alloc signed, since avpicture_get_size
returns -1 on error which was not detected with previous code.

Originally committed as revision 5304 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-19 19:51:56 +00:00
Wolfram Gloger
f42635f558 gcc-2.95 compile fix, patch by Wolfram Gloger <wmglo A dent PIS med PIS uni-muenchen PIS de>
Originally committed as revision 5298 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-18 03:48:30 +00:00
Luca Barbato
fd925db3c8 typo in the gcc handmade regalloc trigger
Originally committed as revision 5297 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-16 03:40:04 +00:00
Diego Biurrun
2cf30841b5 Have EXTRALIBS appear after other link options, fixes shared build on Cygwin.
based on patch by Marcus Engene, ffmpeg AATT engene DDOOTT se

Originally committed as revision 5295 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-15 15:05:53 +00:00
Diego Biurrun
e1ffc3adb8 Revert Windows "warning" message.
Originally committed as revision 5294 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-15 14:15:09 +00:00
Wolfgang Scherer
60dfd14778 Fix SIGSEGV in rv10-null-pointer-500k.rm.
patch by Wolfgang Scherer, Wolfgang__ . __Scherer__ @ __gmx__ . __de

Originally committed as revision 5293 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-15 12:52:01 +00:00
Michael Niedermayer
37921ffde8 fix "concealing 0 DC, 0 AC, 0 MV errors" bug
Originally committed as revision 5290 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-14 20:45:08 +00:00
Michael Niedermayer
b548f2b91b ffv1 and ffvhuff havnt changed since a long time and noone proposed any
changes within 1 month after my warning so they are officially no longer
experimental and we will gurantee decodeability of files encoded with
the currenzt ffv1/ffvhuff in the future

Originally committed as revision 5288 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-14 10:37:40 +00:00
Benjamin Larsson
f1f7807abd AC3 encoding volume fix, by Justin Ruggles jruggle earthlink net.
Originally committed as revision 5281 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-10 12:12:26 +00:00
Luca Abeni
5341c20954 Baptiste COUDURIER's padding patch (reworked by me a little bit).
Moves padding code to imgconvert.c, and enables padding colorspaces != YUV420P.

Originally committed as revision 5278 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-10 07:45:29 +00:00
D Richard Felker III
7b98bcbd0f signedness error caused broken decoding
Originally committed as revision 5277 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-09 06:53:40 +00:00
D Richard Felker III
c4e2a535b3 100l to loren. at least this fixes the compile error, but the code is still broken (decoding buggy/crashing)
Originally committed as revision 5276 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-09 06:04:00 +00:00
Roberto Togni
0c35eb1c69 Add missing external declaration for kmvc codec
Originally committed as revision 5274 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-07 21:08:34 +00:00
Kostya Shishkov
fd7b199199 KMVC (used in Worms games) decoder. Works fine with samples from MPHQ
Originally committed as revision 5273 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-07 16:59:57 +00:00
Luca Barbato
a01e08ee5c hadamard8_diff* enabled on linux/ppc
Originally committed as revision 5272 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-07 12:40:28 +00:00
Måns Rullgård
9076fee4f5 s/SAMPLT_FMT_NONE/SAMPLE_FMT_NONE/
typo spotted by Brian Brice <bbrice at newtek com>

Originally committed as revision 5270 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-05 18:56:22 +00:00
Loren Merritt
75ca1a5f70 gmc_mmx tweaks
Originally committed as revision 5269 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-05 04:13:41 +00:00
Luca Abeni
7b748aff2c Introduce swscale interface in libavcodec
Originally committed as revision 5266 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-04 12:35:55 +00:00
Loren Merritt
703c8195a8 mmx implementation of 3-point GMC. (5x faster than C)
Originally committed as revision 5265 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-04 09:23:45 +00:00
Loren Merritt
841f65f25a 2x faster ff_mpeg4_set_direct_mv
Originally committed as revision 5264 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-03 07:52:24 +00:00
Justin Ruggles
f760b70fbe AC3: support encoding fractional frame sizes
Patch by Justin Ruggles, jruggle <<at>> earthlink <<dot>> net

Originally committed as revision 5263 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-03 00:51:09 +00:00
Michael Niedermayer
54009d4295 remove mpegvideo.c img resample dependancy
Originally committed as revision 5258 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-31 20:43:37 +00:00
Michael Niedermayer
6b250e4725 get_xbits() optimization
Originally committed as revision 5257 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-31 20:40:22 +00:00
Michael Niedermayer
ad8812be8f remove useless code
Originally committed as revision 5256 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-31 18:22:35 +00:00
Michael Niedermayer
002a7414b5 simplify loop a little
Originally committed as revision 5255 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-31 18:04:36 +00:00
Michael Niedermayer
78d2d4e111 do UPDATE_CACHE only when needed (which should be VERY rare)
Originally committed as revision 5254 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-31 17:43:28 +00:00
Michael Niedermayer
e7e2025a53 + (sign&1) -> -sign (1 instruction less)
Originally committed as revision 5253 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-31 17:01:58 +00:00
Michael Niedermayer
ac2549b583 avoid hard to predict branch (idea by arpi)
Originally committed as revision 5252 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-31 16:50:43 +00:00
Steve L'Homme
9296d45d29 warn user about crappy OS patch by (Steve Lhomme <steve.lhomme@free.fr>)
trailing whitespace and init=1 nonsense removed by me
AV_LOG_ERROR -> AV_LOG_INFO (yes steve even though many like you think its an error to use such a OS i cant apply that to cvs, sorry)

Originally committed as revision 5251 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-31 13:06:24 +00:00
Luca Barbato
46641a135c Proper typecast for vector bool
Originally committed as revision 5250 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-31 09:59:53 +00:00
Luca Abeni
5d6ed7c141 move enum PixelFormat from libavcodec to libavutil
----------------------------------------------------------------------

Originally committed as revision 5248 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-30 16:24:38 +00:00
Michael Niedermayer
d30ba3bb34 reverting 1.31->1.33
fix coverity warning CID: 255 (uninitalized variable used to build tables which arent used, well there is a slight change of a FPU exception maybe ...)
(by michael)
Init simplification and 2% faster wma_decode_block on amd64 with tables use
instead of pow(). (by banan)

the init simplifictaion is not correct its not binary identical
the pow optimization breaks decoding of http://klif-e.mos.net.au/videos/extr.wmv

Originally committed as revision 5247 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-30 14:58:36 +00:00
Michael Niedermayer
1adc29eedb dont forget table_size in the decode_frame return value
Originally committed as revision 5246 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-30 14:13:03 +00:00
Corey Hickey
1005f542b2 - Add new file internal.h for common internal-use-only functions.
- Add new function av_tempfile() for creating temporary files; contains
  workaround for MinGW.
- Make XviD stuff use av_tempfile().

Originally committed as revision 5245 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-30 04:33:05 +00:00
Michael Niedermayer
60f3c0b8fc fix gcc 2.95 compilation
Originally committed as revision 5243 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-29 21:11:57 +00:00
Luca Barbato
085065f0fd Cast cruft in order to support Apple gcc
Originally committed as revision 5242 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-29 18:42:50 +00:00
Diego Biurrun
c6b1866b73 Ignore apiexample and test programs.
Originally committed as revision 5241 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-29 11:01:17 +00:00
Diego Biurrun
dc9cc5ed85 EXTRALIBS already contains -lm, no need to add it explicitly.
Originally committed as revision 5240 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-29 10:59:09 +00:00
Michael Niedermayer
b88a718a11 avoid if(i>=63) check at the end of decode_block()
Originally committed as revision 5239 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-29 09:20:44 +00:00
Michael Niedermayer
415365d225 avoid i++ in decode_block()
Originally committed as revision 5238 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-29 09:13:43 +00:00
Michael Niedermayer
7d2b787daa minor optimization of decode_block()
Originally committed as revision 5237 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-29 08:41:53 +00:00
Michael Niedermayer
22dde0e955 optimizations by arpi
Originally committed as revision 5235 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-29 01:59:24 +00:00
Reimar Döffinger
dfca23e361 NuppelVideo/MythTVVideo support, including rtjpeg decoder
Originally committed as revision 5232 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-27 22:22:50 +00:00
Luca Barbato
22b48b85b6 altivec support for snow
Originally committed as revision 5228 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-27 12:51:19 +00:00
Luca Barbato
e62c29bf57 altivec support for snow
Originally committed as revision 5227 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-27 12:45:27 +00:00
Benjamin Larsson
5b6638517f Use a more descriptive error message.
Originally committed as revision 5224 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-26 17:07:02 +00:00
Kostya Shishkov
76fabb4579 Don't use get_vlc2() when tree is one symbol. This fixes audio decoding
artifacts (chirps instead of silence).

Originally committed as revision 5217 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-25 15:37:08 +00:00
Loren Merritt
2ea392529a 10l in 1.199 (write_back_motion with B-pyramid + spatial)
Originally committed as revision 5215 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-25 09:46:43 +00:00
Loren Merritt
5e8b787afa simplified and slightly faster h264_chroma_mc8_mmx
Originally committed as revision 5214 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-25 08:41:14 +00:00
Steve L'Homme
dc2bf20e27 ST16 is undefined for non-GNU compilers.
Patch by Steve Lhomme <slhomme at divxcorp com>

Originally committed as revision 5206 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-24 01:33:22 +00:00
Loren Merritt
e77ef2755a prefetch pixels for future motion compensation. 4-10% faster mpeg1/2/4 decoding (on an athlon-xp).
Originally committed as revision 5204 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-23 21:54:46 +00:00
Loren Merritt
513fbd8e5a prefetch pixels for future motion compensation. 2-5% faster h264.
Originally committed as revision 5203 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-23 20:16:36 +00:00
Loren Merritt
5e6a5c4daf 10l
Originally committed as revision 5201 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-22 22:08:28 +00:00
Loren Merritt
fdd3057981 added mmx implementation of h264_chroma_mc2
Originally committed as revision 5200 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-22 22:05:00 +00:00
Loren Merritt
53b19144e7 1.5x faster write_back_motion, 1-3% overall
Originally committed as revision 5198 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-22 12:41:02 +00:00
Robert Edele
e8600e5edc add MMX and SSE versions of ff_snow_inner_add_yblock
Patch by Robert Edele < yartrebo AH earthlink POIS net >
Original Thread:
Date: Mar 22, 2006 3:24 AM
Subject: [Ffmpeg-devel] [PATCH] snow mmx + sse2 part 5

Originally committed as revision 5197 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-22 12:08:35 +00:00
Robert Edele
2c9a0285d4 snow mmx+sse2 optimizations, part 4
Patch by Robert Edele, yartrebo <<at>> earthlink <<dot>> net

Originally committed as revision 5191 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-21 21:51:07 +00:00
Kostya Shishkov
348efc1836 Smacker demuxer and decoder.
Originally committed as revision 5189 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-21 17:27:47 +00:00
Måns Rullgård
d59518d45d since Michael prefers to keep dsputil.h private to libavcodec
(rather than installing it system-wide) this patch reverses the
mistake I made last month (mplayer was recently fixed accordingly).

patch from Nico Sabbi <nicola_sabbi at fastwebnet it>

Originally committed as revision 5186 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-20 22:48:08 +00:00
Robert Edele
4567b4bdab Add the mmx and sse2 implementations of ff_snow_vertical_compose().
Patch by Robert Edele < yartrebo AH earthlink POIS net >
Original thread:
Date: Mar 20, 2006 5:54 PM
Subject: [Ffmpeg-devel] [PATCH] snow mmx + sse2 part 3

Originally committed as revision 5185 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-20 22:27:59 +00:00
Robert Edele
561a18d3ba Snow mmx + sse2 part 2
Patch by Robert Edele,  yartrebo <<at>> earthlink <<dot>> net

Originally committed as revision 5184 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-20 05:52:23 +00:00
Michael Niedermayer
1956e16653 fixing interlaced direct mode field select values
Originally committed as revision 5183 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-20 01:18:56 +00:00
Michael Niedermayer
83378d0de5 various fixes for xvid_rc
Originally committed as revision 5182 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-19 11:49:37 +00:00
Michael Niedermayer
5fe4cf7b9f fix frametypes with xvid_rc
Originally committed as revision 5180 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-18 20:43:48 +00:00
Michael Niedermayer
0adba3d88b fixing bquant_offset
Originally committed as revision 5179 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-18 02:46:39 +00:00
Michael Niedermayer
e70e7a4b17 segfault fix
Originally committed as revision 5178 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-18 02:29:58 +00:00
Corey Hickey
022fad4833 make ff_rate_control_init() bail out if rc_strategy==1 and lavc wasn't
compiled with xvid support.

Originally committed as revision 5176 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-17 16:40:10 +00:00
Oded Shimon
13c97a5a0a 10l: Only set *compose97i *add_yblock to dsputils context if we are building with Snow enabled
Patch by Oded Shimon < ods15 AH ods15 POIS dyndns POIS org >

Originally committed as revision 5175 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-17 12:08:46 +00:00
Robert Edele
059715a41c First part of a series of speed-enchancing patches.
This one sets up a snow.h and makes snow use the dsputil function pointer
framework to access the three functions that will be implemented in asm
in the other parts of the patchset.
Patch by Robert Edele < yartrebo AH earthlink POIS net>
Original thread:
Subject: [Ffmpeg-devel] [PATCH] Snow mmx+sse2 asm optimizations
Date: Sun, 05 Feb 2006 12:47:14 -0500

Originally committed as revision 5172 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-16 19:18:18 +00:00
Michael Niedermayer
fc8c49926c dont pass intra flag if its always 0
Originally committed as revision 5164 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-14 00:22:05 +00:00
Michael Niedermayer
4cb8574dc8 fixing coverity warnig CID: 253 (reading over the end of the aspect_ratio array for illegal aspect ratios)
Originally committed as revision 5163 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-13 23:46:47 +00:00
Michael Niedermayer
40c8602f64 fix coverity warning CID: 255 (uninitalized variable used to build tables which arent used, well there is a slight change of a FPU exception maybe ...)
Originally committed as revision 5162 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-13 23:29:00 +00:00
Loren Merritt
8f8ae4951e seed iterative_me with mvs from conventional search.
+15% speed, +.1 dB

Originally committed as revision 5158 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-13 01:27:13 +00:00
Loren Merritt
07674d518c obey vqscale in 2nd pass
Originally committed as revision 5157 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-13 01:26:06 +00:00
Michael Niedermayer
c1341a57f2 reset interlaced_dct flag
Originally committed as revision 5155 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-12 19:55:52 +00:00
Kostya Shishkov
79d15fd4db 16-bit DPCM and stereo support for Sierra VMD
Originally committed as revision 5147 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-11 04:26:55 +00:00
Michael Niedermayer
e7c8206e5c av_free -> av_freep
Originally committed as revision 5145 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-11 00:19:32 +00:00
Michael Niedermayer
87f20c2f31 fix %8 != 0 w/h
Originally committed as revision 5144 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-11 00:18:43 +00:00
Michael Niedermayer
8437ff75f8 asserts to check if assumed conditions really are true
Originally committed as revision 5143 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-10 22:00:36 +00:00
Michael Niedermayer
3aeefb93c8 out of array read fix
Originally committed as revision 5142 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-10 21:20:49 +00:00
Michael Niedermayer
5d9db9c4a9 out of array read fix
Originally committed as revision 5141 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-10 20:58:42 +00:00
Michael Niedermayer
5430b070a8 cleanup picture / debug output code
Originally committed as revision 5140 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-10 20:40:52 +00:00
Michael Niedermayer
003ebe100b fixing out of array access (only cosmetic, this should never have had a end user vissible effect)
Originally committed as revision 5139 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-10 19:42:51 +00:00
Michael Niedermayer
eabb0ac38e add assert to clarify that we know what we are doing
Originally committed as revision 5138 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-10 19:10:46 +00:00
Michael Niedermayer
cb666260a0 fixing uninitalized dc_pred_dir
this needs testing (no files with intra_dc_threshold and vissible ac_pred errors here)

Originally committed as revision 5137 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-10 18:40:41 +00:00
Michael Niedermayer
9e801ee2fa very minor optimization
Originally committed as revision 5136 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-10 18:37:18 +00:00
Michael Niedermayer
f7287c42b2 unused variable
Originally committed as revision 5135 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-10 18:34:51 +00:00
Baptiste Coudurier
f2651e7a6c Fix cropping, depending on enc pix fmt
Originally committed as revision 5134 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-10 13:55:48 +00:00
David S. Miller
bf4665eeec Alignment fixes, caused problems on SPARC.
patch by "David S. Miller" davem <<at>> davemloft <<dot>> net

Originally committed as revision 5130 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-09 08:05:45 +00:00
Steve L'Homme
267f7edcd1 (f)printf --> av_log conversion
taken from a patch by Steve L'Homme

Originally committed as revision 5127 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-08 11:43:10 +00:00
Benjamin Larsson
6f3dda9328 Init simplification and 2% faster wma_decode_block on amd64 with tables use
instead of pow().

Originally committed as revision 5126 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-08 09:26:57 +00:00
Zuxy Meng
82eb4b0f1b 3DNow! & Extended 3DNow! versions of FFT
Patch by Zuxy Meng, zuxy <<dot>> meng >>at<< gmail <<dot>> com
Minor non-functional diff-related fixes by me.

Originally committed as revision 5125 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-08 04:13:55 +00:00
Loren Merritt
548a1c8a35 h264_idct8_add_mmx
Originally committed as revision 5123 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-07 22:45:56 +00:00
Loren Merritt
6da971f160 h264_idct_add only needs mmx1
Originally committed as revision 5122 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-07 22:33:32 +00:00
Sam Hocevar
5f112e1f96 Proper mangling information for symbols in OS X Mach-O shared objects.
patch by Samuel Hocevar, sam ..at.. zoy ..dot.. org

Originally committed as revision 5120 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-06 22:06:33 +00:00
Michael Niedermayer
b865838ea2 switch flac to av_crc
Originally committed as revision 5117 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-06 15:09:04 +00:00
Michael Niedermayer
e027d0a81e switch ac3enc to av_crc
Originally committed as revision 5116 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-06 14:53:13 +00:00
Michael Niedermayer
43a80ccee5 generic crc calculation code
Originally committed as revision 5115 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-06 14:13:01 +00:00
Roman Shaposhnik
56419683b2 I still don't think this should be here. Note: without this code DV encoder
will accept incorrect pix_fmt's and such, but decoder will work much better
with containers not setting the same attributes. It seems like there will
be a generic mechanism for checking such constraints, but if not I can always
resurrect this check for *encoder* only.

Originally committed as revision 5114 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-06 09:54:09 +00:00
Daniel Maas
0b297700b7 DVCPRO50 support.
Patch by Daniel Maas dmaas at maasdigital dot com

Originally committed as revision 5113 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-06 08:54:33 +00:00
Zuxy Meng
2ffb22d2ad use xorps instead of mulps to toggle the sign of a float, as suggested by Software Optimization Guide for AMD64 Processors.
Patch by Zuxy Meng < zuxy POIS meng AH  gmail POIS com > OKed by Michael
Original thread:
Date: Mar 5, 2006 8:15 PM
Subject: [Ffmpeg-devel] [PATCH] Little optimization to fft_sse.c

Originally committed as revision 5112 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-05 20:25:18 +00:00
Loren Merritt
d84f7c61ee gcc2.95 workaround
Originally committed as revision 5111 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-05 19:02:35 +00:00
Baptiste Coudurier
980bbb13d6 Make faac_decode_frame return -1 on error and not 0 which avoids
stalling and infinite loop.
Patch by Baptiste COUDURIER <baptiste coudurier at smartjog com>

Originally committed as revision 5110 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-05 12:32:24 +00:00
Loren Merritt
7a5b2fa812 remove some useless instructions
Originally committed as revision 5109 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-04 19:56:01 +00:00
Diego Biurrun
14b005d009 Make -xy help output consistent, output an empty line before and after.
Originally committed as revision 5108 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-04 17:34:17 +00:00
Loren Merritt
9e4cc776da keyframe flag was wrong if SEIs followed the keyframe
Originally committed as revision 5107 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-04 03:57:33 +00:00
Michael Niedermayer
ae9e417358 PAL8 support (fixed BLUR8.AVI)
cleanup

Originally committed as revision 5105 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-03 21:33:06 +00:00
Michael Niedermayer
b5c85991f6 fix segfault with BLUR8.AVI
Originally committed as revision 5104 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-03 20:36:08 +00:00
Michael Niedermayer
d00bff20b2 fix infinite loop
Originally committed as revision 5102 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-02 21:47:53 +00:00
Michael Niedermayer
8d359bbabe cleanup IMA-ADPCM WAV decoder
Originally committed as revision 5095 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-02 13:55:49 +00:00
Loren Merritt
6a8eb0f45a 4% faster h264_qpel_mc
Originally committed as revision 5094 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-02 08:21:08 +00:00
Zdenek Kabelac
289f999dab * bugfixing call reference
Originally committed as revision 5092 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-01 23:19:04 +00:00
Michael Niedermayer
2669777981 fix decoding of mpeg2-trunc.vob
Originally committed as revision 5091 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-01 22:59:22 +00:00
Likai Liu
11c19637d2 use vec_splat_u32 to initialise a v16ui (patch by Likai Liu < liulk _at_ cs.bu.edu >)
Originally committed as revision 5079 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-28 21:55:18 +00:00
Dan Maas
40116978de Assign class 2 to most macroblocks by default, instead of a more conservative
method defined by SMPTE

Patch by Dan Maas

Originally committed as revision 5074 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-28 02:54:48 +00:00
Benjamin Larsson
79a32e3b95 64bit fixes for the tta decoder, sizeof(long) is 8 on amd64, 4 on x86, the patch
basicly just do a s/long/int32_t/. Patch tested on amd64 and x86.

Originally committed as revision 5072 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-27 12:17:20 +00:00
Roman Shaposhnik
e5867e4d50 Not that we're that far from being an *initial* implementation, but
at least weighting got implemented thanks to Dan. ;-)

Originally committed as revision 5071 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-27 05:04:05 +00:00
Dan Maas
2e52b44e50 AC coefficient weighing (per SMPTE 314M) for the DV encoder and decoder. The
performance impact is less than 1%.

Patch by Dan Maas  (dmaas at maasdigital dot com)

Originally committed as revision 5070 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-27 04:50:06 +00:00
Michael Niedermayer
0403f791b3 remove wrong assert()
Originally committed as revision 5067 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-26 15:40:08 +00:00
Michael Niedermayer
d676478c8d replace for loop with 2 asserts()
Originally committed as revision 5066 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-26 15:24:42 +00:00
Dan Maas
6df5f6ae51 size[0-3] are not initialized (and can get random negative trash
values), so the comparison with vs_total_ac_bits is messed up on the
first couple loop iterations, leading to AC underflows.

the b->prev[] pointers were not being maintained correctly. We
potentially have to update b->prev[] both before and after the area
whose VLC length is getting adjusted.

this also might fix the ppc regression failure?

patch by (Dan Maas <dmaas maasdigital com>)

Originally committed as revision 5064 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-25 22:58:26 +00:00
Måns Rullgård
1bd8624697 kill some warnings
Originally committed as revision 5063 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-25 22:41:31 +00:00
Loren Merritt
285b570fd2 fix a memory leak on seeking.
Originally committed as revision 5062 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-25 22:15:24 +00:00
Michael Niedermayer
7bdb4f67bc 10l (forgot EOBs)
Originally committed as revision 5059 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-24 09:16:26 +00:00
Michael Niedermayer
6661b2130d dont lowwer qnos of more blocks then needed
Originally committed as revision 5055 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-23 13:05:37 +00:00
Antoine Cellerier
88d6903e23 Give a hint about what is the expected the data type of command line options.
Patch by Antoine Cellerier < dionoea AaH via pOiS ecp PoIs fr >
Original thread:
Date: Nov 1, 2005 7:41 PM
Subject: [Ffmpeg-devel] libavcodec help

Originally committed as revision 5054 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-23 10:07:41 +00:00
Michael Niedermayer
d2d230a756 fixing dv_guess_qnos()
roman, dont hesitate to reverse this and solve it differntly if you want ...

Originally committed as revision 5053 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-23 08:56:53 +00:00
Michael Niedermayer
fe78f7cdaa print a big warning if we mess up and run out of space ...
Originally committed as revision 5052 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-23 00:16:45 +00:00
Loren Merritt
85ed1022b3 minor simplifications in cabac_mb_type
Originally committed as revision 5048 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-22 05:59:44 +00:00
Luca Barbato
5cb9fda4b0 Fix AltiVec H.264 decoding on FSF gcc.
patch by Luca Barbato, lu_zero aatt gentoo ddoott org

Originally committed as revision 5046 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-21 22:24:19 +00:00
Alex Beregszaszi
1319a77b01 added none/8bit/24bit audio formats and defaulting to s16 for now (once the system works like pix_fmt, the defaulting should be changed to SAMPLE_FMT_NONE)
Originally committed as revision 5045 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-21 22:05:13 +00:00
Alex Beregszaszi
a1db1fc445 explain extradata and pass avctx to av_log's
Originally committed as revision 5042 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-21 00:03:10 +00:00
Kostya Shishkov
b0ca57356e ZMBV 15-/16-/32-bit decoding. 24-bit mode is disabled because it's not
implemented in the DosBox/ZMBV codec either.
patch by Konstantin "Kostya" Shishkov

Originally committed as revision 5041 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-20 23:22:02 +00:00
Erik Slagter
277fe2294f pass noise reduction option to x264
patch by Erik Slagter <erik at slagter name>

Originally committed as revision 5040 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-20 19:01:29 +00:00
Erik Slagter
b0ec9efd7a Increase maximum number of B-frames, necessary for H.264 encoding.
patch by Erik Slagter, erik at slagter .... name

Originally committed as revision 5039 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-19 22:44:35 +00:00
Michael Niedermayer
c2ca19d7f9 RMP4 ("xvid fork") decoding support
Originally committed as revision 5035 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-19 10:20:27 +00:00
Falk Hüffner
1b137298fa Change license header to LGPL for consistency.
Originally committed as revision 5029 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-17 19:48:11 +00:00
Mike Melanson
2637670144 complete AVS playback system (from Creature Shock computer game),
courtesy of Aurelien Jacobs <aurel at gnuage dot org>

Originally committed as revision 5028 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-17 03:17:42 +00:00
Loren Merritt
db8a64cba0 don't arbitrarily limit delta_qp
Originally committed as revision 5026 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-16 01:16:12 +00:00
Aurelien Jacobs
2433f24f60 add Creative 8 bits ADPCM schemes support
Originally committed as revision 5024 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-16 00:09:23 +00:00
Loren Merritt
8b03135958 fix some crashes on negative nalsize.
Originally committed as revision 5022 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-14 05:40:53 +00:00
Loren Merritt
171c407621 fix some crashes when missing frames
Originally committed as revision 5019 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-13 18:13:13 +00:00
Måns Rullgård
8b2121e3de move common parts of makefiles into common.mak
Originally committed as revision 5015 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-13 12:53:25 +00:00
Alex Beregszaszi
8170e5fb49 increase audio buffer to 1second of 48khz float audio
Originally committed as revision 5013 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-13 12:00:27 +00:00
Mike Melanson
eff22cc98b add another set of zlib guards
Originally committed as revision 5008 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-12 17:47:30 +00:00
Mike Melanson
1927cd41e0 make TSCC endian-safe, PPC testing courtesy of Diego B.
Originally committed as revision 5007 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-12 16:56:06 +00:00
Mike Melanson
9c8d8e84e0 dosbox native ZMBV decoder, courtesy of Kostya
Originally committed as revision 5000 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-12 08:53:29 +00:00
Mike Melanson
4e114829b1 complete American Laser Games MM playback system, courtesy of Peter Ross
(suxen_drol at hotmail dot com)

Originally committed as revision 4999 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-12 06:49:40 +00:00
Alex Beregszaszi
a24c4a2ae4 tta decoder, tested with 44khz mono and stereo (for the latter use ffplay or change MAX_AUDIO_FRAME_SIZE)
Originally committed as revision 4996 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-12 02:15:19 +00:00
Diego Biurrun
1a9150b194 Move libpostproc compilation to the top-level Makefile.
Originally committed as revision 4993 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-11 21:42:11 +00:00
Diego Biurrun
26d469117f Quote all installation paths to protect against spaces in the path.
Originally committed as revision 4992 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-11 20:54:40 +00:00
Diego Biurrun
a44a8bb818 libpostproc installs into a different directory that needs to be created.
Originally committed as revision 4991 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-11 20:53:55 +00:00
Diego Biurrun
08842d13dd 100l typo: forgotten $
Originally committed as revision 4989 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-11 20:40:01 +00:00
Jindřich Makovička
63a5b0b1ae - fix insufficient code length for exp_vlc
- move vlc tweaking parameters to one place

Originally committed as revision 4987 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-11 19:39:05 +00:00
Diego Biurrun
dc2a1ce5c0 Simplify header installation.
Originally committed as revision 4986 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-11 19:30:55 +00:00
Diego Biurrun
b12f8273fa Separate library install into static and shared installation.
Originally committed as revision 4983 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-11 18:50:45 +00:00
Diego Biurrun
f29f3b5d9f Separate header file installation from the general install target.
Originally committed as revision 4981 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-11 17:44:06 +00:00
Diego Biurrun
c86eb7ae86 Add installlib and install-headers targets like everywhere else.
Originally committed as revision 4977 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-11 16:50:45 +00:00
Diego Biurrun
d9c2bab2f8 Install static libpostproc if CONFIG_PP is set.
Originally committed as revision 4976 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-11 16:46:09 +00:00
Diego Biurrun
b1d2a364d7 Install libpostproc headers if CONFIG_PP is set.
Originally committed as revision 4975 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-11 16:17:27 +00:00
Alexander Strasser
5c4b1b2538 Don't use pow/powf functions where we just need integer arithmetic.
approved by Benjamin

Originally committed as revision 4973 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-10 11:59:38 +00:00
Loren Merritt
ef9d1d1575 h264: special case dc-only idct. ~1% faster overall
Originally committed as revision 4971 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-10 06:55:25 +00:00
Måns Rullgård
100a74222b use get_bits1/skip_bits[1] in ac3 and aac parsers
Originally committed as revision 4969 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-10 01:19:54 +00:00
Michael Niedermayer
ee7388c934 fix segfault on broken streams
Originally committed as revision 4966 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-09 09:38:03 +00:00
Loren Merritt
4e295993ba 10l in 1.12
Originally committed as revision 4965 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-09 02:43:23 +00:00
Loren Merritt
c0234aa44c slightly faster loopfilter
Originally committed as revision 4958 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-08 07:04:32 +00:00
Måns Rullgård
4accd1fd18 bump version numbers and update docs for adts aac support
Originally committed as revision 4957 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-08 01:11:48 +00:00
Måns Rullgård
86db37df52 create adts stream if CODEC_FLAG_GLOBAL_HEADER not set
Originally committed as revision 4956 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-08 01:10:07 +00:00
Måns Rullgård
da46276ff8 adts aac parser
Originally committed as revision 4954 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-08 00:50:22 +00:00
Måns Rullgård
79b0b66ba0 decode adts aac streams
Originally committed as revision 4953 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-08 00:30:58 +00:00
Loren Merritt
6ee669732d 10l (x86_64)
Originally committed as revision 4952 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-07 16:10:48 +00:00
Loren Merritt
e545f37527 18% faster put_h264_qpel16_mc[13]2_mmx2
Originally committed as revision 4951 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-07 10:52:25 +00:00
Loren Merritt
c03ce51dfb 11% faster put_h264_qpel16_v_lowpass_mmx2
Originally committed as revision 4950 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-07 07:35:03 +00:00
Loren Merritt
0331f09237 15% faster put_h264_qpel16_hv_lowpass_mmx2
Originally committed as revision 4949 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-07 06:25:14 +00:00
Michael Niedermayer
8cb90572a2 1 goto 1 fix
Originally committed as revision 4946 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-06 11:21:26 +00:00
Benjamin Larsson
2e9c78d354 Fix broken cosmetics commit and add a check for valid headers.
Originally committed as revision 4945 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-06 11:21:10 +00:00
Benjamin Larsson
7f129a33b1 Small cosmetics and better variable names.
Originally committed as revision 4944 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-06 11:03:37 +00:00
Steve L'Homme
68b51e58ce MSVC-compatible __align8/__align16 declaration
patch by Steve Lhomme, steve .dot. lhomme .at. free .dot. fr

Originally committed as revision 4942 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-05 13:35:17 +00:00
Alexander Strasser
04c669ba98 Correct the relation between floors of type 0 and block sizes.
Originally committed as revision 4941 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-05 10:16:20 +00:00
Michael Niedermayer
809b2a30b2 simplify
Originally committed as revision 4940 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-04 22:18:45 +00:00
Michael Niedermayer
82fcbc145d faster find_startcode()
Originally committed as revision 4939 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-04 20:32:02 +00:00
Alexander Strasser
f9c5c13af5 Cosmetic: Fix indentation.
Originally committed as revision 4935 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-04 10:04:13 +00:00
Alexander Strasser
536b48b258 10l (malloc check with the wrong pointer)
Simplification: I have to reconsider this trees and forest thing...

Also readded and documented the check i had in the beginning and removed
before applying. It avoids a possible div by zero.

Originally committed as revision 4934 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-04 09:59:48 +00:00
Alexander Strasser
43eb59087b Added support for vorbis files containing floor type 0.
Originally committed as revision 4933 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-04 08:55:34 +00:00
Michael Niedermayer
d8a91afd36 output last ac3 frame and simplify
Originally committed as revision 4926 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-02 18:38:47 +00:00
Michael Niedermayer
e2a5fd2049 os2 thread, network and freetype2 support by (Paul Smedley | paulat a t smedleydot d o t info)
Originally committed as revision 4922 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-02 13:07:30 +00:00
Luca Abeni
7d453f4500 Set interlaced_frame and top_field_first according to coded_frame.
patch by Luca Abeni, lucabe72 **at&& email ^^dot## it

Originally committed as revision 4919 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-02 09:24:13 +00:00
Michael Niedermayer
81edbc1d49 list of supported pix_fmts
Originally committed as revision 4918 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-02 02:36:27 +00:00
Michael Niedermayer
98ddcd3989 JPEG-LS codec by (Kostya | kostya.forjunk gmail com)
Originally committed as revision 4917 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-02 02:28:33 +00:00
Diego Biurrun
b5bba45905 Fix silly typos.
Originally committed as revision 4915 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-31 00:17:13 +00:00
Dieter
efce1a8fea add static keyword to some functions
patch by Dieter <freebsd at sopwith solgatos com>

Originally committed as revision 4914 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-30 23:41:27 +00:00
Dieter
ceaf1909c1 add static keyword to some functions
patch by Dieter <freebsd at sopwith solgatos com>

Originally committed as revision 4913 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-30 23:33:19 +00:00
Dieter
ed96aeea64 long is better than int for pointer differences
patch by Dieter <freebsd at sopwith solgatos com>

Originally committed as revision 4911 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-30 22:59:09 +00:00
Diego Biurrun
320d060ae9 On MinGW it is not possible to build shared and static libraries at once.
Add means to disable building the static libraries and fix a few issues
with the MinGW build.
All the hard work done by Alexander Strasser, minor changes by myself.

Originally committed as revision 4909 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-30 00:22:41 +00:00
Diego Biurrun
c0af384013 Simplify LDFLAGS handling for MinGW.
Originally committed as revision 4907 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-29 18:32:55 +00:00
Dieter
1b47fafd9f make some functions static (patch by Dieter < freebsd at sopwith.solgatos.com >)
Originally committed as revision 4905 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-28 16:05:06 +00:00
Loren Merritt
fdb52bccf6 fix crash on height < 16 pixels.
Originally committed as revision 4904 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-28 00:57:59 +00:00
Corey Hickey
7e41c35436 Add a newline to b_frame_strategy error message.
Originally committed as revision 4903 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-27 23:24:24 +00:00
Michael Niedermayer
07fc2b8278 fixing bframe strategy 2
bits vs. bytes factor of 8 error
  16 byte offset error
  some other minor things

Originally committed as revision 4902 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-27 13:19:13 +00:00
Diego Biurrun
04c07634d6 Remove obscure Makefile.bak entry from distclean rules.
Originally committed as revision 4901 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-26 23:42:30 +00:00
Diego Biurrun
f038fe8b4a warning fixes by Luca Abeni, lucabe72 ##@## email ##.## it
Originally committed as revision 4898 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-25 22:10:13 +00:00
Michael Niedermayer
1953105102 10l forgot #ifdef CONFIG_XVID
Originally committed as revision 4895 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-25 02:16:27 +00:00
Michael Niedermayer
64b7c5b6f6 xvid ratecontrol support
Originally committed as revision 4894 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-24 21:57:26 +00:00
Diego Biurrun
4f59b684a6 Remove all stray tabs and trailing whitespace, this time for good.
Originally committed as revision 4891 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-24 10:33:14 +00:00
Baptiste Coudurier
c06e734a01 Mjpeg interlaced decoding fix, height was wrong while decoding (/2).
Patch by Baptiste Coudurier, baptiste _ coudurier at smartjog _ com.

Originally committed as revision 4885 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-23 06:40:08 +00:00
Corey Hickey
39a64e3023 sc_factor support for encoding.
Here's the description I'll add to the mplayer man page:
---
Causes frames with higher quantizers to be more likely to trigger a
scene change detection and make libavcodec use an I-frame (default: 1).
1-16 is a sane range.
Values between 2 and 6 may yield increasing PSNR (up to approximately
0.04 dB) and better placement of I-frames in high-motion scenes.
Higher values than 6 may give very slightly better PSNR (approximately
0.01 dB more than sc_factor=6), but noticably worse visual quality.
---

Original idea from Michael; patch by me.

Originally committed as revision 4883 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-22 20:54:52 +00:00
Reimar Döffinger
f53a2931cf faster copy functions for lzo decoder that also need padding
Originally committed as revision 4882 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-22 19:10:12 +00:00
Måns Rullgård
62327e2852 native ac3 parser
Originally committed as revision 4878 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-21 18:19:47 +00:00
Justin Ruggles
13c7145135 Implement audio cutoff frequency to the vorbis encoder.
Patch by Justin Ruggles jruggle earthlink net.

Originally committed as revision 4877 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-21 17:09:23 +00:00
Loren Merritt
48d1b9a17c fix convergence of snow iterative_me
Originally committed as revision 4876 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-21 02:35:03 +00:00
Loren Merritt
3de79d0dca revert 1.83 because it's not needed
Originally committed as revision 4875 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-21 02:33:01 +00:00
Benjamin Larsson
82863d1e02 Silence warnings, these came when some tables got declared as const.
Originally committed as revision 4873 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-20 23:06:35 +00:00
Måns Rullgård
806011f2ad place SPS/PPS in extradata if GLOBAL_HEADER flag is set
Originally committed as revision 4872 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-20 21:20:46 +00:00
Loren Merritt
d3ac6ed667 detect when iterative_me fails to converge, and stop searching
Originally committed as revision 4868 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-19 09:21:39 +00:00
Måns Rullgård
950c2790a2 interpret H264 VUI timing info correctly
work around bug in x264 build < 44

Originally committed as revision 4866 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-19 00:19:15 +00:00
Loren Merritt
b104969fab obmc-aware 4mv
Originally committed as revision 4864 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-17 08:27:39 +00:00
Diego Biurrun
98013cc16c Make clean/distclean consistent throughout all the Makefiles.
Originally committed as revision 4863 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-16 14:59:54 +00:00
Reimar Döffinger
d3c71c5002 10l, get_byte returning 0 on error can cause a hang. So let's try with 1 instead...
Originally committed as revision 4862 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-15 21:33:06 +00:00
Diego Biurrun
29a10be0d4 Don't use 'rm -f *$(SLIBSUF)' in a clean rule, $(SLIBSUF) might be empty.
Remove all possible shared libs suffixes instead.

Originally committed as revision 4860 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-15 00:28:36 +00:00
Diego Biurrun
69e9b2cf45 Define separate version number for libpostproc.
Originally committed as revision 4859 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-14 18:17:19 +00:00
Diego Biurrun
ba64106a39 Remove redundant --enable-shared-pp configure option and make the PP code
use the standard --enable-shared option.

Originally committed as revision 4858 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-14 18:07:36 +00:00
jwestfall@surrealistic.net
dd1a74d25d Off by one fix to prevent possible segfault. Patch by jwestfall at surrealistic dot net.
Originally committed as revision 4857 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-14 17:43:22 +00:00
Diego Biurrun
4bdd05e76f Move library name generation to configure, simplifies build system a bit more.
Originally committed as revision 4856 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-14 15:54:58 +00:00
Diego Biurrun
1c7a8c17ff Fix a bunch of spelling/grammar mistakes in doxygen comments and output.
Originally committed as revision 4855 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-14 15:00:10 +00:00
Reimar Döffinger
a9318df2f8 get_byte may not return -1 on error, since it can lead to a negative backptr.
Originally committed as revision 4854 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-14 14:59:11 +00:00
Reimar Döffinger
d66fbc14de Wrong state handling causing decompression errors in some cases
Originally committed as revision 4852 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-14 12:55:20 +00:00
Diego Biurrun
f3b6010916 Create symbolic links for all library sonames and clean up Makefiles.
based on a patch by Luca Barbato < lu_zero -- at -- gentoo -- dot -- org >

Originally committed as revision 4851 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-14 03:39:02 +00:00
Diego Biurrun
45e63d13d5 CamStudio video decoder
Originally committed as revision 4849 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-14 01:33:17 +00:00
Diego Biurrun
fa30d08202 Change this Makefile to be consistent with all the others.
Originally committed as revision 4844 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-13 00:53:36 +00:00
Diego Biurrun
dfd15b6e4f minor consistency fix
Originally committed as revision 4843 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-13 00:47:16 +00:00
Diego Biurrun
5509bffa88 Update licensing information: The FSF changed postal address.
Originally committed as revision 4842 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-12 22:43:26 +00:00
Michael Niedermayer
c8a596d210 bugs found by valgrind
Originally committed as revision 4841 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-12 21:37:57 +00:00
Reimar Döffinger
517840c654 Our own LZO (1X) implementation, under LGPL and optimized for readability.
Tested on CamStudio sample files.

Originally committed as revision 4840 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-12 17:52:41 +00:00
Loren Merritt
1015631b79 faster iterative_me: avoid duplicate mc of neighboring blocks.
Originally committed as revision 4839 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-12 05:47:52 +00:00
Diego Biurrun
fb3d46da69 Move Darwin shared library build peculiarities to configure.
Originally committed as revision 4838 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-12 00:00:00 +00:00
Luca Abeni
14f0c8e28a Parameter added for user to set the cutoff frequency when encoding with faac.
Patch by Luca Abeni - lucabe72 at email dot it.

Originally committed as revision 4837 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-10 20:07:29 +00:00
Reimar Döffinger
e0f80bd744 CamStudio decoder, only 32 bit lzo mode is tested
Originally committed as revision 4836 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-09 15:41:39 +00:00
Loren Merritt
e8b562087d tweak h264_biweight
Originally committed as revision 4835 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-09 03:38:37 +00:00
Loren Merritt
70abb40759 tweak inlines.
Originally committed as revision 4834 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-09 03:15:53 +00:00
Diego Biurrun
32504425d0 consistency cosmetics
Originally committed as revision 4833 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-09 02:08:24 +00:00
Loren Merritt
8bf755d4ff 10l: bidir_refine didn't save the new mvs. also improve speed.
Originally committed as revision 4832 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-09 02:08:12 +00:00
Jacob Meuser
62e60aed8d Make shared lib name handling consistent with the other Makefiles.
patch by Jacob Meuser <  jakemsr  ..@..  jakemsr  ...  com  >

Originally committed as revision 4831 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-09 02:05:17 +00:00
Benjamin Larsson
946c113046 get_vlc -> get_vlc2 transition and get_vlc() removed from bitstream.h
Originally committed as revision 4829 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-08 21:19:39 +00:00
Benjamin Larsson
fb9cb0b8c4 get_vlc -> get_vlc2 transition.
Originally committed as revision 4828 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-08 19:31:21 +00:00
Benjamin Larsson
52fa37f17c get_vlc -> get_vlc2 transition.
Originally committed as revision 4827 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-08 17:09:05 +00:00
Nico Sabbi
a305b82d42 install dsputil.h, that is used by many filters in mplayer
Originally committed as revision 4825 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-08 14:53:37 +00:00
Michael Niedermayer
80e44bc3bf use h264 MC functions for 2xX Xx2 blocks in snow too
Originally committed as revision 4824 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-08 01:50:34 +00:00
Benjamin Larsson
51bb91cb24 Incorrect check removed.
Originally committed as revision 4823 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-07 23:38:17 +00:00
Michael Niedermayer
2692ceab8b use h264 MC functions for rectangular blocks too
Originally committed as revision 4821 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-07 18:34:19 +00:00
Michael Niedermayer
39277cf949 10l (assertion failure)
Originally committed as revision 4819 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-07 03:39:10 +00:00
Roman Shaposhnik
aa06658248 Moving dv_anchor back to the global scope. This creates a tiny memory
leak for cases like dlopening libavcodec.so and such, but I still
   don't know how to catch such events.

Originally committed as revision 4818 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-06 19:19:39 +00:00
Diego Biurrun
faf824dfd1 Comment out WMV3 decoder for now, it crashes on every file and causes
bug report spam.

Originally committed as revision 4817 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-06 13:18:31 +00:00
Benjamin Larsson
560b10a6c3 Dual mono stereo strems sound ok now, added sanity checks and removed
some unused variables and redundant memsets.
Patch by Benjamin Larsson

Originally committed as revision 4816 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-06 12:41:57 +00:00
Mike Melanson
609009913d ugly, but necessary
Originally committed as revision 4814 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-05 06:58:36 +00:00
Michael Niedermayer
3b6ab26c01 cleanup
fix 4mv playback distortions

Originally committed as revision 4813 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-04 22:34:11 +00:00
Tom Joseph
ee0d2803ec H.263: more descriptive error message
patch by Tom Joseph < tom-lists @@ @ @@ jambon @@ dot @@ ll @@ dot @@ cx >

Originally committed as revision 4812 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-04 17:07:30 +00:00
Michael Niedermayer
27c61ac53d 8x8 integer dct from x264 as cmp function (under CONFIG_GPL)
if this gives better quality then SATD then someone should port the x86 code too or maybe we could even just call it from libx264
the 4x4 one could be tried too ...

Originally committed as revision 4811 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-04 16:31:23 +00:00
Benjamin Larsson
7022003581 Fix an out of array access and some minor cleanup of the code.
All available cook samples decode correctly now.
patch by Benjamin Larsson < banan ** at ** student ** dot ** ltu ** dot ** se >

Originally committed as revision 4810 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-04 12:48:10 +00:00
Michael Niedermayer
1499e0bee9 av_freep() recommandition
Originally committed as revision 4809 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-04 09:42:37 +00:00
Diego Biurrun
87f50d2733 Make all tables static const.
Originally committed as revision 4808 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-04 03:01:05 +00:00
Diego Biurrun
bf3027c87b TrueSpeech compatible audio decoder by Konstantin Shishkov
Originally committed as revision 4803 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-03 02:30:38 +00:00
Loren Merritt
ab2e3e2c80 fix asymmetric CQMs with pre-transposed DCT.
Originally committed as revision 4799 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-31 14:14:38 +00:00
Loren Merritt
f23af3d825 CQM: fix fallback to JVT scaling lists
Originally committed as revision 4798 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-31 13:20:24 +00:00
Loren Merritt
11d86c979c direct mvs in B_8x8 mbs were set too early.
Originally committed as revision 4797 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-31 11:31:53 +00:00
Loren Merritt
f1f17e54ea fix direct_8x8_inference_flag with 4x4 mvs.
Originally committed as revision 4796 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-31 10:11:37 +00:00
Loren Merritt
cec9395977 fix some potential arithmetic overflows in pred_direct_motion() and
ff_h264_weight_WxH_mmx2().

Originally committed as revision 4795 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-30 23:47:41 +00:00
François Revol
003cd80df9 :%s/check_block_2p/check_block_inter/g
Originally committed as revision 4794 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-30 22:41:32 +00:00
François Revol
52137f2f43 this fixes compilation with gcc 2.95 which seems to not like array casting... special case inline of check_block which makes the array and passes it
Originally committed as revision 4793 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-30 21:05:44 +00:00
Michael Niedermayer
13705b69eb mem corruption fix
Originally committed as revision 4789 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-30 15:12:02 +00:00
Michael Niedermayer
88e51e1fb5 second try of improved lambda/qp guessing for motion estimation RD in first pass
Originally committed as revision 4785 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-29 15:46:23 +00:00
Robert Swain
58f7833e8e update x264 wrapper.
patch by Robert Swain.

Originally committed as revision 4784 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-29 07:24:23 +00:00
Michael Niedermayer
d6f41eeddc 4mv + iter ME 10l fix (still not bugfree but better)
Originally committed as revision 4783 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-29 02:17:51 +00:00
Michael Niedermayer
735f9f34fe 10l
Originally committed as revision 4782 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-28 23:45:16 +00:00
Michael Niedermayer
51d6a3cf00 iterative overlapped block based motion estimation for snow
Originally committed as revision 4781 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-28 15:43:53 +00:00
Reimar Döffinger
b6204677f6 Fix wma2 audio decoder
Patch by Reimar Doeffinger

Originally committed as revision 4779 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-27 19:58:04 +00:00
Burkhard Plaum
c842aa378d Fix DV memory leak and allow multiple instances patch by (Burkhard Plaum?)
approved by Roman Shaposhnik

Originally committed as revision 4777 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-25 22:38:21 +00:00
Michael Niedermayer
e8501c93b5 support downscaling frames for dynamic b frame decission
Originally committed as revision 4776 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-25 18:34:02 +00:00
Michael Niedermayer
c9ab8df88a 10l (didnt remove option from old ones after converting to AVOption)
Originally committed as revision 4775 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-25 17:43:52 +00:00
Michael Niedermayer
984b8e4de1 b frame strategy 2
Originally committed as revision 4774 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-25 17:30:52 +00:00
Michael Niedermayer
aaaa6f1549 dont discard least significant bits
Originally committed as revision 4773 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-25 16:34:12 +00:00
Michael Niedermayer
aacb6acc8a hmm did i mess the scaling of these up at some point?
anyway, this change decreases bitrate and increase PSNR by ~1.00 on my test file, other files also benefit significantly

Originally committed as revision 4771 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-24 23:47:29 +00:00
Michael Niedermayer
b7c51ebc89 slightly better mv_penalty table
Originally committed as revision 4770 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-24 03:12:07 +00:00
Michael Niedermayer
d4f0c2fcc3 10l (segfault fix)
Originally committed as revision 4769 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-23 19:05:48 +00:00
Michael Niedermayer
316a2ec84c bidir refine support
Originally committed as revision 4768 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-23 16:25:00 +00:00
Michael Niedermayer
377798d6bd minor typo
Originally committed as revision 4767 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-23 00:40:52 +00:00
Michael Niedermayer
82b019cefd better f_code guessing in 2nd pass
Originally committed as revision 4766 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-22 22:48:09 +00:00
Michael Niedermayer
50c6f6cd4c improved lambda/qp guessing for motion estimation RD in first pass
this only affects encoding with bframes and rate control

Originally committed as revision 4765 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-22 14:17:54 +00:00
Diego Biurrun
bb270c0896 COSMETICS: tabs --> spaces, some prettyprinting
Originally committed as revision 4764 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-22 01:10:11 +00:00
Diego Biurrun
64c968daaa Add some comments to #ifdef #else #endif blocks and fix wrong ones.
Originally committed as revision 4762 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-21 17:50:40 +00:00
Michael Niedermayer
a2f3431fc4 also autodetect xvid idct if bitexact is used
Originally committed as revision 4761 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-21 15:51:45 +00:00
D Richard Felker III
762b5cd50c 10l to michael for breaking gcc 2.95 compile :)
Originally committed as revision 4760 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-20 23:07:25 +00:00
Michael Niedermayer
daba69b211 10l
Originally committed as revision 4758 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-19 18:26:17 +00:00
Michael Niedermayer
8ed9f9ab32 use correct qp & lambda for ME on the second pass
Originally committed as revision 4757 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-19 13:41:27 +00:00
Michael Niedermayer
2ceff404b5 forgot
Originally committed as revision 4756 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-19 03:08:08 +00:00
Michael Niedermayer
71160c55e0 fix q=0 bug
Originally committed as revision 4754 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-18 19:59:33 +00:00
Jindřich Makovička
9944fb97c4 new qscale type to distinguish H264
Originally committed as revision 4753 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-18 13:29:09 +00:00
Michael Niedermayer
5639729bed unfinished jpeg-ls codec (feel free to finish it ...)
Originally committed as revision 4752 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-18 13:17:44 +00:00
Michael Niedermayer
a42bed52ca typo
Originally committed as revision 4751 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-18 11:41:32 +00:00
Michael Niedermayer
6baac1afd6 fix custom matrix permutation if xvid idct is autoselected and you have bad luck
Originally committed as revision 4750 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-18 02:23:19 +00:00
Diego Biurrun
115329f160 COSMETICS: Remove all trailing whitespace.
Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-17 18:14:38 +00:00
Michael Niedermayer
63d33cf439 bitstream related fixes from [PATCH] from DivX, Part 9: bitstream crashes by (Steve Lhomme | slhomme divxcorp com)
Originally committed as revision 4747 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-17 11:31:56 +00:00
Michael Niedermayer
725e38777f wrong sizes, part of [PATCH] from DivX, Part 9: bitstream crashes from (Steve Lhomme | slhomme divxcorp com)
Originally committed as revision 4746 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-17 11:29:34 +00:00
Mike Melanson
e84a047525 correctly deal with the alpha channel in 32-bit QT RLE (courtesy of John
Koleszar <jkoleszar at on2.com>)

Originally committed as revision 4743 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-14 08:02:03 +00:00
Mike Melanson
0c3ee78f91 correctly handle very large Cinepak frames (courtesy of John Koleszar
<jkoleszar@on2.com>)

Originally committed as revision 4742 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-14 00:19:01 +00:00
Måns Rullgård
4733abcbf3 use PRIxN, %zd, %td formats where needed
Originally committed as revision 4740 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-12 01:56:46 +00:00
Måns Rullgård
7e491fa5f9 remove unused variables
Originally committed as revision 4738 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-12 01:42:06 +00:00
Loren Merritt
ab470fa73b recognize some more nal types
Originally committed as revision 4734 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-11 02:16:21 +00:00
Benjamin Larsson
b7c24ff668 This patch adds some support for non-joint stereo streams. It also
removes some fixmes.
Patch by Benjamin Larsson

Originally committed as revision 4733 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-11 00:56:39 +00:00
Guillaume Poirier
f6d1338cb5 Add the rest of missing Reg_* macros to support both AMD-64 style regs and IA32 regs.
Not used yet, but should be once the SIMD code to accelerate Snow decoding is merged.

Originally committed as revision 4731 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-10 22:53:44 +00:00
Luca Barbato
5a872801d5 SONAME support for shared libs
patch by Luca Barbato < .. lu_zero .. @@ .. gentoo .. . .. org .. >

Originally committed as revision 4730 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-10 17:14:24 +00:00
Benjamin Larsson
e0f7e32970 Cook compatibe decoder, patch by Benjamin Larsson
Add cook demucing, change rm demuxer so that it reorders audio packets
before sending them to the decoder, and send minimum decodeable sized
packets; pass only real codec extradata fo the decoder
Fix 28_8 decoder for the new demuxer strategy

Originally committed as revision 4726 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-09 16:08:18 +00:00
Michael Niedermayer
60d76256cb psnr calculation with threads>1 fix
Originally committed as revision 4725 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-07 18:21:16 +00:00
Roberto Togni
a4893bafd8 Support for samples with fft_order = 7
Fail init for unknown fft order, to prevent an array overflow
Output sound high-pitched compared to binary. Sample here
http://a1862.g.akamai.net/7/1862/14448/v1/esa.download.akamai.com/13452/qt/ESA_VenusExpress_110K_Stream.mov

Originally committed as revision 4724 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-06 17:42:16 +00:00
Roberto Togni
db795a1c57 Remove duplicated fft init
Originally committed as revision 4723 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-06 16:58:03 +00:00
Michael Niedermayer
4393e6392c check block_max_depth (fixes crash)
Originally committed as revision 4718 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-03 14:20:03 +00:00
Michael Niedermayer
91aa4e3300 make selftest code compile again
Originally committed as revision 4717 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-03 03:07:54 +00:00
Michael Niedermayer
c7622f9a28 default_get_buffer() cleanup
fixes probably exploitable heap overflow
heap overflow found by (Simon Kilvington <s D kilvington A eris D qinetiq D com>)

Originally committed as revision 4714 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-02 00:12:37 +00:00
Måns Rullgård
9fa62f2aad BMP image decoder
Originally committed as revision 4711 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-11-30 01:40:50 +00:00
Guillaume Poirier
348e52c91d Make DV(B|D) subtitles (en|de)coders be conditonnaly compiled depending on the configure system
Original thread:
Date: Nov 20, 2005 9:25 PM
Subject: [PATCH] make dvdsub encoder depend on config variables

Originally committed as revision 4709 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-11-21 20:03:35 +00:00
Ivan Kalvachev
31a78b718b Mark all 12 block unused when there are no coded blocks
Fixes 422/444 artifacts

Originally committed as revision 4708 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-11-20 23:09:05 +00:00
Wolfram Gloger
689abe56fe dvbsub encoder, patch by Wolfram Gloger < wmglo AH dent POIS med POIS uni-muenchen POIS de >
Original thread:
Date: 8 Oct 2005 09:35:38 -0000
Subject: [Ffmpeg-devel] [PATCH] dvdsub encoder -- 2nd version

Originally committed as revision 4706 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-11-14 22:17:29 +00:00
Alex Beregszaszi
52ceae0624 10l, left debugging on
Originally committed as revision 4705 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-11-13 20:12:33 +00:00
Matthieu Castet
2da2ba037a Correctly skip unknown matrices (patch by Matthieu Castet) and disable comment reading
Originally committed as revision 4704 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-11-13 20:06:31 +00:00
Alex Beregszaszi
7146d2c267 Fixing theora _again_. DONT BOTHER BREAKING THIS AGAIN. Added support for Theora 3.4 and stream created by Elphel cameras are decodable.
Originally committed as revision 4703 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-11-13 17:59:21 +00:00
Alex Beregszaszi
dd36b66722 fixed long standing off-by-one bug (fixes playback on ppc)
Originally committed as revision 4702 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-11-13 17:48:27 +00:00
Alex Beregszaszi
2b18752c28 mode_code_vlc_table size mismatch
Originally committed as revision 4701 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-11-13 17:46:21 +00:00
Loren Merritt
ea15df8048 use sse16_sse2() in nsse
Originally committed as revision 4688 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-11-12 05:23:25 +00:00
Reimar Döffinger
a0ed075b29 clear the whole vert_pred buffer for 24 bit decoding.
This is currently not needed since the decoder creates only half of the
pixels, but should reduce confusion for people fiddling with it *g*

Originally committed as revision 4687 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-11-10 18:05:45 +00:00
Mike Melanson
4b7e4bedd6 improvements by Reimar Döffinger; 24-bit decoding is not perfect, only
the left half of the frame is painted, but the area that is painted
looks correct

Originally committed as revision 4686 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-11-10 13:54:32 +00:00
Loren Merritt
3165e258b1 fix a crash on seeking to an invalid frame
Originally committed as revision 4685 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-11-10 04:40:49 +00:00
Måns Rullgård
68dce79b00 revert incorrect change
Originally committed as revision 4683 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-11-09 19:18:20 +00:00
Michael Niedermayer
af8aa846fa check MPV_frame_start() return value
Originally committed as revision 4682 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-11-09 11:29:29 +00:00
Steven M. Schultz
3712092e76 s/log2/av_log2/
patch by Steven M. Schultz <sms at 2bsd com>

Originally committed as revision 4681 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-11-09 08:50:55 +00:00
Fredrik Orderud
25f8db58ee Put double-quotes around the install path in the "install-headers" section
of the makefiles for libavcodec, libavformat and libavutil.
Fixes installing into paths with spaces in them, i.e. Windows.
patch by Fredrik Orderud < fredrik . orderud -- at -- idi . ntnu . no >

Originally committed as revision 4680 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-11-07 01:32:29 +00:00
Kostya Shishkov
7c017693c9 Two tables in truemotion1data.h were slightly different from VpVision
source. This patch fixes decoding of some samples from Phantasmagoria 2
(they use delta tables N1, not N0 as the rest of files).
patch by the author, Kostya Shishkov
< kostya -- dot -- shishkov -- at -- gmail -- dot -- com >

Originally committed as revision 4679 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-11-05 19:03:07 +00:00
Michael Niedermayer
a75a3ca429 frame skip fixes
fix 16pixel error in comparission
 fix vbv messup
 fix unlimited skip intervals, limited by GOP now

Originally committed as revision 4678 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-11-05 00:16:03 +00:00
Roberto Togni
c555392a5b Place qdm2 and truemotion2 in ifdef block so that they can be disabled
Originally committed as revision 4676 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-11-05 00:00:24 +00:00
Michael Niedermayer
ed57bb79e8 extradata endianness comment
Originally committed as revision 4674 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-11-04 23:24:24 +00:00
Loren Merritt
1fd97d8c1a tidier cabac_intra4x4_pred_mode
Originally committed as revision 4673 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-11-03 23:26:51 +00:00
Guillaume Poirier
d4de20d11c Typo fix
Originally committed as revision 4672 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-11-02 09:18:32 +00:00
Måns Rullgård
c7ea4f1903 no mixing of code and declarations
Originally committed as revision 4670 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-10-28 18:18:04 +00:00
Matthieu Castet
5b0e811a65 Make rle_code int everywhere instead of signed char.
Fixes playback of auth_generator-demo.mov, for rle_code == -128 the assignement
rle_code = -rle_code would overflow.
Patch by matthieu castet (castet matthieu (at) free fr)

Originally committed as revision 4669 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-10-28 16:01:12 +00:00
Loren Merritt
0f72508c10 25% faster deblocking, 4-6% overall.
Originally committed as revision 4668 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-10-28 06:37:32 +00:00
Loren Merritt
cd19c677cb fix a crash on dropped frames
Originally committed as revision 4667 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-10-27 21:03:36 +00:00
Loren Merritt
a6624e21cb faster h264_chroma_mc8_mmx, added h264_chroma_mc4_mmx.
2-4% overall speedup.

Originally committed as revision 4666 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-10-27 06:45:29 +00:00
Emiliano Parasassi
2c5ee47d84 avoid the registration of DECODERS if only CONFIG_DECODERS is not defined.
patch by Emiliano Parassassi < millallo AH tiscali -- it >
Original thread:
Date: Mon, 24 Oct 2005 13:03:01 +0200
Subject: [Ffmpeg-devel] [PATCH] avoid registration of decoders if only encoders are choosed

Originally committed as revision 4664 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-10-26 12:51:10 +00:00
Loren Merritt
56edbd818a 10l: cqm weren't initialized in svq3.
Originally committed as revision 4662 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-10-26 03:58:06 +00:00
Loren Merritt
239ea04ccf decode custom quant matrices.
based on a patch by anonymous, with optimizations by me.

Originally committed as revision 4660 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-10-25 01:17:20 +00:00
Diego Biurrun
fe9a734c82 Add DTS_INC to the CFLAGS for DTS. This is only set by external configure
programs (such as the MPlayer one) and thus somewhat hackish.  We already
do this for things like MLIB_INC and IPP_INC so it should be acceptable.

Originally committed as revision 4659 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-10-23 18:16:53 +00:00
Roberto Togni
291b3ef4fb Increase version because of QDM2 decoder addition
Originally committed as revision 4654 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-10-20 20:04:45 +00:00
Steve L'Homme
065148e773 init_get_bits() requires size in bits, not bytes
Patch by Steve Lhomme ||| steve | lhomme >at< free | fr |||

Originally committed as revision 4653 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-10-19 22:27:34 +00:00
Guillaume Poirier
9918aa24e4 revert useless patch that was supposed to fix DTS support (but the fix belongs to MPlayer, not FFmpeg)
Originally committed as revision 4652 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-10-19 18:42:37 +00:00
Roberto Togni
3135258e19 QDM2 compatible decoder
Originally committed as revision 4650 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-10-18 20:31:12 +00:00
Roberto Togni
d9b1c197e5 QDM2 compatible decoder
Originally committed as revision 4649 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-10-18 20:16:43 +00:00
Mike Melanson
48fa22d747 chroma decoding fix by Kostya
Originally committed as revision 4647 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-10-16 13:56:52 +00:00
Roberto Togni
e6885654eb Reverse patch 1.59->1.60, it break mp3 in ffplay and ffmpeg
Reversing approved by patch author

Originally committed as revision 4646 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-10-15 16:29:58 +00:00
Mike Melanson
adeba28193 TM2 fixes by Kostya
Originally committed as revision 4645 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-10-15 14:33:11 +00:00
Giacomo Comes
aa35d2647c Fix DTS support compilation issue. Patch by Giacomo Comes < comes AH naic POIS edu >
Original thread:
Date: Oct 6, 2005 4:27 PM
Subject: [Ffmpeg-devel] [PATCH] dts support compilation issue

Originally committed as revision 4644 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-10-14 18:17:47 +00:00
Mike Melanson
670924fd9e gcc 2.95 fix, courtesy of Luca Abeni
Originally committed as revision 4641 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-10-14 16:17:40 +00:00
Mike Melanson
515ae4760a support for FLX and DTA extensions in the FLIC format, courtesy of
Steven Johnson (mplayer -at- sakuraindustries.com)

Originally committed as revision 4639 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-10-13 04:35:31 +00:00
Mike Melanson
64af6168f7 Duck TrueMotion 2 video decoder, courtesy of Konstantin Shishkov
Originally committed as revision 4638 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-10-13 04:31:55 +00:00
Alex Beregszaszi
e134e10f37 set_se_golomb can only write 16bits, add a note about this (ok, maybe it's brain dead using it with more than 16bits, but..)
Originally committed as revision 4635 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-10-12 22:43:12 +00:00
Alex Beregszaszi
d10dc61682 sanity check whether dimensions are non-null
Originally committed as revision 4634 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-10-12 22:40:10 +00:00
Alex Beregszaszi
83254e245c removed unused CONFIG_AUDIO_NONSHORT
Originally committed as revision 4633 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-10-12 22:37:42 +00:00
Loren Merritt
b926572aa9 h264 mmx weighted prediction. up to 3% overall speedup.
Originally committed as revision 4630 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-10-09 23:38:52 +00:00
Diego Biurrun
5539733bed Ignore AMR directories.
Originally committed as revision 4629 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-10-06 12:13:25 +00:00
j@v2v.cc
c99dd23307 Move all definitions of external dependencies into configure instead of
defining it in configure and the Makefiles in a random fashion.
patch by j -- at -- v2v -- dot -- cc

Originally committed as revision 4628 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-10-04 11:19:08 +00:00
Loren Merritt
5693c08356 sse2 16x16 sum squared diff (306=>268 cycles on a K8)
faster 8x8 mmx ssd (77=>70 cycles)

Originally committed as revision 4623 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-30 02:31:47 +00:00
Loren Merritt
d90cbe5fe8 6% faster decode_cabac_residual
Originally committed as revision 4618 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-27 05:12:13 +00:00
diane_cartman@gmx.de
ca3b0d2719 13% faster decode_residual (cavlc).
patch by diane_cartman at gmx dot de.

Originally committed as revision 4617 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-27 04:46:45 +00:00
Diego Biurrun
4e159595b5 support for building dynamic libraries on Mac OS X
based on a patch by Lina Pezzella <J4rg0n -- at -- gentoo -- dot -- org>

Originally committed as revision 4616 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-26 10:05:13 +00:00
Michel Bardiaux
399d84012f Fix some #ifdef to allow building amr_wb alone.
patch by Michel Bardiaux < mbardiaux -- dot -- mediaxim -- dot -- be >

Originally committed as revision 4615 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-24 17:42:56 +00:00
Michel Bardiaux
288f1e6815 fix some pointer to intger without cast warnings (patch by Michel Bardiaux)
Originally committed as revision 4610 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-21 23:18:52 +00:00
Aurelien Jacobs
62ab0b7822 fix unused variable warnings
Originally committed as revision 4609 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-21 23:09:16 +00:00
Michael Niedermayer
12e9668119 replace a few mov + psrlq with pshufw, there are more cases which could benefit from this but they would require us to duplicate some functions ...
the trick is from various places (my own code in libpostproc, a patch on the x264 list, ...)

Originally committed as revision 4608 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-21 21:17:09 +00:00
Gábor Kovács
dc9f52602f Just noticed there is a memory leak in h264.c with the usage of rbsp_buffer.
Here is a patch which frees the rbsp_buffer in decode_end().
patch by (Gábor Kovács | picard / demoscene \ hu)

Originally committed as revision 4607 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-21 08:14:17 +00:00
Michael Niedermayer
8f196b14f5 changing a few options to AVOptions
Originally committed as revision 4603 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-20 21:43:45 +00:00
Michael Niedermayer
9061be9fb3 precautionary checks
Originally committed as revision 4602 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-20 18:51:12 +00:00
Michael Niedermayer
d2752a0ddf dont print NULL
Originally committed as revision 4600 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-20 12:57:20 +00:00
Diego Biurrun
7df6545556 Move lrintf implementation from libavcodec/dsputil.h to libavutil/common.h
where it makes more sense.

Originally committed as revision 4599 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-19 23:26:47 +00:00
Michael Niedermayer
0f88407075 set pts for h.263 decoding
Originally committed as revision 4598 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-19 12:03:51 +00:00
Diego Biurrun
344b825ceb Rename put_string to ff_put_string to avoid a symbol clash on Mac OS X.
Originally committed as revision 4597 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-18 21:21:01 +00:00
Michael Niedermayer
2118901192 print more time_base fps stuff if av_log level is at debug or above
print more likely correct fps
not sure if this is formated optimally ...

Originally committed as revision 4596 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-18 14:45:17 +00:00
Reimar Döffinger
357a28430a check return value of decode_cabac_mb_dqp, it is INT_MIN on error.
fixes crash with http://stud4.tuwien.ac.at/~e0326863/ats/bbc-sample_small.mpg
and MPlayer's broken packetizer (but will not decode right of course).

Originally committed as revision 4595 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-17 08:15:07 +00:00
Dario Andrade
18ae520b72 set more x264 encoding parameters
patch by Dario Andrade <dario at ip tv>

Originally committed as revision 4594 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-14 21:05:24 +00:00
Michael Niedermayer
fac862c659 the people want lower case ...
Originally committed as revision 4592 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-12 19:16:07 +00:00
Michael Niedermayer
6fd46414db dont include opt.h in avcodec.h
Originally committed as revision 4591 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-12 18:24:48 +00:00
Diego Biurrun
1471c6c2e8 CAREFULL --> CAREFUL typo fix
Originally committed as revision 4590 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-12 16:30:47 +00:00
Michael Niedermayer
ec9127c4a4 converting a few more options to AVOptions
Originally committed as revision 4587 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-12 12:07:08 +00:00
Michael Niedermayer
637b5326f3 convert some options in ffmpeg.c to AVOptions
Originally committed as revision 4586 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-12 10:23:52 +00:00
Michael Niedermayer
a1689e2f19 avoid stdio.h
Originally committed as revision 4585 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-11 23:19:57 +00:00
Michael Niedermayer
c44a131dc7 missing include noticed by g0th
Originally committed as revision 4582 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-11 14:39:33 +00:00
Michael Niedermayer
233f6f889e flags and named constants with type checking of course for AVOption
spliting AVOption specific stuff out of avcodec.h into opt.h

Originally committed as revision 4581 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-11 14:22:42 +00:00
Michael Niedermayer
8bbf6db98b AVOption API improvments
support AVOptions for encoding in ffmpeg.c

Originally committed as revision 4580 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-11 11:10:25 +00:00
Michael Niedermayer
434df899fe add xvid idcts to dct-test
Originally committed as revision 4576 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-10 23:00:13 +00:00
Reimar Döffinger
cd7af76d9e Fix compile without CONFIG_GPL, misplaced #endif caused a missing }.
Originally committed as revision 4575 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-10 19:30:40 +00:00
Michael Niedermayer
9f211bc6d7 remove unused table entries
change non portable table access

Originally committed as revision 4574 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-10 19:03:37 +00:00
Michael Niedermayer
ddabdfefa8 select xvid idct for xvid files if possible
Originally committed as revision 4573 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-10 17:09:54 +00:00
Michael Niedermayer
84740d5980 xvids mmx&mmx2 idcts
needed to decode xvid without some minor artefacts
under #ifdef CONFIG_GPL of course

Originally committed as revision 4572 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-10 17:01:30 +00:00
Michael Niedermayer
96b6ace22e dont be so picky with .mp4 ... fixes Mr&MrsSmith.mp4
Originally committed as revision 4571 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-10 01:13:10 +00:00
Alex Beregszaszi
8868d31065 use av_log in debug mode
Originally committed as revision 4570 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-07 19:15:48 +00:00
Michael Niedermayer
3735e82f2d AVOption enumeration support and some flags to classify AVOptions
Originally committed as revision 4568 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-06 21:32:18 +00:00
Måns Rullgård
79396ac685 Kill some compiler warnings. Compiled code verified identical after changes.
Originally committed as revision 4567 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-06 21:25:35 +00:00
Michael Niedermayer
d57d8cbc25 a few more raw yuv fourccs
Originally committed as revision 4565 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-06 15:02:43 +00:00
Michael Niedermayer
860a40c8a7 AVOption first try
Originally committed as revision 4563 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-06 12:51:56 +00:00
Loren Merritt
fbd312fd91 fix emulated edge motion compensation when resolution%16!=0
Originally committed as revision 4561 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-05 17:07:52 +00:00
Michael Niedermayer
f79432a26e set a few variables correctly
Originally committed as revision 4560 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-05 10:26:11 +00:00
Michael Niedermayer
1cef211dca AV_LOG_DEBUG vs. AV_LOG_ERROR
Originally committed as revision 4559 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-05 09:28:46 +00:00
Michael Niedermayer
3723f01c14 fixme note
Originally committed as revision 4557 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-04 09:04:52 +00:00
Michael Niedermayer
42661adfe6 pts must be in time_base units
Originally committed as revision 4556 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-04 09:03:01 +00:00
Michael Niedermayer
b983a5c608 print fourcc in a readable form if possible
Originally committed as revision 4554 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-03 20:36:24 +00:00
Michael Niedermayer
d3a9f79871 simplify (d&a) and (d&~a) calculation, hint by skal
Originally committed as revision 4552 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-03 09:17:30 +00:00
Michael Niedermayer
b5b65df7a9 add consts (this was in my local tree, dunno where it came from, probably forgoten from some const patch)
Originally committed as revision 4551 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-02 21:13:19 +00:00
Reimar Döffinger
6c0d606471 Document "us" parameter for PCM conversion functions.
Originally committed as revision 4550 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-02 20:04:03 +00:00
Reimar Döffinger
b461b3bc4a Support de-/encoding of 24 and 32 bit PCM (from and to internal 16 bit).
Originally committed as revision 4548 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-02 19:16:48 +00:00
Michael Niedermayer
16beae15f3 setting timebase in the encoder doesnt seem like a good idea
Originally committed as revision 4547 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-02 17:12:16 +00:00
Justin Ruggles
1ff8f2b36a fixed quality / vbr encoding patch by (Justin Ruggles, jruggle, earthlink net)
Originally committed as revision 4546 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-02 11:08:49 +00:00
Michael Niedermayer
4325ffd0a2 lowres support
Originally committed as revision 4545 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-02 08:30:26 +00:00
Michael Niedermayer
473a200d93 error concealment fix
Originally committed as revision 4543 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-01 00:15:12 +00:00
Michael Niedermayer
c619ff6daf optimizations
dc coeff rounding fix
class=3 num of bits fix
do interlaced check & idct only if CODEC_FLAG_INTERLACED_DCT

Originally committed as revision 4542 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-30 20:03:19 +00:00
Michael Niedermayer
95ae72b7e0 Compilation fixes part 1 patch by (Arvind R. and Burkhard Plaum, plaum, ipf uni-stuttgart de)
Originally committed as revision 4540 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-26 19:05:44 +00:00
Burkhard Plaum
5b2bf94340 Fix for memleak in dv.c patch by (Burkhard Plaum; plaum, ipf uni-stuttgart de)
Originally committed as revision 4539 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-26 15:41:28 +00:00
Michael Niedermayer
ba17363ff7 prevent assert failures and infinite loops with broken streams
Originally committed as revision 4538 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-25 00:01:57 +00:00
Michael Niedermayer
5b28c8c355 time_base description by Rich Felker | dalias, aerifal cx
Originally committed as revision 4536 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-21 22:31:01 +00:00
Michael Niedermayer
cc884a3506 reducing minimum supported picture size
Originally committed as revision 4535 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-21 22:17:41 +00:00
Justin Ruggles
c57c770db3 vbr audio encode patch by (Justin Ruggles: jruggle, earthlink net)
with changes by me
    int->float as video uses float too
    remove silent cliping to some per codec range, this should result in an error instead
    remove change to utils.c as its inconsistant with video

Originally committed as revision 4533 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-21 20:27:00 +00:00
Burkhard Plaum
32fbf33e61 Call av_free_static automatically before DLL unload patch by (plaum:ipf uni-stuttgart de)
Originally committed as revision 4532 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-21 19:50:22 +00:00
Michael Niedermayer
1cd89f276a segfault fix
Originally committed as revision 4531 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-21 15:44:59 +00:00
Michael Niedermayer
a1043f9c50 automatically remove mess
Originally committed as revision 4529 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-16 07:53:03 +00:00
Michael Niedermayer
7cbaa7bafa parse pict_type for streams in avi
fix mpeg4 parser so it outputs te pict_type
support header only parseing without repacking

Originally committed as revision 4527 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-15 15:58:21 +00:00
Mike Melanson
af9da83b0e automatically detect Cinepak data from Sega FILM/CPK files
Originally committed as revision 4525 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-14 18:39:59 +00:00
Wolfram Gloger
f0ff20a197 minor fixes for invalid audio data patch by (Wolfram Gloger: wmglo, dent med uni-muenchen de)
Originally committed as revision 4524 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-14 16:37:29 +00:00
Måns Rullgård
bf4e3bd2d0 kill a bunch of compiler warnings
Originally committed as revision 4522 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-14 15:42:40 +00:00
Ian Caulfield
bf01fb696d subs.diff fixes a couple of minor bugs in my DVB subtitle decoder, and also fixes a few
problems in the DVD decoder (the palette entries were being read
back-to-front, and the timing conversions were slighly off)
patch by (Ian Caulfield: imc25, cam ac uk)

Originally committed as revision 4520 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-14 01:15:27 +00:00
Michael Niedermayer
2eca4a44b1 set pix_fmt
Originally committed as revision 4518 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-13 21:34:24 +00:00
Mike Melanson
ca16618b01 tinfoil patch: no array is written to in bulk before counts are
validated; do not free frames that are not allocated; removed all of the
output modes that no one uses and only PAL8 remains

Originally committed as revision 4517 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-13 20:48:47 +00:00
Mike Melanson
485bb00108 removed a bunch of unused, sub-optimal code
Originally committed as revision 4516 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-13 18:49:01 +00:00
Mike Melanson
8458dab185 tinfoil patch: be more diligent about checking array boundaries before
writing to them

Originally committed as revision 4515 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-13 18:39:21 +00:00
Mike Melanson
b9029997d4 tinfoil patch: validate motion vectors and do not free frame on exit if
frame is NULL; also removed some ancient MC code that did not perform
half-pel C-plane MC

Originally committed as revision 4514 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-13 18:25:17 +00:00
Mike Melanson
a06c7e07d7 tinfoil patch: make sure pixel_ptr never goes negative
Originally committed as revision 4513 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-13 17:46:09 +00:00
Mike Melanson
6b892a4227 tinfoil patch: accept no widths that are no multiples of 4
Originally committed as revision 4512 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-13 17:12:38 +00:00
Mike Melanson
3c8c94b403 tinfoil patch: make sure that pixel pointer does not go out of bounds
Originally committed as revision 4511 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-13 16:59:01 +00:00
Måns Rullgård
a71a1dfc37 fix building in separate directory
Originally committed as revision 4509 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-13 13:45:42 +00:00
Kostya Shishkov
f63166f8df security fixes
* check for writing to lines -1,-2,...
* check for motion compensation (copying from and to valid place)
patch by (Kostya: kostya shishkov, gmail com)

Originally committed as revision 4508 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-13 09:12:09 +00:00
Edward Hervey
856170f752 DV video encoder/decoder doesn't set keyframe and picture type properties patch by (Edward Hervey:bilboed,gmail com)
Originally committed as revision 4503 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-11 01:28:04 +00:00
Michael Niedermayer
77b854883e mkstemp on win32 workaround by (Ivan Wong: email, ivanwong info)
Originally committed as revision 4495 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-06 09:46:04 +00:00
Steven M. Schultz
6987c58a0a liba52/crc.c fails to compile patch by ("Steven M. Schultz": sms, 2bsd com)
Originally committed as revision 4494 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-05 23:25:35 +00:00
Alex Beregszaszi
23972d5a6c 10l
Originally committed as revision 4493 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-05 19:15:34 +00:00
Michael Niedermayer
804b0dac58 segfault fix
Originally committed as revision 4491 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-04 22:46:27 +00:00
Alexander Strasser
c11c2bc20b libavutil: Utility code from libavcodec moved to a separate library.
Originally committed as revision 4489 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-01 20:07:05 +00:00
Michael Niedermayer
0cc64d3d1c fix assertion failure for mpeg2 encoding
Originally committed as revision 4488 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-01 20:01:41 +00:00
Michael Niedermayer
cdd106899f workaround 'colocated mv if colocated block is L1 predicted' bug in x264
Originally committed as revision 4487 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-01 14:47:07 +00:00
Michael Niedermayer
5aa083eec1 A.B.C versions
Originally committed as revision 4486 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-31 10:51:04 +00:00
Michael Niedermayer
e53222d19b try to check for nonsense time_base instead of setting fake one
Originally committed as revision 4485 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-31 10:00:25 +00:00
Michael Niedermayer
efbc614de0 check time_base.den for mpeg4
avoid zero time_base.* for h263

Originally committed as revision 4483 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-30 16:15:36 +00:00
Michael Niedermayer
2f300f8965 motion vector limit for mpeg2
Originally committed as revision 4482 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-27 13:16:35 +00:00
Diego Biurrun
51fd379af2 Reduce verbosity.
Originally committed as revision 4478 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-27 07:29:20 +00:00
Michael Niedermayer
8583bef871 fixing colocated mv if colocated block is L1 predicted for the temporal direct case
untested (none of the conformance streams laying around on my disk seems affected by this change)

Originally committed as revision 4477 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-27 00:15:55 +00:00
Michael Niedermayer
4866bd2b82 fixing colocated mv if colocated block is L1 predicted
fixes "H.264 decoding bug in either lavc/JM"

Originally committed as revision 4476 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-26 23:40:55 +00:00
Martin Boehme
acb22f9391 Fix for overflow issue in mpegvideo.c patch by (Martin Boehme: boehme, inb uni-luebeck de)
this integer overflow might lead to the execution of arbitrary code during encoding with threads

Originally committed as revision 4474 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-25 23:07:27 +00:00
Michael Niedermayer
ddebfb15dc thread mess check for avcodec_open/close()
Originally committed as revision 4472 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-25 14:35:01 +00:00
Michael Niedermayer
91d44ffc9a fix user data parsing code so it suppors pre1 and cvs
Originally committed as revision 4471 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-24 09:28:24 +00:00
Michael Niedermayer
d9dd7a0d2c minor user data reading bugfix
Originally committed as revision 4467 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-23 11:16:18 +00:00
Reimar Döffinger
cad4368af7 Add missing +1 in bounds check.
Originally committed as revision 4465 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-22 09:01:47 +00:00
Reimar Döffinger
4eecd5bc66 reset restart_count when restart_interval is set and fill the
MJpegDecodeContext with 0 on init.

Originally committed as revision 4464 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-22 08:48:00 +00:00
Michael Niedermayer
2e8f2c20c9 portable IEEE float/double read/write functions
Originally committed as revision 4458 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-19 14:25:23 +00:00
Michael Niedermayer
ea4377de8c portable IEEE float/double read/write functions
Originally committed as revision 4457 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-19 13:29:13 +00:00
Michael Niedermayer
4c1a012e9c dont pre allocate uselessly large buffer and dont ignore FF_INPUT_BUFFER_PADDING_SIZE
Originally committed as revision 4452 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-17 12:56:56 +00:00
Michael Niedermayer
e33943728e verify len field validity in mjpeg_decode_com()
Originally committed as revision 4451 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-17 11:27:00 +00:00
Michael Niedermayer
50e2450bc1 10l (forgot to commit this yesterday)
DVB subtitle decoder by (Ian Caulfield: imc25, cam ac uk)

Originally committed as revision 4449 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-17 09:22:51 +00:00
Michael Niedermayer
c6ec28b18c DVB subtitle decoder by (Ian Caulfield: imc25, cam ac uk)
Originally committed as revision 4448 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-17 00:28:12 +00:00
Michael Niedermayer
b194c327fc yamaha adpcm nibbles in the wrong order fix by (Vidar Madsen: vidarino, gmail com)
Originally committed as revision 4446 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-16 11:18:42 +00:00
Vidar Madsen
2ff4524e72 Add Yamaha ADPCM encoding/decoding patch by (Vidar Madsen: vidarino, gmail com)
Originally committed as revision 4442 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-15 06:51:36 +00:00
Michael Niedermayer
e0111b3243 more fine grained skip_frame
Originally committed as revision 4441 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-14 21:57:22 +00:00
Michael Niedermayer
8c3eba7c62 skip_idct
skip_frame
skip_loop_filter

Originally committed as revision 4440 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-14 21:39:36 +00:00
Michael Niedermayer
fec9ccb7e6 check for CODEC_CAP_DELAY in audio decoders too
Originally committed as revision 4439 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-14 15:30:39 +00:00
Michael Niedermayer
46044471a0 ffmpeg version should be "CVS"
Originally committed as revision 4438 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-14 14:34:39 +00:00
Michael Niedermayer
aa6ff39bb0 check len (should fix #1165694)
Originally committed as revision 4436 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-11 23:39:47 +00:00
Michael Niedermayer
1a55810e87 fix segfault (bug #1165640)
Originally committed as revision 4435 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-11 22:56:23 +00:00
Michael Niedermayer
472ea1284e fix infinite loop (suggested change by rjayne at convera dot com)
fixes bug #1160195

Originally committed as revision 4434 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-11 22:34:34 +00:00
Michael Niedermayer
02fb0d7c72 fix decoding of (broken) files with f_code=0
fix segfault if the first P frames header is damaged

Originally committed as revision 4432 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-11 22:15:03 +00:00
Michael Niedermayer
5b2ad9f520 segfault fix
Originally committed as revision 4430 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-11 00:43:21 +00:00
Michael Niedermayer
337afd1420 patch from http://www.freebsd.org/cgi/cvsweb.cgi/ports/multimedia/ffmpeg-devel/files/patch-libavcodec::x264.c
(math.h needed for log2() at least)

Originally committed as revision 4426 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-10 00:22:13 +00:00
Michael Niedermayer
32fe3ac0f9 Here is the patch suggested by: unkaggregate, users sf net
Main reason is: deltas in interframes need scaling by 3/4 before applying.
Detailed description is at:
http://sourceforge.net/tracker/index.php?func=detail&aid=1222099&group_id=16082&atid=116082
He also mentioned some samples at:
http://www.nerdgrounds.com/indeo21_test/
patch posted to ffmpeg-devel by (Kostya: kostya shishkov, gmail com)

Originally committed as revision 4425 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-09 21:39:29 +00:00
Alex Beregszaszi
41a33f51d2 100l - this has only worked on big endian
Originally committed as revision 4418 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-02 19:43:23 +00:00
Alex Beregszaszi
19d9ac8169 parenthesing to avoid compiler errors in the future - compared asm outputs, behaviour didnt changed
Originally committed as revision 4417 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-02 19:39:58 +00:00
Alex Beregszaszi
0ede2c556a print 'not working' message
Originally committed as revision 4416 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-02 19:28:32 +00:00
Alex Beregszaszi
282152b133 1l
Originally committed as revision 4414 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-02 19:10:30 +00:00
Sigbjørn Skjæret
4af5b6cdb0 Disable AltiVec IDCT for lowres decoding in lavc patch by (Sigbjørn Skjæret: cisc, broadpark no)
Originally committed as revision 4413 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-01 09:37:35 +00:00
Michael Niedermayer
73480a1552 off by 1 error bugfix
avoid adding duplicate global headers to the bitstream

Originally committed as revision 4410 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-29 08:41:01 +00:00
Gildas Bazin
eba9ae3cfc IWMMXT configure support + runtime selection patch by (Gildas Bazin, gbazin : altern org)
Originally committed as revision 4409 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-28 22:46:36 +00:00
Mark Weaver
ff547a52d2 WMA MAX_CODED_SUPERFRAME_SIZE too small patch by (Mark Weaver: mark-clist, npsl co uk)
Originally committed as revision 4407 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-28 14:56:16 +00:00
Michael Niedermayer
3f46995ca5 support extracting sps/pps from bitstream and putting it in extradata
Originally committed as revision 4403 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-28 08:13:23 +00:00
Michael Niedermayer
e679cd1ab0 fixing first_mb_in_slice if frame_mbs_only_flag==0 && mb_aff==0
Originally committed as revision 4402 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-28 06:45:41 +00:00
Michael Niedermayer
6b53b87e20 check mb_y
Originally committed as revision 4401 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-27 23:13:10 +00:00
Michael Niedermayer
3d15acf27b keep decoding nal units after an error
Originally committed as revision 4399 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-27 09:37:16 +00:00
Michael Niedermayer
80581e9887 x86_64 + PIC fix by (Jacob Meuser: jakemsr, jakemsr com)
Originally committed as revision 4397 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-27 00:55:29 +00:00
Michael Niedermayer
90ad92b39d support changing in bitstream global headers into extradata style and back
Originally committed as revision 4395 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-27 00:04:03 +00:00
Michael Niedermayer
718b27a7d0 tiny docs improvement which i apparebtly forgot to commit
Originally committed as revision 4394 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-26 23:04:59 +00:00
Guillaume Poirier
ee8f719308 GCC4 fix
Originally committed as revision 4388 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-23 20:24:25 +00:00
Michael Niedermayer
806bb93fe2 make decoder a little bit more tolerant to missing NAL units
Originally committed as revision 4385 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-19 23:33:09 +00:00
Falk Hüffner
2fdf9cb2fb Communicate proper aliasing to gcc (needed for 4.1).
Originally committed as revision 4384 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-19 21:46:14 +00:00
Diego Biurrun
bb628dae44 spelling fixes
patch by Peter Robinson pbrobinson @ at @ gmail . dot . com and myself

Originally committed as revision 4382 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-17 15:02:53 +00:00
Loren Merritt
36940eca76 H.264 lossless mode
Originally committed as revision 4381 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-17 08:24:35 +00:00
Ronald S. Bultje
7dc1bea30f non-avc h264 stream problems patch by ("Ronald S. Bultje" rbultje, ronald bitfreak net)
Originally committed as revision 4368 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-09 20:01:02 +00:00
Loren Merritt
1b7576e785 typo in cabac tables
Originally committed as revision 4360 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-08 00:40:41 +00:00
Michael Niedermayer
a7cc43047f apiexample fix by (Chip: szarlada, freemail hu)
Originally committed as revision 4357 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-07 20:57:15 +00:00
Michael Niedermayer
59d8efb340 uint_fast64_t emulation by (Wolfram Gloger: wmglo, dent med uni-muenchen de)
Originally committed as revision 4356 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-07 14:12:15 +00:00
Michael Niedermayer
8d204aa415 10l (dont read variables before they have been set)
Originally committed as revision 4355 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-05 15:51:20 +00:00
Måns Rullgård
fb3ca6ba3e remove mixed code/declarations
Originally committed as revision 4353 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-04 15:49:54 +00:00
Fabrice Bellard
240c1657dc subtitle codec type support
Originally committed as revision 4346 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-03 13:59:38 +00:00
Loren Merritt
43efd19a88 decode H.264 with 8x8 transform.
deblocking is still incorrect with 8x8+cavlc

Originally committed as revision 4339 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-02 21:15:20 +00:00
Loren Merritt
d2bb7db135 sort H.264 mmx dsp functions into their own file
Originally committed as revision 4338 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-02 20:45:35 +00:00
Michael Niedermayer
c26ae41db2 adding a few const
Originally committed as revision 4337 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-01 21:19:00 +00:00
Michael Niedermayer
435b0720a8 100l for myself (breaking amd64)
Originally committed as revision 4336 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-01 18:04:01 +00:00
Måns Rullgård
ca15919699 fix segfault if flush is called before the first frame
(I think that's it, and this fixes it)

Originally committed as revision 4335 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-01 12:03:25 +00:00
Michael Niedermayer
6510f43cf3 merge a few asm blocks so gcc cant unoptimize it (658->631 dezicycles on duron)
Originally committed as revision 4334 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-01 11:56:58 +00:00
Michael Niedermayer
987ae784e6 get rid of 2 movq (680 -> 658 dezicycles on duron)
Originally committed as revision 4333 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-01 11:36:32 +00:00
Michael Niedermayer
e4b36d4434 avoid one transpose (730->680 dezicycles on duron)
Originally committed as revision 4332 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-01 08:43:40 +00:00
Loren Merritt
85bbfcd4ee 10l (symbol mangling)
Originally committed as revision 4331 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-01 04:51:46 +00:00
Michael Niedermayer
1f3dbc09b1 add rounding bias before the horizontal idct (765->730 dezicyles on duron)
Originally committed as revision 4330 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-01 01:18:41 +00:00
Loren Merritt
1d62fc8560 MMX for H.264 iDCT (adapted from x264)
Originally committed as revision 4329 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-31 22:48:33 +00:00
Michael Niedermayer
5a408f91e6 decrease V_NB_BITS if possible
Originally committed as revision 4327 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-30 22:02:00 +00:00
Michael Niedermayer
f4e61cd194 more trivial optimizations
Originally committed as revision 4326 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-30 20:34:05 +00:00
Måns Rullgård
568d4b810f enable x264 multi-threading
Originally committed as revision 4325 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-30 20:34:02 +00:00
Michael Niedermayer
9a9d530126 maxdepth is supposed to be a constant, its faster if its too large then if its non constant
Originally committed as revision 4324 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-30 19:14:50 +00:00
Michael Niedermayer
de312e51d0 optimizations
Originally committed as revision 4320 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-30 15:03:06 +00:00
Michael Niedermayer
f56f96d80f faster float->short conversation
Originally committed as revision 4319 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-30 00:07:52 +00:00
Michael Niedermayer
e19ca8451d ilog() -> av_log2()
Originally committed as revision 4318 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-29 22:50:22 +00:00
Michael Niedermayer
13c2469d7f Vorbis sse fix by (Balatoni Denes: dbalatoni, programozo hu)
Originally committed as revision 4317 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-29 22:11:05 +00:00
Loren Merritt
6d1feb028f decode h264 end-of-slice flag
Originally committed as revision 4316 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-29 18:18:13 +00:00
Michael Niedermayer
3f3f8b2b75 cleanup
Originally committed as revision 4312 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-26 14:40:20 +00:00
Bernhard Rosenkränzer
6ad1fa5a49 Better ARM support for mplayer/ffmpeg, ported from atty fork
while playing with some new hardware, I found it's running a forked mplayer
 -- and it looks like they're following the GPL.

 The maintainer's page is here: http://atty.jp/?Zaurus/mplayer
 Unfortunately it's mostly in Japanese, so it's hard to figure out any
  details.

  Their code looks quite interesting (at least to those of us w/ ARM CPUs).

  The patches I've attached are the patches from atty.jp with a couple of
  modifications by myself:
  - ported to current CVS
  - reverted their change of removing SNOW support from ffmpeg
  - cleaned up their bswap mess
  - removed DOS-style linebreaks from various files

patch by (Bernhard Rosenkraenzer: bero, arklinux org)

Originally committed as revision 4311 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-26 14:32:46 +00:00
Michael Niedermayer
e18c1f19f6 AV_LOG_DEBUG is not a good default ...
Originally committed as revision 4307 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-26 08:57:13 +00:00
Zoltán Hidvégi
3072f0cb2e MMX code for (put|avg)_h264_chroma_mc8
Originally committed as revision 4305 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-25 08:05:41 +00:00
Mike Melanson
9c7154c7ae read loop filter limit values from Theora header, courtesy of Matthieu
Castet (castet.matthieu -at- free.fr)

Originally committed as revision 4304 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-24 14:21:42 +00:00
Jacob Meuser
f39e56a84b ldconfig as config.mak variable patch by (Jacob Meuser: jakemsr, jakemsr com)
Originally committed as revision 4303 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-22 23:58:58 +00:00
Michael Niedermayer
bb4c2140c2 libgsm warper by (Alban Bedel: albeu, free fr)
Originally committed as revision 4302 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-22 23:39:11 +00:00
Michael Niedermayer
ded8477def fix max b frames with b frame strategy 1
Originally committed as revision 4300 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-21 22:20:26 +00:00
Michael Niedermayer
0775c88f4e START/STOP_TIMER for ppc32 by (Luca Barbato: lu_zero, gentoo org)
Originally committed as revision 4298 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-21 21:37:07 +00:00
Mike Melanson
2935001c86 fix bugs in new loop filter code; also, refrain from filtering against
data that has yet to be rendered; still #if'd out, will revisit when
proper algorithm can be validated

Originally committed as revision 4297 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-21 19:31:16 +00:00
Michael Niedermayer
14ee9d1539 remove unused vp3 related function pointers
Originally committed as revision 4293 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-21 07:43:49 +00:00
Michael Niedermayer
720537282b disable broken loop filter optimization
melanson please test your optimizations before commiting!

Originally committed as revision 4292 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-21 07:35:15 +00:00
Mike Melanson
f44b08a5a0 apply the loop filter to fragments as they are rendered into the final
output

Originally committed as revision 4291 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-21 05:20:52 +00:00
Mike Melanson
dc4b78d9dd render by the slice rather than the plane
Originally committed as revision 4290 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-21 04:43:36 +00:00
Mike Melanson
7dc9ed1155 clean up some warnings and dead code
Originally committed as revision 4288 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-21 02:06:27 +00:00
Denes Balatoni
84a96d6a3d 1.) LGPL license mentioned
2.) Stack useage decreased by 64kb
3.) One more bug fixed
patch by (Balatoni Denes <dbalatoni.programozo@hu>)

Originally committed as revision 4287 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-21 01:17:20 +00:00
Mike Melanson
7f9926a45e another bitstream extraction to optimize: fixed-length motion vectors
Originally committed as revision 4286 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-21 01:12:41 +00:00
Mike Melanson
39922395d2 read Huffman tables from Theora header (patch courtesy of
Matthieu Castet <castet.matthieu at free.fr>)

Originally committed as revision 4284 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-19 23:59:10 +00:00
Loren Merritt
ba4ffc2b48 memory leak
Originally committed as revision 4282 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-19 19:11:40 +00:00
Måns Rullgård
2c57805831 accept old extradata format
Originally committed as revision 4281 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-19 11:45:10 +00:00
Måns Rullgård
d381c5054a fix decoding of multi-channel vorbis streams
Originally committed as revision 4280 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-19 11:41:41 +00:00
Michael Niedermayer
7beddb12d4 use O(number of non zero coeffs) instead of O(number of coeffs) storage for the coefficient colleting/reordering
Originally committed as revision 4279 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-19 10:48:36 +00:00
Loren Merritt
29860cc88c fix crash on negative POC
Originally committed as revision 4278 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-19 04:48:06 +00:00
Mike Melanson
d30769555f replace unpack_token() with a series of lookup tables
Originally committed as revision 4277 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-19 02:43:21 +00:00
Aurelien Jacobs
def4272a03 install libav(codec|format).pc/libpostproc.pc for pkg-config (original patch from <j at v2v.cc>)
Originally committed as revision 4276 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-19 00:17:50 +00:00
Michael Niedermayer
3b5ffe7a39 fix mpeg2 chroma_420_type
Originally committed as revision 4274 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-18 19:42:42 +00:00
Mike Melanson
f4daf33ee8 fix 4MV MC and reinstate new MC VLC
Originally committed as revision 4273 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-18 17:14:59 +00:00
Måns Rullgård
7919d97e6d fix shared libpostproc build
Originally committed as revision 4272 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-18 14:05:17 +00:00
Loren Merritt
5cf08f2393 H.264 deblocking optimizations (mmx for chroma_bS4 case, convert existing cases to 8-bit math)
Originally committed as revision 4271 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-18 09:17:22 +00:00
Michael Niedermayer
288774bbfc reduce size of Vp3Fragment from 32byte to 16byte
Originally committed as revision 4270 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-18 09:07:26 +00:00
Michael Niedermayer
b5da363592 optimizing rle decoding loops a little
Originally committed as revision 4269 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-18 08:48:11 +00:00
Michael Niedermayer
8aeadb903a disabling buggy optimizations
Originally committed as revision 4268 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-18 07:59:07 +00:00
Mike Melanson
d8278bab79 replace get_superblock_run_length() with a VLC table
Originally committed as revision 4267 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-18 00:11:49 +00:00
Mike Melanson
0ad72bdd5c use VLCs for in place of get_fragment_run_length(), get_mode_code(), and
get_motion_vector_vlc()

Originally committed as revision 4266 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-17 23:39:23 +00:00
Mike Melanson
4935b1b9eb signature has an 'x'
Originally committed as revision 4265 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-17 23:09:59 +00:00
Mike Melanson
b81f89490f Fraps FPS1 video decoder (v1 & v2), courtesy of Roine Gustafsson <roine
at users sf net>

Originally committed as revision 4264 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-17 22:47:34 +00:00
Michael Niedermayer
6f7aa5891d some optimizations gcc should have done (10% faster loop filter)
Originally committed as revision 4263 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-17 20:50:47 +00:00
Michael Niedermayer
ee408eadba SATURATE_U8 -> clip_uint8 (10% faster loop filter)
Originally committed as revision 4262 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-17 20:30:22 +00:00
Michael Niedermayer
0bde73d907 Vorbis decoder by (Balatoni Denes | dbalatoni programozo hu)
Originally committed as revision 4261 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-17 19:02:43 +00:00
Michael Niedermayer
5773a74669 porting the mmx&sse2 (sse2 untested) vp3 idcts to the lavc idct API
Originally committed as revision 4260 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-17 18:28:40 +00:00
Michael Niedermayer
1482fee88d remove duplicate zigzag tables
Originally committed as revision 4259 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-17 11:36:07 +00:00
Michael Niedermayer
36af0c959e fix idct permutation
Originally committed as revision 4258 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-17 11:31:57 +00:00
Michael Niedermayer
8b6103da0f porting vp3 idct over to lavc idct api
Originally committed as revision 4257 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-17 11:12:04 +00:00
Michael Niedermayer
ea191e08d6 remove permutation done to quant tables and then undone during idct
move permutation from idct to unpack_vlcs

Originally committed as revision 4256 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-17 09:18:49 +00:00
Michael Niedermayer
b178f758fa disabling vp3 mmx&mmx2 idcts, they must be ported over to the lavc idct API, ill port the vp3 c idct
Originally committed as revision 4255 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-17 09:11:48 +00:00
Michael Niedermayer
36661afe02 fix last coeff
Originally committed as revision 4254 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-17 08:46:40 +00:00
Michael Niedermayer
a2df5a50ae clear blocks after each idct instead of per picture
dont store the all zero coefficients of skiped blocks

Originally committed as revision 4253 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-17 00:52:29 +00:00
Ivan Kalvachev
1cf9f514dc parse and save hrd_fullness and range_map
Originally committed as revision 4252 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-16 23:11:38 +00:00
Michael Niedermayer
220a6f401d some benchmarking code
Originally committed as revision 4250 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-16 21:49:18 +00:00
Michael Niedermayer
d5e188359e various 10l fixes for the loop filter
Originally committed as revision 4249 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-16 17:22:36 +00:00
Ivan Kalvachev
42cc17f926 whitespace cosmetics
Originally committed as revision 4248 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-16 14:55:22 +00:00
Michael Niedermayer
7bad42cf59 fix dequant matrix
Originally committed as revision 4246 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-16 09:29:13 +00:00
Michael Niedermayer
0d175622d8 another try at decode_ref_pic_list_reordering()
Originally committed as revision 4245 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-15 01:40:34 +00:00
Måns Rullgård
3f9d3777b9 work with latest svn of x264
Originally committed as revision 4244 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-14 21:02:49 +00:00
Michael Niedermayer
89ba9eede9 preserve parse context
Originally committed as revision 4241 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-14 15:34:49 +00:00
Michael Niedermayer
6ab8721198 fill missing reference pictures with something to avoid assertion failure
Originally committed as revision 4240 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-14 00:04:11 +00:00
Michael Niedermayer
cf5c5c8f08 10l (%f vs. %Ld)
Originally committed as revision 4239 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-13 23:11:32 +00:00
Matthieu Castet
ba7ee4a460 fix theora header parsing
patch by Matthieu Castet <castet dot matthieu at free dot fr>

Originally committed as revision 4238 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-13 21:06:44 +00:00
Måns Rullgård
30344a83e0 remove/replace non-ascii characters
Originally committed as revision 4237 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-13 21:04:16 +00:00
Måns Rullgård
ad2b531d3f change extradata format for vorbis
Originally committed as revision 4235 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-13 18:10:23 +00:00
Michael Niedermayer
0444b02304 alignment fix by (Gábor Kovács >picard demoscene hu)
Originally committed as revision 4233 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-13 12:00:12 +00:00
Michael Niedermayer
d2cc7468f3 10l (mb_type uninitalized and then changed and overwritten)
Originally committed as revision 4232 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-13 08:17:25 +00:00
Michael Niedermayer
5cb46bc722 typo found by Chengji Zhao
Originally committed as revision 4231 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-12 23:34:23 +00:00
Michael Niedermayer
5085d59ddc arm alignment fix
Originally committed as revision 4228 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-12 18:54:03 +00:00
Ivan Kalvachev
25a0a0a58f few bistream fixes and verbosity tweaks
Originally committed as revision 4225 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-12 15:13:19 +00:00
Michael Niedermayer
4ad8ecd136 sanity check
Originally committed as revision 4224 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-12 10:15:19 +00:00
Michael Niedermayer
d9c780a8b7 some asserts()
Originally committed as revision 4223 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-12 08:44:17 +00:00
Michael Niedermayer
bf873ee62a b_frame_strategy sanity check
Originally committed as revision 4222 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-12 01:31:11 +00:00
Diego Biurrun
49d40989ff Add missing pp=ac to pp_help.
Originally committed as revision 4221 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-11 23:51:44 +00:00
Michael Niedermayer
160147ccfc fixing decoding of AlanKay-245.asf
Originally committed as revision 4219 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-11 17:13:42 +00:00
Måns Rullgård
aac064b5bd theora decoding using libtheora
Originally committed as revision 4218 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-11 16:42:15 +00:00
Michael Niedermayer
ef56de328f support the LE reader, so it can be tested a little
Originally committed as revision 4216 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-11 01:50:46 +00:00
Michael Niedermayer
cea27ac714 LE bitstream reader based upon a patch by (Balatoni Denes <dbalatoni programozo hu)
Originally committed as revision 4215 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-11 01:46:13 +00:00
Michael Niedermayer
0de1318a29 typo
Originally committed as revision 4214 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-10 21:02:20 +00:00
Roine Gustafsson
983ea0bc87 a few #ifdef CONFIG_X_ENCODER, patch by (Roine Gustafsson <roine users.sourceforge net]
Originally committed as revision 4213 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-10 20:39:11 +00:00
Michael Niedermayer
33f725723f optimization
Originally committed as revision 4212 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-10 19:54:38 +00:00
Michael Niedermayer
24dea064cc change macros to inline functions
remove redundant operations
remove silly 2 layer bswap_XX/ByteSwapXX system

Originally committed as revision 4211 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-10 10:05:44 +00:00
Michael Niedermayer
9cd8179818 #defines for strict_std_compliance and split between inofficial extensions and non standarized things
Originally committed as revision 4205 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-08 20:15:42 +00:00
Michael Niedermayer
c998bdd9a0 fix PIC
Originally committed as revision 4204 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-08 18:48:19 +00:00
Charles Yates
eb94aca926 support BUILDSUF patch by <charles dot yates at pandora dot be>
Originally committed as revision 4203 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-08 15:04:59 +00:00
Michael Niedermayer
1c02a9732a fix block corruption caused by clear_blocks() optimization
Originally committed as revision 4202 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-08 13:04:46 +00:00
Michael Niedermayer
6b51185c63 overflow fix
Originally committed as revision 4201 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-08 09:58:41 +00:00
Michael Niedermayer
1192ce3707 complain about mpeg4 limits only if codec_id == MPEG4
Originally committed as revision 4200 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-08 00:44:06 +00:00
Roine Gustafsson
44608ac7cd ff_reverse to utils.c patch by (Roine Gustafsson )roine users.sourceforge net)
Originally committed as revision 4199 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-07 19:24:07 +00:00
Michael Niedermayer
bda1c56c47 minor optimization of the h264 loop filter
Originally committed as revision 4198 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-07 16:35:24 +00:00
Michael Niedermayer
21be92bf4d reverse 1 hunk from 1.96->1.97, fixes decoding of (MR1_BT_A.h264 and MR1_MW_A.264)
Originally committed as revision 4197 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-07 11:07:47 +00:00
Michael Niedermayer
b712fb6740 fix decoding of conformace streams AUD_MW_E.264 and BA1_FT_C.264 again (there where last correctly decoded with h264.c rev 1.96)
Originally committed as revision 4189 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-06 17:04:03 +00:00
Michael Niedermayer
758082aff7 set time_base for variable fps too
Originally committed as revision 4187 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-06 14:36:15 +00:00
Michael Niedermayer
02af2269c0 check for error
Originally committed as revision 4183 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-05 20:05:41 +00:00
Kevin Baragona
893bc62480 Even More spelling errors. patch by (Kevin Baragona <kevinmb500 gawab com)
Originally committed as revision 4181 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-05 14:34:47 +00:00
Kevin Baragona
3b66c4c59a More spelling errors patch by (Kevin Baragona (kevinmb500 gawab com>)
Originally committed as revision 4180 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-05 14:17:28 +00:00
Justin Ruggles
132041f06f While adding stereo rematrixing, I came across something that needs to
be fixed even without adding the feature.  The output correctly uses 4
dummy values for the rematrixing flags in block-0, but the bit
allocation routine does not take these bits into account.  From what I
can tell, there was a patch in 2003 that corrected the output to make it
DVD and spec compatible, but it didn't correct the bit allocation.  It's
only 4 bits over the entire 6 blocks, so overflow errors would happen
rarely or never, but it's still worth fixing.  So here is a fix.

patch by (Justin Ruggles {jruggle earthlink net)

Originally committed as revision 4179 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-05 14:10:52 +00:00
Michael Niedermayer
725de25c4c fix segfault with 'ffmpeg -i 1.avi -cmp 257 -4mv 2.avi'
Originally committed as revision 4178 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-05 13:40:28 +00:00
Michael Niedermayer
5fddb9b382 GCC4 fix by (Keenan Pepper (keenanpepper gmail com)
Originally committed as revision 4177 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-05 12:37:38 +00:00
Loren Merritt
a55f20bd9a fix storage of motion vectors for frames with more than 4096 macroblocks.
Originally committed as revision 4175 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-03 21:49:18 +00:00
Loren Merritt
7c33ad19fd clear the DPB after seeking.
Originally committed as revision 4174 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-03 06:53:59 +00:00
Michael Niedermayer
8b975b7ca5 put most codecs under ifdefs
Originally committed as revision 4173 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-02 22:14:42 +00:00
Michael Niedermayer
422f4df8b2 #ifdefs around most register_avcodec
Originally committed as revision 4171 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-02 19:26:18 +00:00
Michael Niedermayer
c0df9d75bd switch to native time bases
Originally committed as revision 4168 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-30 21:43:59 +00:00
Michael Niedermayer
82c0c4ba78 print pix_fmt if its known instead of if the raw codec is used
Originally committed as revision 4162 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-25 18:41:38 +00:00
Michael Niedermayer
644a92626a PIX_FMT_NONE and related fixes
Originally committed as revision 4161 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-25 18:29:06 +00:00
Yartrebo
66b32bf272 tighter snow slicing patch by (Yartrebo || yartrebo earthlink net)
Originally committed as revision 4159 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-25 10:03:01 +00:00
Loren Merritt
42251a2a4f MMX for H.264 deblocking filter
Originally committed as revision 4158 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-25 01:01:41 +00:00
Michael Niedermayer
dee6dde669 avoid unneeded clear_blocks()
Originally committed as revision 4157 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-25 00:57:48 +00:00
Matthieu Castet
f9e0f2a206 extract from the subid the options
instead of doing a case where we should add lot's of versions.
patch by (matthieu castet {castet.matthieu free fr)

Originally committed as revision 4156 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-25 00:10:11 +00:00
Michael Niedermayer
9786bd4d94 fixing broken_rv20_1mb_.rm
Originally committed as revision 4155 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-24 22:08:31 +00:00
Loren Merritt
b80875c186 fix ref comparison in B-frame deblocker ('unused' and 'unavailable' were treated as different)
Originally committed as revision 4154 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-24 21:06:22 +00:00
Mike Melanson
160d679c07 Ministry of English Composition, reporting for duty (and the word is "skipped", not "skiped"; "skiped" would rhyme with "hyped")
Originally committed as revision 4153 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-24 17:21:11 +00:00
Kevin Baragona
dfb706da4d Spelling errors patch by (Kevin Baragona | kevinmb500 gawab com)
Originally committed as revision 4151 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-24 11:13:49 +00:00
Michael Niedermayer
bd0854596a typo fix by ("Todd.Kirby" doubleshot pacbell net)
Originally committed as revision 4150 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-24 11:08:07 +00:00
Michael Niedermayer
4719d1f381 Video-Galileo_small.rm fix by (matthieu castet # castet.matthieu free fr)
Originally committed as revision 4149 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-21 21:27:03 +00:00
Michael Niedermayer
2de4ba7ff7 avoid clearing block[] if its not used at all
Originally committed as revision 4148 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-21 21:23:22 +00:00
Loren Merritt
e2e5894a91 deblocking filter doesn't need to call fill_caches again. 1.4% faster decoding.
Originally committed as revision 4147 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-21 20:38:42 +00:00
Michael Niedermayer
dff0f03546 mpeg2_fast_decode_block_intra()
Originally committed as revision 4146 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-20 20:31:04 +00:00
Michael Niedermayer
8b39f75b8f simplify
Originally committed as revision 4144 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-20 10:16:19 +00:00
Michael Niedermayer
ee572c5482 remove duplicate clip to 8bit function
Originally committed as revision 4143 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-20 10:05:15 +00:00
Michael Niedermayer
f707a5ebba buffer overflows
Originally committed as revision 4142 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-20 09:52:04 +00:00
Michael Niedermayer
856dbbff7f Indeo 2 decoder by (Kostya <> kostya.shishkov gmail com)
Originally committed as revision 4141 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-20 09:42:47 +00:00
Michael Niedermayer
29df259923 optimizing non_intra ac coeff decode
Originally committed as revision 4140 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-19 11:37:01 +00:00
Mike Melanson
6f921f3100 remove superfluous CONFIG_ENCODERS (entire function is already wrapped)
Originally committed as revision 4139 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-19 04:29:11 +00:00
Michael Niedermayer
e91f4bf160 avoid UPDATE_CACHE() in GET_RL_VLC() if not needed
Originally committed as revision 4137 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-18 20:07:48 +00:00
Michael Niedermayer
5bb8a0daa1 various fixes related to the non alt_bitstream_reader
Originally committed as revision 4136 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-18 12:08:16 +00:00
Aurelien Jacobs
8230cf0210 add an AMD64 specific implementation of rdtsc()
Originally committed as revision 4135 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-18 11:24:20 +00:00
Bret Hughes
6c618a263d gcc 4 compilation fix
patch by Bret Hughes <bhughes at elevating dot com>

Originally committed as revision 4134 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-17 21:41:16 +00:00
Michael Niedermayer
4e492bf107 read 32bit instead of 64bit to avoid overreading and missalignments
Originally committed as revision 4133 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-17 13:30:45 +00:00
Yartrebo
8c2515bbb9 fix overflow in mc_block() patch by (Yartrebo )yartrebo earthlink net
Originally committed as revision 4132 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-17 09:27:53 +00:00
Michael Niedermayer
b44985ba12 store the number of runs to avoid storing the last run value
about 10% lower bitrate for -qscale 32 (forman & some music video)
worst case bitrate increase <0.1% (lossless or low qscale)
and now the bad news, even though this just adds a single subtraction and an if() into the medium sized unpack_coeffs() loop and the if() will only be false once per unpac_coeff() call, gcc produces 50% slower code, i didnt look at the generated asm yet, not sure if i want to ...

Originally committed as revision 4131 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-15 13:24:30 +00:00
Loren Merritt
2cd340438a allow 2pass ratecontrol. also fixes psnr displayed by mencoder.
Originally committed as revision 4130 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-15 05:54:47 +00:00
Michael Niedermayer
cbb1d2b161 replace complicated pointer dereference + index stuff by pointers in unpack_coeffs()
Originally committed as revision 4129 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-14 20:54:03 +00:00
Michael Niedermayer
99cd59e58f minor optimization
Originally committed as revision 4128 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-14 20:30:08 +00:00
Michael Niedermayer
3c096ac791 optimizing unpack_coeffs()
Originally committed as revision 4127 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-14 18:33:26 +00:00
Yartrebo
86e59cc01d Snow segfault bug in revision 1.43 patch by (Yartrebo /yartrebo earthlink net/)
Originally committed as revision 4126 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-13 01:57:19 +00:00
Måns Rullgård
f40487c282 s/u_char/uint8_t/
Originally committed as revision 4124 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-12 22:20:02 +00:00
Michael Niedermayer
f5a719287d rescale coefficients during IDWT, that way the lifting steps are much simpler and faster
Originally committed as revision 4119 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-10 14:21:53 +00:00
Michael Niedermayer
a0a74ad9f0 increasing precission of the quantization parameter
this is needed as the quantization stepsize for each subband is also in this precission and insignificant changes to the wavelet like scaling its coefficients slightly differently would lead to wildly variing PSNR and bitrate
note, a encoder could also simply choose to leave the least significant bits of the quantization parameters zero which would give the exact previous behaviour except a y very tiny number of bits in  the header

Originally committed as revision 4115 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-09 22:15:48 +00:00
Michael Niedermayer
c97de57c39 fix QROOT != 8
Originally committed as revision 4114 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-09 19:48:59 +00:00
Jindřich Makovička
a18ba90880 Fix upside-down picture for BGR24 images (fixes pig-loco-rgb.avi)
Patch by Jindrich Makovicka

Originally committed as revision 4112 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-08 21:34:48 +00:00
Roberto Togni
76d6abc17c Fix colors for YV12 case (u/v planes are swapped)
Fixes locoRGBA.avi (the file is really YV12, even if it's called RGBA)

Originally committed as revision 4111 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-07 22:02:28 +00:00
Loïc Le Loarer
debc2adb16 CABAC support for MBAFF I frames patch by (Loïc Le Loarer < lll+ffmpeg m4x org)
This patch corrects the support for I slice in CABAC and MBAFF mode.
This decodes correctly 6 more frames of the conformance suite.

Originally committed as revision 4109 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-05 18:29:26 +00:00
Michael Niedermayer
538a38418c 10% faster unpack_coeffs
Originally committed as revision 4108 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-05 17:59:05 +00:00
Michael Niedermayer
3cff4572ce fixing lossless snow
Originally committed as revision 4107 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-05 09:37:43 +00:00
Loïc Le Loarer
826de46ea3 CABAC support for MBAFF I frames patch by (Loïc Le Loarer | lll+ffmpeg m4x org)
Originally committed as revision 4106 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-05 01:35:22 +00:00
Benjamin Larsson
0979831511 printf -> av_log patch by (Benjamin Larsson <>banan student.ltu se)
Originally committed as revision 4105 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-04 21:47:50 +00:00
Michael Niedermayer
565a45ace3 merge vertical lifting steps and a little cleanup
Originally committed as revision 4104 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-04 21:35:18 +00:00
avcoder
a622dc4320 Typo errors patch by (QuickTime | ffmpeg gmail com>
Originally committed as revision 4103 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-04 11:25:44 +00:00
Ivan Kalvachev
aa26aa789b reinitialize on aspect change,
required for dvb aspect changes

Originally committed as revision 4102 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-03 17:34:31 +00:00
Yartrebo
a0d1931c0e Snow Slicing patch by (Yartrebo) yartrebo earthlink net
Originally committed as revision 4101 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-03 15:43:57 +00:00
Mike Melanson
589f82202c Autodesk Animator Studio Codec (AASC) video decoder, courtesy of
Konstantin Shishkov

Originally committed as revision 4099 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-03 05:02:08 +00:00
Kostya Shishkov
29846f4845 support some more color modes; patch by Kostya
Originally committed as revision 4097 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-01 04:30:31 +00:00
Mike Melanson
5b225466ea free that last frame
Originally committed as revision 4095 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-28 20:40:21 +00:00
Mike Melanson
034eeaa17f Westwood SND1 decoder, courtesy of Kostya
Originally committed as revision 4094 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-28 18:05:25 +00:00
Michael Niedermayer
09c3e44e8a motion estimation bitrate penalty compensation
Originally committed as revision 4092 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-27 12:19:59 +00:00
Loren Merritt
048bfeeb12 display deblocking strength in FF_DEBUG_PICT_INFO
Originally committed as revision 4091 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-27 10:58:21 +00:00
Loren Merritt
171070658e allow 16 refs with B-frames
Originally committed as revision 4090 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-27 10:54:16 +00:00
Loïc Le Loarer
6ba71fc467 This is the second patch for MBAFF support, this adds the deblocking
filter code for the I slice.

With this patch, 4 more frames are decoded correctly from the
conformance streams.
patch by (Loïc Le Loarer <lll+ffmpeg m4x org>)

Originally committed as revision 4088 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-27 00:44:11 +00:00
Loïc Le Loarer
3bf3d666a7 The cvs version 1.103 of h264.c brokes 13 conformance streams, this
patch corrects this and decodes the same streams as version 1.102.
patch by (Loïc Le Loarer <lll+ffmpeg m4x org>)

Originally committed as revision 4087 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-27 00:27:37 +00:00
Michael Niedermayer
083b80b53a replace custom bitstream reader with get_bits/vlc()
Originally committed as revision 4085 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-26 23:51:13 +00:00
Michael Niedermayer
fcbc799cd3 make reverse[] non static
Originally committed as revision 4084 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-26 23:50:14 +00:00
Mike Melanson
a8a15e9db2 Winnov WNV1 video decoder, courtesy of Konstantin Shishkov
Originally committed as revision 4083 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-26 20:32:55 +00:00
Michael Niedermayer
cec1f05fd7 check mb/me_threshold range, fixes assertion failure
Originally committed as revision 4082 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-26 18:10:44 +00:00
Michael Niedermayer
71434945f2 more checks, fixes assertion failure
Originally committed as revision 4081 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-26 17:01:49 +00:00
Michael Niedermayer
3ed4046fad create temporary file in current directory if it failed in /tmp
Originally committed as revision 4075 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-23 19:19:59 +00:00
Diego Biurrun
3e0fdf3745 Replace stray spaces by a tab.
Originally committed as revision 4074 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-23 14:10:22 +00:00
Michael Niedermayer
59fa3f96f4 support omiting various headers in mpeg4 as WMP seems to have difficulty with them
based upon 27_WMP_compatibility_with_ISOMPEG4.patch by (Calcium | calcium nurs or jp)
  indention fixed
  uses workaround_bugs instead of strict_std_compliancy as WMP is not the reference implementation

Originally committed as revision 4069 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-23 11:39:38 +00:00
Calcium
1ba02582a5 04_AMR_no_debug_output.patch by (Calcium | calcium nurs or jp)
Originally committed as revision 4062 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-22 18:28:15 +00:00
Michael Niedermayer
02dc898338 alignment fix
Originally committed as revision 4059 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-19 13:10:09 +00:00
Måns Rullgård
d4e87f79f0 indentation fix
Originally committed as revision 4058 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-19 12:30:01 +00:00
Måns Rullgård
f9791751e3 B frames and CABAC/CAVLC selection by Erik Slagter (erik at slagter dot name)
Originally committed as revision 4057 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-19 12:27:10 +00:00
Tuukka Toivonen
3da3c8d65e disable luma in postprocess filters patch by (Tuukka Toivonen |tuukkat ee.oulu fi)
fixed by myself

Originally committed as revision 4056 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-19 03:01:13 +00:00
Víctor Paesa
078a8dd66d ogg has to be at the right of vorbis patch by ("Víctor Paesa" wzrlpy hotmail com)
Originally committed as revision 4055 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-18 02:13:13 +00:00
Michael Niedermayer
8ca5d3bbf4 10l typo
Originally committed as revision 4053 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-17 21:35:50 +00:00
Luca Barbato
cc973ecbe7 add libdir support to configure patch by (Luca Barbato )lu_zero gentoo org)
Originally committed as revision 4050 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-16 19:11:58 +00:00
Måns Rullgård
68c6d60fdf set constant QP from AVCodecContext.global_quality.
set key_frame flag on coded_picture correctly.

Originally committed as revision 4045 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-16 13:09:30 +00:00
Loren Merritt
f9e6ebf7f9 slice-based idwt (10% faster decoding)
Originally committed as revision 4040 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-15 21:05:34 +00:00
Loren Merritt
0149db6668 10l (compile fix)
Originally committed as revision 4032 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-12 03:10:44 +00:00
Loren Merritt
4e4d983e8b Set keyframe flag only on IDR-frames (needed for reordering across I-frames).
Read vui bitstream restrictions (allows B-frame delay in advance, rather than waiting till we're out of order.)
Mark duplicate frames due to delay as duplicates.

Originally committed as revision 4028 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-11 02:14:44 +00:00
Mike Melanson
6d021b00e2 replace custom bit-reading functions with FFmpeg's internal function;
roll alac_file data structure members into ALACContext

Originally committed as revision 4027 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-10 05:34:10 +00:00
Michael Niedermayer
42ebf67d89 optimize & simplify
Originally committed as revision 4026 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-09 23:48:17 +00:00
Måns Rullgård
7c653cc988 Oops patch by (Måns Rullgård <mru inprovide com>)
Originally committed as revision 4025 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-09 19:46:31 +00:00
Michael Niedermayer
6662ec29a5 H.264 encoding with x264 by (Måns Rullgård <mru inprovide com>)
Originally committed as revision 4024 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-09 03:04:56 +00:00
Michael Niedermayer
d8a57c6db9 (10l) supported pix_fmts forgotten
Originally committed as revision 4022 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-08 20:35:27 +00:00
Michael Niedermayer
c1e292ea91 fixing playback of xvid pretending to be divx (sample_vop_nc.avi)
Originally committed as revision 4021 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-08 14:39:58 +00:00
Loren Merritt
885e88d252 remove an assert that was breaking compilation on some gccs.
Originally committed as revision 4020 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-07 09:05:33 +00:00
Michael Niedermayer
40c5fa2689 AVOption removial patch from (James A. Morrison >ja2morri csclub.uwaterloo ca>)
with minor changes from me

Originally committed as revision 4019 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-06 23:20:53 +00:00
Loic Le Loarer
6867a90b41 MBAFF I slice no deblocking patch by (Loic >>lll+ffmpeg m4x org<<)
Originally committed as revision 4018 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-06 23:02:25 +00:00
Michael Niedermayer
5df8a0c608 group audio codec ids
Originally committed as revision 4017 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-06 22:49:46 +00:00
Michael Niedermayer
9e42e70cd6 indeo3 for bigendian patch by (demo-n <demo-n users.sourceforge net)
Originally committed as revision 4016 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-06 20:07:41 +00:00
Michael Niedermayer
deb13e3c73 spam
Originally committed as revision 4015 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-06 19:59:37 +00:00
Måns Rullgård
26165f99c6 improved detection of "AVC1" style H.264 patch by (Måns Rullgård <mru inprovide com>)
Originally committed as revision 4013 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-06 19:40:12 +00:00
Mike Melanson
fc90504b99 get rid of nasty exit()'s so the decoder will only warn the user before
it runs off the end of a buffer; eventually, this should be replaced
with FFmpeg's internal bit reader which is hopefully more robust

Originally committed as revision 4012 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-06 14:48:50 +00:00
Falk Hüffner
647b610c6e -freduce-all-givs has been removed from gcc
Originally committed as revision 4011 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-06 14:42:10 +00:00
Mike Melanson
f770ee038f decoder works fine now, when fed properly-sized chunks by the demuxer;
cleaned up some cruft for this commit

Originally committed as revision 4010 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-06 07:00:24 +00:00
Mike Melanson
7ff85a81ed do not use a variable before proper initialization
Originally committed as revision 4009 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-06 06:22:24 +00:00
Mike Melanson
6d6d7970e7 first pass at ALAC decoder from David Hammerton; while David's original
decoder works great, this decoder is not completely and seamlessly
integrated yet with FFmpeg

Originally committed as revision 4008 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-06 00:43:55 +00:00
Torsten Martinsen
2a515c08f2 Support for AMR Interface Format 2 patch by ("Torsten Martinsen" <tma gatehouse dk>)
Originally committed as revision 4007 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-05 11:44:25 +00:00
Michael Niedermayer
27ef18d12f typo
Originally committed as revision 4006 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-05 03:37:19 +00:00
Michael Niedermayer
8c787559a2 mpeg-es bitrate parsing
Originally committed as revision 4005 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-05 03:36:32 +00:00
Loren Merritt
a18030bb62 10l (fix reordering when B-frames are not present)
Originally committed as revision 4004 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-05 00:14:21 +00:00
Loren Merritt
2f944356bf H.264: decode arbitrary frame orders and allow B-frames as references.
Originally committed as revision 4003 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-04 12:47:38 +00:00
Loren Merritt
3622988f21 oops, other half of the vismv patch
Originally committed as revision 4001 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-03 12:12:44 +00:00
Loren Merritt
b75e10d52c vismv didn't display 8x8 mvs in H.264
Originally committed as revision 4000 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-03 07:21:23 +00:00
Loren Merritt
e21f398378 vismb: display 4x4 partition boundaries in H.264
Originally committed as revision 3999 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-03 06:57:17 +00:00
Michael Niedermayer
ee89b2b9e7 04-vp3 fix(by matthieu castet).patch
Originally committed as revision 3998 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-03 02:24:20 +00:00
Michael Niedermayer
f86f4481d8 cast to uint32 as the table is uint32_t, this also worksaround a gcc or libc bug related to frexp()
Originally committed as revision 3997 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-02 20:46:06 +00:00
Mike Melanson
a54ea19a52 VP3 post-processing loop filter; disabled until the correct final step
is determined

Originally committed as revision 3996 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-01 06:14:45 +00:00
Mike Melanson
9c7fb60816 go LOCO, courtesy of Kostya Shishkov
Originally committed as revision 3995 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-01 02:24:58 +00:00
Loren Merritt
56b31a8ee2 10l (deallocated memory again)
Originally committed as revision 3994 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-28 05:27:21 +00:00
Sebastian Jedruszkiewicz
cdb2c1cacb indeo3 for bigendian patch by (elf at frogger dot rules dot pl Sebastian Jedruszkiewicz)
Originally committed as revision 3990 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-27 23:43:24 +00:00
Jindřich Makovička
655f688d54 support for negative strides
Originally committed as revision 3989 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-27 08:56:26 +00:00
Michael Niedermayer
f52072e3f0 10l (shorten.o missing)
Originally committed as revision 3985 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-26 03:40:29 +00:00
Michael Niedermayer
85ad569574 shorten decoder by (Jeff Muizelaar <jrmuizel gmail com>)
Originally committed as revision 3984 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-26 03:36:04 +00:00
Michael Niedermayer
8dd2a893dd set supported pix_fmts
Originally committed as revision 3982 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-25 15:06:21 +00:00
Loren Merritt
19fe8b4100 In-loop deblocking for B-frames.
Originally committed as revision 3979 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-25 07:40:29 +00:00
Måns Rullgård
88730be651 kill warnings patch by (Måns Rullgård <mru inprovide com>)
Originally committed as revision 3977 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-24 19:08:50 +00:00
Michael Niedermayer
53513831da -strict -1 comment fix
Originally committed as revision 3976 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-24 16:39:03 +00:00
Nilesh Bansal
5c5dea3f0c 01-makefile_fix_updated.patch
Adds --enable-theora/--enable-vorbis/--enable-ogg to configure
   If compiled WITHOUT --enable-theora, native VP3 decoder is used
patch by (Nilesh Bansal <nileshbansal gmail com>)

Originally committed as revision 3975 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-24 15:18:02 +00:00
Loren Merritt
738386a5ed 10l in implicit_weight_table
Originally committed as revision 3974 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-24 09:27:46 +00:00
anonymous
8da75fb272 - renaming the AC coding set variable names to more meaningful ones
- removed old MB decoding functions, and moved around macros to be used in
the previously unused code, which match better msmpeg4.c/whole MPV
framework
- cleaned (not yet functionnal, lots missing) DC prediction
- trying to pass the proper coded status to block decoder
patch by anonymous

Originally committed as revision 3973 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-23 17:24:17 +00:00
François Revol
3e459e39fa use av_free() instead of free() where it's meant to.
Originally committed as revision 3971 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-22 11:37:03 +00:00
Alex Beregszaszi
659c369256 macromedia flavour adpcm decoding (used in flv and swf)
Originally committed as revision 3969 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-21 19:27:32 +00:00
Alex Beregszaszi
58aa2b1d35 10l
Originally committed as revision 3967 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-21 17:52:23 +00:00
Josh Varner
fe533bb3a7 removing --disable-risky patch by (Josh Varner <jlvarner gmail com>)
Originally committed as revision 3966 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-21 17:50:48 +00:00
Loren Merritt
09f20d3786 Fix a crash when multiple metadata packets are present.
Originally committed as revision 3965 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-20 23:21:50 +00:00
Milan Cutka
d6c80d3633 Fixed decoding of 410p ffv1 files patch by (Milan Cutka <cutka szm sk>)
Originally committed as revision 3964 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-17 19:03:12 +00:00
Michael Niedermayer
ae2f1d4624 buffer overflows
one found by Milan Cutka
one by me

Originally committed as revision 3963 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-17 19:00:42 +00:00
Michael Niedermayer
c2d57a34d0 memleak fix
Originally committed as revision 3962 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-17 00:00:20 +00:00
Loic Le Loarer
e7e09b49b4 remove goto and reindent patch by (Loic Le Loarer <lll+ffmpeg m4x org>)
Originally committed as revision 3960 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-16 23:18:06 +00:00
Matti Hamalainen
aabdc46187 Off-by-one bug in libavcodec/idcinvideo.c, caused
segfaults on all .cin videos from Quake II.
patch by (Matti Hamalainen <mhamalai ratol fi>)

Originally committed as revision 3956 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-16 22:42:41 +00:00
Roberto Togni
d2a7718df9 Multichannel mp3 in mp4 support ISO/IEC 14496-3:2001/FPDAM 3 (MP3onMP4)
Derived from MPlayer patch by Larry Ruedisueli

Originally committed as revision 3955 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-15 20:58:32 +00:00
Michael Niedermayer
a8d02f2bc9 buffer overflow
Originally committed as revision 3954 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-13 23:36:04 +00:00
Martin Drab
4d9ae03b09 optimization and gcc 4.0 bug workaround patch by (Martin Drab >drab kepler.fjfi.cvut cz<)
Originally committed as revision 3945 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-07 17:09:48 +00:00
Loic Le Loarer
6fbcaaa0ef INTRA PCM macroblocks support patch by (Loic )lll+ffmpeg m4x org)
This patch adds the support for INTRA PCM macroblocks in CAVLC and CABAC
mode, the deblocking needed a small modification and so did the
intra4x4_pred_mode prediction.

With this patch, the 5 streams of the conformance suite containing INTRA
PCM macroblocks now decode entirely, 4 are completely corrects, 1 is
incorrect since the first B slice because of deblocking in B slice not
yet implemented.

The code is not optimized for speed, it is not necessary IPCM
macroblocks are rare, but it could be optimized for code size, if
someone want to do this, feel free.

Originally committed as revision 3941 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-07 00:10:28 +00:00
Michael Niedermayer
3f26d68aec emulate (idiotic) MS behavior for inconsistant dimensions
Originally committed as revision 3940 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-06 18:43:06 +00:00
Michael Niedermayer
1b781f82c9 support skiping some bitstream encoding
Originally committed as revision 3939 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-06 17:01:07 +00:00
Michael Niedermayer
09b0499f1b seperate bitstream encoding skip from PASS1 flag
Originally committed as revision 3938 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-06 10:36:07 +00:00
Michael Niedermayer
db2fcbbdb3 10l (use of deallocated memory)
Originally committed as revision 3936 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-04 11:53:35 +00:00
James A. Morrison
9a0a8d420d Build libpostproc out of source directory patch by (James A. Morrison >ja2morri csclub.uwaterloo ca>)
Originally committed as revision 3933 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-04 03:29:50 +00:00
Loic Le Loarer
0bf796340a H.264 multiple slice support in CABAC patch by (Loic (lll+ffmpeg m4x org)
3 more streams of the conformance suite decode to the
end instead of failing on an assert (CABACI3_Sony_B.jsv,
CABAST3_Sony_E.jsv and CABASTBR3_Sony_B.jsv), they are still false since
the first B slice probably because of deblocking in B slices not yet
implemented.

Originally committed as revision 3932 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-04 02:47:45 +00:00
anonymous
7cc84d241b - samples from mplayer ftp in the "adv" profile seem to have profile=2,
which isn't the advanced one; and indeed, using adv. profile parser fails.
Using normal parser works, and that's what is done
- attempt at taking care of stride for NORM2 bitplane decoding
- duplication of much code from msmpeg4.c; this code isn't yet used, but
goes down as far as the block layer (mainly Transform Type stuff, the
remains are wild editing without checking). Unusable yet, and lacks the AC
decoding (but a step further in bitstream parsing)
patch by anonymous

Originally committed as revision 3931 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-04 02:20:38 +00:00
Michael Niedermayer
44f1698a38 merge a few shifts into the dequantization, faster and more accurate, lets hope it doesnt overflow
Originally committed as revision 3930 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-03 03:28:27 +00:00
Michael Niedermayer
125d624610 optimizing imdct12
Originally committed as revision 3929 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-02 22:38:28 +00:00
Michael Niedermayer
6e0d8c06c7 mb_lmin/max to limit the per mb quality for the ratecontrol independant from the frame limits
Originally committed as revision 3928 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-02 19:33:48 +00:00
Christophe Massiot
957c743a23 Border processing adaptive quant patch by (Christophe Massiot |cmassiot freebox fr)
Originally committed as revision 3927 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-02 18:49:04 +00:00
Johan Bilien
ebaa7e0315 rtp_callback: send number of mb patch by (Johan Bilien {jobi via.ecp fr)
Originally committed as revision 3926 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-02 18:14:59 +00:00
Michael Niedermayer
ce4a29c066 optimize antialias
switch to integer antialias code as default as its faster now

Originally committed as revision 3925 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-02 01:37:33 +00:00
Michael Niedermayer
d04728bb57 faster, simpler and more accurate l3_unscale()
Originally committed as revision 3924 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-01 23:43:07 +00:00
Michael Niedermayer
711ae726f7 optimizing imdct36()
Originally committed as revision 3923 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-01 21:27:18 +00:00
Michael Niedermayer
c342499df2 make keyframe default for AVFrames
Originally committed as revision 3920 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-01 18:36:51 +00:00
François Revol
3c8e39f72d Stereo MACE fix by Burkhard Plaum <plaum AT ipf DOT uni-stuttgart DOT de>
Still doesn't work with our mov demuxer though...

Originally committed as revision 3919 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-01 15:13:27 +00:00
Michael Niedermayer
8845e427a7 10l (array gets padded with 0 which is CODEC_ID_NONE -> parsers claim to support CODEC_ID_NONE)
Originally committed as revision 3918 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-01 13:03:44 +00:00
Loïc Le Loarer
0d315f281c H.264 multiplce instance in reference list patch by (Loic <lll+ffmpeg m4x org )
With this patch, the streams CAWP5_TOSHIBA_E.264 and CVWP5_TOSHIBA_E.264
are completely decoded

Originally committed as revision 3917 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-01 11:26:11 +00:00
Loïc Le Loarer
dc032f3332 correct long term picture management patch by (Loic <lll+ffmpeg m4x org>)
fixes decoding of MR2_MW_A.264

Originally committed as revision 3916 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-01 11:12:53 +00:00
anonymous
bf2bc926f0 - a lot less overflows when decoding frames
- no more error with norm6 codes
- almost skipped frames (~110 bits) are not overflowed
However:
- there are very few bits left in those frames, so I wonder if enough MB
data is actually left
- NORM6/DIFF6 (4/5) bitplanes are a lot more present, which I don't find
obvious.
patch by anonymous

Originally committed as revision 3915 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-01 10:03:55 +00:00
anonymous
2ce151f898 Documentation patch by anonymous
Originally committed as revision 3914 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-01 09:51:49 +00:00
Roberto Togni
b2eef2f0ea Add 32bit RGB support
Originally committed as revision 3912 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-31 22:34:02 +00:00
Michael Niedermayer
e993bc03ac 10000l vbr mp3 fix
Originally committed as revision 3911 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-31 21:26:20 +00:00
Michael Niedermayer
a3a5f4d6c3 support 32bit output for the mpeg audio decoder
Originally committed as revision 3910 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-31 12:16:21 +00:00
Michael Niedermayer
b696d2a676 more accurate dequant of near zero coefficients
Originally committed as revision 3909 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-31 04:06:47 +00:00
Michael Niedermayer
84af4a7ee6 10l (missing overflow check)
Originally committed as revision 3908 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-31 03:14:22 +00:00
Michael Niedermayer
9da235c803 100000l (typos in the #define for selecting the NORM6 method -> wasnt compiled, after fixing typos new method doesnt even compile -> swicth back to old until its fixed)
Originally committed as revision 3907 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-30 22:28:11 +00:00
anonymous
5e424311dd - add another way to decode norm6 VLC; modify VLC_NORM6_METH0D define in
vc9data.h to select the behaviour
- modified decode_b_picture_primary_header so that
decode_bi_picture_header is no more required

Fixes:
- modifications for some more using of MpegEncContext
- fixed a bit frame type decoding
- switch from pointers to index for AC tables
- corrected P CBPCY decoding (p_cbpcy += 4)

patch by anonymous

Originally committed as revision 3906 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-30 21:54:20 +00:00
anonymous
0d33db8a4d In that patch:
- avctx and gb elements were removed from VC9Context, hence a larger diff
- some code was added to h263dec.c regarding CODEC_ID_WMV3 (should apply to CODEC_ID_VC9 too)
- VLC tables and other related tables were made global whenever this seemed necessary; appropriate changes were therefore made to other parts of the code using those tables
- the change for the bitplane management to a struct (some of them should eventually be mapped to MpegEncContext arrays) wasn't associated with the proper frees; should be fixed now
patch by anonymous

better names for globalized tables by me

Originally committed as revision 3905 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-30 16:34:57 +00:00
Michael Niedermayer
093c6e50c9 10l (didnt test code after cvs up ...)
Originally committed as revision 3904 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-30 14:10:30 +00:00
Michael Niedermayer
a7a858996f dithering for the mpeg audio decoder
Originally committed as revision 3903 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-30 14:04:56 +00:00
Michael Niedermayer
bd9ea6a462 fixing missaligned memory accesses in fill_rectangle()
Originally committed as revision 3901 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-30 02:16:50 +00:00
Michael Niedermayer
4b9ac0b5f0 require a few valid and equal mp3 headers for resync
Originally committed as revision 3900 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-29 23:59:32 +00:00
François Revol
f4ff1b92cc added a lock/unlock_lib pair to allow extern progs to serialize access to lavc.
Originally committed as revision 3899 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-29 20:09:33 +00:00
Alex Beregszaszi
bf1f4da01f exported ff_mpa_synth_filter for upcoming qdm2 decoder
Originally committed as revision 3897 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-28 19:54:10 +00:00
Michael Niedermayer
7d8b13b46b make decode012() static inline
Originally committed as revision 3895 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-28 11:21:57 +00:00
Michael Niedermayer
edaf11e87a 10l (negative strides)
Originally committed as revision 3887 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-26 17:04:34 +00:00
anonymous
0c040aacbe use dc tables from msmpeg4 instead of duplicating them patch by anonymous
Originally committed as revision 3886 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-26 12:01:35 +00:00
Michael Niedermayer
a64a006e95 dont duplicate decode012()
Originally committed as revision 3884 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-25 01:40:58 +00:00
Michael Niedermayer
6b250f09e8 check norm6 vlc validity as there are some bit sequences which dont corespond to any codeword, the other vlc tables all seem to be huffman tables though
Originally committed as revision 3883 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-25 01:29:10 +00:00
anonymous
e5540b3fd3 Fixes:
- i/p/b_decode_mbs functions now checks the proper values (from
bitplane). I didn't find it very clear, but it seems "raw" = "to read at
the MB layer". I used a structure, but we could spare that indirection and
add a flag in the VC9Context for each array.
- Properly decode (or so I think) the CBPCY (as it is predicted)
- many more things
patch by anonymous

Originally committed as revision 3882 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-24 23:01:18 +00:00
Michael Niedermayer
b299f0d907 more 10l typos
Originally committed as revision 3881 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-24 01:56:53 +00:00
Michael Niedermayer
9c68c65adb norm-6 / diff-6 support (untested, parts of it just guessed as the spec is unclear)
Originally committed as revision 3880 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-24 01:46:12 +00:00
Michael Niedermayer
d29f0cd9c1 fixing many bugs in bitplane_decoding()
spliting row/colskip cases into their own functions as these will be needed for NORM/DIFF-6

Originally committed as revision 3879 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-24 00:35:18 +00:00
Michael Niedermayer
e902560005 dont use several 100 mb memory for a tiny 120 element table
remove redundant code related to av_free()
typo fix

Originally committed as revision 3878 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-23 22:54:51 +00:00
Michael Niedermayer
bc399ae6a4 1000000000l typos
Originally committed as revision 3877 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-23 22:49:41 +00:00
Michael Niedermayer
e25fa2136f mention table duplications, note, please avoid duplicating tables!
Originally committed as revision 3876 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-23 22:10:55 +00:00
Roberto Togni
cca1a42653 Check pointers before writing to memory
Originally committed as revision 3874 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-23 21:36:24 +00:00
Michael Niedermayer
4ae33c9b52 simplify
Originally committed as revision 3873 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-23 19:11:02 +00:00
Michael Niedermayer
934982c4ac avoid buf_size == 0 checks in every decoder
Originally committed as revision 3872 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-23 18:09:06 +00:00
Michael Niedermayer
884182b383 more detailed error messages
Originally committed as revision 3871 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-23 17:59:01 +00:00
Michael Niedermayer
9b21f0561b 10l
Originally committed as revision 3870 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-23 16:18:10 +00:00
Michael Niedermayer
e8ea90123d framerate check
Originally committed as revision 3869 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-23 14:07:25 +00:00
Michael Niedermayer
46f2f05f59 simplify deblock
Originally committed as revision 3868 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-23 14:03:13 +00:00
Michael Niedermayer
91c56db64e use clip_uint8()
Originally committed as revision 3867 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-23 11:08:18 +00:00
Michael Niedermayer
3b33943e9b simplify
reference list 1 swaping fix? seems its not used by any samples i found though

Originally committed as revision 3863 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-23 03:49:36 +00:00
Alex Beregszaszi
4c12e8bee3 preliminary vc9 bitstream decoder, committing to make syncing and team-work on it easier
Originally committed as revision 3862 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-22 18:00:36 +00:00
Alex Beregszaszi
21aa398f3d preliminary vc9 bitstream decoder, committing to make syncing and team-work on it easier
Originally committed as revision 3861 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-22 17:52:01 +00:00
Michael Niedermayer
4cfbbbde42 count errors instead of printing 2^31
Originally committed as revision 3857 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-21 23:47:03 +00:00
Philipp Matthias Hahn
8b8e1c5580 Out-of-directory build patch by (Philipp Matthias Hahn <pmhahn titan.lahn de>)
preserve support for spaces in directories in case of in-tree builds by (James A. Morrison <ja2morri csclub.uwaterloo ca>)

Originally committed as revision 3855 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-21 22:16:05 +00:00
Michael Niedermayer
dd4f8a04fe jpeg style yuv fixes
Originally committed as revision 3852 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-20 00:30:20 +00:00
Loic Le Loarer
827c91bfb7 H.264 b ref pic list order and long term pictures patch by (Loic Le Loarer <loic.le-loarer polytechnique org>)
Originally committed as revision 3851 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-19 17:35:51 +00:00
Michael Niedermayer
eed4ebd22c div by zero aspect fix
Originally committed as revision 3850 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-19 13:24:43 +00:00
Michael Niedermayer
895345da9a svq3_get_se_golomb() fix
Originally committed as revision 3849 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-19 13:03:38 +00:00
Loïc Le Loarer
61f040dd1a compile with TRACE define patch by (Loic <lll+ffmpeg m4x org>)
Originally committed as revision 3848 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-19 12:58:34 +00:00
Michael Niedermayer
2c65638640 x86_64 pointer typecast fix by (Martin Drab <drab kepler.fjfi.cvut cz>)
Originally committed as revision 3845 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-18 01:01:54 +00:00
Michael Niedermayer
80a4995853 simplify
benchmark

Originally committed as revision 3844 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-17 18:25:32 +00:00
Matthieu Castet
d06c75a830 10l patch by (matthieu castet <castet.matthieu free fr>)
Originally committed as revision 3842 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-16 22:11:47 +00:00
Michael Niedermayer
67e11730fc simplify
Originally committed as revision 3841 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-15 20:04:41 +00:00
Michael Niedermayer
b349fde101 simplify, null pointer, selftest
Originally committed as revision 3840 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-15 19:05:26 +00:00
Roberto Togni
1ede228a4f Decode MP3 in ADU format
Originally committed as revision 3839 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-15 14:59:47 +00:00
Roberto Togni
f9c6d80e4e 1l, forgot to remove duplicated error message
Originally committed as revision 3838 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-15 14:05:37 +00:00
Diego Biurrun
47d9182521 Mention the l5 pp filter in 'mplayer -pphelp' output.
Originally committed as revision 3837 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-15 10:34:49 +00:00
Roberto Togni
3048af8350 Use avcodec_check_dimensions instead of custom hack
Originally committed as revision 3836 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-15 00:07:38 +00:00
Michael Niedermayer
a9c3ff5b9e assertion about bits statistic and minor bits stat fix
Originally committed as revision 3835 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-14 23:48:12 +00:00
Michael Niedermayer
30231f8169 10l (dont modify the input picture pts)
Originally committed as revision 3833 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-13 11:59:19 +00:00
Kurosu
f41c1fac3c av_malloc vs av_mallocz patch by (Kurosu <kurosu inforezo org>)
Originally committed as revision 3830 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-12 18:25:48 +00:00
Michael Niedermayer
d5f121e2a5 10l (gcc 2.95 fix)
Originally committed as revision 3827 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-12 11:14:12 +00:00
Michael Niedermayer
1f3f950799 disallow strcat
Originally committed as revision 3826 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-12 01:44:02 +00:00
Michael Niedermayer
2fc8ea249f dissallow sprintf
Originally committed as revision 3823 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-12 00:59:42 +00:00
Michael Niedermayer
0ecca7a49f various security fixes and precautionary checks
Originally committed as revision 3822 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-12 00:16:25 +00:00
Diego Biurrun
f14d4e7e21 Quote path expression to take care of $(prefix) possibly containing spaces.
Originally committed as revision 3821 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-11 08:16:04 +00:00
Michael Niedermayer
6041c21749 fixing selftest
Originally committed as revision 3820 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-11 03:18:08 +00:00
Michael Niedermayer
eaba7c7fd6 picture heap corruption fix
Originally committed as revision 3819 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-10 23:41:25 +00:00
Roberto Togni
c31b812166 Check pointers before writing to memory, fix possible integer overflows
Force alignement for mszh and zlib decoders

Originally committed as revision 3817 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-09 23:39:32 +00:00
Gert Vervoort
9c6221ae62 10l (obmc_scratchpad not always initialize)
patch by (Gert Vervoort <gert.vervoort at hccnet dot nl>)

Originally committed as revision 3816 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-09 00:48:37 +00:00
Loren Merritt
934b0821db 10l: scratchpad could be allocated before its size was known.
Originally committed as revision 3812 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-08 08:56:18 +00:00
Loren Merritt
9f2d1b4ff5 H.264 weighted prediction.
Bidirectional weighting has not been tested for bitwise accuracy, but looks correct.

Originally committed as revision 3811 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-07 05:56:07 +00:00
Michael Niedermayer
85df8f7cf0 print "D" instead of "P" for dropable frames in flv with -debug 1
Originally committed as revision 3810 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-06 01:02:36 +00:00
Michael Niedermayer
3f05305d73 RV30/RV40 demuxing (untested)
Originally committed as revision 3809 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-06 00:54:03 +00:00
Michael Niedermayer
f6d5112387 fixing decoding of http://mplayerhq.hu/~atmos4/ffrv20-crashing-atmos.rm
Originally committed as revision 3808 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-05 02:36:10 +00:00
Michael Niedermayer
503a47255f fix decoding of http://mplayerhq.hu/~diego/problem.mov
Originally committed as revision 3806 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-05 00:20:52 +00:00
Loren Merritt
1b2dcdc1e0 reduce stutter if we learn too late that the stream contains B-frames.
Originally committed as revision 3801 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-04 10:26:47 +00:00
Loren Merritt
a4dae92b58 Sort B-frames into display order.
Originally committed as revision 3799 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-04 01:12:48 +00:00
Gianluigi Tiesi
8ff53f5b07 Disable encoders patch by (Gianluigi Tiesi <mplayer netfarm it>)
Originally committed as revision 3797 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-03 16:13:52 +00:00
Diego Biurrun
bf69c4e55f Make -pphelp output consistent with the other instances of -xxx help.
Originally committed as revision 3792 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-03 00:36:26 +00:00
Michael Niedermayer
2d2651f821 WV1F support
Originally committed as revision 3790 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-01 23:02:09 +00:00
Michael Niedermayer
53f0090dcc faster and slightly less accurate nearest neighbor resampler
Originally committed as revision 3789 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-31 17:37:23 +00:00
Michael Niedermayer
17bfbd70ab 10l
Originally committed as revision 3788 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-31 14:02:35 +00:00
Michael Niedermayer
6cb5dcb392 special case for filter_length==1
Originally committed as revision 3787 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-31 12:58:46 +00:00
Loïc Le Loarer
579448a083 - correct several errors on the deblocking accross slice boundaries.
- add support for deblocking_filter_idc==2 which means no deblocking accross slice.
- correct MMCO with multiple slices.

5 more streams from H264 conformance suite are now correctly decoded.

patch by (Loic <lll+ffmpeg >< m4x dot org>)

Originally committed as revision 3786 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-31 00:07:17 +00:00
Roberto Togni
f31ecffb4f Fix avc1 if there is nore than one nal per mov frame
Originally committed as revision 3785 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-30 18:05:54 +00:00
Panagiotis Issaris
13160c0708 imgresample test cleanup patch by (Panagiotis Issaris <takis )( lumumba d0t luc d0t ac.be>)
Originally committed as revision 3784 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-30 14:48:01 +00:00
Roberto Togni
4d4bb927ce Fix compilation when both amr_nb and amr_wb are enabled
Originally committed as revision 3782 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-29 23:17:42 +00:00
Michael Niedermayer
caa336b4cc common.c -> bitstream.c (and the single non bitstream func -> utils.c)
common.h -> common.h/bitstream.h

Originally committed as revision 3777 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-29 17:50:25 +00:00
Michael Niedermayer
6143607303 motion_val doxy
Originally committed as revision 3776 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-29 12:14:14 +00:00
Loren Merritt
5ad984c997 implement B_DIRECT and B_SKIP macroblock types.
fix reference list sorting for B-frames.
fix mv caching for mixed list B-blocks.

Originally committed as revision 3775 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-29 04:17:52 +00:00
Loren Merritt
650cec0c8c vismv for h264 displayed incorrect motion vectors.
Originally committed as revision 3765 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-20 03:03:37 +00:00
Michael Niedermayer
f0b77c69c1 better motion_subsample_log2 docs
Originally committed as revision 3762 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-19 12:26:54 +00:00
Sigbjørn Skjæret
0d00cf38c6 fixes transcoding to vorbis with ffmpeg on big endian machines patch by (Sigbjørn Skjæret {sskjer-1 broadpark no})
Originally committed as revision 3759 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-18 16:20:42 +00:00
Loic Le Loarer
5175b9376f add multi slice support
for main profile H.264 streams. I have tested this on all H264
conformance streams and comparing the result with the current CVS
version, there is 8 streams which decode correctly more frames and 2
streams which are now completely correct with my patch.

This patch also correct some typo in comments.

patch by (Loic Le Loarer <lll+ffmpeg >at< m4x org>)

Originally committed as revision 3758 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-18 03:49:07 +00:00
Drew Hess
a2c3bf82a7 fixes for PIC code on x86-64 patch by (Drew Hess <drew.hess gmail com>)
Originally committed as revision 3757 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-18 03:07:15 +00:00
Michael Niedermayer
3c9ec07ef2 quantizer overflow warning + AAN dct fix
Originally committed as revision 3754 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-14 20:17:23 +00:00
Michael Niedermayer
7984bbe2ce fix timestamp prediction for low_delay mpeg streams
Originally committed as revision 3751 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-14 12:04:45 +00:00
Michael Niedermayer
e42a152bbc x86 cpu capabilities detection rewrite / cleanup
Originally committed as revision 3750 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-13 16:11:38 +00:00
Michael Niedermayer
74679f5c1c another try at fixing rv20 ...
Originally committed as revision 3749 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-13 11:41:59 +00:00
Michael Niedermayer
f48c0551ca flush remaining data from parser at EOF
Originally committed as revision 3748 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-12 14:19:54 +00:00
Michael Niedermayer
732ce18eab warn the user if the quantization code could overflow with the selected custom matrix and qp limits
Originally committed as revision 3747 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-11 18:33:18 +00:00
Michael Niedermayer
bf835aee11 uppercase codec_tag=AVC1 support
Originally committed as revision 3746 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-09 22:04:15 +00:00
Michael Niedermayer
a979965313 out of buffer access fix
Originally committed as revision 3744 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-09 01:01:11 +00:00
Michael Niedermayer
0fd6aea1f1 more flexible frame skip decission
Originally committed as revision 3743 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-08 18:02:56 +00:00
Michael Niedermayer
bbf18b21b7 frame skip support
Originally committed as revision 3742 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-08 11:46:16 +00:00
Michael Niedermayer
d0271e8a3a rv20 encoding
Originally committed as revision 3739 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-07 13:14:37 +00:00
Michael Niedermayer
bc17df09d4 seeking in rm
Originally committed as revision 3737 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-06 22:44:03 +00:00
Michael Niedermayer
18ade9543f rv10 thread safety fix / rv10 ffplay fix
Originally committed as revision 3733 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-06 17:21:17 +00:00
Matthieu Castet
e7ddb0cf4c detect sse on athlon-xp patch by (matthieu castet <castet >.< matthieu >at< free >.< fr>)
Originally committed as revision 3729 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-05 23:26:43 +00:00
Michael Niedermayer
423962dc01 next try at fixing rv20 decoding
Originally committed as revision 3728 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-05 23:21:39 +00:00
Michael Niedermayer
9d2a069519 raw rgb flip fix
Originally committed as revision 3724 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-30 21:50:16 +00:00
Loren Merritt
42dd22c4a5 fix interlacing check in v1 huffyuv.
Originally committed as revision 3721 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-28 19:19:39 +00:00
Loren Merritt
f37b9768f6 split ffhuffyuv into 2 codecs:
"huffyuv" is compatible with the official version
"ffvhuff" contains our improvements

Originally committed as revision 3720 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-28 18:29:38 +00:00
Michael Niedermayer
17179d2d97 fix some codec_id values so that new ones can be added at the end of the subsets without breaking binary compatibility
Originally committed as revision 3719 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-28 15:33:15 +00:00
Michael Niedermayer
6989963c1f 10l (dont use codec_id for error simulation)
Originally committed as revision 3718 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-28 14:58:50 +00:00
Burkhard Plaum
073c2593c9 Memory leak fix patch by (Burkhard Plaum <plaum >at< ipf.uni-stuttgart )dot( de>)
Originally committed as revision 3717 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-27 18:10:06 +00:00
Loren Merritt
1108708609 new option: context_model
stores per-frame optimal huffman tables.

Originally committed as revision 3715 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-27 03:54:18 +00:00
Michael Niedermayer
2554db9b5f fix for build on IRIX by (Michel Bardiaux {mbardiaux peaktime be})
Originally committed as revision 3713 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-25 19:26:46 +00:00
Jeff Muizelaar
21d7e2ff40 fix some type mismatches patch by (Jeff Muizelaar <muizelaar rogers com>)
Originally committed as revision 3712 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-25 19:17:27 +00:00
Luca Abeni
bac6516545 YUV420P to UYVY422 conversion patch by (Luca Abeni <lucabe72 >< email >< it>)
Originally committed as revision 3710 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-24 22:54:16 +00:00
Loren Merritt
7d7f635dc0 Fixed typo which caused incorrect motion prediction in B-frames. patch by (Loren Merritt <lorenm ta u tod washington tod edu>)
Originally committed as revision 3709 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-24 22:50:49 +00:00
Michael Niedermayer
6db2583c4f check num_entries too to avoid reading over the array end and dont check i>0 it must be >0 there
Originally committed as revision 3708 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-24 00:15:49 +00:00
Loren Merritt
80516d720a Fixes a segfault when flushing delayed B-frames on the 2nd pass. patch by (Loren Merritt <lorenm.u@washington@edu>)
Originally committed as revision 3707 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-23 23:58:54 +00:00
François Revol
2450cff2c3 BeOS threading support. changed some "if FOO_THREAD||BAR_THREAD" to a more generic "if HAVE_THREADS"
Originally committed as revision 3702 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-21 18:04:56 +00:00
James A. Morrison
6813f1d5cf whitespace cleanup patch by (James A. Morrison <ja2morri>@<csclub>dot<uwaterloo>point<ca>)
Originally committed as revision 3699 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-21 01:47:36 +00:00
Michael Niedermayer
55429b5534 workaround apps which dont provided correctly padded streams
Originally committed as revision 3695 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-19 20:49:12 +00:00
Michael Niedermayer
9993064eec fixing rv20201002
Originally committed as revision 3694 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-19 18:19:36 +00:00
Michael Niedermayer
35ef76b51c rv20103001 support
Originally committed as revision 3692 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-19 16:57:47 +00:00
Michael Niedermayer
ec892563ae reset ref_index
Originally committed as revision 3690 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-19 13:08:25 +00:00
Michael Niedermayer
e731697665 fix parser
Originally committed as revision 3689 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-19 11:37:03 +00:00
Mike Melanson
acfd8f0fdb native QPEG video decoder, courtesy of Konstantin Shishkov
Originally committed as revision 3688 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-17 03:45:53 +00:00
Michael Niedermayer
096c3b7e90 overflow fix
Originally committed as revision 3685 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-16 13:40:56 +00:00
Michael Niedermayer
dffcdbb5f6 extradata and FF_INPUT_BUFFER_PADDING_SIZE doc
Originally committed as revision 3684 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-15 15:53:53 +00:00
Michael Niedermayer
b43ff7e2b0 attribute_used
Originally committed as revision 3682 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-14 22:05:21 +00:00
Michael Niedermayer
fc0be57f66 plane predicted non-interlacd rgb decodeing fix
Originally committed as revision 3681 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-14 15:46:34 +00:00
Michael Niedermayer
4940ed6ae1 automatic workaround for another padding bug
Originally committed as revision 3678 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-13 01:05:12 +00:00
Michael Niedermayer
311c700878 merge pam_decode_frame() into pnm_decode_frame()
Originally committed as revision 3677 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-12 23:38:43 +00:00
Michael Niedermayer
99f0623629 pnm parser
Originally committed as revision 3675 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-12 22:55:29 +00:00
Milan Cutka
e20815b396 When bswap_32 is a macro, png images fail to decode properly, patch by (Milan Cutka <cutka>at<szm>dot<sk>)
Originally committed as revision 3672 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-12 09:48:06 +00:00
Michael Niedermayer
788d7a8cac av_resample_compensate() doxy
Originally committed as revision 3671 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-12 02:05:26 +00:00
Maarten Daniels
ccff9da62a H261 fixing and cleaning:
-corrected wrong value in mv data
 -set correct mb_type after adjusting index
 -don't use H263 loop filter when the loop filter flag is set but when
  using the H261 encoder
 -use the same unquantizer as H263 (which is optimized btw)
 -removed unused members in H261Context
patch by (Maarten Daniels <maarten.daniels >at< luc >dot< ac >dot< be>)

regression test checksum update by me

Originally committed as revision 3669 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-12 01:21:34 +00:00
Michael Niedermayer
5b6d559680 move p*m from image/lavf -> image2/lavc
video/audio_codec_id in AVFormatParameters to override/help demuxer
av_guess_codec() to guess the default codecs based upon muxer + filename

Originally committed as revision 3668 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-11 18:09:28 +00:00
Michael Niedermayer
6c3890b6d3 10l (CONFIG_ZLIB)
Originally committed as revision 3667 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-11 10:33:11 +00:00
Michael Niedermayer
4eff7cf42d porting png support from -f image to -f image2
Originally committed as revision 3665 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-09 23:31:46 +00:00
Michael Niedermayer
d07730ddd1 fix image stream copy
Originally committed as revision 3662 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-08 23:36:32 +00:00
Michael Niedermayer
359fa0febc cbr audio muxing fix
Originally committed as revision 3661 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-06 19:11:34 +00:00
Michael Niedermayer
d34a07466f switch ffv1 to the put/get_symbol() from snow
Originally committed as revision 3659 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-31 12:22:00 +00:00
Michael Niedermayer
880eae9c50 switch ffv1 from CABAC to the range coder
Originally committed as revision 3658 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-31 10:08:50 +00:00
Michael Niedermayer
9b41cb1c41 remove debug stuff
Originally committed as revision 3657 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-31 02:51:39 +00:00
Michael Niedermayer
5d0e4cb87a segfault fix
Originally committed as revision 3656 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-31 00:42:43 +00:00
Michael Niedermayer
2886975773 CABAC -> range coder
Originally committed as revision 3655 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-30 02:16:27 +00:00
Michael Niedermayer
672a19aac2 range coder
Originally committed as revision 3654 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-30 01:43:37 +00:00
Roberto Togni
9287acd197 Fix mjpeg-b (padding bytes can exist between end of sos and image data)
Originally committed as revision 3653 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-29 20:45:47 +00:00
Michael Niedermayer
5bbad3eb53 cleanup
Originally committed as revision 3650 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-28 18:42:31 +00:00
Michael Niedermayer
87b9e6b2dd simplify ff_h261_reorder_mb_index
Originally committed as revision 3649 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-28 18:17:48 +00:00
Michael Niedermayer
1499a1f7df simplify
Originally committed as revision 3648 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-28 17:34:14 +00:00
Michael Niedermayer
9740687b6b fix and cleanup h261 mb_type selection
Originally committed as revision 3647 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-28 17:21:34 +00:00
Michael Niedermayer
13e5b1f684 cleanup
Originally committed as revision 3646 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-28 12:12:33 +00:00
Michael Niedermayer
1c3990dbba H.261 encoder by (Maarten Daniels <maarten dot daniels at luc dot ac dot be>)
Originally committed as revision 3643 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-28 10:12:57 +00:00
Michael Niedermayer
d7e2f57f0e YUV420P to YUV422 conversion routine by (Danny Laarmans <dlaarmans at androme dot com>)
Originally committed as revision 3642 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-27 21:42:26 +00:00
Mike Melanson
ab711b3c8d Miro VideoXL (VIXL) decoder, courtesy of Konstantin Shishkov
Originally committed as revision 3641 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-27 04:30:48 +00:00
Michael Niedermayer
3237f73183 stride align cleanup
Originally committed as revision 3640 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-26 12:47:56 +00:00
Michael Niedermayer
ec7eb8966c optimization
Originally committed as revision 3639 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-26 03:12:21 +00:00
Michael Niedermayer
9297ddd32e type fix
Originally committed as revision 3638 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-25 15:37:13 +00:00
Michael Niedermayer
0f242af274 type fix
Originally committed as revision 3637 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-25 15:27:56 +00:00
Wolfram Gloger
ed2cea4290 fix -pixfmt mono[bw] patch by (Wolfram Gloger <wmglo at dent dot med dot uni-muenchen dot de>)
Originally committed as revision 3636 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-25 01:16:13 +00:00
Michael Niedermayer
8e6325b96b mjpeg parser
Originally committed as revision 3634 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-24 22:37:29 +00:00
Bohdan Horst
cc044c1cc0 INT MIN/MAX patch by (Bohdan Horst <nexus at irc dot pl>)
Originally committed as revision 3632 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-24 13:20:32 +00:00
Michael Niedermayer
db4d9faf8d optimzation
Originally committed as revision 3630 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-24 02:59:36 +00:00
Michael Niedermayer
58897665ae optimization
Originally committed as revision 3629 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-24 02:08:45 +00:00
Michael Niedermayer
7b89e963e8 fix CABAC+LOOP missmatch
Originally committed as revision 3628 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-23 21:13:31 +00:00
Michael Niedermayer
3981c385cc cbp_table cleanup
Originally committed as revision 3627 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-23 19:12:21 +00:00
Michael Niedermayer
9af1ec8e9a cleanup of decode_cabac_residual()
Originally committed as revision 3626 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-23 15:59:01 +00:00
Michael Niedermayer
d6b0c1bbf8 decode intra cabac mb_type cleanup
Originally committed as revision 3625 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-23 12:07:57 +00:00
Gildas Bazin
03393cb766 small typo patch by (Gildas Bazin <gbazin at altern dot org>)
Originally committed as revision 3624 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-22 19:55:57 +00:00
Loren Merritt
d5af70c3b8 H.264 CABAC + B-frames patch by (Loren Merritt <lorenm at u dot washington dot edu>)
Originally committed as revision 3623 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-22 18:30:50 +00:00
Roman Shaposhnik
f02be79d61 * Introducing IIDC1394 grabbing interface.
Use it with -grab dc1394

   * Introducing yet another packed pix_fmt in order to support some of
     the IIDC1394 modes: uyvy411 (Cb Y0 Y1 Cr Y2 Y3).

Originally committed as revision 3621 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-22 02:04:30 +00:00
Michael Niedermayer
6e225de2fe user selectble cutoff frequency
Originally committed as revision 3619 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-21 21:07:40 +00:00
Michael Niedermayer
4e255822e5 100l (dont reset the sample position at the block end)
Originally committed as revision 3618 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-21 20:01:32 +00:00
Michael Niedermayer
ed861c6bd2 make most resample filter parameters selectable at runtime
Originally committed as revision 3617 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-21 03:11:34 +00:00
Michael Niedermayer
f25ba8b393 optimization
Originally committed as revision 3616 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-20 19:06:29 +00:00
Michael Niedermayer
51a880208a make filter size, int32/int16 and a few other things selectable at compiletime
Originally committed as revision 3615 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-20 18:02:34 +00:00
Michael Niedermayer
2ac615da82 10l
Originally committed as revision 3614 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-20 12:04:08 +00:00
Michael Niedermayer
7494cac0fd fix constrained parameters flag
Originally committed as revision 3609 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-18 23:07:18 +00:00
Michael Niedermayer
15862411e6 infinte recursion fix
Originally committed as revision 3606 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-18 03:02:48 +00:00
Aurelien Jacobs
8b4d077fc9 gcc 3.4.3 preversions do not appreciate invalid instruction and operand combinations anymore patch by (Aurelien Jacobs <aurel at gnuage dot org>)
Originally committed as revision 3604 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-17 20:27:11 +00:00
Michael Niedermayer
45cb4767bc xvid fake divx version workaround
Originally committed as revision 3595 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-15 11:48:50 +00:00
Michael Niedermayer
035817727f support strictly enforcing gop size
Originally committed as revision 3594 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-15 02:37:04 +00:00
Michael Niedermayer
9efc77c86f fix forcing of individual frame types
Originally committed as revision 3593 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-14 12:24:16 +00:00
Mike Melanson
b3bfb29980 Creative ADPCM decoder, format 0x200, courtesy of Konstantin Shishkov
Originally committed as revision 3589 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-12 12:47:49 +00:00
D Richard Felker III
4471e59b24 1000l
btw what is the sense in all these nonsense REAL_* macros?
the extra level of indirection seems to help nothing...
can we reverse that and commit a sane replacement?

Originally committed as revision 3587 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-12 07:16:14 +00:00
Roine Gustafsson
b1d041c15c missaliged clear_blocks() and h264 not complied but referenced fix patch by (Roine Gustafsson <roine at users dot sourceforge dot net>) and me
Originally committed as revision 3584 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-11 22:47:09 +00:00
Aurelien Jacobs
053dea12f2 adapting existing mmx/mmx2/sse/3dnow optimizations so they work on x86_64 patch by (Aurelien Jacobs <aurel at gnuage dot org>)
Originally committed as revision 3578 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-11 02:19:29 +00:00
Michael Niedermayer
ac8b03c0a8 lowres 4mv
Originally committed as revision 3576 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-09 12:02:19 +00:00
Michael Niedermayer
5f6c92d40c h.261 loop filter fix
closes bug #1033108

Originally committed as revision 3574 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-08 22:57:39 +00:00
Michael Niedermayer
8c7aaf5b6d nonsense removial
Originally committed as revision 3573 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-08 21:45:29 +00:00
Milan Cutka
125af02243 Quantizer noise shaping crashes on SSE2 machines patch by (Milan Cutka <cutka at szm dot sk>)
Originally committed as revision 3571 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-08 10:37:45 +00:00
Zdenek Kabelac
7fea94ce4a * fixing a few of gcc 'clean-code' warnings
Originally committed as revision 3563 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-06 08:50:46 +00:00
Richard van der Hoff
a319bbac5c segfault in amr decoder fix patch by (Richard van der Hoff - richvdh0)
closes #1037380

Originally committed as revision 3562 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-05 19:44:26 +00:00
Chip
6933900993 Altivec test on AmigaOS4 patch by (Chip <szarlada at freemail dot hu>)
Originally committed as revision 3561 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-05 18:36:15 +00:00
Frantisek Dvorak
91378af4b2 Build process: libpostproc patch by (Franti?ek Dvo?ák <valtri at users dot sourceforge dot net>)
Originally committed as revision 3559 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-05 17:43:10 +00:00
Loren Merritt
0bc42caddf h.264 ref list reordering bugfix patch by (Loren Merritt <lorenm at u dot washington dot edu>)
Originally committed as revision 3558 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-03 22:01:21 +00:00
Michel Bardiaux
96cc9e5c61 Help debugging by keeping symbols ans line numbers patch by (Michel Bardiaux <mbardiaux at peaktime dot be>)
Originally committed as revision 3546 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-01 14:38:32 +00:00
Michel Bardiaux
65d1bea201 Help debugging by keeping symbols ans line numbers patch by (Michel Bardiaux <mbardiaux at peaktime dot be>)
Originally committed as revision 3545 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-01 13:32:13 +00:00
Michael Niedermayer
9fe5a7b831 do not call (av_)abort()
Originally committed as revision 3543 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-01 12:31:11 +00:00
Zdenek Kabelac
669484b49e * these vars could be either static or extern (compilation fix gcc-3.5)
Originally committed as revision 3541 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-30 15:02:07 +00:00
Michael Niedermayer
d1fb157dd7 broken mess removial
Originally committed as revision 3539 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-29 23:12:16 +00:00
Michael Niedermayer
cfeae977a7 10l (wrong variable)
Originally committed as revision 3537 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-28 23:31:59 +00:00
Michael Niedermayer
80e8528865 dont just resample half of the data sometimes
Originally committed as revision 3535 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-28 21:11:09 +00:00
Michael Niedermayer
a5cd3c48fb 100l (signed vs. unsigend)
Originally committed as revision 3530 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-28 05:38:36 +00:00
Mike Melanson
d08d7142fd support for Sierra Online audio files and Apple QuickDraw codec,
courtesy of Konstantin Shishkov

Originally committed as revision 3529 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-28 03:09:49 +00:00
Mike Melanson
98772cbf7b if audio is PCM, push it through (sync is not perfect yet)
Originally committed as revision 3528 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-28 03:04:36 +00:00
Michael Niedermayer
e4a185ac14 10l forgot to commit
Originally committed as revision 3525 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-27 21:09:41 +00:00
Michael Niedermayer
0fa8158d3e move h264 idct to its own file and call via function pointer in DspContext
allow h264 idct to be used for lowres=1

Originally committed as revision 3524 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-27 19:47:17 +00:00
Michael Niedermayer
40028f8f6e dont print "vop not coded" by default
Originally committed as revision 3523 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-27 17:46:07 +00:00
Michael Niedermayer
21adafec2a lowres width/height cleanup 3rd try
Originally committed as revision 3522 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-27 11:50:56 +00:00
Michael Niedermayer
0b2346d38c lowres fixes for the parser
Originally committed as revision 3521 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-27 10:06:10 +00:00
Michael Niedermayer
8b392ae2e7 10l (segfault)
Originally committed as revision 3520 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-27 03:19:24 +00:00
Michael Niedermayer
f1cc95f0e9 10l
Originally committed as revision 3519 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-27 03:17:26 +00:00
Michael Niedermayer
4f8a831994 set AVCodecContext.width/height to the picture width/height instead of the one stored in the bitstream (that only matters if lowres!=0)
Originally committed as revision 3518 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-27 02:39:55 +00:00
Michael Niedermayer
718455951c lowres chroma fix
Originally committed as revision 3517 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-26 23:01:42 +00:00
Michael Niedermayer
0f74857497 lowres slice fix
Originally committed as revision 3516 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-26 21:28:31 +00:00
Michael Niedermayer
f06afd698b porting optimizations from 4x4 dct to 8x8
Originally committed as revision 3515 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-26 17:36:53 +00:00
Michael Niedermayer
affbf0435a optimizing 4x4 idct
Originally committed as revision 3514 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-26 16:33:39 +00:00
Michael Niedermayer
af2a9e8fdb lowres slice fix
Originally committed as revision 3513 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-26 13:03:43 +00:00
Michael Niedermayer
da9c9637ae low resolution interlaced support
Originally committed as revision 3512 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-26 11:05:35 +00:00
Michael Niedermayer
1aa8c57b4a 1/8 resolution decoding
Originally committed as revision 3511 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-26 10:01:40 +00:00
Michael Niedermayer
6aeb03d887 low resolution decoding fix
Originally committed as revision 3510 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-26 09:00:37 +00:00
Michael Niedermayer
9ca358b951 1/4 resolution decoding
Originally committed as revision 3509 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-26 00:18:12 +00:00
Michael Niedermayer
178fcca848 1/2 resolution decoding
Originally committed as revision 3507 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-25 23:18:58 +00:00
Michael Niedermayer
792bb815e3 assertion when playing AVC/H.264 streams fix by (Loren Merritt <lorenm at u dot washington dot edu>)
Originally committed as revision 3505 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-25 10:06:31 +00:00
Michael Niedermayer
5cbb0e70a0 H.264 max reference pictures fix by (Loren Merritt <lorenm at u dot washington dot edu>)
Originally committed as revision 3504 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-25 09:59:36 +00:00
Michael Niedermayer
15c5fa7b7f trellis quantization for h263(p)
Originally committed as revision 3503 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-24 20:35:59 +00:00
Michael Niedermayer
d7d51926dd unused
Originally committed as revision 3502 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-24 18:12:43 +00:00
Michael Niedermayer
3c00436b3e 100l
Originally committed as revision 3501 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-24 17:30:04 +00:00
Roberto Togni
61cef29379 Zlib encoder: fix image orientation (was flipped), 100l in deflate error
check, put right codec type in extradata

Originally committed as revision 3500 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-23 22:20:17 +00:00
Michael Niedermayer
715a97f0c0 merge predict_plane() with DWTELEM->8bit conversation (21% faster)
Originally committed as revision 3499 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-23 12:20:41 +00:00
Michael Niedermayer
b43b426a8b segfault fix by (Kostya <cannonball at bw-team dot com>)
Originally committed as revision 3497 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-23 09:42:25 +00:00
Jeff Muizelaar
21e1913175 * simplification patch by Jeffrey Ryan Muizelaar
Originally committed as revision 3491 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-22 05:04:18 +00:00
Michael Niedermayer
034aff036f 8 -> FRAC_BITS
Originally committed as revision 3489 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-21 23:10:10 +00:00
Alex Beregszaszi
be441a9eee Decoding to bgr15/16 from 16bit input. Decoding of 24bit input added, not yet finished, but at least the picture can be recognized
Originally committed as revision 3488 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-21 17:37:28 +00:00
Alex Beregszaszi
f970a8e682 greyscale decoding (option to skip u,v planes) support
Originally committed as revision 3487 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-21 17:31:46 +00:00
Michael Niedermayer
9ebb8e1124 check if the user specified timestamps are strictly monotone
timestamp guess code 10l fix

Originally committed as revision 3483 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-20 13:47:47 +00:00
Michael Niedermayer
1f0182250a av_rescale with user specified rounding
Originally committed as revision 3481 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-19 16:38:54 +00:00
D Richard Felker III
aa25a462b6 consistent use of types patch by (D Richard Felker III <dalias at aerifal dot cx>)
Originally committed as revision 3480 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-19 14:43:09 +00:00
Loren Merritt
7c2425d239 simplify getsymbol patch by (Loren Merritt <lorenm at u dot washington dot edu>)
Originally committed as revision 3476 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-17 23:51:36 +00:00
Michael Niedermayer
d925c516e4 huffyuv writes to AVCodecContext.stats_out only once every 32 frames,
presumably to reduce the size of the log file.
However, it doesn't clear stats_out on the other 31 out of 32 frames.
So the application (ffmpeg and mencoder) writes each stat line 32 times.

bugfix by (Loren Merritt <lorenm at u dot washington dot edu>)

Originally committed as revision 3475 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-17 11:21:52 +00:00
Michael Niedermayer
8dfc1aefca warning the user about possible incompatibilities
Originally committed as revision 3474 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-17 11:17:17 +00:00
Loren Merritt
ee598f7ba4 (non)interlaced huffyuv patch by (Loren Merritt <lorenm at u dot washington dot edu>)
Originally committed as revision 3473 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-17 10:57:57 +00:00
Romain Dolbeau
a6a12a8a5c h264 qpel mc, size 16 patch by (Romain Dolbeau <dolbeau at caps-entreprise dot com>)
Originally committed as revision 3472 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-16 19:05:22 +00:00
Loren Merritt
1140139fe2 10l (scene change pict_type was wrong after coded_frame fix) patch by (Loren Merritt <lorenm at u dot washington dot edu>)
Originally committed as revision 3471 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-16 17:36:39 +00:00
Mike Melanson
d0a0bbd22c IBM Ultimotion video decoder, courtesy of Konstantin Shishkov
Originally committed as revision 3468 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-16 03:31:41 +00:00
Michael Niedermayer
48cb67c62a 10l
Originally committed as revision 3466 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-15 12:23:45 +00:00
Michael Niedermayer
bd368b565b per picture psnr
Originally committed as revision 3465 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-15 01:55:04 +00:00
Michael Niedermayer
b100eab869 changing size segfault fix
Originally committed as revision 3463 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-15 00:35:18 +00:00
Michael Niedermayer
d32064c0f7 comment fix
Originally committed as revision 3462 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-14 18:35:03 +00:00
Michael Niedermayer
2d3601b564 qprd + mpeg2 segfault fix
Originally committed as revision 3461 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-14 17:17:12 +00:00
Roman Shaposhnik
0bae10ccec * I was finally convinced. And besides, if err it's better to err with
everybody else around ;-)

Originally committed as revision 3460 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-14 06:58:24 +00:00
Roberto Togni
4770b1b4fb AVC (H264 in mp4 files, fourcc avc1) support
Originally committed as revision 3459 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-13 21:20:55 +00:00
Michael Niedermayer
c08a01a6b9 pre_cmp fix
Originally committed as revision 3458 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-13 12:37:39 +00:00
Maarten Daniels
49e5dcbce5 H.261 decoder improvements
- GOB's can exist of only MBA_STUFFING codes: it crashed before, but it is fixed now
- Clearer code
- Some extra checks so the decoder is more resilient against errors
patch by (Maarten Daniels <maarten dot daniels at student dot luc dot ac dot be>)

Originally committed as revision 3457 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-13 03:27:53 +00:00
Michael Niedermayer
d92b58073e 100l (forgot to set the 8x8 mc functions, so ME did use the mpeg ones ...)
Originally committed as revision 3456 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-12 23:09:54 +00:00
Michael Niedermayer
ec69758781 use h264 MC code if possible
50% faster predict_plane() if mmx2/3dnow is available
0.1% bitrate increase

Originally committed as revision 3455 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-12 21:32:36 +00:00
Michael Niedermayer
0fd847a168 10l (gcc 2.95 compilation)
Originally committed as revision 3454 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-12 17:35:54 +00:00
Michael Niedermayer
3924dac4c8 use pointer arithmetic in mc_block(), 25% faster
Originally committed as revision 3452 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-12 10:51:02 +00:00
Michael Niedermayer
a6c01275ad get/set_sr_golomb() cleanup
Originally committed as revision 3451 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-10 19:40:55 +00:00
Michael Niedermayer
c32b14bb9c mess cleanup
Originally committed as revision 3449 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-10 18:54:02 +00:00
Alex Beregszaszi
d58a6d8537 put the warning to the right place to avoid crashes
Originally committed as revision 3448 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-10 15:38:14 +00:00
Michael Niedermayer
e69538fa60 h264_qpel8_hv_lowpass_mmx2/3dnow
Originally committed as revision 3446 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-08 18:49:12 +00:00
Michael Niedermayer
e772bb8a82 h264_qpel4_hv_lowpass_mmx2/3dnow
alignment fixes

Originally committed as revision 3445 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-08 18:25:45 +00:00
Alex Beregszaszi
4579adb00c new signed golomb routines
Originally committed as revision 3444 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-08 17:59:22 +00:00
Alex Beregszaszi
b2a1c77162 try to select w/h from tables
Originally committed as revision 3443 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-08 17:57:25 +00:00
Michael Niedermayer
7b37a6e984 10l (wrong coded_picture)
Originally committed as revision 3441 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-08 10:07:08 +00:00
Michael Niedermayer
56d8bd5659 optimization
Originally committed as revision 3440 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-08 00:52:49 +00:00
Michael Niedermayer
a6e39f45a2 optimization
Originally committed as revision 3439 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-07 22:56:50 +00:00
Michael Niedermayer
ed8ffdf46c optimization
Originally committed as revision 3438 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-07 17:22:37 +00:00
Michael Niedermayer
437525c473 h264 luma motion compensation in mmx2/3dnow
Originally committed as revision 3437 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-07 01:48:45 +00:00
Michael Niedermayer
0c62d34341 useless
Originally committed as revision 3436 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-06 10:32:47 +00:00
Michael Niedermayer
d6af6b0350 10000l fix and use more mmx2/3dnow code for mpeg4 qpel which has been written and commited long time ago but appearently never used, qpel motion compensation is 5% faster
now

Originally committed as revision 3435 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-06 03:17:31 +00:00
Michael Niedermayer
ff158dc95d 20% faster predict_plane()
moion vector max/min fix

Originally committed as revision 3434 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-05 21:46:16 +00:00
Alex Beregszaszi
cc078b9e09 more decorrelation types
Originally committed as revision 3433 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-04 11:19:37 +00:00
Loren Merritt
952b32c0ad Always write VOL control parameters, needed by old xvid patch by (Loren Merritt <lorenm at u dot washington dot edu>)
Originally committed as revision 3432 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-03 02:32:39 +00:00
Michael Niedermayer
3cb018726c typo
Originally committed as revision 3431 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-02 18:46:41 +00:00
Michael Niedermayer
628b210f40 optional non spec compliant optimizations for mpeg1
Originally committed as revision 3430 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-02 15:46:03 +00:00
Michael Niedermayer
6fc5b059b8 optional non spec compliant optimizations
Originally committed as revision 3429 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-02 15:30:46 +00:00
Loren Merritt
d89dc06a96 h264 deblocking crash patch by (Loren Merritt <lorenm at u dot washington dot edu>)
Originally committed as revision 3427 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-02 10:49:54 +00:00
Michael Niedermayer
19aa028dc5 10l (keyframes and context resets)
Originally committed as revision 3426 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-31 16:28:49 +00:00
Michael Niedermayer
39c61bbbd3 cleanup
Originally committed as revision 3425 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-28 14:24:48 +00:00
Michael Niedermayer
fff6d4ea4e 10l
more benchmarking code
inline

Originally committed as revision 3424 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-28 14:08:50 +00:00
Mike Melanson
229daca7a2 8-bit mode corrections
Originally committed as revision 3423 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-28 12:28:53 +00:00
Michael Niedermayer
ea7d9cd4bc merge decode_subband() and dequantize()
Originally committed as revision 3422 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-27 21:16:51 +00:00
Michael Niedermayer
ff76515933 11% faster decode_subband()
Originally committed as revision 3421 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-27 20:33:16 +00:00
Michael Niedermayer
0cea8a037c 5% faster decode_subband()
a little cleanup

Originally committed as revision 3420 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-27 20:15:32 +00:00
Michael Niedermayer
7b49c30974 46% faster decode_subband()
Originally committed as revision 3419 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-27 19:52:32 +00:00
Michael Niedermayer
3c1adccd1c 50% faster decode_subband()
Originally committed as revision 3418 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-27 01:06:58 +00:00
Michael Niedermayer
07140e398c yuv median encoding 10l fix
Originally committed as revision 3417 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-26 22:46:15 +00:00
Michael Niedermayer
155ec6edf8 quad tree based motion compensation (currently only 16x16 & 8x8 OBMC blocks, but can be extended to other block sizes easily)
different intra block coding (previous was just an ugly hack)
1.8% bitrate reduction -0.01PSNR (foreman@352x288 qscale=8)
1.5% bitrate reduction +0.05PSNR (foreman@352x288 qscale=1)

Originally committed as revision 3416 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-26 20:04:54 +00:00
Michael Niedermayer
714872547d typo fix by (Marcin 'Morgoth' Kurek <morgoth6 at box43 dot pl>)
Originally committed as revision 3415 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-25 22:35:04 +00:00
Michael Niedermayer
64886072f5 edge bugfix
1-1.3% lower bitrate and +0.01 PSNR (foremen@352x288 qscale=1,8)

Originally committed as revision 3414 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-25 00:26:01 +00:00
Bohdan Horst
ad730459ed bsd patch by (Bohdan Horst <nexus at irc dot pl>)
Originally committed as revision 3413 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-25 00:01:34 +00:00
Michael Niedermayer
91d6655aa7 lrintf emulation improvments
Originally committed as revision 3412 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-24 16:33:55 +00:00
Michael Niedermayer
26efc54e4a 4x4 SSE compare function
wavelet based compare functions
make epzs_motion_search() more flexible so it can be used for a wider range of block sizes
make get_penalty_factor() independant of MpegEncContext

Originally committed as revision 3410 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-22 17:16:03 +00:00
Alex Beregszaszi
ef859ca33f ffmpeg short conversion got fixed somewhere, no need to workaround it - fixes amplitude bug
Originally committed as revision 3408 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-22 12:40:57 +00:00
Alex Beregszaszi
54f5fd22ea new opensource lossy/lossless audio codec based on speech compression techniques (actually based on bonk)
Originally committed as revision 3405 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-21 19:19:35 +00:00
Alex Beregszaszi
02da1f0d71 new copyrights
Originally committed as revision 3404 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-21 19:18:45 +00:00
Diego Biurrun
b4396f36e5 k6 pop fix patch by (Diego Biurrun <diego at biurrun dot de>)
Originally committed as revision 3403 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-19 19:01:40 +00:00
Todd Kirby
eab895aae0 enrtries for PIX_FMT_XVMC_MPEG2_MC and PIX_FMT_XVMC_MPEG2_IDCT patch by ("Todd.Kirby" <doubleshot at pacbell dot net>)
Originally committed as revision 3402 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-19 10:55:48 +00:00
Michael Niedermayer
b1114f189d copy & paste bug
Originally committed as revision 3401 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-18 22:10:39 +00:00
Michael Niedermayer
0722ccdbc0 more untested bigendian fixes
rgb32 plane predictor decoding bugfix

Originally committed as revision 3398 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-17 10:41:15 +00:00
Michael Niedermayer
3ad7dd8cda big endian fix (untested)
Originally committed as revision 3397 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-17 09:57:56 +00:00
Michael Niedermayer
b3067ac197 cleanup
Originally committed as revision 3395 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-16 22:51:18 +00:00
Måns Rullgård
ec587a50c7 Get H.264 frame rate from SPS/VUI patch by (Måns Rullgård <mru at kth dot se>)
Originally committed as revision 3394 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-16 22:48:05 +00:00
Michael Niedermayer
8a515d2d9c get_bits(32) fix
Originally committed as revision 3393 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-16 01:25:52 +00:00
Mike Melanson
6d45cb7219 build++
Originally committed as revision 3392 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-14 22:51:24 +00:00
Michael Niedermayer
bb22e8b175 10l (lrintf(a)+b vs. lrintf(a+b))
Originally committed as revision 3391 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-14 15:18:49 +00:00
Mike Melanson
9d53d58ea7 TechSmith Camtasia (TSCC) video decoder, courtesy of Konstantin Shishkov
Originally committed as revision 3390 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-14 15:08:09 +00:00
Michael Niedermayer
8b69867f2e Minor Patch for shared libs on Mac OSX by (Bill May <wmay at cisco dot com>)
Originally committed as revision 3387 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-13 15:30:42 +00:00
Michael Niedermayer
1765920791 minor optimization
Originally committed as revision 3386 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-13 14:40:33 +00:00
Michael Niedermayer
baced9f598 user overrideable level & profile
Originally committed as revision 3385 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-13 13:59:28 +00:00
Michael Niedermayer
6d24231e50 give the user a chance to override codec_tag
Originally committed as revision 3382 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-12 23:36:48 +00:00
Michael Niedermayer
1477ec35dd 10l (dont store 2 different things at the same place ...)
Originally committed as revision 3380 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-11 19:32:34 +00:00
Michael Niedermayer
46c281e8c1 cleanup
Originally committed as revision 3377 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-03 02:34:50 +00:00
Michael Niedermayer
7440fe839d segfault fix
Originally committed as revision 3376 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-03 01:50:52 +00:00
Michael Niedermayer
fa2522d700 10l (segfault)
Originally committed as revision 3375 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-03 01:07:19 +00:00
Michael Niedermayer
93fbdb5ac5 lossless support
Originally committed as revision 3374 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-02 19:09:28 +00:00
Michael Niedermayer
3bb9f096d4 cleanup
Originally committed as revision 3373 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-02 18:01:03 +00:00
Michael Niedermayer
0635cbfc32 improved magnitude coding, 0.2% lower bitrate (foreman@352x288 qscale 1 and 8)
Originally committed as revision 3372 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-02 17:53:57 +00:00
Michael Niedermayer
9b434875f1 fix one file, will probably break some others but i cant find any samples which need this ...
Originally committed as revision 3371 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-02 13:03:58 +00:00
Jeff Muizelaar
e44cad5291 simpler delta decreasing algorithm patch by (Jeff Muizelaar <jrmuizel at student dot cs dot uwaterloo dot ca>)
Originally committed as revision 3369 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-02 10:42:21 +00:00
Michael Niedermayer
bc68bfdde0 cleanup
Originally committed as revision 3367 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-02 01:06:55 +00:00
Michael Niedermayer
4f4e963383 various subband encoders (all either worse or complicated so they are commented out)
different 0-context encoding, 1.2% lower bitrate (foreman@352x288 qscale=8) no significant change at qscale=1

Originally committed as revision 3366 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-02 01:03:52 +00:00
Michael Niedermayer
e30174cda7 raise build number for the snow
Originally committed as revision 3364 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-30 11:12:47 +00:00
Michael Niedermayer
7a04636485 svq1 mv array size fix
Originally committed as revision 3361 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-28 10:13:45 +00:00
Michael Niedermayer
620ab797f0 1/0 fix
Originally committed as revision 3357 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-28 01:35:29 +00:00
Michael Niedermayer
2ff9ff5bdf dont segfault without -strict -1
Originally committed as revision 3356 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-28 00:09:03 +00:00
Michael Niedermayer
da66b6313e optimize quantizaton (about 3x faster)
further opt is easily possible but could lead to overflows depening upon coefficient range, so this wont be done yet as it would make the code somewhat less flexible

Originally committed as revision 3354 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-27 17:38:53 +00:00
Michael Niedermayer
a8d73e56e6 cleanup
remove ugly and slow vertical scaning code
0.1% bitrate increase (foreman@352x288 qp=1)
0.3% bitrate increase (foreman@352x288 qp=8)

Originally committed as revision 3353 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-27 17:02:31 +00:00
Michael Niedermayer
7848640356 use parent sample to predict significance & magnitude
1% bitrate reduction (foreman@352x288 qscale 1 & 8)

Originally committed as revision 3352 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-27 13:40:16 +00:00
Michael Niedermayer
c07a22fb9f realloc(NULL) fix
Originally committed as revision 3351 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-27 11:09:41 +00:00
Michael Niedermayer
e071139a96 log2() & bsd
Originally committed as revision 3350 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-27 09:44:57 +00:00
Mike Melanson
c5c3a92674 well that does not need to be there anymore
Originally committed as revision 3349 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-27 02:52:16 +00:00
Michael Niedermayer
6b2f664691 better context model (0.2-1% lower bitrate)
a tiny bit cleanup

Originally committed as revision 3348 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-27 01:30:44 +00:00
Michael Niedermayer
9dac77a7aa argh
Originally committed as revision 3347 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-26 16:49:00 +00:00
Todd Kirby
3dc10d4742 Add UYVY support to libavcodec/raw.c patch by ("Todd.Kirby" <doubleshot at pacbell dot net>)
Originally committed as revision 3346 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-26 16:39:01 +00:00
Michael Niedermayer
c5c97a8d13 libdts support improvements by (Aurelien Jacobs)
Originally committed as revision 3345 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-26 16:36:36 +00:00
Michael Niedermayer
0187e9030a TIMER dummies for non-x86
Originally committed as revision 3343 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-26 15:52:55 +00:00
Michael Niedermayer
de890c9bd1 typo
Originally committed as revision 3342 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-26 13:31:48 +00:00
Michael Niedermayer
791e7b83c3 my experimental wavelet codec
note, this is far from finished, dont expect todays encodings to be decodeable with cvs tomorrow ...

Originally committed as revision 3341 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-25 23:36:44 +00:00
Todd Kirby
ebb177ddef UYVY support patch by ("Todd.Kirby" <doubleshot at pacbell dot net>)
Originally committed as revision 3339 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-25 10:01:36 +00:00
Roman Shaposhnik
510eae8bae * patch from James Morrison (getting rid of broken code)
Originally committed as revision 3336 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-23 20:10:44 +00:00
Michael Niedermayer
ef9c5d84be make comments doxygen compatible
Originally committed as revision 3333 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-22 18:55:36 +00:00
Chris Flerackers
7344c87aa9 - Support empty GOB's (no mb's) and skip all mb's
- Mb's were not skipped at the end of a GOB
- One value too much was used in iDCT
- Chroma_qscale was not updated for mquant
patch by ("Chris Flerackers" <cflerackers at androme dot be>)

Originally committed as revision 3332 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-22 10:23:28 +00:00
Michael Niedermayer
627c50b7fc raw rgb support
Originally committed as revision 3330 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-21 01:21:06 +00:00
Christophe Massiot
f1dc14a9fa miscalculation of header_bits when using the -thread option bugfix, patch by (Christophe Massiot <cmassiot at freebox dot fr>)
Originally committed as revision 3329 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-20 17:13:08 +00:00
Adam Thayer
1ddadfa9e3 XviD Support patch by (Adam Thayer <krevnik at comcast dot net>)
Originally committed as revision 3325 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-16 19:48:30 +00:00
Wolfram Gloger
6cfe51d9da Avoid segfault on ffmpeg "buffer flush" in mpeg12.c patch by (Wolfram Gloger <wmglo at dent dot med dot uni-muenchen dot de>)
Originally committed as revision 3324 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-16 18:36:39 +00:00
Michael Niedermayer
6206f8c920 10l and better MMX/SSE detection for VIA1000
Originally committed as revision 3323 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-16 01:54:07 +00:00
Michael Niedermayer
1260756d2b moving Doxyfile from ffmpeg/libavcodec to ffmpeg
Originally committed as revision 3318 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-15 15:14:13 +00:00
Michael Niedermayer
5c07b9e914 more comments
Originally committed as revision 3317 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-15 14:06:39 +00:00
Benjamin Zores
a708785f2e remove dts_internal.h
avoiding code redundance
license copy paste fix
patch by (Benjamin Zores <ben at geexbox dot org>)

Originally committed as revision 3315 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-14 20:23:35 +00:00
Michael Niedermayer
5f63d108eb simplify
Originally committed as revision 3314 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-14 18:23:49 +00:00
Michael Niedermayer
bb0b93ba81 more info about why init failed
Originally committed as revision 3312 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-14 02:53:42 +00:00
Michael Niedermayer
23c9925329 libdts support by (Benjamin Zores <ben at geexbox dot org>)
Originally committed as revision 3310 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-14 01:32:14 +00:00
Falk Hüffner
ab35de18cb Don't include config.h from assembly, because the mplayer developers
decided it was a great idea to put some (bogus, of course) C function
prototypes there and it doesn't seem worth bothering working around
that since all we wanted is HAVE_GPROF.

Originally committed as revision 3304 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-10 23:22:47 +00:00
Brendan Kehoe
06983da7ee buglet in libpostproc Makefile patch by (Brendan Kehoe <brendan at zen dot org>)
Originally committed as revision 3303 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-10 16:24:11 +00:00
Michael Niedermayer
5bb994e255 1000000l
Originally committed as revision 3301 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-09 22:29:08 +00:00
Michael Niedermayer
8dab64b6c1 field pic timestamp fix
Originally committed as revision 3300 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-09 21:55:10 +00:00
Michael Niedermayer
c79b801159 update version for next release
Originally committed as revision 3297 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-09 12:49:55 +00:00
William Juwono
d88443ae89 av_resample_close in avcodec.h patch by ("William Juwono" <william.juwono at sensestream dot com>)
Originally committed as revision 3295 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-08 10:46:28 +00:00
Michael Niedermayer
bba8334965 overread fix
Originally committed as revision 3294 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-08 00:53:21 +00:00
Michael Niedermayer
61b3b639e7 dc_precission=11 fix
Originally committed as revision 3291 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-06 12:27:36 +00:00
Michael Niedermayer
1ac3176044 ugly missing lrintf workaround by ("Steven M. Schultz" <sms at 2bsd dot com>)
Originally committed as revision 3289 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-05 19:19:04 +00:00
Loren Merritt
4994af2fbd shape-adaptive diamond + prediction crash patch by (Loren Merritt <lorenm at u dot washington dot edu>)
Originally committed as revision 3287 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-05 02:21:38 +00:00
Michael Niedermayer
9ff18a7089 10l
Originally committed as revision 3282 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-01 12:33:07 +00:00
Michael Niedermayer
77e6c403e7 10l (fixes delayed frames during encoding)
Originally committed as revision 3278 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-30 23:12:21 +00:00
Michael Niedermayer
68b3ba0dfa 1000l
Originally committed as revision 3277 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-30 22:39:01 +00:00
Michael Niedermayer
b9d2085ba1 various resampling fixes
Originally committed as revision 3271 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-30 14:15:31 +00:00
Michael Niedermayer
2d48edddf7 forgotten
Originally committed as revision 3270 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-30 14:10:17 +00:00
Michael Niedermayer
c77a9a0e26 timestamp duplication bugfix
Originally committed as revision 3269 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-30 12:05:35 +00:00
Roberto Togni
f7a7c75c3d Ignore palette for grayscale files, all my samples are inverted with
default qt grayscale palette.

Originally committed as revision 3264 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-27 16:06:15 +00:00
Roberto Togni
dab1c4c612 Paletted cvid support
Originally committed as revision 3263 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-27 14:46:02 +00:00
Roberto Togni
d99fbbf4d7 Force alignement for rpza and smc
Originally committed as revision 3262 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-27 11:07:05 +00:00
Roberto Togni
4460289911 fix for width or height not multiple of 4
Originally committed as revision 3261 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-27 11:06:30 +00:00
Alex Beregszaszi
92e09c5dd0 unused
Originally committed as revision 3260 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-26 15:00:26 +00:00
Alex Beregszaszi
ed0219a69f altivec workaround
Originally committed as revision 3259 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-26 10:35:55 +00:00
Alex Beregszaszi
491c4a1005 warning fix
Originally committed as revision 3258 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-26 10:09:58 +00:00
Alex Beregszaszi
d967e3b8a5 some debug
Originally committed as revision 3257 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-26 10:09:42 +00:00
Alex Beregszaszi
41aecb13f3 skip_utf8, unused yet
Originally committed as revision 3256 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-26 10:09:19 +00:00
Alex Beregszaszi
0c2a9d56d4 make the tables static
Originally committed as revision 3255 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-26 10:08:49 +00:00
Alex Beregszaszi
b442a92f85 10l, non-x86 fix
Originally committed as revision 3254 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-26 09:52:16 +00:00
Michael Niedermayer
0dfd33c3f1 support skiping of mb rows during decoding
Originally committed as revision 3253 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-26 02:20:38 +00:00
Michael Niedermayer
ee0c00d3b4 use libmpeg2 idct to decode xvid videos unless the user forced some other idct
Originally committed as revision 3251 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-25 19:14:23 +00:00
Michael Niedermayer
0ff93477be optimization
Originally committed as revision 3249 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-25 14:11:44 +00:00
Michael Niedermayer
4c99f2cdbe transmeta crusoe mmx detection by "Nobody/Anonymous - nobody" / sf feature request tracker
Originally committed as revision 3248 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-24 22:13:44 +00:00
Michael Niedermayer
6f82497728 flush audio encoder buffers at the end
fix vorbis in nut again

Originally committed as revision 3244 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-22 21:14:01 +00:00
Michael Niedermayer
f2e92ef291 increase size of crop table
Originally committed as revision 3243 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-21 01:01:44 +00:00
Roberto Togni
c2ab696add 100l fix codebook usage for v1 vectors
Originally committed as revision 3242 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-20 19:13:07 +00:00
Michael Niedermayer
cbf5374fc0 1000l to myself for FFMIN(...,0) instead of ...,6)
some more checks

Originally committed as revision 3238 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-19 01:25:02 +00:00
Michael Niedermayer
cceb990ef9 1000l to the ffsvq3 author, our default bitstream reader is only guranteed to be able to read 25bit at a time
Originally committed as revision 3237 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-19 01:14:13 +00:00
Michael Niedermayer
6258c7e674 segfault fix
Originally committed as revision 3236 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-19 00:10:21 +00:00
Michael Niedermayer
7b1fa7db0a 100l
Originally committed as revision 3234 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-18 13:11:15 +00:00
Michael Niedermayer
dca97cbe01 10l
Originally committed as revision 3231 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-18 02:45:09 +00:00
Michael Niedermayer
08f7073a6f avoid useless normalization and 10l fix
Originally committed as revision 3229 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-17 16:34:46 +00:00
Michael Niedermayer
aaaf1635c0 polyphase kaiser windowed sinc and blackman nuttall windowed sinc audio resample filters
Originally committed as revision 3228 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-17 15:43:23 +00:00
Mike Melanson
13b4c18eb8 cut-n-paste error slipped through the cracks... thanks to DJ Hartman for
the report

Originally committed as revision 3226 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-16 02:53:12 +00:00
Michael Niedermayer
caacc47ff9 coefficient saturation fix
Originally committed as revision 3224 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-14 23:41:41 +00:00
Michael Niedermayer
0da6315a70 fewer overflows
Originally committed as revision 3222 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-14 16:18:04 +00:00
Mike Melanson
3f1899a834 warning vigilance
Originally committed as revision 3221 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-13 23:40:54 +00:00
Mike Melanson
975af7a992 the ongoing struggle for encoding conditionals
Originally committed as revision 3220 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-13 00:10:07 +00:00
Ivan Kalvachev
715731a32b better cbp handling and small speedup in mpeg12
Originally committed as revision 3219 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-12 16:51:15 +00:00
Michael Niedermayer
dbc56b3914 chroma me fix
Originally committed as revision 3216 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-11 21:12:46 +00:00
Ivan Kalvachev
ffdff4d7e8 mpeg2 chroma422/444 support, may be slower, may be faster for other codecs
Originally committed as revision 3215 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-11 07:59:12 +00:00
Mike Melanson
364ec9dcb6 fix initialization bug in which execution overwrites essential data
tables which causes trouble on subsequent runs if decoder is not
disposed first

Originally committed as revision 3214 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-11 02:24:08 +00:00
Michael Niedermayer
ae1dbde1cf clip input motion vectors
be somewhat more tollerant on invalid input
return INT_MAX instead of -1 for unuseable mv/mb types as that ensures nicely that they arent used
initalize limits earlier for b frames
a few more asserts to check for out of picture vectors

Originally committed as revision 3213 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-10 22:56:43 +00:00
Mike Melanson
9eda2f94c7 attempt to create some separation in the FLAC system with respect to
demuxer and decoder layers by enabling the FLAC decoder to decode data
without needing the entire file, from start to finish

Originally committed as revision 3211 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-10 04:13:43 +00:00
Chip
f777e5de84 make ffmpeg/libavcodec/liba52/crc.c compile on systems where no inttypes.h patch by (Chip <szarlada at freemail dot hu>)
Originally committed as revision 3210 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-09 01:57:47 +00:00
Michael Niedermayer
69de449af6 gcc bug workaround by (Jonathan Gray <khalek at linuxgamers dot net>)
Originally committed as revision 3208 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-08 17:01:17 +00:00
Michael Niedermayer
78421be13d hadamard/AltiVec: fix to compiler fix, again by (Romain Dolbeau <dolbeau at irisa dot fr>)
Originally committed as revision 3207 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-08 02:41:41 +00:00
Michael Niedermayer
1ec4df0fa8 sse8 and nsse in mmx
Originally committed as revision 3206 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-08 02:13:44 +00:00
Michael Niedermayer
d4c5d2adf3 nsse weight
Originally committed as revision 3205 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-07 17:30:02 +00:00
Michael Niedermayer
e6a2ac3474 noise preserving sum of squares comparission function
Originally committed as revision 3204 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-07 03:23:31 +00:00
Michael Niedermayer
2b647ac8c9 fix normalization
Originally committed as revision 3203 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-06 20:15:53 +00:00
Michael Niedermayer
23854cadec sanity checks
Originally committed as revision 3202 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-06 19:44:05 +00:00
Michael Niedermayer
fdce4f3132 cubic filter instead of truncated sinc
looks much better for upscaling & scaling where src and dst size are quite similar

Originally committed as revision 3201 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-06 13:46:50 +00:00
Michael Niedermayer
305fa26445 Building with faad2-cvs fix by ("Steven M. Schultz" <sms at 2bsd dot com>)
Originally committed as revision 3200 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-06 03:52:42 +00:00
Michael Niedermayer
da9b170c6f optional and disabled by default memalign hack for SSE/SSE2 on that alternative OS
Originally committed as revision 3199 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-06 03:45:53 +00:00
Luca Abeni
940aed50ed sample_rate and channels in aac audio patch by (Luca Abeni <lucabe72 at email dot it>)
Originally committed as revision 3198 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-05 22:36:43 +00:00
Michael Niedermayer
f4bd8cf0b1 mini-fix for compatibility with other compilers by (Hauke Duden <H.NS.Duden at gmx dot net>)
Originally committed as revision 3197 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-05 22:33:47 +00:00
Michael Niedermayer
2a5a1bdac9 avg_pixels8_xy2_altivec in AltiVec, enabling avg_pixels8_altivec, hadamard fix by (Romain Dolbeau <dolbeau at irisa dot fr>)
Originally committed as revision 3196 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-05 22:29:37 +00:00
Michael Niedermayer
3cf1e291f8 hadamard/AltiVec: fix to compiler fix by (Romain Dolbeau <dolbeau at irisa dot fr>)
Originally committed as revision 3195 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-05 22:26:03 +00:00
Romain Dolbeau
af05c29a1f remove AltiVec.linux warning patch by (Romain Dolbeau <dolbeau at irisa dot fr>)
Originally committed as revision 3194 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-05 22:23:55 +00:00
Michael Niedermayer
a1e07d39be qscale + qprd fix
Originally committed as revision 3192 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-05 18:10:23 +00:00
Michael Niedermayer
0e9d4a67f4 change qscale -> lambda for the motion estimation
finetune bit/distortion weighting factor used in motion estimation, the old coeffs where finetuned relative to incorrect mv_penalty tables which where then fixed later but the coeffs where not
this _may_ fix the long standing blocking artifacts, but may also introduce mudding artefacts theoretically, so please tell us if u stumble across any so we can either fix them or export this variable so the user can change it

Originally committed as revision 3189 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-03 19:29:47 +00:00
Michael Niedermayer
676e61c7bb infinite loop fix
Originally committed as revision 3188 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-03 14:17:59 +00:00
Michael Niedermayer
fc3e9b148d remove stupid YV12-huffyuv warning
Originally committed as revision 3185 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-01 11:53:03 +00:00
Michael Niedermayer
6bc7981995 10l fix by (Wolfram Gloger <wmglo at dent dot med dot uni-muenchen dot de>)
Originally committed as revision 3184 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-31 23:44:02 +00:00
Roberto Togni
8b408dbf0f Add support for qtrle4 (16 colors/gray levels)
Originally committed as revision 3183 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-31 20:18:08 +00:00
Michael Niedermayer
bb8140f29d h261 dequant fix
Originally committed as revision 3180 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-31 00:42:55 +00:00
Michael Niedermayer
b658ecfeb8 removing h263 specific code
Originally committed as revision 3179 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-30 22:29:15 +00:00
Michael Niedermayer
b37e98c8a2 simplify
Originally committed as revision 3178 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-30 21:39:38 +00:00
Michael Niedermayer
fdbbf2e0fc rewrite h261 loop filter
no malloc(64) memcpy free stuff
no filter1 A->B then filter2 A->B (yes not B->A)
no incorrect rouding after the 1d filter

Originally committed as revision 3177 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-30 21:21:13 +00:00
Michael Niedermayer
c6148de232 h261 decoder by (Maarten Daniels <maarten.daniels at student dot luc dot ac dot be>)
Originally committed as revision 3176 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-30 20:37:15 +00:00
Romain Dolbeau
20646267cd Another (final?) patch for libpostproc.
This one replace horizClassify by a
transpose/(use Vert)/transpose sequence.
This add LowPass and DefFilter for "free".
I also fixed the header in postprocess.c
and special-cased some of the well-aligned
cases (all horiz stuff is well-aligned).

patch by (Romain Dolbeau <dolbeau at irisa dot fr>)

Originally committed as revision 3175 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-30 01:53:43 +00:00
Michael Niedermayer
5751815562 export low_delay for encoding too
Originally committed as revision 3170 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-29 15:16:52 +00:00
Romain Dolbeau
a7b2871cd1 Newer version, using a vectorized version of the
new organisation of code in doVertLowPass. it
seems to be faster in AltiVec also...

Also includes a compile fix for the new do_a_deblock
when using AltiVec.

patch by (Romain Dolbeau <dolbeau at irisa dot fr>)

Originally committed as revision 3167 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-28 13:31:38 +00:00
Michael Niedermayer
39d89b6966 per line lowpass filter in mmx
Originally committed as revision 3166 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-28 13:23:53 +00:00
Michael Niedermayer
792a5a7c6a mmx optimized version of the per line/accurate deblock filter
vertical default mmx deblock filter fix

Originally committed as revision 3165 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-27 21:42:00 +00:00
Michael Niedermayer
8c8bbd10e0 faster c lowpass filter
Originally committed as revision 3164 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-27 16:16:09 +00:00
Michael Niedermayer
12eebd26ae accurate/slow (per line instead of per block) deblock filter spport which is identical to what is recommanded in the mpeg4 spec
Originally committed as revision 3163 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-27 15:57:20 +00:00
Michael Niedermayer
b0ac780ac5 altivec optimizations and horizontal filter fix by (Romain Dolbeau <dolbeau at irisa dot fr>)
Originally committed as revision 3162 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-26 20:15:15 +00:00
Michael Niedermayer
12013f67c4 10l fixes by ("Debabrata Banerjee" <davatar at comcast dot net>)
Originally committed as revision 3161 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-26 20:04:49 +00:00
Michael Niedermayer
b876b5c5f7 10l (interlaced b frame decoding fix)
Originally committed as revision 3160 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-26 19:42:00 +00:00
Mike Melanson
8b58ed6384 rpza resolution fix, courtesy of Todd Kirby (doubleshot at pacbell.net)
Originally committed as revision 3159 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-26 02:42:41 +00:00
Michael Niedermayer
50071f0b48 avcodec_find is in no header file, and appearently not used or very usefull so lets make it static ...
Originally committed as revision 3157 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-25 18:17:25 +00:00
Michael Niedermayer
4df8ca9df2 warning fixes by (Michael Roitzsch <mroi at users dot sourceforge dot net>)
Originally committed as revision 3156 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-25 18:07:25 +00:00
Michael Niedermayer
a62aecce2c mpeg audio timestamp fix
Originally committed as revision 3150 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-23 01:10:15 +00:00
Michael Niedermayer
e8733cc4d9 more data_size=0 cleanup
Originally committed as revision 3147 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-21 14:40:35 +00:00
Michael Niedermayer
53db1cae1c data_size = 0 cleanup
Originally committed as revision 3146 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-21 14:37:16 +00:00
Michael Niedermayer
5da42be192 oops, forgot to commit that change from the warning fixes by (Michael Roitzsch <mroi at users dot sourceforge dot net>)
Originally committed as revision 3145 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-21 14:29:25 +00:00
Michael Niedermayer
3a56975147 forgotten prototypes
Originally committed as revision 3144 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-21 13:44:03 +00:00
Chris Flerackers
a7fcb3ea5c rtp callback context patch by ("Chris Flerackers" <cflerackers at androme dot be>)
Originally committed as revision 3141 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-18 17:23:49 +00:00
Michael Niedermayer
e96682e6f4 some of the warning fixes by (Michael Roitzsch <mroi at users dot sourceforge dot net>)
Originally committed as revision 3140 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-18 17:09:46 +00:00
Roman Shaposhnik
a8eb52a8c3 * reimplementation using mutexes and condition variables.
Originally committed as revision 3138 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-18 01:53:43 +00:00
Michael Niedermayer
2b5296d26b mention avcodec_align_dimensions()
Originally committed as revision 3136 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-13 19:08:39 +00:00
Michael Niedermayer
cc77b9435b removing unused encoding code
Originally committed as revision 3133 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-12 21:34:38 +00:00
Michael Niedermayer
fcee016467 automatic pixel format selection
Originally committed as revision 3131 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-12 16:00:44 +00:00
Michael Niedermayer
270f878447 segfault fix
Originally committed as revision 3128 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-12 02:50:48 +00:00
Michael Niedermayer
3178a86584 support skiped blocks in SVQ1
Originally committed as revision 3127 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-12 02:19:12 +00:00
Michael Niedermayer
5e13a73006 motion estimation for SVQ1
Originally committed as revision 3126 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-12 02:03:24 +00:00
Michael Niedermayer
caa50878f4 UINT64_MAX fix
Originally committed as revision 3125 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-11 12:24:42 +00:00
Michael Niedermayer
1f202b0d46 moving motion estimation specific variables from MpegEncContext -> MotionEstContext
Originally committed as revision 3124 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-11 01:38:46 +00:00
Michael Niedermayer
af4091f194 reduce dependancy between motion estimation and MpegEncContext
this is practically just a s/s->me./c->/

Originally committed as revision 3123 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-11 00:58:08 +00:00
Michael Niedermayer
ca8ad84767 dummy avcodec_thread_init() to avoid linking issues
Originally committed as revision 3122 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-10 23:38:53 +00:00
Michael Niedermayer
ec6d8af5aa p frame encoding, only with 0,0 motion vectors yet though
Originally committed as revision 3121 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-09 15:50:08 +00:00
Michael Niedermayer
0d8e09f8bf using pointers so the code could eventually be used for P frames
a few const modifiers to make gcc happier

Originally committed as revision 3120 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-08 14:15:45 +00:00
Michael Niedermayer
bab97b2f6c width height %64 != 0 fix
print average RD score at the end
precalculated codebook vector mean tables

Originally committed as revision 3119 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-08 11:54:55 +00:00
Roberto Togni
2a0dbb1efc buffer hints, use reget_buffer, removed copy from previous frame
Originally committed as revision 3117 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-07 21:34:33 +00:00
Michael Niedermayer
14aa9da3d6 color and 10l
Originally committed as revision 3116 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-07 21:10:52 +00:00
Michael Niedermayer
fa2ae82206 rate distorted intra only encoding
still grayscale, still no real ratecontrol ...
use -qscale x to set the quality
not optimized yet ...

Originally committed as revision 3115 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-07 20:30:52 +00:00
Michael Niedermayer
5e502c3ff7 10l
Originally committed as revision 3114 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-07 14:57:05 +00:00
Mike Melanson
3b64893dae first pass at a Sorenson Video 1 (SVQ1) encoder
Originally committed as revision 3113 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-07 03:10:11 +00:00
Michael Niedermayer
4ccde216cd support decoding mpeg4 with buggy dc clipping
Originally committed as revision 3108 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-05 19:53:40 +00:00
Michael Niedermayer
a7137a0452 mpeg4 dc prediction simplification
dc cliping fix

Originally committed as revision 3107 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-05 00:14:22 +00:00
Michael Niedermayer
4c263142c5 use AVInteger in av_rescale() so it can finally do 64*64/64 instead of just 64*32/32
Originally committed as revision 3106 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-04 02:58:30 +00:00
Michael Niedermayer
29adde838c arbitrary precision integer support
+ - * / % << >> log2 compare are supported
and dont fear, no bloated lib, just 130 lines of c code

Originally committed as revision 3105 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-04 02:51:18 +00:00
Roberto Togni
ce5b6f63c5 Add buffer hints, enable DR1
Originally committed as revision 3104 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-02 20:01:39 +00:00
Michael Niedermayer
c172913a24 cleanup
Originally committed as revision 3103 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-02 19:18:20 +00:00
Michael Niedermayer
77d0e165b1 mmx dct optimization
Originally committed as revision 3100 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-30 19:53:54 +00:00
Michael Niedermayer
3116cb14d1 AMV bug workaround
Originally committed as revision 3099 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-30 18:56:33 +00:00
Michael Niedermayer
d01dbeb800 simplify
Originally committed as revision 3097 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-30 18:11:34 +00:00
Michael Niedermayer
1545aceaaf dont missuse assert()
Originally committed as revision 3096 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-30 18:09:24 +00:00
Michael Niedermayer
eea8c08fa8 cleanup & memleak fix
Originally committed as revision 3095 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-30 17:42:58 +00:00
Michael Niedermayer
60f41d13ef 10000l
Originally committed as revision 3094 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-30 16:06:20 +00:00
Michael Niedermayer
bf266e195a intra_dc_precission>0 encoding support
Originally committed as revision 3093 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-30 13:44:29 +00:00
Michael Niedermayer
844ce49d12 10l
Originally committed as revision 3090 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-30 01:35:45 +00:00
Ivan Kalvachev
d1700ead3b cola test
Originally committed as revision 3089 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-29 23:20:46 +00:00
Michael Niedermayer
000a9c02db 10l
Originally committed as revision 3088 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-29 22:12:29 +00:00
Michael Niedermayer
e4cb187db8 remove duplicated find_frame_end() code
move codec specific code from parser.c -> <codecname>.c as far as its easily possible

Originally committed as revision 3087 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-29 14:21:33 +00:00
Michael Niedermayer
20da31792b >2 channels decoding fix
Originally committed as revision 3086 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-29 03:33:34 +00:00
Michael Niedermayer
8aedc51d2b simplify
Originally committed as revision 3085 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-27 13:50:41 +00:00
Mike Melanson
7daabccb5d move the 0x80 vector outside of the function, thus saving the compiler
the trouble of having to initialize each byte on the stack individually

Originally committed as revision 3083 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-27 04:06:24 +00:00
Mike Melanson
f9ed9d8584 separate out put_signed_pixels_clamped() into its own function and
implement an optimized MMX version of the function

Originally committed as revision 3082 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-27 03:58:06 +00:00
Michael Niedermayer
ae4b7d5947 H.263 MCBPC fix
Originally committed as revision 3077 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-26 21:46:01 +00:00
Alex Beregszaszi
f4ae934a3b avoid macro conflicts
Originally committed as revision 3076 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-26 09:43:55 +00:00
Alex Beregszaszi
d890d4aed1 disable hadamard for gcc below 3.3 - better fix awaited
Originally committed as revision 3075 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-26 08:51:56 +00:00
Alex Beregszaszi
16f5ef9c70 use the AVV macro from gcc_fixes.h instead ifdefs
Originally committed as revision 3074 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-26 08:48:28 +00:00
Alex Beregszaszi
d65f20b1ea 100l, and another one because it boils out with ICE under gcc 3.2.3
Originally committed as revision 3073 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-26 08:30:56 +00:00
Mike Melanson
75b4f3c6d6 yes, that's nice...
Originally committed as revision 3072 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-26 00:33:59 +00:00
Mike Melanson
116824d0aa reorganize and simplify the VP3 IDCT stuff
Originally committed as revision 3071 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-26 00:20:29 +00:00
Michael Niedermayer
3c0da30c01 fix decoding with quant matrixes which contain elements <16
Originally committed as revision 3069 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-25 19:03:35 +00:00
Michael Niedermayer
49f3806dd8 rv10 decoding fix
Originally committed as revision 3068 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-25 16:14:13 +00:00
Mike Melanson
92a69cf868 move __align16 some place where non-MMX machines can see it
Originally committed as revision 3066 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-25 04:06:09 +00:00
Mike Melanson
6186b94c13 hush...
Originally committed as revision 3065 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-25 03:38:30 +00:00
Mike Melanson
38acbc3cb9 hook up support for SSE2-optimized VP3 IDCT
Originally committed as revision 3064 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-25 03:33:30 +00:00
Mike Melanson
78a16bfec6 add selected SSE2 ASM macros
Originally committed as revision 3063 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-25 03:30:19 +00:00
Mike Melanson
5f9379007c SSE2-optimized variant of VP3 IDCT
Originally committed as revision 3062 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-25 03:29:10 +00:00
Mike Melanson
daae869903 correct MMX-optimized variant of VP3 IDCT, with comments (thank you
Perl!)

Originally committed as revision 3061 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-25 03:26:24 +00:00
Michael Niedermayer
f20f8a8b0b support reusing mb types and field select values of the source file, but use motion vectors just as additional predictors
minor cleanup
segfault fix

Originally committed as revision 3060 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-25 02:09:47 +00:00
Mike Melanson
7e56cd927b add the minimal documentation to make this decoder useful
Originally committed as revision 3059 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-24 19:30:49 +00:00
James Morrison
0f12310fe2 License change and cpu detection patch by (James Morrison <ja2morri at csclub dot uwaterloo dot ca>)
Originally committed as revision 3058 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-24 15:23:50 +00:00
James Morrison
bb476ff367 vis detection patch by (James Morrison <ja2morri at csclub dot uwaterloo dot ca>)
Originally committed as revision 3057 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-24 15:16:23 +00:00
Sascha Sommer
2a86d50bd9 cygwin patch by ("Sascha Sommer" <saschasommer at freenet dot de>)
Originally committed as revision 3053 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-24 11:51:38 +00:00
Michael Niedermayer
aacc6615f8 sanity checks
Originally committed as revision 3052 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-24 03:43:43 +00:00
Michael Niedermayer
9964df63ee minor motion estimation cleanup
4mv motion vector passthrough

Originally committed as revision 3051 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-24 03:36:37 +00:00
Sascha Sommer
5c668f4610 libavcodec Cygwin compilation failure (II) patch by (Sascha Sommer)
Originally committed as revision 3050 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-24 03:02:40 +00:00
Roman Shaposhnik
cbdd9b5386 * Enabling UltraSparc stuff wit _SPARC64
Originally committed as revision 3049 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-24 02:02:54 +00:00
Michael Niedermayer
44f54ceb30 VIS optimized motion compensation code. by (David S. Miller <davem at redhat dot com>)
ported to ffmpeg by (ja2morri at csclub dot uwaterloo dot ca (james morrison))
useable under LGPL with their agreement

Originally committed as revision 3048 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-23 23:38:54 +00:00
Michael Niedermayer
1671083f55 sanity check
Originally committed as revision 3047 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-23 21:17:31 +00:00
Michael Niedermayer
c8470cc173 h264 nal decoding fix by (Laurent Aimar <fenrir at via dot ecp dot fr>)
Originally committed as revision 3044 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-23 19:44:27 +00:00
Laurent Aimar
693399ba55 h264 hurry up fix and a tiny cabac clean patch by (Laurent Aimar <fenrir at via dot ecp dot fr>)
Originally committed as revision 3043 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-23 19:36:52 +00:00
Michael Niedermayer
f4f3223ffd reuse motion vectors/mb types/field select values of the source video, if the SSE for a macroblock which is predicted with these values is below me_threshold
currently works only with mpeg1/2 source or some luck
may need -sync 0 as otherwise framedrops could lead to extreemly long b frame sequences

Originally committed as revision 3042 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-23 19:06:30 +00:00
Michael Niedermayer
10f3005f51 RSHIFT(x,0) fix
Originally committed as revision 3041 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-22 23:15:24 +00:00
Michael Niedermayer
25ef43bb28 corrupted field pictures segfault fix
Originally committed as revision 3040 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-22 21:41:08 +00:00
Michael Niedermayer
6c08a05743 10l (segfault fix)
Originally committed as revision 3039 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-22 20:56:29 +00:00
Romain Dolbeau
9007f51460 better hadamard8_diff16 in AltiVec, and more patch by (Romain Dolbeau <dolbeau at irisa dot fr>)
Originally committed as revision 3038 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-22 13:21:59 +00:00
Michael Niedermayer
2750b827b3 motion estimation cleanup
replace ugly macros by always_inline functions, that way its much more readable and flexible as always_inline can simply be removed while the macros couldnt be
about 0.5 % speedup with default parameters

Originally committed as revision 3037 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-22 03:31:29 +00:00
Michael Niedermayer
c4a1714826 hadamard8_diff8x8 in AltiVec, the 16bits edition by (Romain Dolbeau <dolbeau at irisa dot fr>)
Originally committed as revision 3036 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-20 17:05:12 +00:00
Michael Niedermayer
7c4f71c428 exporting field_select/ref_index values
Originally committed as revision 3035 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-19 03:33:23 +00:00
Michael Niedermayer
3803021453 fix y scale of mv vissualization of interlaced MVs
Originally committed as revision 3033 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-18 18:30:05 +00:00
Michael Niedermayer
0c352cadb0 fix exported motion vectors
Originally committed as revision 3032 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-18 17:46:52 +00:00
Michael Niedermayer
a4d36c1113 passing AVFrame instead of AVPicture around in ffmpeg, that way stuff like motion vectors can be passed from the decoder to the encoder
moving ref_index from Picture to AVFrame

Originally committed as revision 3028 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-17 19:41:49 +00:00
Michael Niedermayer
14e2a9404e flv dropable p frame support
Originally committed as revision 3027 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-17 13:36:21 +00:00
Michael Niedermayer
da63aac585 seems wmv8 doesnt use intra-inter prediction
Originally committed as revision 3024 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-16 18:50:30 +00:00
Romain Dolbeau
a194762450 forgotten copyright & dct_quantize_altivec disabled patch by (Romain Dolbeau <dolbeau at irisa dot fr>)
Originally committed as revision 3023 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-16 12:47:37 +00:00
Hauke Duden
0f5c3f2132 fixed buffering for low bitrates patch by (Hauke Duden <H.NS.Duden at gmx dot net>)
Originally committed as revision 3020 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-16 01:48:05 +00:00
Michael Niedermayer
365e75f89b t/dprintf printf -> av_log
Originally committed as revision 3019 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-16 01:29:35 +00:00
Michael Niedermayer
e4a1fdfdee segfault fix
Originally committed as revision 3017 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-16 01:02:39 +00:00
Michael Niedermayer
137c8468e8 unify table indexing (motion_val,dc_val,ac_val,coded_block changed)
minor +-1 bugfix

Originally committed as revision 3016 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-16 01:01:45 +00:00
Zdenek Kabelac
450420cee1 * removed config.h
Originally committed as revision 3012 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-14 13:13:31 +00:00
Michael Niedermayer
6c205de244 assert(time_incr >= 0) so its clear that this MUST be the case
Originally committed as revision 3010 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-13 13:17:35 +00:00
Laurent Aimar
9e5281141c progressive P frame CABAC support patch by (Laurent Aimar <fenrir at via dot ecp dot fr>)
Originally committed as revision 3000 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-11 16:28:31 +00:00
Allen Day
d8019eb5d8 verbosity patch by (Allen Day <allenday at ucla dot edu>)
Originally committed as revision 2997 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-11 13:50:42 +00:00
Michael Niedermayer
19f82bc824 fixing alignment problems -> SSE2 support enabled again in libavcodec (from ffdshow / milan_cutka)
Originally committed as revision 2990 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-09 16:32:49 +00:00
Matthias Fritschi
1c0e205fab writing corrupt files on MinGW patch by (Matthias Fritschi <choi at netlabs dot org>)
Originally committed as revision 2988 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-09 15:04:51 +00:00
Michael T. Dean
1b8b121fb6 Missing LDFLAGS in libavcodec/Makefile patch by ("Michael T. Dean" <mtdean at thirdcontact dot com>)
Originally committed as revision 2987 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-09 14:57:39 +00:00
Thomas Raivio
931c85d04a aac decoding patch by ("Thomas Raivio" <tjraivio at cc dot hut dot fi>)
Originally committed as revision 2986 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-09 14:53:41 +00:00
Todd Kirby
1ff93ffcd4 padding support in ffmpeg patch by (Todd Kirby <doubleshot at pacbell dot net>)
Originally committed as revision 2982 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-08 18:54:40 +00:00
Alex Beregszaszi
fd1467581c conversion to av_log
Originally committed as revision 2975 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-07 13:26:47 +00:00
Alex Beregszaszi
6ce1a818e1 unknown format chars
Originally committed as revision 2974 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-07 13:14:29 +00:00
Michael Niedermayer
a03cbe5f7f fix global header passing from demuxer to decoder
Originally committed as revision 2958 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-04 17:55:59 +00:00
Michael Niedermayer
3f4993f19b pts hack (correct solution would be to pass the pts from the encoder to the muxer)
Originally committed as revision 2957 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-04 17:06:30 +00:00
Michael Niedermayer
bbb77e7c2e remove function call from muxer->encoder and cleanly pass global headers
Originally committed as revision 2956 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-04 15:19:20 +00:00
Michael Niedermayer
6d8f985ecf fix obnoxious ogg_packet passing from encoder to muxer
Originally committed as revision 2955 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-04 14:39:20 +00:00
Michael Niedermayer
7d1bbcd42f time & (s)rand is forbidden
Originally committed as revision 2954 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-04 11:46:01 +00:00
Michael Niedermayer
d76f581ff5 kill obnoxious ogg_packet passing from demuxer to decoder
Originally committed as revision 2953 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-04 02:07:15 +00:00
Michael Niedermayer
8bfed902f3 remove spyware from ogg*.c
fix vorbis in ogg decoding

Originally committed as revision 2952 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-04 01:10:50 +00:00
Michael Niedermayer
8100cab9c6 nicer looking arrows for the motion vector vissualization
Originally committed as revision 2950 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-03 01:55:24 +00:00
Michael Niedermayer
a3c22fbca6 rv20 (0x20201002) support
Originally committed as revision 2948 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-02 21:04:56 +00:00
Michael Niedermayer
b44bdf7eec interlaced chroma MC divx-bug workaround
Originally committed as revision 2947 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-02 19:54:33 +00:00
Michael Niedermayer
8680741006 skiped mbs in interlaced b frames fix
Originally committed as revision 2946 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-02 19:48:20 +00:00
Michael Niedermayer
3f9d89c696 gmc segfault fix
Originally committed as revision 2945 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-02 16:21:55 +00:00
Michael Niedermayer
2f996b8397 split stream into valid mp3 frames, at least flv & nut absolutely need this, but probably most other formats too
Originally committed as revision 2942 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-01 17:07:06 +00:00
Michael Niedermayer
58c2182d72 fixing alignment, 2nd try
Originally committed as revision 2940 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-29 00:29:27 +00:00
Michael Niedermayer
96d8b5a62c hmm av_log(..., get_bits());
Originally committed as revision 2939 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-28 23:10:53 +00:00
Michael Niedermayer
5cce4dd761 ensure that the bitstream buffers for encoding partitioned frames are aligned
Originally committed as revision 2935 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-26 21:58:55 +00:00
Michael Niedermayer
042e3bfe9d fix decoding of qp<6
Originally committed as revision 2933 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-26 20:28:29 +00:00
Laurent Aimar
e5017ab870 h264 - progressive I frame CABAC support patch by (Laurent Aimar <fenrir at via dot ecp dot fr>)
Originally committed as revision 2932 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-26 19:35:53 +00:00
Michael Niedermayer
b73afeac30 huge vbv buffer size + CBR fix
Originally committed as revision 2929 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-26 12:30:04 +00:00
Michael Niedermayer
046bee8620 always parse APP* as it sometimes contains startcodes which confuse the decoder otherwise
Originally committed as revision 2927 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-26 02:06:34 +00:00
Roman Shaposhnik
901ee2bea3 * some significant clean-up of the dv_decode_ac (it looks real
simple now, take a look for yourself).

   * additional optimizations of the decoder. It runs at 55fps now
     on my desktop and it used to be ~45fps.

Originally committed as revision 2926 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-25 01:46:40 +00:00
Falk Hüffner
7906085fcc warning patrol
Originally committed as revision 2925 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-24 23:32:48 +00:00
Michael Niedermayer
8fe2c60e5f 1000l for iive
Originally committed as revision 2916 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-22 20:54:04 +00:00
Michael Niedermayer
6b47b7300e Compile fix by (Chip <szarlada at freemail dot hu>)
Originally committed as revision 2915 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-22 12:07:02 +00:00
Michael Niedermayer
4e39ab4c97 1000l in av_mallocz_static()
less overallocation in av_fast_realloc() for small arrays

Originally committed as revision 2913 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-22 11:00:51 +00:00
Michael Niedermayer
8d1f2ba5e1 static allocation rewrite (old code was plain a broken mess)
doesnt call realloc every time
 doesnt randomly overwrite memory after after 8-16 calls
 doesnt use ugly macro wraper
 fewer lines of code

Originally committed as revision 2912 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-21 21:58:14 +00:00
Michael Niedermayer
53c05b1eac do loop filter immediatly after each macroblock is decoded instead of after a frame is decoded
Originally committed as revision 2910 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-20 16:40:20 +00:00
Michael Niedermayer
3ebc7e04de h264 loop filter optimizations
Originally committed as revision 2909 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-20 00:18:52 +00:00
Michael Niedermayer
980a82b70b h264 loop filter for progressive I&P frames by (Laurent Aimar <fenrir at via dot ecp dot fr>)
Originally committed as revision 2908 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-19 21:21:17 +00:00
Michael Niedermayer
204b5c9e08 h.263 ssm + aic fix by (Maarten Daniels <maarten dot daniels at student dot luc dot ac dot be>)
Originally committed as revision 2905 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-18 22:45:37 +00:00
Roman Shaposhnik
5825425795 * removing casualties of battle of the wits and English language
Originally committed as revision 2902 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-18 04:19:34 +00:00
Michael Niedermayer
7976241aef moving f/b_code init to where it should be
Originally committed as revision 2901 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-16 17:27:03 +00:00
Michael Niedermayer
7813d6a307 1000000l (using uninitalized variable for initalizing bits per MV table)
Originally committed as revision 2900 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-16 16:57:27 +00:00
Michael Niedermayer
3edcacde04 init cleanup
Originally committed as revision 2899 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-16 16:11:29 +00:00
Ivan Kalvachev
6fe1a1a55b use pan_scan to remove some weight, proper pan_scan offset reading
Originally committed as revision 2898 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-16 15:38:40 +00:00
Ivan Kalvachev
5ac4768362 mpeg12 fix 10l of aspect calucalations, return gop perser to print debug info, and make mpeg1_seq_header hot overwrite height/width
Originally committed as revision 2897 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-15 16:41:15 +00:00
Mike Melanson
6cc270c2ac update the API for the idct function
Originally committed as revision 2895 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-15 01:21:01 +00:00
Ivan Kalvachev
a6b9ffbfc7 move MPV_common_init after parsing stream parameters, matrix rebuild
Originally committed as revision 2894 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-15 00:08:24 +00:00
Roman Shaposhnik
6faa4645c5 * DV decoding/encoding now supports MultiThreading for up to 324 CPUs ;-)
Originally committed as revision 2893 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-14 23:45:42 +00:00
Roman Shaposhnik
380fd6b1b4 * DV decoder simplifications. Now it looks to be 6% faster. At least
on my desktop.
     * Misc. DV cleanups and fixes.

Originally committed as revision 2892 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-14 22:09:58 +00:00
Michael Niedermayer
37923cd32d alignment fix
Originally committed as revision 2890 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-14 17:55:50 +00:00
Michael Niedermayer
67086c8552 width,height%16!=0 fix
Originally committed as revision 2889 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-14 17:33:48 +00:00
Mike Melanson
ee59b4b680 don't fetch the size of SEQH unless SEQH was found
Originally committed as revision 2888 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-14 15:04:21 +00:00
Mike Melanson
23fe14bb20 minor VMD system update; still not perfect, but should not crash either
Originally committed as revision 2887 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-14 04:08:11 +00:00
Mike Melanson
3a278992bd remove numerous definitions of BE_*/LE_* macros; convert FOURCC_TAG ->
MKTAG/MKBETAG

Originally committed as revision 2886 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-14 04:04:08 +00:00
Michael Niedermayer
8be014e027 removing broken mpeg_decode_gop()
Originally committed as revision 2883 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-13 22:01:32 +00:00
Gildas Bazin
68951ecf0c fft_*() renamed into ff_fft_*() patch by (Gildas Bazin <gbazin at altern dot org>)
Originally committed as revision 2882 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-13 21:43:24 +00:00
Mike Melanson
ebcd2f9689 be smarter about the variable size of the extra SVQ3 data
Originally committed as revision 2881 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-13 21:26:54 +00:00
Mike Melanson
14284f78c5 smarten up the SVQ3 extradata decoder without changing the external API
Originally committed as revision 2878 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-13 20:07:38 +00:00
Mike Melanson
bda702fc4d credit update
Originally committed as revision 2877 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-13 19:21:58 +00:00
Roman Shaposhnik
e7a18d5deb * moving some of the commonly used bit reading/writing functions
from common.c -> common.h so that they can be inlined.
         + performace gain ~1% (measured with DV decoding)
	 + code bloat 0.05%
      Looks like a win-win solution.

Originally committed as revision 2874 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-12 23:39:38 +00:00
Michael Niedermayer
1da57984e6 10l
Originally committed as revision 2871 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-11 13:22:39 +00:00
Michael Niedermayer
b98202a438 mb stuffing in partitioned frames fix
Originally committed as revision 2869 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-10 23:13:43 +00:00
Michael Niedermayer
b056e73c80 h263+ custom pcf support
Originally committed as revision 2868 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-10 22:11:49 +00:00
Michael Niedermayer
c276af0471 disable lames leading zero "feature", fixes a few more flv encoding issues
Originally committed as revision 2865 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-10 00:43:24 +00:00
Michael Niedermayer
c7516a000c find_start_code() optimization (about 2x faster now) this may improve decoding speed with multiple threads
Originally committed as revision 2862 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-09 15:23:14 +00:00
Zdenek Kabelac
148beec7e8 * missing opts for make dep
Originally committed as revision 2860 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-09 12:18:40 +00:00
Mike Melanson
01456e8e86 use optimized VP3 functions where appropriate
Originally committed as revision 2857 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-08 02:18:19 +00:00
Mike Melanson
67335dbce3 cut over to using new VP3 DSP functions and remove the old ones; bring
certain source code identifiers in line with official VP3 spec (well,
*my* VP3 spec, anyway)

Originally committed as revision 2856 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-08 02:15:13 +00:00
Mike Melanson
44cb64ee89 seperated out the C-based VP3 DSP functions into a different file; also
ported the MMX-optimized versions of those functions

Originally committed as revision 2855 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-08 02:13:45 +00:00
Michael Niedermayer
e82d912dba h263 framerate & aspect ratio fixes
Originally committed as revision 2854 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-06 12:33:56 +00:00
Michael Niedermayer
c0a0170c16 fix motion compensation with (x+1/2,y+1/2) MVs
Originally committed as revision 2849 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-05 18:44:04 +00:00
Michael Niedermayer
ca5b9f20b2 10l
Originally committed as revision 2848 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-05 15:10:56 +00:00
Zdenek Kabelac
5f0f7713ad * more consts
Originally committed as revision 2847 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-05 14:21:56 +00:00
Zdenek Kabelac
49a37411f3 * const warn elimination
Originally committed as revision 2846 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-05 14:09:12 +00:00
Zdenek Kabelac
62c438a241 * const warn elimintation
Originally committed as revision 2845 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-05 14:08:33 +00:00
Zdenek Kabelac
b0df362b11 * const
Originally committed as revision 2844 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-05 14:07:33 +00:00
Ivan Kalvachev
494c56d36f silence warnings
Originally committed as revision 2843 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-04 14:58:48 +00:00
Michael Niedermayer
399cec2f3e count > thread_count for execute()
Originally committed as revision 2842 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-03 19:29:00 +00:00
Michael Niedermayer
4346539522 av_log() cleanup
null pointer segfaults
 dont print redundant spam
 dont print prefix if reference==NULL
 class -> av_class
 dont copy AVClass to every object, its a waste of memory and not a good idea at all

Originally committed as revision 2841 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-03 17:53:55 +00:00
Michel Bardiaux
bc874daea8 av_log() patch by (Michel Bardiaux <mbardiaux at peaktime dot be>)
Originally committed as revision 2840 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-03 15:41:21 +00:00
Michael Niedermayer
81c5f88748 macrofree av_freep()
Originally committed as revision 2839 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-03 01:57:43 +00:00
Ivan Kalvachev
461cd5bfb5 add vlc for cbp=0 that is valid in 422,444
Originally committed as revision 2838 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-02 18:39:25 +00:00
Michael Niedermayer
50c93f74a6 10l (segfault fix)
Originally committed as revision 2837 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-02 17:21:55 +00:00
Michael Niedermayer
ed263031f6 100l (divx5 b frame + seeking + flush fix)
Originally committed as revision 2836 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-02 03:18:03 +00:00
Ivan Kalvachev
4eaad9c028 forgot default chroma_format value
Originally committed as revision 2835 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-02 00:40:18 +00:00
Ivan Kalvachev
197662a632 fix typo
Originally committed as revision 2834 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-02 00:30:25 +00:00
Ivan Kalvachev
5e5c247a7c initial chroma_format changes,xvmc tweaks and codec_cap
Originally committed as revision 2833 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-01 14:55:21 +00:00
Dmitry Baryshkov
3f1d4e9600 attribute_used patch by (mitya at school dot ioffe dot ru (Dmitry Baryshkov))
Originally committed as revision 2832 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-01 12:46:20 +00:00
Michael Niedermayer
95d356c587 optimizing/cleanup of mpeg/qpel_motion()
Originally committed as revision 2831 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-29 22:14:46 +00:00
Dmitry Baryshkov
5c0513bda7 attribute used patch by (mitya at school dot ioffe dot ru (Dmitry Baryshkov))
Originally committed as revision 2830 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-29 22:10:18 +00:00
Michael Niedermayer
fddae1c30f skip b frames before first i frame
Originally committed as revision 2829 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-29 02:25:19 +00:00
Michael Niedermayer
c8a4ebbf27 simplify MPV_motion()
Originally committed as revision 2828 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-29 02:08:28 +00:00
Michael Niedermayer
5ba326b5d4 interlaced mpeg4 + edge emu fix (fixes decoding of mermaid.avi)
related cleanup

Originally committed as revision 2827 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-29 00:37:36 +00:00
Michael Niedermayer
4c9544d026 mpeg2 field pic decoding fix
simplifiations

Originally committed as revision 2826 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-28 21:02:49 +00:00
Gael Chardon
2a24fe4ccc int64_t_C patch by (Gael Chardon <gael-announcements+ffmpeg at 4now dot net>)
Originally committed as revision 2825 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-28 16:41:23 +00:00
Michael Niedermayer
aab34ca0c5 Metrowerks CodeWarrior patches by (John Dalgliesh <johnd at defyne dot org>)
Originally committed as revision 2823 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-28 15:03:53 +00:00
Michael Niedermayer
259630df42 10l (vdpart fix)
Originally committed as revision 2822 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-26 19:11:21 +00:00
Michael Niedermayer
8d52ec7eb0 AVCodec.supported_framerates
Originally committed as revision 2821 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-26 18:29:39 +00:00
Michael Niedermayer
71141d771a INT64_MIN fix
Originally committed as revision 2820 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-26 15:15:05 +00:00
Michael Niedermayer
9d5277ce32 10l
Originally committed as revision 2819 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-26 13:42:17 +00:00
Michael Niedermayer
ae35f5e14e 100l (field picture decoding fix)
Originally committed as revision 2818 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-26 02:48:07 +00:00
Wolfgang Hesseler
8289c6faa8 export DCT coefficients patch by (Wolfgang Hesseler <wolfgang.hesseler at imk dot fraunhofer dot de>)
Originally committed as revision 2816 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-25 18:29:17 +00:00
Michael Niedermayer
5a815088d3 1l
Originally committed as revision 2815 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-25 18:17:45 +00:00
Michael Niedermayer
9740beffc6 use AVFrame.pts=AV_NOPTS_VALUE instead of AVFrame.pts=0
move AV_NOPTS_VALUE & AV_TIME_BASE from avformat.h -> avcodec.h
related fixes

Originally committed as revision 2814 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-25 17:35:52 +00:00
Steven M. Schultz
8ac5c1b2d3 av_log() patch by ("Steven M. Schultz" <sms at 2BSD dot COM>)
Originally committed as revision 2813 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-25 02:47:53 +00:00
Michael Niedermayer
e51f49487e set AVFrame.pts based upon framerate if its 0
detect & warn if the user prvides pts only for some frames, and try to guess the missing ones

Originally committed as revision 2812 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-25 02:05:50 +00:00
Steven M. Schultz
ed7b99bbe2 av_log() patch by ("Steven M. Schultz" <sms at 2BSD dot COM>)
Originally committed as revision 2811 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-23 21:18:29 +00:00
Michael Niedermayer
c62c07d3d7 multithreaded mpeg2 decoding
Originally committed as revision 2810 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-23 20:56:56 +00:00
Steven M. Schultz
c0a2c42f59 av_log patch by ("Steven M. Schultz" <sms at 2BSD dot COM>)
Originally committed as revision 2809 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-23 16:07:30 +00:00
Michael Niedermayer
560ff8095f av_log()
Originally committed as revision 2808 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-23 15:59:21 +00:00
Michael Niedermayer
310ffb8f26 c99
Originally committed as revision 2807 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-22 21:22:47 +00:00
Michael Niedermayer
d705e4a6bb (f)printf() is disallowed in libavcodec, compilation will fail now if its used, except that codecs which where added after the printf->av_log change which did ignore av_log() and used prinf are now silent and wont print anything, they should be changed to use av_log, i could do that, but its better if the orginal developer decides which AV_LOG level each message should get
Originally committed as revision 2806 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-22 00:31:19 +00:00
Michael Niedermayer
16806499fc w32threads by (Gildas Bazin <gbazin at altern dot org>)
Originally committed as revision 2803 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-19 20:29:26 +00:00
Ivan Kalvachev
530d574081 use get_format
Originally committed as revision 2802 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-19 00:30:33 +00:00
Michael Niedermayer
5e7c25f0d1 simplify
Originally committed as revision 2801 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-18 22:54:02 +00:00
Michael Niedermayer
9ab2717a9d auxdatae, crcrs fix by (Jean-Francois Panisset <panisset at comcast dot net>)
Originally committed as revision 2800 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-18 19:15:19 +00:00
Michael Niedermayer
fbf2284cd2 check if threads_count is too large
Originally committed as revision 2798 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-18 16:26:16 +00:00
Michael Niedermayer
1e31d32c34 flac_flush()
Originally committed as revision 2797 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-18 15:17:54 +00:00
Michael Niedermayer
0496a03413 simplify
only change context if frame header is error-free, as some fields may not be stored in the frame header and so a single damaged frame-header may trash them

Originally committed as revision 2796 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-18 14:05:49 +00:00
Alex Beregszaszi
69f5de1855 avoid negative array indices
Originally committed as revision 2794 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-18 12:49:30 +00:00
Michael Niedermayer
9d65611096 crc8 checking, based upon a patch by (Miroslav Lichvar <lichvarm at phoenix dot inf dot upol dot cz>)
less spam/av_log
fix synccode search
channel_order -> decorrelation_type (cosmetic i know, but the old name is too meaningless IMHO)
faster mid/side decorrelator based upon lifting transforms

Originally committed as revision 2793 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-18 04:10:52 +00:00
Michael Niedermayer
4fd125984b remove residual array, it isnt really needed
Originally committed as revision 2792 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-18 02:00:55 +00:00
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