Commit Graph

5227 Commits

Author SHA1 Message Date
Benoit Fouet 71fd12253d add and remove some parentheses
Originally committed as revision 9308 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-14 09:32:04 +00:00
Albert Lee ad0f6c1fcd Simplify init preprocessor statements.
patch by Albert Lee, trisk+xine acm.jhu edu

Originally committed as revision 9307 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-14 08:44:41 +00:00
Nicolas George 6b0cdb6e04 More detailed documentation
patch by Nicolas George: [nicolas george normalesup org]

Originally committed as revision 9305 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-14 07:28:16 +00:00
Marc Hoffman 57870214ab removing underscores from block profiling renaming to xx_
Originally committed as revision 9303 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-13 12:46:27 +00:00
Carl Eugen Hoyos c9823f0577 Improve understanding ofavcodec_find_decoder()
patch by Carl Eugen Hoyos: ! cehoyos ag or at !

Originally committed as revision 9301 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-13 08:28:00 +00:00
Lord 58d1dc0e9b Workaround adjustments for DivX 6.1 and later
patch by Lord: [ Lord_veryrandomD8 yahoo com ]

Originally committed as revision 9300 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-13 08:25:48 +00:00
Guillaume Poirier da1fce3921 cosmetics
Originally committed as revision 9298 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-12 21:44:38 +00:00
Sigbjorn Skjaeret 0aec30c58d kill one vector constant value load by the right combination of vec_splatX/vec_sl
patch by Sigbjorn Skjaeret %sskjer-1 A broadpark P no%

Originally committed as revision 9296 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-12 21:24:25 +00:00
Sigbjorn Skjaeret 525751c053 restore GCC2/3 support, patch by Sigbjorn Skjaeret %sskjer-1 A broadpark P no%
Originally committed as revision 9295 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-12 21:17:22 +00:00
Marc Hoffman 1a822d303f integrating MPV_common_init_bfin into the build system and mpegvideo.c
Originally committed as revision 9294 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-12 19:34:06 +00:00
Marc Hoffman 50ee61dda2 Blackfin dct_quantize_bfin routine
2x performance boost in performing quantization for mpeg encoding

Originally committed as revision 9293 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-12 19:13:50 +00:00
Marc Hoffman ea6ad30ce9 Blackfin IDCT has no special permutation it uses normal order
Originally committed as revision 9292 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-12 19:06:39 +00:00
Diego Biurrun 90b5b51eab misc typo fixes
Originally committed as revision 9291 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-12 18:50:50 +00:00
Kostya Shishkov c294d7c6ba Typo
Originally committed as revision 9290 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-12 15:03:28 +00:00
Diego Biurrun 755bfeabcc misc spelling fixes
Originally committed as revision 9289 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-12 09:29:25 +00:00
Stefano Sabatini 26ef3220cf Move the video size and rate abbreviations system from libavformat to libavcodec
patch by Stefano Sabatini: [stefano dot sabatini minus lala poste dot it]
original thread:
[FFmpeg-devel] [PATCH] Redesign the video size and rateabbreviations system
date: 06/02/2007 05:30 PM

Originally committed as revision 9288 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-12 08:06:54 +00:00
Michael Donaghy 3cce801a0b fix 8- and 24-bit FLAC decoding
Patch by Michael Donaghy %md401 A cam P ac P uk%
Original thread:
date: Jun 10, 2007 4:48 PM
subject: [FFmpeg-devel] [PATCH] Bugfix: decoding 8- and 24-bit FLAC files

Originally committed as revision 9286 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-12 07:59:43 +00:00
Aurelien Jacobs 0c33dac236 move codecs declarations from avcodec.h to allcodecs.h
Originally committed as revision 9283 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-11 16:05:32 +00:00
Guillaume Poirier c01d444b3e one step closer to restoring GCC-3.3 support: kills 12 errors, just 2 to go
Originally committed as revision 9280 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-11 08:00:31 +00:00
Eric Lasota 7c68b47b78 Cygwin compatibility workaround
patch by Eric Lasota: [ riot icculus org ]
original thread: [FFmpeg-devel] [PATCH] elbg.c Cygwin compatibility workaround
date: 06/09/2007 09:26 AM

Originally committed as revision 9279 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-11 07:57:15 +00:00
Ronald S. Bultje 097e1da470 Adapt to API changes, fix compilation.
patch by Ronald S. Bultje, rbultje ronald.bitfreak net

Originally committed as revision 9266 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-10 13:54:11 +00:00
Guillaume Poirier 5ce27e8c92 minor GCC3 compile fix
(there's still 2 more, but there's burried into several levels of macros, so it's hard to narrow them down)

Originally committed as revision 9265 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-09 22:20:24 +00:00
Graham Booker f057cc0399 Altivec version of h264_(h|v)_loop_filter_luma
patch by Graham Booker % perian A cod3r P com% with some minor fixes by me.
historic of the patch: http://trac.perian.org/ticket/113
Original thread:
Date: May 11, 2007 9:45 PM
Subject: [FFmpeg-devel] [PATCH] Altivec version of-altivec h264_h-v_loop_filter_luma

Originally committed as revision 9264 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-09 19:13:34 +00:00
Ronald S. Bultje 12807c8d87 Add some #includes to allow compilation without HAVE_AV_CONFIG_H.
taken from a patch by Ronald S. Bultje, rbultje ronald.bitfreak net

Originally committed as revision 9263 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-09 17:52:16 +00:00
Graham Booker ee387b57fd work around issues with the old version of Gnu Assembler shipped on
Intel / OSX 10.4.9
patch by Graham Booker % gbooker A cod3r P com %
Original thread:
Date: May 25, 2007 11:51 PM
Subject: [FFmpeg-devel] r9017 breaks WMA decoding on Intel Macs
The patch:
Date: Jun 3, 2007 4:37 PM
Subject: Re: [FFmpeg-devel] r9017 breaks WMA decoding on Intel Macs

Originally committed as revision 9260 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-08 20:35:30 +00:00
Ronald S. Bultje bcbd6603dd emms --> emms_c, taken from a patch by Ronald Bultje
Originally committed as revision 9253 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-07 21:31:26 +00:00
Diego Biurrun 2458c5c1c4 Use consistent names for all test programs.
Originally committed as revision 9252 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-07 17:21:34 +00:00
Diego Biurrun 34933442ac Preprocessor #defines starting with __ are reserved for the system.
Originally committed as revision 9251 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-07 17:19:37 +00:00
Ronald S. Bultje 3d4e3e560f Use FFmpeg-specific CPU feature definitions.
taken from a patch by Ronald S. Bultje, rbultje ronald.bitfreak net
Date: Thu, 07 Jun 2007 08:57:46 -0400
Subject: Re: [FFmpeg-devel] [PATCH] Coremake support - ffmpeg_nommx.patch (1/1)
 - ffmpeg-nommx.patch (1/1) - ff-cputest-noavconfig.patch (1/1)

Originally committed as revision 9250 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-07 17:18:01 +00:00
Ronald S. Bultje ac237a2f5d Add CPU feature definitions for SSE3 and SSSE3.
taken from a patch by Ronald S. Bultje, rbultje ronald.bitfreak net
Date: Thu, 07 Jun 2007 08:57:46 -0400
Subject: Re: [FFmpeg-devel] [PATCH] Coremake support - ffmpeg_nommx.patch (1/1)
 - ffmpeg-nommx.patch (1/1) - ff-cputest-noavconfig.patch (1/1)

Originally committed as revision 9249 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-07 16:58:08 +00:00
Ronald S. Bultje d07026cd16 CPU feature definitions should always be available, not just when the
CPU feature is enabled.
taken from a patch by Ronald S. Bultje, rbultje ronald.bitfreak net
Date: Thu, 07 Jun 2007 08:57:46 -0400
Subject: Re: [FFmpeg-devel] [PATCH] Coremake support - ffmpeg_nommx.patch (1/1)
 - ffmpeg-nommx.patch (1/1) - ff-cputest-noavconfig.patch (1/1)

Originally committed as revision 9246 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-07 16:15:20 +00:00
Diego Biurrun 94254fc00e Only run MMX2 tests when MMX2 is available.
Originally committed as revision 9245 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-07 15:59:15 +00:00
Diego Biurrun b9702de506 Fix linking when GPL code has been disabled.
Originally committed as revision 9244 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-07 15:54:49 +00:00
Ronald S. Bultje ee3035f31e Fix compilation when MMX is disabled.
inspired by a patch by Ronald S. Bultje, rbultje ronald.bitfreak net

Originally committed as revision 9243 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-07 15:30:54 +00:00
Diego Biurrun b0b0d7e78c FAAN is not x86-specific.
Originally committed as revision 9242 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-07 15:27:53 +00:00
Andreas Öman 93cc10fa9c h264: use 'simple' in border backup / xchg
patch by Andreas Öman: [andreas olebyn nu]
original thread:
subject: [FFmpeg-devel] [patch] h264: use 'simple' in border backup / xchg
date: 06/07/2007 03:24 PM

Originally committed as revision 9237 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-07 13:51:06 +00:00
Diego Biurrun 9097a8e48d Add some forgotten lib prefixes to Makefile variables.
Originally committed as revision 9235 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-06 18:56:14 +00:00
Eric Lasota 160228f894 Rename cb field
patch by Eric Lasota: [riot at icculus org]
original thread: [FFmpeg-devel]   [PATCH] RoQ decoder 4:4:4 update
date: 06/05/2007 09:22 PM

Originally committed as revision 9231 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-06 10:40:05 +00:00
Diego Biurrun 1cc60c47c5 Consistent naming and lib prefixes for x264, xvid and mp3lame within the code.
Originally committed as revision 9230 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-06 08:51:41 +00:00
Diego Biurrun b04f49c74c Give names of external library decoders/encoders a lib prefix
in the ffmpeg/ffplay output.

Originally committed as revision 9227 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-06 08:41:45 +00:00
Diego Biurrun 6f1af73557 Give all wrappers for external libraries names starting with lib.
Originally committed as revision 9226 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-06 00:14:18 +00:00
Diego Biurrun 83bc90dcfd Remove unused variables.
Originally committed as revision 9224 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-05 14:18:13 +00:00
Eric Lasota 3ccda4ca91 Convert RoQ decoder to use YUV 4:4:4 unpacked macroblocks
instead of packed 4:2:0 clusters
patch by Eric Lasota: \ riot icculus org /
original threads: [FFmpeg-devel]   [PATCH] RoQ decoder 4:4:4 update
date: 06/04/2007 03:52 AM and 06/05/2007 01:10 AM

Originally committed as revision 9223 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-05 08:05:16 +00:00
Denis Fortin f0edfda578 Rename code012() to ff_code012(), and remove static qualifier: paves the way
to vc1 encoder, as this function would be useful there.
patch by Denis Fortin % fortin A nerim P net %
Original thread:
date: Jun 4, 2007 9:23 PM
subject: Re: [FFmpeg-devel] [RFC] move wmv2.c to its own file

Originally committed as revision 9222 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-05 07:18:29 +00:00
Diego Biurrun ac3967c1ce spelling
Originally committed as revision 9221 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-04 23:07:27 +00:00
Christian Lohmaier c11aac6cda fix error: indeo2.c:202:1: directives may not be used inside a macro argument,
introduced when init_vlc was turned into a macro
Patch by Christian Lohmaier %cloph A openoffice P org%

Originally committed as revision 9198 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-04 11:03:24 +00:00
Vitor Sessak ddcf4b5d6d Codebook generator using the ELBG algorithm
patch by Vitor: printf(vitor%d gmail com, 1001)
original thread: Re: [FFmpeg-devel] [PATCH] Add a codebook generator
                 (was: [PATCH] RoQ video encoder, take 2)
date: 05/28/2007 01:21 PM

Originally committed as revision 9196 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-04 07:28:34 +00:00
Luca Barbato 5dda253943 h264_idct_add_altivec, based on an old patch from Mauricio Alvarez <alvarezATac.upc.edu>, polished by David Conrad <umovimusATgmail.com>
Originally committed as revision 9182 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-03 13:27:44 +00:00
Andreas Öman 83b3401731 filter_mb_fast() doesn't handle h->deblocking_filter==2 (skip slice edges), so delegate that case to filter_mb().
Patch by Andreas Öman [andreas at olebyn dot nu].

Originally committed as revision 9180 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-03 11:44:43 +00:00
Diego Biurrun 69ddbd1dad Rename aac_decoder to libfaad_decoder for consistency and to be able to
more easily add a possible future native decoder.

Originally committed as revision 9172 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-02 11:44:44 +00:00
Diego Biurrun c9171a830b Rename faac_encoder to libfaac_encoder for consistency and to be able to
more easily add a possible future native encoder.

Originally committed as revision 9171 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-02 11:20:24 +00:00
Ramiro Polla e5e587afbe Remove get_byte wrapper
Originally committed as revision 9170 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-02 01:42:47 +00:00
Ramiro Polla 2c124cb65c Use AV_xx throughout libavcodec
Originally committed as revision 9169 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-02 01:41:07 +00:00
Michael Niedermayer 29b29011e5 fix skipped blocks
fixes decoding of (http://samples.mplayerhq.hu/game-formats/idroq/bf2introseg.roq)

Originally committed as revision 9168 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-01 21:17:05 +00:00
Michael Niedermayer 0fa9a5ddc7 check qblur > 1 (prevent assert failure / segfault)
fixes sf bug #797610

Originally committed as revision 9166 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-31 21:40:22 +00:00
Michael Niedermayer 47b777ceed sanity checks (should prevent hypothetical div by zero issue)
should fix sf bug #1547313

Originally committed as revision 9164 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-30 23:06:37 +00:00
Michael Niedermayer 61d49d122c fix assert() 2nd try
Originally committed as revision 9163 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-30 21:38:57 +00:00
Stefano Sabatini c3b95b1d3d Add support for listing the supported pixel formats using the option
-pix_fmt list
patch by Stefano Sabatini stefano sabatini minus lala chez poste it
original thread: [FFmpeg-devel] [PATCH] List supported pixel formats
date: 05/25/2007 05:46 PM

Originally committed as revision 9162 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-30 14:20:55 +00:00
Carl Eugen Hoyos 154e30f6c2 rename attribute_unused to av_unused and moves its declaration to common.h
patch by Carl Eugen Hoyos cehoyos chez ag or at
original thread: [FFmpeg-devel] [PATCH] attribute_unused -> av_unused
date: 05/29/2007 01:23 PM

Originally committed as revision 9155 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-30 09:32:25 +00:00
Michael Niedermayer 1e6b570087 fix assertion failure
Originally committed as revision 9152 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-29 16:51:55 +00:00
Kostya Shishkov 3dba31aa0d Do proper frame swapping so VMD video decoder works again
Originally committed as revision 9151 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-29 16:43:25 +00:00
Vitor Sessak 55c970e349 Split RoQ decoder to accommodate future encoder patch
patch by Vitor vitor1001 gmail moc
original thread: [FFmpeg-devel] [PATCH] RoQ video encoder, take 2
date: 05/27/2007 12:21 PM

Originally committed as revision 9149 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-29 15:01:33 +00:00
Andreas Öman 7978debdc2 allocate PPS and SPS dynamically
patch by Andreas Öman andreas ta olebyn tod nu
reference thread:
subject: [FFmpeg-devel] [PATCH] h264: allocate PPS and SPS dynamically
date: 05/28/2007 03:00 PM

Originally committed as revision 9148 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-29 14:35:29 +00:00
Vitor Sessak 750cbd34c9 cosmetics and function rename
patch by Vitor ken1001 gmail com | sed -e s/ken/vitor/
reference thread:
subject: [FFmpeg-devel] [PATCH] RoQ video encoder, take 2
date: 05/27/2007 12:21 PM

Originally committed as revision 9147 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-29 12:20:40 +00:00
Diego Biurrun 42610c4983 Remove redundant fastmemcpy.h #include, it is indirectly #included by avutil.h.
Originally committed as revision 9145 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-28 09:30:41 +00:00
Michael Niedermayer d5aa01cd30 make decoder decode the first frame properly if theres more than just one
frame input

Originally committed as revision 9144 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-27 22:34:49 +00:00
Harald Karnet f1edd8ef90 Correct the parameter order for the call to "av_clip".
Patch by Harald Karnet, harald karner % gmx net.
Thread [FFmpeg-devel] [PATCH] Bugfix H.263+ encoder frame header corruption

Originally committed as revision 9131 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-25 14:42:11 +00:00
Loren Merritt 8be6dac8dc merge huffman tables for rgb too
Originally committed as revision 9124 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-25 00:16:14 +00:00
Loren Merritt f45fcba303 cosmetics (reduce nesting)
Originally committed as revision 9119 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-24 19:04:19 +00:00
Loren Merritt acc0e0c8b6 use sparse huffman tables. 1.5% faster huffyuv decoding.
Originally committed as revision 9118 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-24 17:40:02 +00:00
Loren Merritt b613bacca9 add init_vlc_sparse(). faster than init_vlc() if there are lots of holes in the tables.
Originally committed as revision 9117 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-24 17:38:56 +00:00
Sergey Vlasov 32dd6a9c78 fix dca_bitalloc_index decoder init
Patch by Sergey Vlasov (printf("%csu at altlinux%s",'v',".ru");)
Thread [FFmpeg-devel] [PATCH] dca: fix dca_bitalloc_index decoder init

Originally committed as revision 9115 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-24 04:08:48 +00:00
Sergey Vlasov 56e4603e67 Fix dca.c compilation with #define TRACE
Patch by Sergey Vlasov (v\0163u at \0141ltlinux.ru)
Thread [FFmpeg-devel] [PATCH] dca: fix compilation with #define TRACE

Originally committed as revision 9114 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-24 04:02:47 +00:00
Oded Shimon 8d641aedb9 fix mjpeg decoding with broken huffman table headers
Originally committed as revision 9111 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-23 18:41:34 +00:00
Ramiro Polla 67a5daf07f Remove duplicate bytestream functions
Originally committed as revision 9108 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-23 14:55:13 +00:00
Panagiotis Issaris cb1a74cf8c Export the four remaining H.264 decoder intra prediction functions for reuse in
the H.264 encoder. These functions are: pred8x8_left_dc_c, pred8x8_top_dc_c,
pred16x16_left_dc_c and pred16x16_top_dc_c.

Originally committed as revision 9107 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-23 13:46:11 +00:00
Panagiotis Issaris 9aee21c8f7 Reindent
Originally committed as revision 9106 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-23 09:07:57 +00:00
Panagiotis Issaris 4edda03480 Make the compilation of h264idct.c optional.
Originally committed as revision 9105 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-23 09:07:23 +00:00
Loren Merritt 19716d6478 merge huffman tables so that we read 2 symbols at a time. 30% faster huffyuv decoding.
Originally committed as revision 9104 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-23 09:02:07 +00:00
Diego Biurrun f353fbd205 Remove mdct.o and fft.o from fft-test prerequisites list.
Both objects were added to the link command, resulting in multiple definitions
of symbols. Now linking works in the general case when mdct.o and fft.o are
compiled into libavcodec.a.

Originally committed as revision 9097 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-22 07:08:38 +00:00
Panagiotis Issaris 6f9a35bb35 Only compile golomb.c when needed.
Originally committed as revision 9094 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-21 15:28:37 +00:00
Panagiotis Issaris d72ecaf5af Fix compilation when the Sonic encoder and decoder were disabled and only the Sonic
LS encoder enabled.

Originally committed as revision 9093 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-21 15:24:31 +00:00
Panagiotis Issaris 8fae7b6f60 Only compile cabac.c when needed.
Originally committed as revision 9092 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-21 12:55:02 +00:00
Aurelien Jacobs d0d866e09f vorbis encoder missed rename to libvorbis
Originally committed as revision 9091 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-21 12:54:12 +00:00
Panagiotis Issaris d632239c9c Split the h261.c file into separate files for the encoder, decoder and common stuff.
Originally committed as revision 9090 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-21 12:51:29 +00:00
Diego Biurrun 86c33b29d2 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
other test programs. As a positive sideeffect, this makes the build system try
to actually create the executable file.

Originally committed as revision 9086 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-21 07:11:27 +00:00
Diego Biurrun 14eb0a2ed1 Fix imgresample-test linking.
Originally committed as revision 9085 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-21 07:05:23 +00:00
Diego Biurrun fca6a0dd34 Add explanatory comments to some #endifs.
Originally committed as revision 9084 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-21 07:01:42 +00:00
Aurelien Jacobs 9f77cab2a0 make compilation of mpegaudiodec conditional
Originally committed as revision 9083 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-20 22:59:32 +00:00
Aurelien Jacobs 08aa2c9bd2 remove dependency of mpeg audio encoder over mpeg audio decoder
Originally committed as revision 9082 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-20 22:50:29 +00:00
Aurelien Jacobs ca6e50afc1 add a ff_ prefix to some mpegaudio funcs
Originally committed as revision 9081 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-20 15:11:55 +00:00
Aurelien Jacobs 4bd8e17c8d loosen dependencies over mpegaudiodec
Originally committed as revision 9080 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-20 13:40:07 +00:00
Zuxy Meng 663deb54af Remove incorrect comment; MMX2 is preferred over 3DNow! on Athlon
Originally committed as revision 9079 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-20 05:07:44 +00:00
Michael Niedermayer db7f647e10 use AV_LOG_ERROR instead of INFO for errors
Originally committed as revision 9078 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-20 01:41:36 +00:00
Michael Niedermayer 64be2e60ef sanity checks for bitrate tolerance and buffer size (= fail if a single frame at the
requested bitrate would be bigger than the buffer size)

Originally committed as revision 9077 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-20 01:35:15 +00:00
Michael Niedermayer cb590b4842 slightly more correct spliting of frames
Originally committed as revision 9076 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-20 01:05:34 +00:00
Aurelien Jacobs bf406d90e4 move MJpegDecodeContext declaration from mjpeg.h to mjpegdec.h
Originally committed as revision 9074 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-19 15:06:34 +00:00
Aurelien Jacobs 0a59a18b4e move mjpeg-b decoder in its own file
Originally committed as revision 9073 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-19 14:58:31 +00:00
Aurelien Jacobs 82ec791834 10l: forgot to svn add mjpegdec.h
Originally committed as revision 9072 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-19 14:53:55 +00:00
Aurelien Jacobs 40cce9ff91 move sp5x decoder in its own file
Originally committed as revision 9071 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-19 14:40:02 +00:00
Aurelien Jacobs 5acd8d9e77 allows to disable jpegls decoder
Originally committed as revision 9070 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-19 14:31:57 +00:00
Loren Merritt 98ef8c324c change brute force search to min-heap. 3.6x faster generate_len_table, 8% faster ffvhuff encoding.
Originally committed as revision 9069 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-19 02:32:59 +00:00
Aurelien Jacobs d2f43ca998 move mjpega_dump_header bitstream filter in its own file
Originally committed as revision 9068 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-19 00:53:41 +00:00
Aurelien Jacobs ab8072a6a2 move imx_dump_header bitstream filter in its own file
Originally committed as revision 9067 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-19 00:44:41 +00:00
Aurelien Jacobs 8bf63e1c80 move dump_extradata bitstream filter in its own file
Originally committed as revision 9066 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-19 00:35:27 +00:00
Aurelien Jacobs 5209c83607 move remove_extradata bitstream filter in its own file
Originally committed as revision 9065 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-19 00:32:11 +00:00
Aurelien Jacobs cd7105e6a0 move noise bitstream filter in its own file
Originally committed as revision 9064 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-19 00:30:15 +00:00
Aurelien Jacobs a975d9e288 move mp3_header_compress bitstream filter in its own file
Originally committed as revision 9063 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-19 00:27:43 +00:00
Aurelien Jacobs b57eed12da move mp3_header_decompress bitstream filter in its own file
Originally committed as revision 9062 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-19 00:24:34 +00:00
Aurelien Jacobs 677fe2e226 add proper prefix to extern mpeg audio data tables
Originally committed as revision 9061 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-19 00:13:35 +00:00
Aurelien Jacobs 4991c0516d move some common mpeg audio tables from mpegaudiodectab.h to mpegaudiodata.c
Originally committed as revision 9060 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-19 00:06:02 +00:00
Aurelien Jacobs 63ab52b7ec move the mjpeg_encoder struct from mpegvideo.c to mjpegenc.c
Originally committed as revision 9059 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-18 22:58:01 +00:00
Aurelien Jacobs 44301eaa55 add a proper prefix to all mjpeg encoder exported functions
Originally committed as revision 9058 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-18 22:54:54 +00:00
Aurelien Jacobs d9c9259f89 split ljpeg encoder out of mjpeg.c
Originally committed as revision 9057 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-18 22:42:49 +00:00
Benjamin Larsson 56fd7cc584 Better error reporting.
Originally committed as revision 9056 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-18 10:06:07 +00:00
Loren Merritt bf1a5a46d6 cosmetics: macrofy duplicate code in huffyuv
Originally committed as revision 9055 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-18 08:58:30 +00:00
Loren Merritt 390f9f3127 r3938 broke 2pass huffyuv (not that anyone uses it)
Originally committed as revision 9054 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-18 08:56:46 +00:00
Zuxy Meng 038bfcf9d6 3DNow! and SSSE3 optimization to QNS DSP functions; use pmulhrw/pmulhrsw instead of pmulhw
Originally committed as revision 9053 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-18 08:18:56 +00:00
Reimar Döffinger 2c32b173d9 Move attribute_unused to variable declarations in macros instead of
introducing a useless extra variable.

Originally committed as revision 9052 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-17 20:18:46 +00:00
Aurelien Jacobs 670a6b133b remove libdts decoder, we have a native dts decoder
Originally committed as revision 9051 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-17 17:04:00 +00:00
Aurelien Jacobs 944721c160 add proper prefix to new mjpeg extern func/var
Originally committed as revision 9049 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-17 16:45:55 +00:00
Aurelien Jacobs 4922a5b0ee split mjpeg.c into an encoder and a decoder file
Originally committed as revision 9048 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-17 16:29:11 +00:00
Guillaume Poirier 88bcb6c23f use macro Use DECLARE_ALIGNED_16 to align stack-allocated variables
instead of compiler-dependent  __attribute__((aligned(16)))
Origiginal thread:
Date: May 17, 2007 12:30 AM
Subject: [PATCH] Use DECLARE_ALIGNED_16 in libavcodec/ppc/

Originally committed as revision 9047 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-17 14:14:53 +00:00
Benjamin Larsson 78a010fb00 Only compile fft and mdct when needed.
Initial patch by Benjamin Larsson.

Originally committed as revision 9046 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-17 12:26:04 +00:00
Benjamin Larsson c17a53b71f Use FFABS instead of abs.
Originally committed as revision 9045 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-17 11:03:43 +00:00
Benjamin Larsson 54353abef2 Remove lots of unused commented code. (Cleanup)
Originally committed as revision 9041 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-17 07:50:08 +00:00
Benjamin Larsson 3bcb658c36 Change default 1 pass blocksize to 64x64.
Originally committed as revision 9040 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-17 07:47:02 +00:00
Aurelien Jacobs 5b0b7054b4 better separation of vp3dsp functions from dsputil_mmx.c
Originally committed as revision 9039 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-16 23:23:45 +00:00
Denis Fortin b8a9974544 printf --> av_log, patch by Denis Fortin, fortin nerim net
Originally committed as revision 9038 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-16 12:57:27 +00:00
Diego Biurrun 605315248c Remove extern C declarations for C++.
FFmpeg is pure C and not all public headers have the declarations.

Originally committed as revision 9037 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-16 12:25:54 +00:00
Sergey Vlasov 31d89e1158 DTS decoding was broken for every speaker configuration except 5.1.
patch by Sergey Vlasov, vsu altlinux org

Originally committed as revision 9036 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-16 10:50:18 +00:00
Ronald S. Bultje b550bfaa61 Add libavcodec to compiler include flags in order to simplify header
include paths in the source files.
mostly from a patch by Ronald S. Bultje, rbultje ronald.bitfreak net

Originally committed as revision 9034 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-16 09:51:45 +00:00
Reimar Döffinger c6bcbb2cd3 Use DECLARE_ALIGNED to ease porting
Originally committed as revision 9031 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-15 20:47:55 +00:00
Michael Niedermayer a1f6643d62 dont write over the end of ref_cache
Originally committed as revision 9026 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-14 23:22:02 +00:00
Panagiotis Issaris 9b5dc86746 Make vp3dsp*.c compilation optional.
Originally committed as revision 9025 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-14 14:28:13 +00:00
Reimar Döffinger e36d79c837 Change some leftover __attribute__((unused)) and __attribute__((used)) to
attribute_unused and attribute_used respectively to ease compiling on non-gcc.

Originally committed as revision 9024 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-14 14:07:50 +00:00
Aurelien Jacobs 37c26ae9ff remove some unused mjpeg encoding variables
(they were always set to a constant value)

Originally committed as revision 9023 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-14 11:53:27 +00:00
Aurelien Jacobs 7fcf41091e jpegls encoder does not call this function, so remove useless tests
Originally committed as revision 9022 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-13 23:22:05 +00:00
Aurelien Jacobs 6ba04c2b03 split jpeg_ls into jpeglsdec, jpeglsenc and jpegls
Originally committed as revision 9021 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-13 23:16:56 +00:00
Diego Biurrun 1adf2e564a Use TARGET_ARMV6 variable instead of HAVE_ARMV6 for consistency.
Originally committed as revision 9020 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-13 22:15:52 +00:00
Marc Hoffman 27885fad3e Blackfin DSP utilities: add DEFUN_END
DEFUN_END macro adds the size information to the symbol
table. This is introduces no functionnal change, it's only meant to simplify
e.g. debugging
Patch by Marc Hoffman %mmh A pleasantst P com%
Original thread:
Date: May 5, 2007 12:26 PM
Subject: [FFmpeg-devel] PATCH Blackfin DSP utilities, DEFUN_END added

Originally committed as revision 9019 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-13 20:19:22 +00:00
Zuxy Meng 25e4f8aaee Faster SSE FFT/MDCT, patch by Zuxy Meng %zuxy P meng A gmail P com%
unrolls some loops, utilizing all 8 xmm registers. fft-test
shows ~10% speed up in (I)FFT and ~8% speed up in (I)MDCT on Dothan

Originally committed as revision 9017 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-13 16:32:32 +00:00
Alex Beregszaszi 43c7c7c7cf use DECLARE_ALIGNED from mem.h (which is included through common.h)
Originally committed as revision 9015 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-13 14:01:15 +00:00
Aurelien Jacobs f8b2417eba cosmetics: indent
Originally committed as revision 9014 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-13 00:26:21 +00:00
Aurelien Jacobs 70724cba75 replace some #ifdef CONFIG_* by if(ENABLE_*)
Originally committed as revision 9013 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-13 00:24:37 +00:00
Aurelien Jacobs 6d8bfb52f0 cosmetics: indentation
Originally committed as revision 9012 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-12 23:43:23 +00:00
Aurelien Jacobs f6993c9fa1 make compilation of mjpeg.c optional
Originally committed as revision 9011 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-12 23:42:07 +00:00
Jason Millard cd61e40781 allow to enable or disable every bitstream filters individually
Original patch by Jason Millard   jsm174 _at_ gmail
Date: On Fri, 11 May 2007 11:14:01 -0400
Subject: [FFmpeg-devel] enable/disable bitstream filters?

Originally committed as revision 9010 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-12 23:33:53 +00:00
Aurelien Jacobs cf32975222 jpegls never call this code, so those tests are useless
Originally committed as revision 9009 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-12 22:50:12 +00:00
Benjamin Larsson d2bc04738b Added support for instances where linesize[0] is negative.
Based on patch by Jason Askew, jason dot askew at gmail dot com.

Originally committed as revision 9006 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-12 19:37:26 +00:00
Diego Biurrun 7f58baa8ca Remove redundant extern declaration of j_rev_dct that is already
present in the #included header file dsputil.h.

Originally committed as revision 9005 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-12 10:53:33 +00:00
Diego Biurrun 7f4f3e169f cosmetics: Group all test targets together.
Originally committed as revision 9004 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-12 10:43:45 +00:00
Loren Merritt ff506a906e sse2 & ssse3 versions of dct_quantize.
core2: mmx2=154 sse2=73 ssse3=66 (cycles)
k8: mmx2=179 sse2=149
p4: mmx2=284 sse2=194

Originally committed as revision 9003 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-12 05:55:09 +00:00
Loren Merritt 1edbfe1994 factor sum_abs_dctelem out of dct_sad, and simd it.
sum_abs_dctelem_* alone:
core2: c=186 mmx2=39 sse2=21 ssse3=13 (cycles)
k8: c=163 mmx2=33 sse2=31
p4: c=370 mmx2=60 sse2=60
 dct_sad including sum_abs_dctelem_*:
core2: c=405 mmx2=258 sse2=240 ssse3=232
k8: c=624 mmx2=394 sse2=392
p4: c=849 mmx2=556 sse2=556

Originally committed as revision 9001 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-12 02:41:25 +00:00
Loren Merritt 561f940c03 sse2 & ssse3 versions of hadamard. unroll and inline diff_pixels.
core2: before mmx2=193 cycles. after mmx2=174 sse2=122 ssse3=115 (cycles).
k8: before mmx2=205. after mmx2=184 sse2=180.
p4: before mmx2=342. after mmx2=314 sse2=309.

Originally committed as revision 9000 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-12 01:16:06 +00:00
Loren Merritt 5b67307a68 fix a crash with svq1 + sse2.
EMU_EDGE broke memory alignment when the desired alignment is >32 bytes.

Originally committed as revision 8999 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-12 00:31:48 +00:00
Aurelien Jacobs 9ac2e7971b rename pnm.c to pnmenc.c and pnm_common.c to pnm.c
Originally committed as revision 8996 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-11 09:28:07 +00:00
Diego Biurrun a2e4c0ddae Remove duplicate #includes, avcodec.h #includes common.h.
Originally committed as revision 8995 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-11 07:21:14 +00:00
Diego Biurrun 9636c4de32 Remove unused variable.
Originally committed as revision 8994 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-11 07:07:00 +00:00
Loren Merritt ba53071acb 10l, r8991 broke mmx1 sad
Originally committed as revision 8993 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-11 03:29:06 +00:00
Loren Merritt 72946825fa sse2 version of fullpel sad.
16% faster on core2, 5% faster on p4. 10% slower (and thus disabled) on k8.

Originally committed as revision 8992 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-11 01:11:45 +00:00
Loren Merritt 164d75ebf3 tweak mmx2 sad.
40% faster on core2, 18% faster on k8, 5% faster on p4.

Originally committed as revision 8991 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-11 00:45:07 +00:00
Aurelien Jacobs 1b52bec7f7 make compilation of pnm.c optional
Originally committed as revision 8989 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-10 23:16:56 +00:00
Aurelien Jacobs 426a189b77 move pnm parser in its own file
Originally committed as revision 8988 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-10 23:03:14 +00:00
Aurelien Jacobs b16560a389 move mjpeg parser in its own file
Originally committed as revision 8987 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-10 22:37:36 +00:00
Aurelien Jacobs 87acdd5391 cosmetics: reindent
Originally committed as revision 8986 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-10 22:28:23 +00:00
Aurelien Jacobs 26b4fe821c split h264.c to move parser in its own file
Originally committed as revision 8985 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-10 22:26:44 +00:00
Loren Merritt eca3810e31 tweak mmx2 sad.
6% faster on core2 and k8, no change on p4.

Originally committed as revision 8984 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-10 22:24:19 +00:00
Ramiro Polla b3a257af27 Revert r8979 (Ugly fix for r8963)
Originally committed as revision 8983 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-10 18:44:58 +00:00
Aurelien Jacobs 07c55d8ea3 rename vorbis.c to vorbis_dec.c and vorbis_common.c to vorbis.c
Originally committed as revision 8981 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-10 15:24:01 +00:00
Aurelien Jacobs f6bd6eeffd loosen vorbis_enc.c dependencies by spliting vorbis.c
Originally committed as revision 8980 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-10 15:17:17 +00:00
Ramiro Polla dccabd4c68 Fix r8963
Originally committed as revision 8979 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-10 15:00:09 +00:00
Panagiotis Issaris 7a0daaf18a Fix Vorbis encoder Xiph dependency by making sure the references to
ff_split_xiph_headers() are there.

Originally committed as revision 8978 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-10 14:36:36 +00:00
Benoit Fouet 35e7f087ba add AVERROR_NOENT
Originally committed as revision 8976 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-10 13:24:05 +00:00
Aurelien Jacobs 1502555362 disable reference to msmpeg4 and wmv2 code when those codecs are not compiled in
Originally committed as revision 8975 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-10 13:11:36 +00:00
Aurelien Jacobs 82dc348bd1 those tables don't need to be extern
Originally committed as revision 8972 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-10 10:14:58 +00:00
Aurelien Jacobs 5ecb0677a2 use header instead of copying table declarations
Originally committed as revision 8970 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-10 10:12:02 +00:00
Aurelien Jacobs 42ef2dbc77 split msmpeg4 data to easily share some of it with vc1.c
Originally committed as revision 8969 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-10 10:03:16 +00:00
Aurelien Jacobs 1d557d3577 add missing rules for wmv2 compilation
Originally committed as revision 8968 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-10 09:26:14 +00:00
Diego Biurrun 2029f312e8 Remove redundant #inclusion of common.h, avcodec.h already #includes it.
Originally committed as revision 8967 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-10 09:00:44 +00:00
Loren Merritt 7c3a9fe2a3 sse2 version of fdct_col.
k8: 72->61 cycles, core2: 51->26 cycles.

Originally committed as revision 8966 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-10 03:13:41 +00:00
Ramiro Polla a4461664cd Simplify ptr[0]; ptr++; to *ptr++
Originally committed as revision 8965 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-09 23:32:29 +00:00
Ramiro Polla 5a2f421a43 Use bytestream
Originally committed as revision 8964 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-09 23:21:07 +00:00
Ramiro Polla a32c2ce423 Use AV_XX16 macros
Originally committed as revision 8963 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-09 23:15:19 +00:00
Aurelien Jacobs df495dbd9a move ff_mpeg4_find_frame_end() from h263dec.c to mpeg4video_parser.c
now h263dec depends on mpeg4video_parser
this fixes compilation when h263 decoder is disabled

Originally committed as revision 8962 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-09 23:13:43 +00:00
Ramiro Polla 7d5aaa049c Factorize usum
Originally committed as revision 8960 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-09 23:08:01 +00:00
Ramiro Polla de8e2c1d22 Use 1 array with double the size instead of 2 arrays with normal size
Eliminates need for concatenation and adds proper fix for FIXME

Originally committed as revision 8958 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-09 22:24:23 +00:00
Ramiro Polla a5cb1f13ba Add bias instead of -32 or 0, as is done in g.722.1
Originally committed as revision 8957 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-09 22:00:08 +00:00
Ramiro Polla 39938968e8 Indentation for previous patch
Originally committed as revision 8956 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-09 21:57:50 +00:00
Ramiro Polla 6b01997012 Add another tmpbias variable, as bias' value will be used later
Originally committed as revision 8955 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-09 21:56:22 +00:00
Ramiro Polla cdb59552df Fix logic for return value of init_vlc
Originally committed as revision 8954 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-09 21:50:01 +00:00
Diego Biurrun 686dcc1167 Replace general CONFIG_ENCODERS by more fine-grained CONFIG_WMV2_ENCODER.
Originally committed as revision 8952 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-09 18:23:20 +00:00
Kostya Shishkov a5c14fcaef Add ff_ prefix to (externally) visible variables
Originally committed as revision 8951 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-09 16:59:46 +00:00
Kostya Shishkov 2a2072fe1e Use correct dequantizer value
Originally committed as revision 8950 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-09 11:30:30 +00:00
Diego Biurrun 4a815a7f64 Allow conditional compilation of H.263-related decoders.
Originally committed as revision 8949 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-09 09:26:06 +00:00
Loren Merritt 5adf43e47e cosmetics: remove code duplication in hadamard8_diff_mmx
Originally committed as revision 8946 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-09 01:46:33 +00:00
Aurelien Jacobs c5a60225c7 move cavs parser in it's own file
Originally committed as revision 8945 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-09 00:03:17 +00:00
Aurelien Jacobs b88e211426 move defines and enums out of cavsdata.h
Originally committed as revision 8944 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-08 23:58:35 +00:00
Aurelien Jacobs 1fddeecd1d remove no more useful includes
Originally committed as revision 8943 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-08 23:30:42 +00:00
Aurelien Jacobs 679c2294cb cosmetics: rename for consistency after previous aac and ac3 parsers move
Originally committed as revision 8942 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-08 23:29:07 +00:00
Aurelien Jacobs 99ff31dc75 move aac and ac3 parsers in their own files
Originally committed as revision 8941 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-08 23:25:31 +00:00
Aurelien Jacobs e0fe500f01 avoid multiple inclusion of ac3.h
Originally committed as revision 8940 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-08 23:24:22 +00:00
Loren Merritt bba5293bb7 cosmetics: remove duplicate transpose macro
Originally committed as revision 8939 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-08 17:55:56 +00:00
Diego Biurrun c33d98141d Move H.263 parser to its own file.
Originally committed as revision 8934 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-08 08:52:38 +00:00
Ivo van Poorten 929baad070 add doxygen comments
Originally committed as revision 8930 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-07 20:07:35 +00:00
Aurelien Jacobs ba4816a0a9 cosmetics: fix inconsistent indentation
Originally committed as revision 8929 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-07 15:44:42 +00:00
Aurelien Jacobs c0f716b86f fix display of theora videos with visible size smaller than encoded size
Originally committed as revision 8928 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-07 15:43:01 +00:00
Ivo van Poorten 1ca779e7eb Renderware TXD decoder
Originally committed as revision 8926 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-07 13:29:02 +00:00
Ivo van Poorten c67b89c534 generic S3TC DXT1 and DXT3 decoding functions
Originally committed as revision 8925 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-07 13:15:24 +00:00
Vitor Sessak f025588bb6 RoQ audio encoder
patch by Vitor vitor1001 gmail com

Originally committed as revision 8922 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-07 08:55:27 +00:00
Aurelien Jacobs c53d2d9042 make some parser parameters const to avoid casting const to non-const
Originally committed as revision 8921 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-07 00:47:03 +00:00
Michael Niedermayer beac8235b9 fix possibly exploitable stack overflow with num_sprite_warping_points (found by reimar)
Originally committed as revision 8919 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-06 15:25:04 +00:00
Kostya Shishkov 660e83f815 Add prefix to some variables for consistency
Originally committed as revision 8916 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-06 11:40:42 +00:00
Kostya Shishkov 986a865fc0 Move VC-1 data to .c file
Originally committed as revision 8915 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-06 11:23:12 +00:00
Kostya Shishkov de53b04b53 Make vc1_parser.c compilable without special defines
Originally committed as revision 8914 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-06 11:01:25 +00:00
Kostya Shishkov 22c3029da1 Move variables to vc1data.h
Originally committed as revision 8913 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-06 10:58:32 +00:00
Loren Merritt 4b8419aa7f simplify
Originally committed as revision 8911 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-06 09:17:50 +00:00
Diego Biurrun 44c560003a Move dvdsub parser to its own file.
Originally committed as revision 8910 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-06 09:12:10 +00:00
Diego Biurrun 027f43f095 Rename dvbsubdec_parser.c to dvbsub_parser.c.
Originally committed as revision 8909 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-06 08:41:24 +00:00
Loren Merritt cd66ddb6b0 simplify
Originally committed as revision 8908 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-06 06:46:20 +00:00
Loren Merritt 6ec4818525 faster and simpler vp6 bilinear mc
Originally committed as revision 8907 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-06 06:43:33 +00:00
Diego Biurrun 0d02cacda9 Move dvbsubdec parser to its own file.
Originally committed as revision 8906 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-06 02:11:31 +00:00
Diego Biurrun bbb7d4c76b Remove superfluous #includes, parser.h now includes its prerequisites.
Originally committed as revision 8905 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-05 21:11:22 +00:00
Aurelien Jacobs 4c5ea91ca8 ff_frame_rate_tab is now declared in mpegvideo.h
Originally committed as revision 8904 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-05 18:32:19 +00:00
Aurelien Jacobs 20c11e4cee avoid a clash between two definitions of SEQ_START_CODE
Originally committed as revision 8903 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-05 18:31:34 +00:00
Aurelien Jacobs 95dca03f77 add a ff_ prefix to the now exported mpeg1_find_frame_end() function
Originally committed as revision 8902 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-05 18:25:02 +00:00
Aurelien Jacobs 7f50d4ac51 move mpegvideo_parser in it's own file
Originally committed as revision 8901 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-05 18:18:51 +00:00
Aurelien Jacobs 89550b2d68 avoid a 'discards qualifiers from pointer' warning
Originally committed as revision 8900 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-05 18:17:03 +00:00
Aurelien Jacobs 0cb4172803 move mpegaudio_parser in it's own file
Originally committed as revision 8899 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-05 18:08:16 +00:00
Aurelien Jacobs d2e911fac8 move mpeg4video_parser in it's own file
Originally committed as revision 8898 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-05 17:59:37 +00:00
Aurelien Jacobs 41fe055242 parser.h uses AVCodecContext so it needs to include avcodec.h
Originally committed as revision 8897 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-05 17:56:47 +00:00
Aurelien Jacobs 75f6cc26ba set CODEC_CAP_DR1 for vp5 and vp6 decoders
Originally committed as revision 8896 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-05 15:21:57 +00:00
Diego Biurrun 442fc0e881 parser.c is compiled unconditionally, there is no need to compile it
conditional to CONFIG_AC3_PARSER.

Originally committed as revision 8895 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-05 12:24:51 +00:00
Diego Biurrun 5a6a6cc7dc Fix multiple "‘inline/static’ is not at beginning of declaration" warnings.
Originally committed as revision 8894 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-05 12:18:14 +00:00
Diego Biurrun 58170ffdf7 Fix warning:
In file included from mjpeg.c:903:
jpeg_ls.c:190: warning: ‘inline’ is not at beginning of declaration

Originally committed as revision 8893 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-05 11:14:03 +00:00
Diego Biurrun ab8a0d04e9 parser.c is compiled unconditionally, there is no need to compile it
conditional to CONFIG_CAVSVIDEO_PARSER.

Originally committed as revision 8892 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-05 09:15:03 +00:00
Diego Biurrun 3883a99b7d Move H.261 parser to its own file.
Originally committed as revision 8888 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-04 19:38:10 +00:00
Kostya Shishkov 58683d2743 100l to myself. Do not include stuff unneeded by parser
Originally committed as revision 8886 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-04 12:31:40 +00:00
Kostya Shishkov f9eada03db Typo
Originally committed as revision 8885 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-04 03:34:38 +00:00
Kostya Shishkov 7d9a6a0fc3 Move some declarations into header
Based on patch by Denis Fortin
(cons (car '(fortin NOSPAM)) '(nerim net))

Originally committed as revision 8884 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-04 03:34:21 +00:00
Diego Biurrun b0caf888d2 Rename oggvorbis decoder to libvorbis.
Originally committed as revision 8883 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-04 00:18:54 +00:00
Diego Biurrun 5982ae94ee Move VC1 parser to its own file.
Originally committed as revision 8882 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-04 00:09:33 +00:00
Diego Biurrun 98c98e04cc Move dca parser to its own file.
Originally committed as revision 8881 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-03 23:50:24 +00:00
Diego Biurrun f5a756ef26 Give libamr decoders/encoders a lib prefix in the name.
Originally committed as revision 8880 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-03 10:38:03 +00:00
Diego Biurrun 23aee96097 Rename dts_decoder to libdts_decoder.
Originally committed as revision 8879 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-03 09:35:54 +00:00
Diego Biurrun e24465962d Remove unused variable.
Originally committed as revision 8878 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-02 23:11:23 +00:00
Justin Ruggles 6369e6ebc3 cosmetics: indention after last commit
Originally committed as revision 8876 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-02 20:42:44 +00:00
Justin Ruggles c31a76e4ef use downmixing coefficients in dca decoder.
reference:
Subject: [Ffmpeg-devel] [PATCH] DTS multichannel
Date: Wed, 25 Apr 2007 16:25:18 -0400

Originally committed as revision 8875 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-02 20:33:32 +00:00
Justin Ruggles cc82662662 enable multichannel output in dca decoder.
reference:
Subject: [Ffmpeg-devel] [PATCH] DTS multichannel
Date: Wed, 25 Apr 2007 16:25:18 -0400

Originally committed as revision 8874 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-02 20:31:32 +00:00
Kostya Shishkov c95d406d32 1000l to myself - DCA decoder should not be registered in video codecs section
Originally committed as revision 8873 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-02 16:43:29 +00:00