Diego Biurrun
6dbdf2f26e
Handle AltiVec objects in a more elegant fashion, similar to MMX.
...
Originally committed as revision 15960 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-30 17:00:08 +00:00
Diego Biurrun
52ad2f390e
Remove ineffectual hack that attempts to build ppc/check_altivec.o without
...
AltiVec flags. The flags are set by configure and used to compile all files
anyway. Setting extra AltiVec options here just duplicates them for the files
for which they are set.
Originally committed as revision 15959 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-30 16:57:28 +00:00
Baptiste Coudurier
3bff4d8b7a
Implement the fields rc_max_available_vbv_use and
...
rc_min_vbv_overflow_use in AVCodecContext, and use their values in the
ratecontrol code rather than hardcoded ones.
See the thread: "[RFC] ratecontrol buffer size magic".
Patch by Baptiste Coudurier.
Originally committed as revision 15955 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-29 14:08:48 +00:00
Kostya Shishkov
d041a59897
Add support for parsing and decoding DCA-HD streams.
...
Originally committed as revision 15951 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-29 10:06:37 +00:00
Kostya Shishkov
d33ee3f2b1
RV40 loop filter
...
Originally committed as revision 15950 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-29 06:24:47 +00:00
Kostya Shishkov
de8cac167d
Invoke future RV30/40 loop filter for already decoded rows instead of
...
the whole frame at once.
Originally committed as revision 15949 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-29 06:22:31 +00:00
Diego Biurrun
10ac361827
Do not duplicate AAN DCT tables in dct-test.c.
...
Originally committed as revision 15948 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-28 00:32:24 +00:00
Diego Biurrun
2d70cc38c5
Add missing '-test' in name of imgresample test.
...
Originally committed as revision 15947 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-28 00:00:11 +00:00
Kostya Shishkov
f653095bdd
Fix RV40 chroma MC
...
Originally committed as revision 15943 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-27 07:26:26 +00:00
Diego Biurrun
2a023c36ea
Only build the imgresample test if the old scaler was enabled.
...
Originally committed as revision 15941 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-26 15:09:05 +00:00
Diego Biurrun
e8ed9b7a73
Automatically check the dependencies for the AAN DCT tables.
...
This also makes the AAN DCT tables individually selectable.
Originally committed as revision 15940 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-26 15:07:03 +00:00
Diego Biurrun
8b22017f38
Move aanscales tables to their own file; fixes compilation without encoders.
...
based on a patch by David Geldreich, david.geldreich free fr
Originally committed as revision 15939 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-26 13:38:13 +00:00
Diego Biurrun
5bdf124c42
cosmetics: Rename aanscales to ff_aanscales, it will soon be externally visible.
...
Originally committed as revision 15938 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-26 13:28:30 +00:00
Diego Biurrun
f107a02d4e
Move encoder-specific quantize_c and related tables to the H.264 encoder.
...
Originally committed as revision 15937 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-26 10:22:55 +00:00
Reimar Döffinger
35d0c2173c
Replace pushf/popf by explicit pushfl/popfl (32 bit) or pushfq/popfq (x86_64),
...
to fix generated code on ICC 11.0.
Originally committed as revision 15935 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-25 07:34:20 +00:00
Måns Rullgård
bd2b6b33bf
snow: move scratch buffer from stack to malloced buffer in context
...
This is required to ensure 16-byte alignment.
Originally committed as revision 15934 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-25 00:20:49 +00:00
Diego Biurrun
ab56b321a9
Disable unused code for now to allow 'make checkheaders' to pass.
...
Originally committed as revision 15933 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-24 21:31:01 +00:00
Diego Biurrun
4b5f19074e
Add missing headers to get 'make checkheaders' closer to passing.
...
Originally committed as revision 15932 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-24 21:29:07 +00:00
Måns Rullgård
819e4dd9e6
svq1enc: move scratch buffer from stack to context to ensure alignment
...
Originally committed as revision 15931 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-24 19:08:02 +00:00
Måns Rullgård
6b8810d0ca
flashsv: use skip_bits_long() where required
...
skip_bits(gb, n) with n > 17 doesn't work with all bitstream readers.
Switch to skip_bits_long() instead.
Originally committed as revision 15930 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-24 19:00:55 +00:00
Baptiste Coudurier
f4cca718cf
move decoder initialization in separate function, earlier failure detection
...
Originally committed as revision 15929 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-24 18:49:50 +00:00
Diego Biurrun
f2e92ad105
Make non-void replacement functions actually return a value.
...
Originally committed as revision 15928 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-24 16:33:11 +00:00
Diego Biurrun
ce9ff9cc52
Move #defines that are mostly used in h264.c out of h264data.h and into h264.h.
...
Originally committed as revision 15927 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-24 16:08:21 +00:00
Diego Biurrun
ee2a957fbd
Use golomb_to_pict_type instead of its duplicate, slice_type_map.
...
Originally committed as revision 15926 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-24 15:53:16 +00:00
Diego Biurrun
7f8f4b40aa
cosmetics: Align table for better readability.
...
Originally committed as revision 15925 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-24 12:39:02 +00:00
Kostya Shishkov
c5b2fe165a
Some BMP files have file size declared in the header equal to headers size
...
without image data, so try to correct that value before conducting checks on
declared file size.
Originally committed as revision 15924 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-24 11:24:02 +00:00
Kostya Shishkov
e282307b21
Give more meaningful message on BMP header parsing error
...
Originally committed as revision 15923 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-24 10:58:32 +00:00
Kostya Shishkov
4a14e66605
Add known BMP header sizes.
...
Now 11B*.bmp from samples repository can be decoded.
Originally committed as revision 15922 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-24 10:53:13 +00:00
Måns Rullgård
4deaa94639
Add shift argument to MULL() macro
...
This replaces use of FRAC_BITS in the MULL() definition with a third
argument specifying the shift amount. All uses of this macro are
updated to pass FRAC_BITS as third argument.
Originally committed as revision 15921 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-24 09:28:55 +00:00
Robert Swain
8f5aaa6d2f
AAC: Cosmetics after last commit
...
Originally committed as revision 15920 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-24 00:14:33 +00:00
Alex Converse
7633a0415d
AAC: Frequency domain prediction and hence Main profile support
...
Patch by Alex Converse ( alex converse gmail com )
Originally committed as revision 15919 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-24 00:13:50 +00:00
Kostya Shishkov
e9d0fdef53
Strong filtering function for future RV40 loop filter
...
Originally committed as revision 15918 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-23 19:36:44 +00:00
Måns Rullgård
d270cb4ae4
ARM: move dct_unquantize_h263_*_armv5te asm to separate file
...
Originally committed as revision 15917 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-23 19:11:44 +00:00
Diego Biurrun
76de302dd8
cosmetics: indentation, prettyprinting
...
Originally committed as revision 15908 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-22 16:36:50 +00:00
Diego Biurrun
7f8205da4c
cosmetics: consistent function declarations
...
Originally committed as revision 15907 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-22 16:03:20 +00:00
Diego Biurrun
7d1b158284
cosmetics: Put statements after 'if' on their own line.
...
Originally committed as revision 15906 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-22 15:57:59 +00:00
Reynaldo H. Verdejo Pinochet
8372e3d263
Trivial, Cosmetics
...
Originally committed as revision 15905 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-22 00:29:49 +00:00
Reynaldo H. Verdejo Pinochet
1b321c5c96
Trivial, Cosmetics
...
Originally committed as revision 15904 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-22 00:27:26 +00:00
Kenan Gillet
148c31b9c2
More OKed parts of the QCELP decoder
...
patch by Kenan Gillet, kenan.gillet gmail com
Originally committed as revision 15901 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-21 18:39:16 +00:00
Vitor Sessak
31fb59ec98
Cosmetic: Fix typo
...
Spotted by Jethro Walters
Originally committed as revision 15900 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-21 17:38:14 +00:00
Diego Biurrun
3c54686885
Move H.264 tables that are only useful for encoding to h264enc.c.
...
Originally committed as revision 15899 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-21 10:00:03 +00:00
Diego Biurrun
d1eb20e878
Get rid of last ifdef HAVE_MMX. Instead, all MMX-specific objects are gathered
...
into a separate variable which is added to OBJS if MMX is enabled.
Originally committed as revision 15898 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-20 23:04:04 +00:00
Måns Rullgård
516566a8ec
SH4: fix IDCT
...
Originally committed as revision 15897 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-20 22:57:57 +00:00
Diego Biurrun
f0e602351e
cosmetics: Consistently place HEADERS before OBJS in all Makefiles.
...
Originally committed as revision 15896 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-20 22:53:18 +00:00
Diego Biurrun
0d2d0f97a5
Move FFT-specific MMX optimizations out of the 'ifdef HAVE_MMX' block.
...
The MMX dependency is already handled by configure.
Originally committed as revision 15895 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-20 22:50:13 +00:00
Diego Biurrun
d785a67066
cosmetics: indentation
...
Originally committed as revision 15894 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-20 22:48:51 +00:00
Diego Biurrun
39fdda2bf1
Use standard OBJS-$(HAVE_MMX) trick for MMX objects instead
...
of surrounding them by an ifdef.
Originally committed as revision 15893 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-20 22:47:18 +00:00
Kenan Gillet
469105aadb
Fix typo in table value.
...
patch by Kenan Gillet, kenan.gillet gmail com
Originally committed as revision 15892 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-20 19:04:35 +00:00
Kostya Shishkov
cd98279126
33l Fix applying residue condition in RV30/40 decoder
...
Originally committed as revision 15891 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-20 14:07:37 +00:00
Kostya Shishkov
78a0fa8c8f
Eliminate direct use of s->current_picture in RV30/40 decoder
...
Originally committed as revision 15890 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-20 14:05:29 +00:00