Commit Graph

8120 Commits

Author SHA1 Message Date
Kostya Shishkov 207625ee61 Remove unused RV40 spatial intra prediction function
Originally committed as revision 15979 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-02 17:34:26 +00:00
Kenan Gillet 73b458e354 Commit last ok'ed parts of QCELP decoder and enable it.
patch by Kenan Gillet, kenan.gillet gmail com

Originally committed as revision 15978 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-02 16:48:05 +00:00
Michael Niedermayer a6f2c0d6e5 Fix regression test failure with pthreads on multiprocessor systems.
Fixes issue517

Originally committed as revision 15976 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-02 10:43:08 +00:00
Kenan Gillet 061f407e53 More OKed parts of the QCELP decoder
patch by Kenan Gillet, kenan.gillet gmail com

Originally committed as revision 15975 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-01 22:07:00 +00:00
Vitor Sessak b8438f5f48 Remove hack added to make "make checkheaders" pass, it is unneeded now
Originally committed as revision 15974 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-01 20:45:29 +00:00
Kenan Gillet f28b3eb21c More OKed parts of the QCELP decoder
patch by Kenan Gillet, kenan.gillet gmail com

Originally committed as revision 15973 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-01 20:43:22 +00:00
Michael Niedermayer c9c16cacb5 Get rid of now unneeded pps/sps correctness code as pps/sps will not
be used at all when anything fails sanity checks.

Originally committed as revision 15972 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-01 16:24:19 +00:00
Michael Niedermayer 255d4e717f Allocate parameter sets sanely instead of using alloc_parameter_set().
Avoids ending up with half initialized parameter sets.
Fixes issue282.

Originally committed as revision 15971 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-01 16:04:03 +00:00
Kostya Shishkov 11c0f9eca1 enable RV40 decoder
Originally committed as revision 15968 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-01 06:40:36 +00:00
Kostya Shishkov 2d8a081511 RV40 MC functions
Originally committed as revision 15967 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-01 06:36:22 +00:00
Michael Niedermayer ff7f75e185 Fix segfault due to deallocated entries in delayed_pic after size change.
Fixes issue714.

Originally committed as revision 15965 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-30 23:51:02 +00:00
Kenan Gillet 640760da3e More OKed parts of the QCELP decoder
patch by Kenan Gillet, kenan.gillet gmail com

Originally committed as revision 15961 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-30 17:18:17 +00:00
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