Commit Graph

5459 Commits

Author SHA1 Message Date
Michael Niedermayer
b538791bc9 use more bits on the encoder side
negligible increase in quality

Originally committed as revision 10195 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-23 10:49:14 +00:00
Luca Abeni
e02f7490da Initialize the "stc" variable before using it in ff_find_start_code()
Originally committed as revision 10193 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-23 07:02:27 +00:00
Diego Biurrun
9d16f87ffd Rename CONFIG_DARWIN to SYS_DARWIN, it is not configurable (in FFmpeg).
Originally committed as revision 10190 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-22 22:46:39 +00:00
Michael Niedermayer
81717747ab simplify
Originally committed as revision 10186 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-22 17:26:49 +00:00
Benoit Fouet
e2d0eeecf7 right filename in doxygen comment
Originally committed as revision 10185 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-22 15:03:14 +00:00
Diego Biurrun
e9bfae45bb cosmetics: alphabetical order
Originally committed as revision 10184 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-22 13:19:10 +00:00
Diego Biurrun
d55388d028 Simplify preprocessor directives.
Originally committed as revision 10181 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-22 13:04:10 +00:00
Marc Hoffman
18b8b43b4f make clean bfin
Originally committed as revision 10180 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-22 12:54:49 +00:00
Diego Biurrun
57b499c7da Identifiers starting with underscores are reserved.
Originally committed as revision 10179 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-22 12:41:16 +00:00
Aurelien Jacobs
5ab657079d parsers and bsfs declarations are not meant to be part of public API
Originally committed as revision 10173 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-21 18:24:08 +00:00
Michael Niedermayer
ce611a27be Change rounding of the horizontal DWT to match the vertical one.
This allows some simplifications and optimizations and should
not have any effect on quality.

Originally committed as revision 10172 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-21 16:29:40 +00:00
Aurelien Jacobs
289a723ce3 asv1.c directly uses Put/GetBitContext, so it should include bitstream.h
Originally committed as revision 10169 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-21 15:48:08 +00:00
Michael Niedermayer
30cd3e66bd remove code which become unused by the previous changes
Originally committed as revision 10166 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-21 00:05:30 +00:00
Michael Niedermayer
72dee89b5d Simplify and optimize the 4th vertical lifting step of the SSE2 code (untested)
This also reduces the needed headroom in that step by 1 bit

Originally committed as revision 10165 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-21 00:03:18 +00:00
Michael Niedermayer
d0dae46a90 Simplify and optimize the 4th vertical lifting step of the MMX code
This also reduces the needed headroom in that step by 1 bit

Originally committed as revision 10164 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-21 00:02:19 +00:00
Michael Niedermayer
1ffbbef217 Simplify and speedup code, reduce needed headroom by 2 bits in the 3rd
vertical lifting step of the SSE2 code (untested)

Originally committed as revision 10163 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-20 23:59:20 +00:00
Michael Niedermayer
4bf1790421 simplify, speedup and reduce needed headroom by 2 bits in the 3rd
vertical lifting step

Originally committed as revision 10162 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-20 23:54:49 +00:00
Michael Niedermayer
dd30437bbe replace <<1 by add for SSE2 (untested)
Originally committed as revision 10161 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-20 23:11:05 +00:00
Michael Niedermayer
7e665a3943 replace <<1 by add
Originally committed as revision 10160 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-20 23:09:39 +00:00
Michael Niedermayer
eee649d3b5 slightly change horizontal lift3 so it needs 1 bit less headroom
Originally committed as revision 10159 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-20 23:02:59 +00:00
Michael Niedermayer
be3b22f9ca remove idiotc double subtraction from the sse2 code (untested, no sse2 here)
Originally committed as revision 10158 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-20 22:41:47 +00:00
Michael Niedermayer
8510c519e7 fixme note
Originally committed as revision 10157 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-20 22:34:42 +00:00
Michael Niedermayer
3a9f44d5d5 and of course the unneeded double subtractions were blindly put in the
mmx code
this also makes the affected code 4% faster

Originally committed as revision 10156 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-20 22:29:21 +00:00
Michael Niedermayer
f29bd6fa71 more stupid double subtractions
Originally committed as revision 10155 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-20 22:26:49 +00:00
Michael Niedermayer
49ca0e531a get rid of idiotc double subtraction
Originally committed as revision 10154 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-20 22:18:26 +00:00
Benjamin Larsson
622d633260 Cosmetics, indentation.
Originally committed as revision 10145 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-19 20:34:27 +00:00
Benjamin Larsson
1cbe9d6a78 Trellis quantization support for adpcm_swf.
Originally committed as revision 10144 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-19 20:31:53 +00:00
Reimar Döffinger
7b07d3e8fe Use defines instead of raw hex numbers to specify CRC polynomials
Originally committed as revision 10143 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-19 12:36:15 +00:00
Ramiro Polla
c8f9ef613e CONFIG_7REGS -> HAVE_7REGS
Originally committed as revision 10121 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-15 21:19:13 +00:00
Marco Gerards
9df4ce5e5b Make the Golomb decoder work for Dirac
Originally committed as revision 10119 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-15 12:59:27 +00:00
Alexander Strange
6d324c813f Statements like a = b = c = d = e; store from right-to-left, so if
you write them in the right order it comes out backwards.
This removes them from fill_rectangle().
patch by Alexander Strange %astrange A ithinksw P com%
Original thread:
Date: Aug 14, 2007 5:36 AM
Subject: [FFmpeg-devel] [PATCH] two small h264 optimizations

Originally committed as revision 10118 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-14 22:28:09 +00:00
Ramiro Polla
f3a3c72e3c Introduce AVERROR_PATCHWELCOME
Originally committed as revision 10110 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-13 22:55:04 +00:00
Diego Biurrun
9488b966c7 Move msmpeg4 tables from a header file to msmpegdata.c.
Originally committed as revision 10107 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-13 17:57:06 +00:00
Ramiro Polla
5e4c7ca224 Add attribute that forces alignment of stack to functions that need it.
Necessary for systems that don't align by default to 16 bytes, required by some
SSE instructions.
Requires GCC >= 4.2.
Based on patch by Gaël Chardon.

Originally committed as revision 10106 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-13 15:28:29 +00:00
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