Commit Graph

7666 Commits

Author SHA1 Message Date
Michael Niedermayer 395206f6b1 Ignore the spec, and calculate aspect ratio on width/height.
Fixes issue562 and issue621.

Originally committed as revision 15183 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-03 19:04:46 +00:00
Michael Niedermayer 8e5af7a654 Clarify sample_aspect_ratio.
Originally committed as revision 15180 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-03 17:43:00 +00:00
Jai Menon d3ce0792c2 fix issue 616 on roundup : decoding of short flac files
Originally committed as revision 15177 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-03 13:31:33 +00:00
Diego Biurrun c7ac9449ba Disable encoders by undefining CONFIG_FOO_ENCODER once instead of littering
the code with preprocessor directives.

Originally committed as revision 15176 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-03 12:43:18 +00:00
Diego Biurrun 999960c90a Surround some encoding-specific functions with the appropriate
encoding-specific #ifdef.

Originally committed as revision 15175 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-03 12:35:17 +00:00
Diego Biurrun f544a5fc84 Replace generic CONFIG_ENCODERS preprocessor conditionals by more specific
CONFIG_FOO_ENCODER conditionals where appropriate.

Originally committed as revision 15174 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-03 12:33:21 +00:00
Vladimir Voroshilov 063ad8205a gain codebook (first stage), 8k mode for G.729
Originally committed as revision 15171 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-03 04:45:01 +00:00
Vladimir Voroshilov bc165ee392 Another set of approved G.729 chunks (from decoder core)
Originally committed as revision 15168 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-03 01:07:03 +00:00
Aurelien Jacobs 4834eb191c theoradec: cosmetics: indentation
Originally committed as revision 15167 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-03 00:19:08 +00:00
Aurelien Jacobs feaf1a7393 theoradec: skip decoding of uncoded MV in 4MV code
Thusnelda, the new experimental Theora encoder is using this Theora feature
that was previously not exploited.
fixes issue579

Originally committed as revision 15166 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-03 00:17:11 +00:00
Aurelien Jacobs e32e2d56d4 theoradec: small 4MV code reorganization to ease future improvements
no functional changes

Originally committed as revision 15165 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-03 00:10:30 +00:00
Diego Biurrun 2a43a093ed Replace generic CONFIG_DECODERS preprocessor conditionals by more specific
CONFIG_FOO_DECODER conditionals where appropriate.

Originally committed as revision 15162 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-02 23:25:57 +00:00
Diego Biurrun ab21090869 Silence a couple of 'defined but not used' warnings by adding an av_unused
attribute to the relevant function declarations.

Originally committed as revision 15161 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-02 23:14:11 +00:00
Laurent Aimar bd10f6e149 Prevent a division by 0 in the g726 decoder when the configured samplerate is 0.
patch by Laurent Aimar, fenrir via.ecp fr

Originally committed as revision 15160 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-02 23:09:14 +00:00
Vladimir Voroshilov d3bb8ad7af Parity bit calculation routine for G.729
Originally committed as revision 15154 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-02 17:15:28 +00:00
Michael Niedermayer d0b41d8931 Try to support invalid h264 that does not mark IDR with POC=0.
Fixes issue576.

Originally committed as revision 15153 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-02 16:31:18 +00:00
Justin Ruggles 406ab5cc97 add a separate line in Makefile for E-AC-3 decoder and only compile it when
GPL is enabled. fixes building without GPL or with liba52.

Originally committed as revision 15151 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-02 04:04:26 +00:00
Baptiste Coudurier 7cabcf7d37 make pcm encoder setting bits_per_sample field
Originally committed as revision 15150 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-01 21:13:05 +00:00
Justin Ruggles 2988c93d94 create a separate codec_id for E-AC-3
Originally committed as revision 15143 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-01 14:33:54 +00:00
Bartlomiej Wolowiec 755ba88640 Remaining parts of Nellymoser encoder
Originally committed as revision 15138 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-01 11:19:26 +00:00
Michael Niedermayer 719f37026a Check ff_init_me()s return value.
Originally committed as revision 15137 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-01 00:28:51 +00:00
Michael Niedermayer 6f55b11ec6 1000l Fix snow regression test that i broke in r15135.
Originally committed as revision 15136 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-01 00:22:00 +00:00
Michael Niedermayer b74ec69366 Warn the user about me_method values that are not supported.
Fixes issue503

Originally committed as revision 15135 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-31 23:55:47 +00:00
Michael Niedermayer c541e668f6 Optimize vorbis_residue_decode() so that vr->type is a constant.
Based on a patch by Siarhei Siamashka.

Originally committed as revision 15134 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-31 22:49:42 +00:00
Michael Niedermayer 969c163f1f Remove debuging junk that probably hasnt been used by anyone since years.
Originally committed as revision 15133 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-31 20:26:28 +00:00
Bartlomiej Wolowiec 748384a186 Okayed parts of nellymoserenc.c
Originally committed as revision 15126 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-31 19:26:33 +00:00
Stefan Gehrer 03f7e56896 reduce code duplication by moving common header parsing
from the bpp-specific parts to the frame decode

Originally committed as revision 15121 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-31 08:09:54 +00:00
Stefano Sabatini 987903826b Globally rename the header inclusion guard names.
Consistently apply this rule: the guard name is obtained from the
filename by stripping the leading "lib", converting '/' and '.'  to
'_' and uppercasing the resulting name. Guard names in the root
directory have to be prefixed by "FFMPEG_".

Originally committed as revision 15120 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-31 07:39:47 +00:00
David Conrad b4c3d83584 Use ff_vp3_idct_data in vp3dsp_mmx.c rather than duplicating it
Originally committed as revision 15118 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-31 07:05:55 +00:00
David Conrad 43410eaf7c Declare ff_vp3_idct_data to be uint16_t
Originally committed as revision 15117 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-31 07:05:29 +00:00
David Conrad 587ae47aa7 Don't declare SSE vp3 idct data static, so it can be used in the mmx version
Originally committed as revision 15116 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-31 07:05:08 +00:00
Justin Ruggles 1f6a594de4 turn on E-AC-3 decoding support and update the Changelog
Originally committed as revision 15103 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-31 03:08:18 +00:00
Justin Ruggles f07fe6e78a simplify code and comment regarding determination whether or not AHT is used.
Originally committed as revision 15101 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-31 03:01:56 +00:00
Justin Ruggles 9cf8ebe38a use correct table name
Originally committed as revision 15099 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-31 02:58:21 +00:00
Vitor Sessak f6a1ca1dad Misc cosmetics in compute_lpc_coefs(): braces removal and empty lines
Originally committed as revision 15093 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-31 02:39:55 +00:00
Justin Ruggles 1ffbafa02b skip converter exponent strategy for all channels at once
Originally committed as revision 15092 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-31 02:38:38 +00:00
Vitor Sessak fc324cd523 Remove useless var in compute_lpc_coefs()
Originally committed as revision 15091 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-31 02:37:04 +00:00
Justin Ruggles e1747bfa4e merge declaration and init. variable is not used outside the loop.
Originally committed as revision 15090 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-31 02:35:58 +00:00
Justin Ruggles f2e4eb62dc cosmetics: indentation
Originally committed as revision 15089 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-31 02:32:08 +00:00
Vitor Sessak 5d2dd90848 Merge declaration and initialization of a few vars in compute_lpc_coefs()
Originally committed as revision 15088 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-31 02:31:05 +00:00
Justin Ruggles 8dfc56ec32 commit more OKed parts of the E-AC-3 decoder
Originally committed as revision 15087 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-31 02:30:09 +00:00
Justin Ruggles 225c30429d commit more OKed parts of the E-AC-3 decoder
Originally committed as revision 15068 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-30 23:19:23 +00:00
Justin Ruggles d82bdf684b commit more OKed parts of the E-AC-3 decoder
Originally committed as revision 15067 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-30 23:13:10 +00:00
Michael Niedermayer d3b4b74c32 Fix lossless jpeg encoder to comply to spec and store full redundant
residuals, Note this does not change RGB32 as we need to check this
against some decoder that supports it.

Originally committed as revision 15055 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-30 20:39:12 +00:00
David Conrad c979fa030f Remove unused dequantization code from SSE VP3 IDCT
Originally committed as revision 15054 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-30 19:47:47 +00:00
David Conrad 167029a73a Use ff_pw_8 in MMX/SSE VP3 IDCT
Originally committed as revision 15053 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-30 19:41:42 +00:00
David Conrad 21383da8c4 Let ff_pw_8 be used as an SSE constant
Originally committed as revision 15052 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-30 19:40:21 +00:00
Justin Ruggles ea364c74a0 cosmetics: update comment about dithering
Originally committed as revision 15051 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-30 17:51:03 +00:00
Michael Niedermayer 1d8370aad9 Remove the cos_mod table that has become unused after replacing the imdct
by ff_imdct_half().

Originally committed as revision 15050 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-30 11:01:58 +00:00
Michael Niedermayer 89df5e95bb Replace obfuscated mdct in qmf_32_subbands() by ff_imdct_half().
Originally committed as revision 15049 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-30 10:47:13 +00:00