Commit Graph

953 Commits

Author SHA1 Message Date
Jason Garrett-Glaser 4a384de5b8 Split h264dsp and h264pred in configure.
Many H.264 derivatives, like RV40 and VP8, use the H.264 prediction functions
but not the weight/loopfilter functions.
This should reduce the size of builds with one of these derivatives but without
H.264 decoding itself.

Originally committed as revision 24741 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-07 23:10:25 +00:00
Diego Biurrun 3447f12d66 Add a CONFIG_ variable for generic Huffman routines.
Originally committed as revision 24715 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-06 10:29:14 +00:00
Jason Garrett-Glaser 905ef0d064 VP5/6/8: eliminate CABAC dependency
Create a custom table for VP5/6/8's renorm to avoid depending on H.264's.
Saves one instruction in the arithmetic decoder as well.

Originally committed as revision 24701 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-04 23:04:05 +00:00
Martin Storsjö 8d370d88e5 Fix VP8 decoder dependencies
This reverts rev 24674 - the VP8 decoder actually depends on cabac.o.
vp8.c includes vp56.h, which includes cabac.h, which has inline functions
that reference tables from cabac.c.

This fixes compilation with --disable-everything --enable-decoder=vp8.

Originally committed as revision 24692 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-04 05:20:49 +00:00
Diego Biurrun 83abdf5ff0 The VP8 decoder does not depend on cabac.o.
Originally committed as revision 24674 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-02 23:49:49 +00:00
Diego Biurrun efbc455915 The VP8 decoder does not depend on vp56.o and vp56data.o.
Originally committed as revision 24673 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-02 23:23:27 +00:00
Diego Biurrun 2e2ca50655 Remove redundant h264pred.o from VP8 objects list.
It is already selected through the H264DSP dependency of VP8.

Originally committed as revision 24672 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-02 23:16:52 +00:00
Stefan Gehrer de29597680 add Chinese AVS encoding via external library libxavs
Originally committed as revision 24533 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-27 07:18:36 +00:00
Stefano Sabatini 126b638ea0 Deprecate av_parse_video_frame_size() and av_parse_video_frame_rate()
in favor of the newly added corresponding functions
av_parse_video_size() and av_parse_video_rate() defined in
libavcore/parseutils.h.

This change also adds a linking-time dependency of libavcodec and of
libavfilter on libavcore.

Originally committed as revision 24518 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-26 23:12:28 +00:00
Diego Pettenò 3fc548df28 Make ff_inverse stay with libavutil, and optional copy it to libavcodec.
The ff_inverse table is used by FASTDIV macro, defined in libavutil, but up
to now the table was defined only in libavcodec.

After this change, the main copy of ff_inverse is part of libavutil (just
like FASTDIV), but if CONFIG_SMALL is unset, then a different copy is made
available to libavcodec, to avoid the performance penalty of using an
external look up table.

Dynamic linking works, because the libraries are linked with -Bsymbolic, so
the local copy of the symbol has priority over the external; static linking
works because the table is on a standalone object file in both libraries,
so the linker is able to discard one of the two.

Tested on Linux/x86-64 and Mac OS X/x86-64.

Originally committed as revision 24383 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-21 12:37:37 +00:00
Peter Ross beaa963cab ASCII/ANSI art decoder
Originally committed as revision 24299 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-18 08:03:35 +00:00
Alex Converse 3cac899af9 Split the ADTS header decoder off of the ADTS parser.
The AAC decoder and ADTS-to-ASC BSF both require the header decoder
but not full parsing capabilities.

Originally committed as revision 24217 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-12 18:52:03 +00:00
Reimar Döffinger b576934d7e Add native GSM 06.10 audio decoder.
Originally committed as revision 24158 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-10 07:55:06 +00:00
Måns Rullgård a30b336061 Allow using libxvid RC without enabling encoding wrapper
Originally committed as revision 24137 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-09 10:53:30 +00:00
Måns Rullgård aad9f50751 Fix build with hardcoded tables
The recently added dummy rule for missing headers took precedence
over the tablegen rules.  Listing the generated headers explicitly
overrides this.  A cleaner solution would be preferable.

Originally committed as revision 24046 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-04 19:03:04 +00:00
Diego Pettenò cb9b39fba9 tablegen: the executable depends on tablegen headers as well
Make sure that the *_tablegen.h header is listed in the dependencies, but
filter it out in the compile line.

Originally committed as revision 23963 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-02 00:30:27 +00:00
Aurelien Jacobs 7bcef8483f fix dependencies of vp5 and vp6 decoders after r23915
they now also depends on cabac.o for ff_h264_norm_shift

Originally committed as revision 23937 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-01 16:09:38 +00:00
Stefan Gehrer bce3bd1ced renormalize VP5/6/7/8 range coder without loop
Originally committed as revision 23915 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-30 22:05:29 +00:00
James Darnley 9577838f2f Fix libvorbis encoding with more than 2 channels
Fixes issue 1325.

Patch by James Darnley, james dot darnley at gmail

Originally committed as revision 23818 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-27 09:25:05 +00:00
Alex Converse d6e0080175 Fix alphabetization of the CONFIG_HARDCODED_TABLES Makefile section.
Originally committed as revision 23741 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-23 19:32:02 +00:00
Alex Converse e29af81818 aactab: Tablegenify ff_aac_pow2sf_tab.
Originally committed as revision 23740 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-23 19:30:01 +00:00
Måns Rullgård 20843f51e7 Remove OS/2 threads support
OS/2 SMP support is rare, and a pthreads library exists.
No need to keep this code.

Originally committed as revision 23731 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-23 00:08:21 +00:00
Måns Rullgård 9f342dabc6 Remove beosthreads support
Relevant BeOS variants support pthreads, so there is no need to
maintain the beos-native threads interface.

Originally committed as revision 23729 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-22 23:18:13 +00:00
Alex Converse fd6eb4a06c Move Parametric Stereo related ps* files to aacps*.
Originally committed as revision 23720 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-22 19:29:03 +00:00
David Conrad 3b636f21da Native VP8 decoder.
Patch by David Conrad <lessen42 gmail com> and myself.

Originally committed as revision 23719 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-22 19:24:09 +00:00
Måns Rullgård 6a74b1272e Remove libfaad wrapper
Originally committed as revision 23653 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-20 10:24:05 +00:00
Alex Converse a20639017b Add HE-AAC v2 support to the AAC decoder.
Originally committed as revision 23647 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-19 14:14:51 +00:00
Laurent Aimar 164aab02a0 MPEG-2 DXVA2 implementation
It allows VLD MPEG-2 decoding using DXVA2 (GPU assisted decoding API under
VISTA and Windows 7).
 It is implemented by using AVHWAccel API.

Originally committed as revision 23644 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-18 20:07:43 +00:00
Francesco Lavra d31ba23185 RealAudio 14.4k encoder.
Patch by Francesco Lavra (firstnamelastname@interfree.it)

Originally committed as revision 23579 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-11 09:01:25 +00:00
Francesco Lavra 0acaf8b0f2 Split ra144.c in common code (to be shared with the future encoder) and
decoder.

Patch by Francesco Lavra (firstnamelastname@interfree.it)

Originally committed as revision 23573 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-11 08:01:51 +00:00
Peter Ross a526d6197a Pictor/PC Paint decoder
Originally committed as revision 23532 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-08 11:55:06 +00:00
Reimar Döffinger 8850c69dbe 10l, there is no aac.c any more, so no need for a dependency.
Originally committed as revision 23512 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-06 19:48:50 +00:00
Reimar Döffinger 44d4616efe aacdec also depends on cbrt_tables.h for hardcoded-tables.
Originally committed as revision 23505 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-06 15:27:37 +00:00
Alex Converse 77b8320a4d Rename aac.c to aacdec.c.
Originally committed as revision 23489 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-05 15:27:53 +00:00
Stefano Sabatini 0b99215c0e Move eval.c and eval.h from libavcodec to libavutil, and make the eval
API public.

Originally committed as revision 23485 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-05 12:01:28 +00:00
James Zern 316d6c153c Add WebM muxer
Patch by James Zern <jzern at google>

Originally committed as revision 23474 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-04 22:40:54 +00:00
James Zern ee0e91462c VP8 encoding via libvpx.
Patch by James Zern, Google, Inc.

Originally committed as revision 23449 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-03 20:47:59 +00:00
David Conrad 4717f87259 VP8 parser
Originally committed as revision 23349 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-27 04:39:31 +00:00
James Zern 8299a7f819 VP8 decoding via libvpx.
Patch by James Zern for Google, Inc., jzern google com

Originally committed as revision 23303 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-25 01:19:08 +00:00
Alex Converse c2341b8596 Add a chomp BSF to consume zero padding at the end of a packet.
Originally committed as revision 23196 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-19 20:18:40 +00:00
Måns Rullgård 57fcb7d7da Add mpegaudiodec_float.o dependency on tables header with hardcoded tables
Originally committed as revision 23123 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-13 18:41:18 +00:00
Michael Niedermayer b91d46614d float based mp1/mp2/mp3 decoders.
Originally committed as revision 23095 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-11 19:52:42 +00:00
Måns Rullgård 5e1ba34bbb VP56: move vp56_edge_filter to new VP56DSPContext
Using macro templates allows the vp[56]_adjust functions to be
inlined instead of called through function pointers.  The new
function pointers enable optimised implementations of the filters.

4% faster VP6 decoding on Cortex-A8.

Originally committed as revision 22992 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-30 21:30:22 +00:00
Ronald S. Bultje 0bb848016a Add acelp_filters.o as QCELP decoder object file.
Originally committed as revision 22956 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-23 16:45:38 +00:00
Måns Rullgård 309d16a4a0 DCA: break out lfe_interpolation_fir() inner loops to a function
This enables SIMD optimisations of this function.

Originally committed as revision 22861 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-12 20:45:25 +00:00
Reimar Döffinger fa034b4427 Allow hardcoding of ulaw and alaw tables.
Originally committed as revision 22762 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-01 17:54:15 +00:00
Mohamed Naufal 148bcae98c Implement YOP demuxer and video decoder.
Patch by Mohamed Naufal gmailify(naufal11).

Originally committed as revision 22724 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-29 22:17:01 +00:00
Reimar Döffinger c787cb339e Add support for hard-coding the 256kB large dv_vlc_map table.
Originally committed as revision 22622 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-21 16:03:45 +00:00
Måns Rullgård 43f60eba19 Move arch-specific makefile parts into $arch/Makefile
Originally committed as revision 22569 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-16 21:22:59 +00:00
Måns Rullgård 4693b031a3 Move H264 dsputil functions into their own struct
This moves the H264-specific functions from DSPContext to the new
H264DSPContext.  The code is made conditional on CONFIG_H264DSP
which is set by the codecs requiring it.

The qpel and chroma MC functions are not moved as these are used by
non-h264 code.

Originally committed as revision 22565 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-16 01:17:00 +00:00