ffmpeg.git
9 years agomove dirac demuxer to its own file
Aurelien Jacobs [Sun, 29 Aug 2010 21:44:26 +0000 (21:44 +0000)]
move dirac demuxer to its own file

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

9 years agomove h261 demuxer to its own file
Aurelien Jacobs [Sun, 29 Aug 2010 21:37:37 +0000 (21:37 +0000)]
move h261 demuxer to its own file

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

9 years agomove h263 demuxer to its own file
Aurelien Jacobs [Sun, 29 Aug 2010 21:34:18 +0000 (21:34 +0000)]
move h263 demuxer to its own file

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

9 years agomove h264 demuxer to its own file
Aurelien Jacobs [Sun, 29 Aug 2010 21:28:51 +0000 (21:28 +0000)]
move h264 demuxer to its own file

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

9 years agocosmetic
Aurelien Jacobs [Sun, 29 Aug 2010 21:23:52 +0000 (21:23 +0000)]
cosmetic

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

9 years agomove m4v demuxer to its own file
Aurelien Jacobs [Sun, 29 Aug 2010 21:23:30 +0000 (21:23 +0000)]
move m4v demuxer to its own file

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

9 years agomove cavsvideo demuxer to its own file
Aurelien Jacobs [Sun, 29 Aug 2010 21:14:55 +0000 (21:14 +0000)]
move cavsvideo demuxer to its own file

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

9 years agomove mpegvideo demuxer to its own file
Aurelien Jacobs [Sun, 29 Aug 2010 20:36:23 +0000 (20:36 +0000)]
move mpegvideo demuxer to its own file

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

9 years agomove ingenient demuxer to its own file
Aurelien Jacobs [Sun, 29 Aug 2010 19:16:04 +0000 (19:16 +0000)]
move ingenient demuxer to its own file

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

9 years agomove DTS demuxer to its own file
Aurelien Jacobs [Sun, 29 Aug 2010 19:00:40 +0000 (19:00 +0000)]
move DTS demuxer to its own file

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

9 years agosimplify code by using the AV_NE() macro
Aurelien Jacobs [Sun, 29 Aug 2010 18:33:39 +0000 (18:33 +0000)]
simplify code by using the AV_NE() macro

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

9 years ago10l: aacdec and idroqenc still depend on raw.o
Aurelien Jacobs [Sun, 29 Aug 2010 18:28:03 +0000 (18:28 +0000)]
10l: aacdec and idroqenc still depend on raw.o

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

9 years agorename idroq.c to idroqdec.c
Aurelien Jacobs [Sun, 29 Aug 2010 16:37:33 +0000 (16:37 +0000)]
rename idroq.c to idroqdec.c

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

9 years agomove id roq muxer to its own file
Aurelien Jacobs [Sun, 29 Aug 2010 16:35:44 +0000 (16:35 +0000)]
move id roq muxer to its own file

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

9 years agomove ADTS AAC demuxer to its own file
Aurelien Jacobs [Sun, 29 Aug 2010 16:18:20 +0000 (16:18 +0000)]
move ADTS AAC demuxer to its own file

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

9 years agoInclude stdint.h instead of inttypes.h, it is enough for what this file need.
Vitor Sessak [Sun, 29 Aug 2010 15:46:38 +0000 (15:46 +0000)]
Include stdint.h instead of inttypes.h, it is enough for what this file need.

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

9 years agortsp: Return AVERROR_EOF when all streams have received an RTCP BYE packet
Josh Allmann [Sun, 29 Aug 2010 10:25:16 +0000 (10:25 +0000)]
rtsp: Return AVERROR_EOF when all streams have received an RTCP BYE packet

Patch by Josh Allmann, joshua dot allmann at gmail

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

9 years agoReindent
Josh Allmann [Sun, 29 Aug 2010 10:20:18 +0000 (10:20 +0000)]
Reindent

Patch by Josh Allmann, joshua dot allmann at gmail

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

9 years agortpdec: Read RTCP compound packets
Josh Allmann [Sun, 29 Aug 2010 10:19:44 +0000 (10:19 +0000)]
rtpdec: Read RTCP compound packets

Patch by Josh Allmann, joshua dot allmann at gmail

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

9 years agortsp: Check the RTCP file handle for new packets, too
Josh Allmann [Sun, 29 Aug 2010 10:16:54 +0000 (10:16 +0000)]
rtsp: Check the RTCP file handle for new packets, too

Patch by Josh Allmann, joshua dot allmann at gmail

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

9 years agoFix two compiler arnings related to printf-format of sizeof()-statements.
Ronald S. Bultje [Sat, 28 Aug 2010 23:56:56 +0000 (23:56 +0000)]
Fix two compiler arnings related to printf-format of sizeof()-statements.

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

9 years agostream_selection can be freed in the fail case, in which case it's unassigned.
Zhentan Feng [Sat, 28 Aug 2010 23:55:26 +0000 (23:55 +0000)]
stream_selection can be freed in the fail case, in which case it's unassigned.
Therefore, init it with NULL to prevent a crash on invalid streams.

Patch by Zhentan Feng <spyfeng gmail com>.

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

9 years agoHopefully fix the fate-ws_snd breakage on PPC
Vitor Sessak [Sat, 28 Aug 2010 21:17:49 +0000 (21:17 +0000)]
Hopefully fix the fate-ws_snd breakage on PPC

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

9 years agocosmetics in imdct_sse
Loren Merritt [Sat, 28 Aug 2010 21:03:13 +0000 (21:03 +0000)]
cosmetics in imdct_sse

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

9 years agoAdd fate test for Westwood SND1 codec
Vitor Sessak [Sat, 28 Aug 2010 14:51:51 +0000 (14:51 +0000)]
Add fate test for Westwood SND1 codec

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

9 years agoRemove CCITT fax G4 tests (partial revert of r24954). This test is
Vitor Sessak [Sat, 28 Aug 2010 14:45:51 +0000 (14:45 +0000)]
Remove CCITT fax G4 tests (partial revert of r24954). This test is
corrupting memory somehow and segfaulting in the BSDs.

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

9 years agocosmetic
Aurelien Jacobs [Sat, 28 Aug 2010 14:07:16 +0000 (14:07 +0000)]
cosmetic

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

9 years agoCCITT Fax Group compression fate tests
Vitor Sessak [Sat, 28 Aug 2010 11:46:03 +0000 (11:46 +0000)]
CCITT Fax Group compression fate tests

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

9 years agoconfigure: move config.fate creation after OS section
Måns Rullgård [Thu, 26 Aug 2010 22:22:27 +0000 (22:22 +0000)]
configure: move config.fate creation after OS section

The OS label can be changed, and we want this to be reflected.

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

9 years agoconfigure: write config.fate file as early as possible
Måns Rullgård [Thu, 26 Aug 2010 19:49:57 +0000 (19:49 +0000)]
configure: write config.fate file as early as possible

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

9 years agoconfigure: improve error message for missing yasm
Måns Rullgård [Thu, 26 Aug 2010 19:15:25 +0000 (19:15 +0000)]
configure: improve error message for missing yasm

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

9 years agox86: Require yasm OR --disable-asm OR --disable-mmx OR --disable-yasm to build.
Alex Converse [Thu, 26 Aug 2010 18:29:32 +0000 (18:29 +0000)]
x86: Require yasm OR --disable-asm OR --disable-mmx OR --disable-yasm to build.

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

9 years agoRevert "Disable MMX for i686 and pentiumpro"
Måns Rullgård [Thu, 26 Aug 2010 18:21:00 +0000 (18:21 +0000)]
Revert "Disable MMX for i686 and pentiumpro"

To avoid being burned at the stake by an angry mob, I am forced to
revert this commit.

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

9 years agoFix typos when converting inline asm to yasm, fixes MMX-only fate-ea-vp61.
Ronald S. Bultje [Thu, 26 Aug 2010 14:33:39 +0000 (14:33 +0000)]
Fix typos when converting inline asm to yasm, fixes MMX-only fate-ea-vp61.

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

9 years agofate: print list of tests with "make fate-list"
Måns Rullgård [Thu, 26 Aug 2010 13:58:45 +0000 (13:58 +0000)]
fate: print list of tests with "make fate-list"

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

9 years agoDisable MMX for i686 and pentiumpro
Måns Rullgård [Thu, 26 Aug 2010 13:46:45 +0000 (13:46 +0000)]
Disable MMX for i686 and pentiumpro

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

9 years agoconfigure: select warning suppression syntax based on armcc version
Måns Rullgård [Thu, 26 Aug 2010 12:52:10 +0000 (12:52 +0000)]
configure: select warning suppression syntax based on armcc version

Release 4.1 changed the flag used to pass options through the gcc
translation layer.  Detect which version is used, and choose the
appropriate flag.

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

9 years agoCosmetic changes.
Tobias Bindhammer [Thu, 26 Aug 2010 10:03:14 +0000 (10:03 +0000)]
Cosmetic changes.

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

9 years agoInsert info from extradata into header
Tobias Bindhammer [Thu, 26 Aug 2010 10:03:11 +0000 (10:03 +0000)]
Insert info from extradata into header

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

9 years agoAdded option to write frames interleaved (yet disabled)
Tobias Bindhammer [Thu, 26 Aug 2010 10:03:09 +0000 (10:03 +0000)]
Added option to write frames interleaved (yet disabled)

For this reason, a MuxerContext and write_trailer()-function was added,
to track the previous packet and flush the last packet at the end.

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

9 years agoClarify code/avoid possible bugs by using precalculated values that are used for...
Tobias Bindhammer [Thu, 26 Aug 2010 10:03:06 +0000 (10:03 +0000)]
Clarify code/avoid possible bugs by using precalculated values that are used for extradata as well

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

9 years agoenable a flexible lifetime
Tobias Bindhammer [Thu, 26 Aug 2010 10:03:03 +0000 (10:03 +0000)]
enable a flexible lifetime

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

9 years agoSetting proper values in extradata for future use in muxer
Tobias Bindhammer [Thu, 26 Aug 2010 10:02:59 +0000 (10:02 +0000)]
Setting proper values in extradata for future use in muxer

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

9 years agoFlush the PutBitsContext at the end of each block when encoding ADPCM IMA QT
Martin Storsjö [Thu, 26 Aug 2010 07:39:34 +0000 (07:39 +0000)]
Flush the PutBitsContext at the end of each block when encoding ADPCM IMA QT

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

9 years agoAdd APIchanges entry after the addition of
Stefano Sabatini [Thu, 26 Aug 2010 00:41:40 +0000 (00:41 +0000)]
Add APIchanges entry after the addition of
avcodec_get_channel_layout() of r24936.

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

9 years agoImplement avcodec_get_channel_layout().
S.N. Hemanth Meenakshisundaram [Thu, 26 Aug 2010 00:38:25 +0000 (00:38 +0000)]
Implement avcodec_get_channel_layout().

Patch by S.N. Hemanth Meenakshisundaram smeenaks:ucsd+edu.

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

9 years agoMake stub version of ff_sdp_write_media() match its prototype
Andreas Öman [Wed, 25 Aug 2010 21:07:04 +0000 (21:07 +0000)]
Make stub version of ff_sdp_write_media() match its prototype
Used when compiled without CONFIG_RTP_MUXER

Fallout from r24915

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

9 years agoRevert r24931, it broke Win32 and some BSD compiles (yay fate).
Ronald S. Bultje [Wed, 25 Aug 2010 20:36:35 +0000 (20:36 +0000)]
Revert r24931, it broke Win32 and some BSD compiles (yay fate).

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

9 years agoRemove duplicate definitions of fullpel MC functions
Måns Rullgård [Wed, 25 Aug 2010 20:14:21 +0000 (20:14 +0000)]
Remove duplicate definitions of fullpel MC functions

This removes duplicated definitions of 8x8 and 16x16 fullpel MC
functions with various names reducing dsputil.o by 8k on x86_64.

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

9 years agosp5x: remove broken code under #if 0
Måns Rullgård [Wed, 25 Aug 2010 20:14:17 +0000 (20:14 +0000)]
sp5x: remove broken code under #if 0

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

9 years agoMark xmm6 and xmm7 as clobbered in ff_vp3_idct_sse2(), which is contributing
Ronald S. Bultje [Wed, 25 Aug 2010 19:57:05 +0000 (19:57 +0000)]
Mark xmm6 and xmm7 as clobbered in ff_vp3_idct_sse2(), which is contributing
to the VP6 fate failures on Win64.

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

9 years agofate: build with --enable-gpl
Måns Rullgård [Wed, 25 Aug 2010 18:37:38 +0000 (18:37 +0000)]
fate: build with --enable-gpl

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

9 years agoAdd rtp_get_rtcp_file_handle function
Josh Allmann [Wed, 25 Aug 2010 17:32:59 +0000 (17:32 +0000)]
Add rtp_get_rtcp_file_handle function

Patch by Josh Allmann, joshua dot allmann at gmail

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

9 years agoVP3 fate test
Vitor Sessak [Wed, 25 Aug 2010 17:23:38 +0000 (17:23 +0000)]
VP3 fate test

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

9 years agoAdd changelog entry for MMSH support.
Ronald S. Bultje [Wed, 25 Aug 2010 16:05:03 +0000 (16:05 +0000)]
Add changelog entry for MMSH support.

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

9 years agoVP6: fix vp6_filter_diag4_mmx/sse on 64-bit
Måns Rullgård [Wed, 25 Aug 2010 15:41:11 +0000 (15:41 +0000)]
VP6: fix vp6_filter_diag4_mmx/sse on 64-bit

The stride can be negative and must be sign extended before being
used in pointer arithmetic.

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

9 years agoHandle IPv6 in the RTSP code
Martin Storsjö [Wed, 25 Aug 2010 15:32:29 +0000 (15:32 +0000)]
Handle IPv6 in the RTSP code

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

9 years agoHandle IPv6 in the SDP demuxer
Martin Storsjö [Wed, 25 Aug 2010 15:32:00 +0000 (15:32 +0000)]
Handle IPv6 in the SDP demuxer

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

9 years agoARM: update struct offsets
Måns Rullgård [Wed, 25 Aug 2010 14:45:17 +0000 (14:45 +0000)]
ARM: update struct offsets

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

9 years agoswscale: simplify selection of optimizations to compile.
Ramiro Polla [Wed, 25 Aug 2010 14:39:11 +0000 (14:39 +0000)]
swscale: simplify selection of optimizations to compile.

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

9 years agoswscale: Always define COMPILE_xxx to either 0 or 1.
Ramiro Polla [Wed, 25 Aug 2010 14:38:30 +0000 (14:38 +0000)]
swscale: Always define COMPILE_xxx to either 0 or 1.

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

9 years agoMove vp6_filter_diag4() x86 SIMD code from inline ASM to YASM. This should
Ronald S. Bultje [Wed, 25 Aug 2010 13:44:16 +0000 (13:44 +0000)]
Move vp6_filter_diag4() x86 SIMD code from inline ASM to YASM. This should
help in fixing the Win64 fate failures.

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

9 years agoMove vp6_filter_diag4() from DSPContext to VP56DSPContext.
Ronald S. Bultje [Wed, 25 Aug 2010 13:42:28 +0000 (13:42 +0000)]
Move vp6_filter_diag4() from DSPContext to VP56DSPContext.

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

9 years agortsp: Return EOF if the TCP control channel is closed
Martin Storsjö [Wed, 25 Aug 2010 13:42:17 +0000 (13:42 +0000)]
rtsp: Return EOF if the TCP control channel is closed

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

9 years agoReindent
Martin Storsjö [Wed, 25 Aug 2010 13:31:33 +0000 (13:31 +0000)]
Reindent

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

9 years agoSimplify resolve_destination in sdp.c further, now that we don't enforce IPv4 any...
Martin Storsjö [Wed, 25 Aug 2010 13:30:06 +0000 (13:30 +0000)]
Simplify resolve_destination in sdp.c further, now that we don't enforce IPv4 any longer

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

9 years ago10l, add new function parameters to resolve_destination for !config_network too
Martin Storsjö [Wed, 25 Aug 2010 12:51:20 +0000 (12:51 +0000)]
10l, add new function parameters to resolve_destination for !config_network too

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

9 years agoReindent, rewrap lines
Martin Storsjö [Wed, 25 Aug 2010 12:34:42 +0000 (12:34 +0000)]
Reindent, rewrap lines

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

9 years agoProperly handle IPv6 addresses in the SDP generation
Martin Storsjö [Wed, 25 Aug 2010 12:29:32 +0000 (12:29 +0000)]
Properly handle IPv6 addresses in the SDP generation

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

9 years agocleanup a bit in a64multi_encode_frame()
Tobias Bindhammer [Wed, 25 Aug 2010 11:47:50 +0000 (11:47 +0000)]
cleanup a bit in a64multi_encode_frame()

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

9 years agoadded/extended some comments in a64multi_encode_frame()
Tobias Bindhammer [Wed, 25 Aug 2010 11:47:47 +0000 (11:47 +0000)]
added/extended some comments in a64multi_encode_frame()

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

9 years agortp: Replace hardcoded RTCP packet types with defines
Josh Allmann [Wed, 25 Aug 2010 09:15:31 +0000 (09:15 +0000)]
rtp: Replace hardcoded RTCP packet types with defines

Patch by Josh Allmann, joshua dot allmann at gmail

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

9 years agoRenderware TeXture Dictionary FATE test
Vitor Sessak [Tue, 24 Aug 2010 20:48:58 +0000 (20:48 +0000)]
Renderware TeXture Dictionary FATE test

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

9 years agoconfigure: enable fast_cmov for 'atom'
Janne Grunau [Tue, 24 Aug 2010 17:56:58 +0000 (17:56 +0000)]
configure: enable fast_cmov for 'atom'

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

9 years agoRemove global mm_flags variable
Måns Rullgård [Tue, 24 Aug 2010 17:47:05 +0000 (17:47 +0000)]
Remove global mm_flags variable

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

9 years agoMark xmm registers as clobbered in simple loopfilter. Should fix the last
Ronald S. Bultje [Tue, 24 Aug 2010 16:52:27 +0000 (16:52 +0000)]
Mark xmm registers as clobbered in simple loopfilter. Should fix the last
two VP8-related fate failures on Win64.

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

9 years agoconfigure: fix typo in test deps
Måns Rullgård [Tue, 24 Aug 2010 16:52:21 +0000 (16:52 +0000)]
configure: fix typo in test deps

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

9 years agoFix undefined expressions that use multiple calls to get_bits().
Alex Converse [Tue, 24 Aug 2010 16:10:25 +0000 (16:10 +0000)]
Fix undefined expressions that use multiple calls to get_bits().

Because the order of evaluation of subexpressions is undefined, two
get_bits() calls may not be part of the same expression.

See also r24902.

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

9 years agoFactorize opt_new_{audio,video,subtitle} definitions.
Stefano Sabatini [Tue, 24 Aug 2010 15:48:20 +0000 (15:48 +0000)]
Factorize opt_new_{audio,video,subtitle} definitions.

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

9 years agoCosmetics: rename out_video_filter to output_video_filter, for
Stefano Sabatini [Tue, 24 Aug 2010 15:48:17 +0000 (15:48 +0000)]
Cosmetics: rename out_video_filter to output_video_filter, for
consistency with input_video_filter.

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

9 years agoMake configure_filters() return a meaningful error code rather than
Stefano Sabatini [Tue, 24 Aug 2010 15:48:11 +0000 (15:48 +0000)]
Make configure_filters() return a meaningful error code rather than
always -1.

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

9 years agomsmpeg4v1: fix undefined behaviour in msmpeg4_decode_picture_header()
Måns Rullgård [Tue, 24 Aug 2010 15:40:57 +0000 (15:40 +0000)]
msmpeg4v1: fix undefined behaviour in msmpeg4_decode_picture_header()

Because the order of evaluation of subexpressions is undefined, two
get_bits() calls may not be part of the same expression.  In this
specific case, using get_bits_long() is simpler.

This fixes msmpeg4v1 decoding with armcc.

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

9 years agoadded interlacing option and compression option for colorram (lut)
Tobias Bindhammer [Tue, 24 Aug 2010 15:21:27 +0000 (15:21 +0000)]
added interlacing option and compression option for colorram (lut)

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

9 years agoImplement ff_get_ref_perms_string() and use it for tracing.
Stefano Sabatini [Tue, 24 Aug 2010 15:12:13 +0000 (15:12 +0000)]
Implement ff_get_ref_perms_string() and use it for tracing.

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

9 years agoavformat: free decryption key in av_close_input_stream()
Måns Rullgård [Tue, 24 Aug 2010 15:08:53 +0000 (15:08 +0000)]
avformat: free decryption key in av_close_input_stream()

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

9 years agofixed some return values and deprecated CODEC_TYPE_VIDEO.
Tobias Bindhammer [Tue, 24 Aug 2010 14:02:31 +0000 (14:02 +0000)]
fixed some return values and deprecated CODEC_TYPE_VIDEO.
dithering (faster) along a linear gradient now.

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

9 years agoasfcrypt: fix unaligned accesses with armcc
Måns Rullgård [Tue, 24 Aug 2010 13:42:28 +0000 (13:42 +0000)]
asfcrypt: fix unaligned accesses with armcc

Compilers may assume a pointer has natural alignment, even if it was
assigned from a pointer type with weaker alignment requirements.  It
is thus not safe to assign a possibly unaligned value to a pointer,
regardless of how it is subsequently dereferenced.

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

9 years agoAdd fifo filter.
Stefano Sabatini [Tue, 24 Aug 2010 08:38:00 +0000 (08:38 +0000)]
Add fifo filter.

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

9 years agoMake avfilter_start_frame() invoke avfilter_get_video_buffer() on the
Stefano Sabatini [Tue, 24 Aug 2010 08:37:54 +0000 (08:37 +0000)]
Make avfilter_start_frame() invoke avfilter_get_video_buffer() on the
link rather than avfilter_default_get_video_buffer().

This is required as the buffer requested may be greater than the
buffer allocated locally by avfilter_default_get_video_buffer(), for
example if in filterchain there is a pad filter (like in "fifo,pad").

In that case the pad filter will try to write beyond the data of the
allocated buffer, resulting in a crash.

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

9 years agoindent
Ramiro Polla [Tue, 24 Aug 2010 00:46:32 +0000 (00:46 +0000)]
indent

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

9 years agoswscale: fix unaligned accesses in (RGB|BGR)32_1 to YUV conversion
Måns Rullgård [Mon, 23 Aug 2010 21:22:24 +0000 (21:22 +0000)]
swscale: fix unaligned accesses in (RGB|BGR)32_1 to YUV conversion

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

9 years agoswscale: remove unused macro parameter in BGR2UV template
Måns Rullgård [Mon, 23 Aug 2010 21:22:20 +0000 (21:22 +0000)]
swscale: remove unused macro parameter in BGR2UV template

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

9 years agoAdd _XOPEN_SOURCE definition for usleep().
Dave Yeo [Mon, 23 Aug 2010 21:12:34 +0000 (21:12 +0000)]
Add _XOPEN_SOURCE definition for usleep().
patch by Dave Yeo, daveryeo telus net

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

9 years agoacenc: LAME-inspired window decision
Nathan Caldwell [Mon, 23 Aug 2010 20:00:03 +0000 (20:00 +0000)]
acenc: LAME-inspired window decision

This performs quite a bit better than the current 3GPP-inspired window decision
on all the samples I have tested. On the castanets.wav sample it performs very
similar to iTunes window selection, and seems to perform better than Nero.
On fatboy.wav, it seems to perform at least as good as iTunes, if not better.
Nero performs horribly on this sample.

Patch by: Nathan Caldwell <saintdev@gmail.com>

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

9 years agoRevert unintended changes to fft.h from r24890.
Alex Converse [Mon, 23 Aug 2010 19:35:58 +0000 (19:35 +0000)]
Revert unintended changes to fft.h from r24890.

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

9 years agoaacenc: Rename Psy3gpp* structs to AacPsy*
Nathan Caldwell [Mon, 23 Aug 2010 19:27:24 +0000 (19:27 +0000)]
aacenc: Rename Psy3gpp* structs to AacPsy*

This allows cleaner implementation of other psymodels using the existing
structs. It also will make it easier to interchange individual parts of
the psymodel to create hybrid models.

Patch by: Nathan Caldwell <saintdev@gmail.com>

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

9 years agofate: set LC_ALL=C to avoid locale interference
Måns Rullgård [Mon, 23 Aug 2010 17:34:08 +0000 (17:34 +0000)]
fate: set LC_ALL=C to avoid locale interference

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

9 years agoBinkAudio FATE tests
Vitor Sessak [Mon, 23 Aug 2010 16:41:25 +0000 (16:41 +0000)]
BinkAudio FATE tests

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

9 years agoimdct/x86: Use "s->mdct_size" instead of "1 << s->mdct_bits".
Alex Converse [Mon, 23 Aug 2010 15:51:09 +0000 (15:51 +0000)]
imdct/x86: Use "s->mdct_size" instead of "1 << s->mdct_bits".

It generates smaller cleaner code.

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

9 years agoasfcrypt: fix unaligned read in ff_asfcrypt_dec()
Måns Rullgård [Mon, 23 Aug 2010 15:38:57 +0000 (15:38 +0000)]
asfcrypt: fix unaligned read in ff_asfcrypt_dec()

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