Commit Graph

8141 Commits

Author SHA1 Message Date
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
Kostya Shishkov
7690351cf3 Use wider margins for edge emulation in RV30/40
Originally committed as revision 15889 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-20 14:03:35 +00:00
Måns Rullgård
c260b59603 SH4: fix memzero_align8()
Originally committed as revision 15888 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-20 09:21:52 +00:00
Måns Rullgård
1a9e9a2fbd SH4: add macros for setting and restoring FPSCR.PR bit
Originally committed as revision 15887 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-20 09:21:50 +00:00
Måns Rullgård
6f14b19e48 SH4: remove some commented out blocks of code
Originally committed as revision 15886 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-20 09:21:46 +00:00
Roman Shaposhnik
a21fd75f56 Making idct factor tables dynamically allocated
Originally committed as revision 15885 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-20 01:40:40 +00:00
Kostya Shishkov
eeee48b26b Add channel layout to several audio decoders I maintain
Originally committed as revision 15884 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-19 14:57:48 +00:00
Roman Shaposhnik
ff16d6e495 Change of indentation
Originally committed as revision 15883 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-19 01:40:09 +00:00
Måns Rullgård
df69be0c13 SH4: fix IDCT
Originally committed as revision 15882 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-19 00:37:30 +00:00
Måns Rullgård
6f15dd8d14 SH4: do not mix code and declarations
Originally committed as revision 15881 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-19 00:37:28 +00:00
Måns Rullgård
c136ece9b3 SH4: fix compilation of memzero_align8()
Originally committed as revision 15880 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-19 00:37:24 +00:00
Måns Rullgård
b42019c130 SH4: remove unused functions
Originally committed as revision 15879 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-19 00:37:21 +00:00
Måns Rullgård
d7e0f8dda6 SH4: replace missed rnd_avg2 -> rnd_avg32
Originally committed as revision 15878 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-19 00:37:17 +00:00
Måns Rullgård
23e05e69a8 SH4: rename functions with conflicting names
Originally committed as revision 15877 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-19 00:37:14 +00:00
Diego Biurrun
45e730c5e5 cosmetics: Add a few more explanatory comments to the object sections.
Originally committed as revision 15876 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-18 22:48:43 +00:00
Diego Biurrun
a261890432 cosmetics: Sort processor-specific object lines into alphabetical order.
Originally committed as revision 15875 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-18 22:37:22 +00:00
Roman Shaposhnik
195b349041 Getting rid of huge static DV tables
Originally committed as revision 15874 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-18 20:48:26 +00:00
Roman Shaposhnik
1ac1217bd6 Getting rid of unneeded extra wrapper functions
Originally committed as revision 15873 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-18 20:33:08 +00:00
Diego Biurrun
40b509b36b Add a Makefile variable for the old scaler that gets enabled when the new
scaler is disabled to get rid of a Makefile ifdef.

Originally committed as revision 15867 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-17 22:51:59 +00:00
Diego Biurrun
767d3e7bf7 Revert previous commit: the libavcodec/i386/fft_*.o objects depend on
libavcodec/i386/fft_mmx.o, which depends on yasm.

Originally committed as revision 15866 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-17 21:56:34 +00:00
Diego Biurrun
ba01d867f5 Only the yasm-dependent objects should be enabled by a yasm conditional.
Originally committed as revision 15865 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-17 19:01:25 +00:00
Diego Biurrun
c6786edb3c cosmetics: Group ppc-specific objects together.
Originally committed as revision 15863 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-17 16:38:50 +00:00
Diego Biurrun
607ffa34ba cosmetics: Group ARM objects sections together.
Originally committed as revision 15856 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-17 15:36:28 +00:00
Diego Biurrun
e9e74e0ad5 cosmetics: Reorder processor-specific entries alphabetically.
Originally committed as revision 15855 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-17 15:09:45 +00:00
Benoit Fouet
074bfa7de7 Change email address to a valid one.
Originally committed as revision 15848 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-17 14:04:56 +00:00
Carl Eugen Hoyos
7e8efe18ba One const is enough.
Originally committed as revision 15847 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-17 12:48:31 +00:00
Benjamin Larsson
b836fb0060 Silence warning in imc decoder
Originally committed as revision 15844 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-16 10:16:07 +00:00
Benjamin Larsson
31d5113a15 Set channel_layout
Originally committed as revision 15843 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-16 09:54:09 +00:00
Kostya Shishkov
55374d57e8 421l: postproc flag may be present in any VC-1 AP frame type
Originally committed as revision 15842 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-16 06:47:44 +00:00
Reynaldo H. Verdejo Pinochet
8e36385a63 Credit Kenan Gillet for his contributions towards merging the SoC QCELP decoder.
Originally committed as revision 15839 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-16 01:00:25 +00:00
Reynaldo H. Verdejo Pinochet
1c3ae1abf2 Cosmetics
Originally committed as revision 15838 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-16 00:57:06 +00:00
Reynaldo H. Verdejo Pinochet
f29289eec7 Change to file description suggested by Michael
Originally committed as revision 15837 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-16 00:05:20 +00:00
Benjamin Larsson
92765276fb Proper channel output reordering for the dca decoder.
Originally committed as revision 15832 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-15 20:31:03 +00:00
Reynaldo H. Verdejo Pinochet
8257d2ad51 Please keep original copyright heading and attribution lines...
Originally committed as revision 15831 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-15 20:19:20 +00:00
Kostya Shishkov
70f42303e7 Weak deblock filter function for future RV40 loop filter
Originally committed as revision 15827 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-15 14:15:24 +00:00
Kenan Gillet
39ded68013 More OKed parts of the QCELP decoder
patch by Kenan Gillet, kenan.gillet gmail com

Originally committed as revision 15822 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-14 17:36:47 +00:00
Baptiste Coudurier
70a61f8cf7 remove useless mmx.h include
Originally committed as revision 15820 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-14 02:49:23 +00:00
Baptiste Coudurier
d45be17855 convert fdct_mmx to plain asm
Originally committed as revision 15819 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-14 02:44:15 +00:00
Justin Ruggles
e202cc2580 revert r15812 (E-AC-3 Spectral Extension) pending further review
Originally committed as revision 15818 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-13 22:38:38 +00:00
Baptiste Coudurier
83534418f0 add sse2 fdct
Originally committed as revision 15817 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-13 19:54:02 +00:00
Carl Eugen Hoyos
74e8b78b20 Fix H.264 decoding.
(Problem analyzed by Uoti Urpala)

Originally committed as revision 15816 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-13 11:33:26 +00:00
Justin Ruggles
3f3ca7ac07 cosmetics: vertical alignment
Originally committed as revision 15815 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-13 03:18:28 +00:00
Justin Ruggles
c763f86728 silence a gcc warning about using an uninitialized variable
Originally committed as revision 15814 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-13 03:18:24 +00:00
Justin Ruggles
66561189a1 cosmetics: indentation
Originally committed as revision 15813 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-13 03:18:18 +00:00
Justin Ruggles
0cc51734b2 add support for spectral extension
Originally committed as revision 15812 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-13 03:18:13 +00:00
Justin Ruggles
0c5d750df9 add a generic function to decode banding structure for coupling, spectral
extension, or enhanced coupling

Originally committed as revision 15811 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-13 03:18:07 +00:00
Justin Ruggles
6c6f927289 add a line break in error message text
Originally committed as revision 15810 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-13 03:18:01 +00:00
Justin Ruggles
6ee6d068f7 simplify decoding of coupling frequency range
Originally committed as revision 15809 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-13 03:17:56 +00:00
Justin Ruggles
24834c1928 cosmetics: rename two variables
Originally committed as revision 15808 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-13 03:17:50 +00:00
Roman Shaposhnik
2ae7e12430 Taking advantage of the new ->execute API
Originally committed as revision 15806 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-12 21:13:28 +00:00
Måns Rullgård
77753f874a ARM: fix j_rev_dct_ARM
This is a bugfix for ARMv4 assembly implementation of 'j_rev_dct'
function.

The problem was in the incorrect partially empty row detection. Even
if the first two coefficients in the row were nonzero, it handled this
just like the case with only the first nonzero coefficient.

Now this function produces exactly the same output as the stripped
down reference C version of 'j_rev_dct' (with the nested checks like
'if (d6) { if (d2) { ...' always evaluated as true, avoiding shortcut
branches).

Originally committed as revision 15805 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-12 20:23:36 +00:00
Roman Shaposhnik
3a84713aaa Making it easier to send arbitrary structures as work orders to MT workers
Originally committed as revision 15804 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-12 17:47:23 +00:00
Diego Biurrun
52ece41057 Remove unused variable.
Originally committed as revision 15803 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-12 17:29:02 +00:00
Kenan Gillet
200de8c6bb More OKed parts of the QCELP decoder
patch by Kenan Gillet, kenan.gillet gmail com

Originally committed as revision 15802 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-11 18:50:38 +00:00
Benjamin Larsson
e22192ecc3 Comment typo
Originally committed as revision 15801 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-11 08:46:29 +00:00
Benjamin Larsson
cd027b511e Remove channel layout table that only should be used by encoders.
Originally committed as revision 15800 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-11 08:30:32 +00:00
Martin Storsjö
916ff02261 Fix memory leak in libgsm wrapper.
Patch by Martin Storsjö, martin at martin dot st

Originally committed as revision 15798 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-10 20:02:00 +00:00
Kenan Gillet
2ae1a9b264 More OKed parts of the QCELP decoder
patch by Kenan Gillet, kenan.gillet gmail com

Originally committed as revision 15797 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-09 12:00:47 +00:00
Kostya Shishkov
502ecc97af Split RV3/4 deblock pattern into horizontal and vertical parts
during calculating.

Originally committed as revision 15794 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-08 18:15:13 +00:00
Kostya Shishkov
ede0a5f973 Drop redundant check in RV3/4 deblock coefficients calculation
Originally committed as revision 15792 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-08 07:24:56 +00:00
Peter Ross
28245435d9 Electronic Arts TGQ/TQI/MAD IDCT algorithm
Originally committed as revision 15790 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-08 00:38:10 +00:00
Peter Ross
42b30357be Electronic Arts TGQ video decoder
Originally committed as revision 15789 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-08 00:29:22 +00:00
Roman Shaposhnik
c3d470b4a9 implementing more efficient (and direct) allocation of work for DV codec workers
Originally committed as revision 15788 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-08 00:18:00 +00:00
Peter Ross
939e4e3a72 Promote inv_aanscales array to global scope (ff_inv_aanscales)
Originally committed as revision 15787 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-08 00:15:08 +00:00
Kostya Shishkov
e122311261 Calculating an additional MV-based deblocking pattern is the same
for both RV3 and RV4, so move it into common code.

Originally committed as revision 15786 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-07 07:18:22 +00:00
Måns Rullgård
d00e8b83f1 ARM: change MUL16() macro to inline function
Originally committed as revision 15783 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-06 01:33:28 +00:00
Måns Rullgård
b911711571 ARM: prettify MAC16() macro
Originally committed as revision 15782 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-06 01:33:26 +00:00
Måns Rullgård
73c1c96b83 ARM: change MULH() macro to inline function
Originally committed as revision 15781 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-06 01:33:23 +00:00