platform/upstream/libav.git
16 years agoRemove further 1sample=2byte assumptions within FFmpeg to allow
Peter Ross [Thu, 4 Sep 2008 10:18:04 +0000 (10:18 +0000)]
Remove further 1sample=2byte assumptions within FFmpeg to allow
F32LE/F64BE/F64LE audio to be encoded properly.

Originally committed as revision 15192 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoMake the nb_max_connections and nb_connections int variables unsigned.
Stefano Sabatini [Wed, 3 Sep 2008 20:10:32 +0000 (20:10 +0000)]
Make the nb_max_connections and nb_connections int variables unsigned.

Originally committed as revision 15191 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agochange the logic to mux 13818-3 and 11172-3 in mp4, less code
Baptiste Coudurier [Wed, 3 Sep 2008 19:42:09 +0000 (19:42 +0000)]
change the logic to mux 13818-3 and 11172-3 in mp4, less code

Originally committed as revision 15190 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoforbid mp3 < 16000hz in anything except mov
Baptiste Coudurier [Wed, 3 Sep 2008 19:31:03 +0000 (19:31 +0000)]
forbid mp3 < 16000hz in anything except mov

Originally committed as revision 15189 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agodirac muxing support in mp4/mov
Baptiste Coudurier [Wed, 3 Sep 2008 19:23:24 +0000 (19:23 +0000)]
dirac muxing support in mp4/mov

Originally committed as revision 15188 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agocosmetics, move up mpeg1video mp4 objecttype
Baptiste Coudurier [Wed, 3 Sep 2008 19:18:49 +0000 (19:18 +0000)]
cosmetics, move up mpeg1video mp4 objecttype

Originally committed as revision 15187 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agocosmetics, change values to hex since mp4ra use hex
Baptiste Coudurier [Wed, 3 Sep 2008 19:17:28 +0000 (19:17 +0000)]
cosmetics, change values to hex since mp4ra use hex

Originally committed as revision 15186 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agocosmetics, vertical align
Baptiste Coudurier [Wed, 3 Sep 2008 19:08:56 +0000 (19:08 +0000)]
cosmetics, vertical align

Originally committed as revision 15185 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoac3 muxing support in mov/mp4/m4v
Baptiste Coudurier [Wed, 3 Sep 2008 19:05:22 +0000 (19:05 +0000)]
ac3 muxing support in mov/mp4/m4v

Originally committed as revision 15184 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoIgnore the spec, and calculate aspect ratio on width/height.
Michael Niedermayer [Wed, 3 Sep 2008 19:04:46 +0000 (19:04 +0000)]
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

16 years agoMake the maximum number of simultaneous HTTP connections handled by
Stefano Sabatini [Wed, 3 Sep 2008 18:16:34 +0000 (18:16 +0000)]
Make the maximum number of simultaneous HTTP connections handled by
ffserver a configuration parameter. The name of the new parameter
introduced is MaxHTTPConnections.

Originally committed as revision 15182 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoChange doxygen comment: Clarify when av_write_trailer should be called.
Reimar Döffinger [Wed, 3 Sep 2008 17:57:56 +0000 (17:57 +0000)]
Change doxygen comment: Clarify when av_write_trailer should be called.

Originally committed as revision 15181 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoClarify sample_aspect_ratio.
Michael Niedermayer [Wed, 3 Sep 2008 17:43:00 +0000 (17:43 +0000)]
Clarify sample_aspect_ratio.

Originally committed as revision 15180 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoAdd AVPacket.convergence_duration.
Michael Niedermayer [Wed, 3 Sep 2008 14:44:54 +0000 (14:44 +0000)]
Add AVPacket.convergence_duration.

Originally committed as revision 15179 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoTry to clarify the semantics of AVPacket.duration.
Michael Niedermayer [Wed, 3 Sep 2008 14:02:17 +0000 (14:02 +0000)]
Try to clarify the semantics of AVPacket.duration.

Originally committed as revision 15178 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agofix issue 616 on roundup : decoding of short flac files
Jai Menon [Wed, 3 Sep 2008 13:31:33 +0000 (13:31 +0000)]
fix issue 616 on roundup : decoding of short flac files

Originally committed as revision 15177 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoDisable encoders by undefining CONFIG_FOO_ENCODER once instead of littering
Diego Biurrun [Wed, 3 Sep 2008 12:43:18 +0000 (12:43 +0000)]
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

16 years agoSurround some encoding-specific functions with the appropriate
Diego Biurrun [Wed, 3 Sep 2008 12:35:17 +0000 (12:35 +0000)]
Surround some encoding-specific functions with the appropriate
encoding-specific #ifdef.

Originally committed as revision 15175 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoReplace generic CONFIG_ENCODERS preprocessor conditionals by more specific
Diego Biurrun [Wed, 3 Sep 2008 12:33:21 +0000 (12:33 +0000)]
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

16 years agoFix round to even for aspect ratio correction.
Michael Niedermayer [Wed, 3 Sep 2008 11:16:29 +0000 (11:16 +0000)]
Fix round to even for aspect ratio correction.

Originally committed as revision 15173 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoRemove unused code that used to handle protocol concatenation, i.e. trying
Ronald S. Bultje [Wed, 3 Sep 2008 04:47:44 +0000 (04:47 +0000)]
Remove unused code that used to handle protocol concatenation, i.e. trying
multiple protocols at the same time. We now cycle protocols individually
to autodetect, making this code no longer needed, and thus the support code
for it in make_setup_request() can be removed. See "[PATCH] remove transport
concatenation dead code" on mailinglist.

Originally committed as revision 15172 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agogain codebook (first stage), 8k mode for G.729
Vladimir Voroshilov [Wed, 3 Sep 2008 04:45:01 +0000 (04:45 +0000)]
gain codebook (first stage), 8k mode for G.729

Originally committed as revision 15171 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoImplement Realmedia/RTSP-compatible SETUP command. This includes calculation
Ronald S. Bultje [Wed, 3 Sep 2008 04:44:58 +0000 (04:44 +0000)]
Implement Realmedia/RTSP-compatible SETUP command. This includes calculation
of the "RealChallenge2" response, which is some sort of authentication. See
discussion in "Realmedia patch" thread on ffmpeg-devel.

Originally committed as revision 15170 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agofix fourcc comment
Baptiste Coudurier [Wed, 3 Sep 2008 01:42:26 +0000 (01:42 +0000)]
fix fourcc comment

Originally committed as revision 15169 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoAnother set of approved G.729 chunks (from decoder core)
Vladimir Voroshilov [Wed, 3 Sep 2008 01:07:03 +0000 (01:07 +0000)]
Another set of approved G.729 chunks (from decoder core)

Originally committed as revision 15168 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agotheoradec: cosmetics: indentation
Aurelien Jacobs [Wed, 3 Sep 2008 00:19:08 +0000 (00:19 +0000)]
theoradec: cosmetics: indentation

Originally committed as revision 15167 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agotheoradec: skip decoding of uncoded MV in 4MV code
Aurelien Jacobs [Wed, 3 Sep 2008 00:17:11 +0000 (00:17 +0000)]
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

16 years agotheoradec: small 4MV code reorganization to ease future improvements
Aurelien Jacobs [Wed, 3 Sep 2008 00:10:30 +0000 (00:10 +0000)]
theoradec: small 4MV code reorganization to ease future improvements
no functional changes

Originally committed as revision 15165 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoMove av_set_pts_info() inside the mdpr_read_codecdata() call, so that it is
Ronald S. Bultje [Wed, 3 Sep 2008 00:07:34 +0000 (00:07 +0000)]
Move av_set_pts_info() inside the mdpr_read_codecdata() call, so that it is
shared between the RM demuxer and the RTSP/RDT parser; both use the same
timebase. See discussion in "[PATCH] rmdec.c: move av_set_pts_info()" on ML.

Originally committed as revision 15164 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoUse chunk-size in function calling mdpr_read_codecdata() rather than in the
Ronald S. Bultje [Wed, 3 Sep 2008 00:05:55 +0000 (00:05 +0000)]
Use chunk-size in function calling mdpr_read_codecdata() rather than in the
function itself. This way, old-style (.ra4) RTSP/RDT OpaqueData chunks can
be parsed using this function as well (they don't have the size bits). See
discussion on ML in "[PATCH] rmdec.c - small read_mdpr_codecdata() API
modification".

Originally committed as revision 15163 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoReplace generic CONFIG_DECODERS preprocessor conditionals by more specific
Diego Biurrun [Tue, 2 Sep 2008 23:25:57 +0000 (23:25 +0000)]
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

16 years agoSilence a couple of 'defined but not used' warnings by adding an av_unused
Diego Biurrun [Tue, 2 Sep 2008 23:14:11 +0000 (23:14 +0000)]
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

16 years agoPrevent a division by 0 in the g726 decoder when the configured samplerate is 0.
Laurent Aimar [Tue, 2 Sep 2008 23:09:14 +0000 (23:09 +0000)]
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

16 years agoFix an invalid free in the AVI muxer when an unsupported audio track is added.
Laurent Aimar [Tue, 2 Sep 2008 22:53:42 +0000 (22:53 +0000)]
Fix an invalid free in the AVI muxer when an unsupported audio track is added.
patch by Laurent Aimar, fenrir via.ecp fr

Originally committed as revision 15159 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoReplace generic CONFIG_MUXERS preprocessor conditionals by more specific
Diego Biurrun [Tue, 2 Sep 2008 22:45:13 +0000 (22:45 +0000)]
Replace generic CONFIG_MUXERS preprocessor conditionals by more specific
CONFIG_FOO_MUXER conditionals where appropriate.

Originally committed as revision 15158 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoRemove pointless #ifdef CONFIG_VHOOK from the code.
Diego Biurrun [Tue, 2 Sep 2008 22:31:41 +0000 (22:31 +0000)]
Remove pointless #ifdef CONFIG_VHOOK from the code.
The file is only ever compiled if CONFIG_VHOOK is set.

Originally committed as revision 15157 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agocorrectly mux mpeg2 audio 13818-3 in mp4
Baptiste Coudurier [Tue, 2 Sep 2008 20:48:45 +0000 (20:48 +0000)]
correctly mux mpeg2 audio 13818-3 in mp4

Originally committed as revision 15156 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoallow mp2 to be muxed into mp4
Baptiste Coudurier [Tue, 2 Sep 2008 19:13:25 +0000 (19:13 +0000)]
allow mp2 to be muxed into mp4

Originally committed as revision 15155 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoParity bit calculation routine for G.729
Vladimir Voroshilov [Tue, 2 Sep 2008 17:15:28 +0000 (17:15 +0000)]
Parity bit calculation routine for G.729

Originally committed as revision 15154 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoTry to support invalid h264 that does not mark IDR with POC=0.
Michael Niedermayer [Tue, 2 Sep 2008 16:31:18 +0000 (16:31 +0000)]
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

16 years agoFix detection of MPEG4 in MPEG-PS.
Michael Niedermayer [Tue, 2 Sep 2008 15:33:57 +0000 (15:33 +0000)]
Fix detection of MPEG4 in MPEG-PS.
Fixes issue568.

Originally committed as revision 15152 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoadd a separate line in Makefile for E-AC-3 decoder and only compile it when
Justin Ruggles [Tue, 2 Sep 2008 04:04:26 +0000 (04:04 +0000)]
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

16 years agomake pcm encoder setting bits_per_sample field
Baptiste Coudurier [Mon, 1 Sep 2008 21:13:05 +0000 (21:13 +0000)]
make pcm encoder setting bits_per_sample field

Originally committed as revision 15150 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoMake show_banner()/show_version() print the libpostproc version
Stefano Sabatini [Mon, 1 Sep 2008 18:02:46 +0000 (18:02 +0000)]
Make show_banner()/show_version() print the libpostproc version
numbers if enabled.

Originally committed as revision 15149 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoImplement postproc_version().
Stefano Sabatini [Mon, 1 Sep 2008 18:00:53 +0000 (18:00 +0000)]
Implement postproc_version().

Originally committed as revision 15148 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agochange back to using CONFIG_*_DEMUXER for ac3_eac3_probe(), but use it
Justin Ruggles [Mon, 1 Sep 2008 17:20:49 +0000 (17:20 +0000)]
change back to using CONFIG_*_DEMUXER for ac3_eac3_probe(), but use it
correctly this time.

Originally committed as revision 15147 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agomatroska: add E-AC-3 support
Aurelien Jacobs [Mon, 1 Sep 2008 15:50:12 +0000 (15:50 +0000)]
matroska: add E-AC-3 support
Thanks again Justin !

Originally committed as revision 15146 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agosimplify ac3_probe() and eac3_probe(). patch by Aurelien Jacobs.
Aurelien Jacobs [Mon, 1 Sep 2008 15:31:14 +0000 (15:31 +0000)]
simplify ac3_probe() and eac3_probe(). patch by Aurelien Jacobs.

Originally committed as revision 15145 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agocheck ENABLE_*_DEMUXER instead of CONFIG_*_DEMUXER
Justin Ruggles [Mon, 1 Sep 2008 15:28:15 +0000 (15:28 +0000)]
check ENABLE_*_DEMUXER instead of CONFIG_*_DEMUXER

Originally committed as revision 15144 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agocreate a separate codec_id for E-AC-3
Justin Ruggles [Mon, 1 Sep 2008 14:33:54 +0000 (14:33 +0000)]
create a separate codec_id for E-AC-3

Originally committed as revision 15143 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoRemove useless "else" case in if X { A; return }; else { B }. See discussion
Ronald S. Bultje [Mon, 1 Sep 2008 13:51:24 +0000 (13:51 +0000)]
Remove useless "else" case in if X { A; return }; else { B }. See discussion
in "Realmedia patch" thread on mailinglist.

Originally committed as revision 15142 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoSome RTSP streams use SDP lines longer than 1024 bytes, so the SDP line
Ronald S. Bultje [Mon, 1 Sep 2008 13:47:53 +0000 (13:47 +0000)]
Some RTSP streams use SDP lines longer than 1024 bytes, so the SDP line
buffer needs to be increased. See discussion in "Realmedia patch" thread
on mailinglist.

Originally committed as revision 15141 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoImplement Realmedia-compatible DESCRIBE command.
Ronald S. Bultje [Mon, 1 Sep 2008 13:46:50 +0000 (13:46 +0000)]
Implement Realmedia-compatible DESCRIBE command.

Originally committed as revision 15140 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agofix sorting of audio codecs
Justin Ruggles [Mon, 1 Sep 2008 13:32:30 +0000 (13:32 +0000)]
fix sorting of audio codecs

Originally committed as revision 15139 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoRemaining parts of Nellymoser encoder
Bartlomiej Wolowiec [Mon, 1 Sep 2008 11:19:26 +0000 (11:19 +0000)]
Remaining parts of Nellymoser encoder

Originally committed as revision 15138 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoCheck ff_init_me()s return value.
Michael Niedermayer [Mon, 1 Sep 2008 00:28:51 +0000 (00:28 +0000)]
Check ff_init_me()s return value.

Originally committed as revision 15137 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years ago1000l Fix snow regression test that i broke in r15135.
Michael Niedermayer [Mon, 1 Sep 2008 00:22:00 +0000 (00:22 +0000)]
1000l Fix snow regression test that i broke in r15135.

Originally committed as revision 15136 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoWarn the user about me_method values that are not supported.
Michael Niedermayer [Sun, 31 Aug 2008 23:55:47 +0000 (23:55 +0000)]
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

16 years agoOptimize vorbis_residue_decode() so that vr->type is a constant.
Michael Niedermayer [Sun, 31 Aug 2008 22:49:42 +0000 (22:49 +0000)]
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

16 years agoRemove debuging junk that probably hasnt been used by anyone since years.
Michael Niedermayer [Sun, 31 Aug 2008 20:26:28 +0000 (20:26 +0000)]
Remove debuging junk that probably hasnt been used by anyone since years.

Originally committed as revision 15133 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agocheck for malloc failure
Baptiste Coudurier [Sun, 31 Aug 2008 20:21:00 +0000 (20:21 +0000)]
check for malloc failure

Originally committed as revision 15132 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agocopy whole frame in vosData for dnxhd, this code will be used for other codecs too
Baptiste Coudurier [Sun, 31 Aug 2008 20:20:12 +0000 (20:20 +0000)]
copy whole frame in vosData for dnxhd, this code will be used for other codecs too

Originally committed as revision 15131 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agothe FLAC encoder has an integer-only mode available (compression_level <= 2)
Justin Ruggles [Sun, 31 Aug 2008 20:11:25 +0000 (20:11 +0000)]
the FLAC encoder has an integer-only mode available (compression_level <= 2)

Originally committed as revision 15130 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agocosmetics: capitalization
Justin Ruggles [Sun, 31 Aug 2008 19:59:52 +0000 (19:59 +0000)]
cosmetics: capitalization

Originally committed as revision 15129 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoDnet AC-3 encoding is integer-only
Justin Ruggles [Sun, 31 Aug 2008 19:59:27 +0000 (19:59 +0000)]
Dnet AC-3 encoding is integer-only

Originally committed as revision 15128 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoadd E-AC-3 to supported codec list
Justin Ruggles [Sun, 31 Aug 2008 19:57:45 +0000 (19:57 +0000)]
add E-AC-3 to supported codec list

Originally committed as revision 15127 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoOkayed parts of nellymoserenc.c
Bartlomiej Wolowiec [Sun, 31 Aug 2008 19:26:33 +0000 (19:26 +0000)]
Okayed parts of nellymoserenc.c

Originally committed as revision 15126 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoSend RTSP OPTIONS command to detect server type.
Ronald S. Bultje [Sun, 31 Aug 2008 17:32:58 +0000 (17:32 +0000)]
Send RTSP OPTIONS command to detect server type.

Originally committed as revision 15125 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoRead RealChallenge1 field from the server.
Ronald S. Bultje [Sun, 31 Aug 2008 17:32:02 +0000 (17:32 +0000)]
Read RealChallenge1 field from the server.

Originally committed as revision 15124 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoImplement RTSPServerType enum as a way to identify the flavour of RTSP that
Ronald S. Bultje [Sun, 31 Aug 2008 17:30:15 +0000 (17:30 +0000)]
Implement RTSPServerType enum as a way to identify the flavour of RTSP that
the server will send to us (standard-compliant RTP or Realmedia-style RDT).

Originally committed as revision 15123 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoRevert back to old version (r15103).
Ronald S. Bultje [Sun, 31 Aug 2008 17:23:01 +0000 (17:23 +0000)]
Revert back to old version (r15103).

Originally committed as revision 15122 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoreduce code duplication by moving common header parsing
Stefan Gehrer [Sun, 31 Aug 2008 08:09:54 +0000 (08:09 +0000)]
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

16 years agoChange headers' guardnames consistently with r15120.
Stefano Sabatini [Sun, 31 Aug 2008 07:42:11 +0000 (07:42 +0000)]
Change headers' guardnames consistently with r15120.

Originally committed as revision 27499 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

16 years agoGlobally rename the header inclusion guard names.
Stefano Sabatini [Sun, 31 Aug 2008 07:39:47 +0000 (07:39 +0000)]
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

16 years agoDisplay error message when user attempts to resample non-S16 audio formats.
Peter Ross [Sun, 31 Aug 2008 07:23:48 +0000 (07:23 +0000)]
Display error message when user attempts to resample non-S16 audio formats.
Patch supplied by Daniel Serpell <daniel dot serpell at gmail dotcom>.

Originally committed as revision 15119 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoUse ff_vp3_idct_data in vp3dsp_mmx.c rather than duplicating it
David Conrad [Sun, 31 Aug 2008 07:05:55 +0000 (07:05 +0000)]
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

16 years agoDeclare ff_vp3_idct_data to be uint16_t
David Conrad [Sun, 31 Aug 2008 07:05:29 +0000 (07:05 +0000)]
Declare ff_vp3_idct_data to be uint16_t

Originally committed as revision 15117 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoDon't declare SSE vp3 idct data static, so it can be used in the mmx version
David Conrad [Sun, 31 Aug 2008 07:05:08 +0000 (07:05 +0000)]
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

16 years agodo no write multi descriptor when only one track is present
Baptiste Coudurier [Sun, 31 Aug 2008 04:35:09 +0000 (04:35 +0000)]
do no write multi descriptor when only one track is present

Originally committed as revision 15115 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agofactorize
Baptiste Coudurier [Sun, 31 Aug 2008 04:26:12 +0000 (04:26 +0000)]
factorize

Originally committed as revision 15114 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoremove mxf_build_structural_metadata, simplify
Baptiste Coudurier [Sun, 31 Aug 2008 04:25:39 +0000 (04:25 +0000)]
remove mxf_build_structural_metadata, simplify

Originally committed as revision 15113 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agomove mxf_write_package to permit function merge
Baptiste Coudurier [Sun, 31 Aug 2008 04:24:00 +0000 (04:24 +0000)]
move mxf_write_package to permit function merge

Originally committed as revision 15112 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agocosmetics, Pair -> Entry
Baptiste Coudurier [Sun, 31 Aug 2008 04:20:47 +0000 (04:20 +0000)]
cosmetics, Pair -> Entry

Originally committed as revision 15111 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agostore index in table in MXFStreamContext, simplify
Baptiste Coudurier [Sun, 31 Aug 2008 04:13:44 +0000 (04:13 +0000)]
store index in table in MXFStreamContext, simplify

Originally committed as revision 15110 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agomerge descriptor write table with essence container uls table and simplify
Baptiste Coudurier [Sun, 31 Aug 2008 04:07:41 +0000 (04:07 +0000)]
merge descriptor write table with essence container uls table and simplify

Originally committed as revision 15109 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agofix type in prototype
Baptiste Coudurier [Sun, 31 Aug 2008 03:45:00 +0000 (03:45 +0000)]
fix type in prototype

Originally committed as revision 15108 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoremove header_byte_count_offset from context
Baptiste Coudurier [Sun, 31 Aug 2008 03:42:05 +0000 (03:42 +0000)]
remove header_byte_count_offset from context

Originally committed as revision 15107 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agosimplify and correctly rewrite metadata in header partition, mark it closed complete
Baptiste Coudurier [Sun, 31 Aug 2008 03:36:25 +0000 (03:36 +0000)]
simplify and correctly rewrite metadata in header partition, mark it closed complete

Originally committed as revision 15106 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agosimplify current partition offset
Baptiste Coudurier [Sun, 31 Aug 2008 03:20:41 +0000 (03:20 +0000)]
simplify current partition offset

Originally committed as revision 15105 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoImplement RTSP/Realmedia-compatible OPTIONS command. See "Realmedia patch"
Ronald S. Bultje [Sun, 31 Aug 2008 03:12:13 +0000 (03:12 +0000)]
Implement RTSP/Realmedia-compatible OPTIONS command. See "Realmedia patch"
thread on mailinglist for discussion. This patch also implements a
RTSPServerType enum, which allows the RTSP to keep track of what kind of a
stream we're handling: standard-compliant RTP or a proprietary derivative.
This will be used in subsequent patches to implement more Realmedia-specific
extensions required to receive and parse data coming from a Realmedia server.

Originally committed as revision 15104 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoturn on E-AC-3 decoding support and update the Changelog
Justin Ruggles [Sun, 31 Aug 2008 03:08:18 +0000 (03:08 +0000)]
turn on E-AC-3 decoding support and update the Changelog

Originally committed as revision 15103 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoheader partition is open incomplete for now
Baptiste Coudurier [Sun, 31 Aug 2008 03:06:38 +0000 (03:06 +0000)]
header partition is open incomplete for now

Originally committed as revision 15102 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agosimplify code and comment regarding determination whether or not AHT is used.
Justin Ruggles [Sun, 31 Aug 2008 03:01:56 +0000 (03:01 +0000)]
simplify code and comment regarding determination whether or not AHT is used.

Originally committed as revision 15101 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoalways write footer partition according to specs
Baptiste Coudurier [Sun, 31 Aug 2008 03:01:07 +0000 (03:01 +0000)]
always write footer partition according to specs

Originally committed as revision 15100 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agouse correct table name
Justin Ruggles [Sun, 31 Aug 2008 02:58:21 +0000 (02:58 +0000)]
use correct table name

Originally committed as revision 15099 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years ago10l fix mxf_get_essence_container_ul
Baptiste Coudurier [Sun, 31 Aug 2008 02:55:13 +0000 (02:55 +0000)]
10l fix mxf_get_essence_container_ul

Originally committed as revision 15098 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agocosmetics, mux_write -> mxf_write
Baptiste Coudurier [Sun, 31 Aug 2008 02:50:25 +0000 (02:50 +0000)]
cosmetics, mux_write -> mxf_write

Originally committed as revision 15097 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agocorrectly set track duration
Baptiste Coudurier [Sun, 31 Aug 2008 02:49:40 +0000 (02:49 +0000)]
correctly set track duration

Originally committed as revision 15096 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoset duration to distinguished value
Baptiste Coudurier [Sun, 31 Aug 2008 02:46:50 +0000 (02:46 +0000)]
set duration to distinguished value

Originally committed as revision 15095 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agocorrectly write codec ul, mpeg-2 needs profile and level to be set
Baptiste Coudurier [Sun, 31 Aug 2008 02:41:31 +0000 (02:41 +0000)]
correctly write codec ul, mpeg-2 needs profile and level to be set

Originally committed as revision 15094 to svn://svn.ffmpeg.org/ffmpeg/trunk