platform/upstream/libav.git
15 years agoMove the scale factor and word length indexes to the stack.
Benjamin Larsson [Mon, 21 Sep 2009 20:49:08 +0000 (20:49 +0000)]
Move the scale factor and word length indexes to the stack.

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

15 years agoDeinterleave the generation of config.h and config.mak.
Diego Biurrun [Mon, 21 Sep 2009 12:51:45 +0000 (12:51 +0000)]
Deinterleave the generation of config.h and config.mak.
As a sideeffect this moves more interesting variables to the top of config.mak.

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

15 years agoUse a custom radix sort implementation instead of qsort in dnxhd encoder.
Reimar Döffinger [Mon, 21 Sep 2009 10:28:31 +0000 (10:28 +0000)]
Use a custom radix sort implementation instead of qsort in dnxhd encoder.
This is mainly to avoid test failures due to implementation-defined
behaviour of qsort when elements are equal, giving different results
for each of FreeBSD, Linux/glibc and Solaris.
In addition it is about 35 % faster, effect on overall speed is minimal
though (< 2%).
Regression tests are unchanged (i.e. identical to Linux/glibc).

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

15 years agoaacenc: Use preprocessor constants for trellis states and stages.
Alex Converse [Mon, 21 Sep 2009 04:32:51 +0000 (04:32 +0000)]
aacenc: Use preprocessor constants for trellis states and stages.

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

15 years agoaacenc: Split paths in the scalefactor selection trellis into a 2-D array.
Alex Converse [Mon, 21 Sep 2009 04:15:12 +0000 (04:15 +0000)]
aacenc: Split paths in the scalefactor selection trellis into a 2-D array.

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

15 years agoaacenc: Replace cbrt() with cbrtf() when the result is destined for float
Alex Converse [Mon, 21 Sep 2009 03:53:39 +0000 (03:53 +0000)]
aacenc: Replace cbrt() with cbrtf() when the result is destined for float
storage.

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

15 years agoaacenc: Multiple distortion by lambda after it's summed and not each individual
Alex Converse [Mon, 21 Sep 2009 03:50:59 +0000 (03:50 +0000)]
aacenc: Multiple distortion by lambda after it's summed and not each individual
term before.

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

15 years agoCosmetics: Reindent after r19943.
Alex Converse [Mon, 21 Sep 2009 03:42:54 +0000 (03:42 +0000)]
Cosmetics: Reindent after r19943.

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

15 years agoaacenc: Don't make unnecessary compares to the escape value in tight loops.
Alex Converse [Mon, 21 Sep 2009 03:41:08 +0000 (03:41 +0000)]
aacenc: Don't make unnecessary compares to the escape value in tight loops.

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

15 years agoextend ff_inverse[], and fix its documentation
Loren Merritt [Mon, 21 Sep 2009 03:01:57 +0000 (03:01 +0000)]
extend ff_inverse[], and fix its documentation

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

15 years agoARM: merge two loops in ff_mdct_calc_neon
Måns Rullgård [Mon, 21 Sep 2009 02:56:12 +0000 (02:56 +0000)]
ARM: merge two loops in ff_mdct_calc_neon

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

15 years agoARM: interleave cos/sin tables for improved NEON MDCT
Måns Rullgård [Mon, 21 Sep 2009 02:56:09 +0000 (02:56 +0000)]
ARM: interleave cos/sin tables for improved NEON MDCT

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

15 years agoAllow arch-specific mdct code to request interleaving of cos/sin tables
Måns Rullgård [Mon, 21 Sep 2009 02:56:06 +0000 (02:56 +0000)]
Allow arch-specific mdct code to request interleaving of cos/sin tables

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

15 years agoregtest: do not write to /tmp/ffmpeg$$
Måns Rullgård [Mon, 21 Sep 2009 02:46:09 +0000 (02:46 +0000)]
regtest: do not write to /tmp/ffmpeg$$

Nothing useful was ever written to this file.  It did, however,
often cause spurious failures when the file was left behind by
another user on the system.

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

15 years agoconfigure: remove some unnecessary backslashes
Måns Rullgård [Mon, 21 Sep 2009 01:40:14 +0000 (01:40 +0000)]
configure: remove some unnecessary backslashes

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

15 years agoSplit dnxhd regression test so the parts can run in parallel
Måns Rullgård [Mon, 21 Sep 2009 01:40:12 +0000 (01:40 +0000)]
Split dnxhd regression test so the parts can run in parallel

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

15 years agoARM: remove broken IPP support
Måns Rullgård [Mon, 21 Sep 2009 01:40:08 +0000 (01:40 +0000)]
ARM: remove broken IPP support

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

15 years agoModify unpack_vlcs() so that there are fewer dereferences through the
Mike Melanson [Mon, 21 Sep 2009 01:37:50 +0000 (01:37 +0000)]
Modify unpack_vlcs() so that there are fewer dereferences through the
main (heavily iterated) loop.

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

15 years agoAdd parentheses to logical expression to avoid the warning:
Diego Biurrun [Sun, 20 Sep 2009 18:29:48 +0000 (18:29 +0000)]
Add parentheses to logical expression to avoid the warning:
libavcodec/utils.c:476: warning: suggest parentheses around && within ||

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

15 years agoRemove unused variable, fixes the warning:
Diego Biurrun [Sun, 20 Sep 2009 18:21:54 +0000 (18:21 +0000)]
Remove unused variable, fixes the warning:
libavcodec/atrac3.c:195: warning: unused variable ‘s’

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

15 years agoMerge FFTContext and MDCTContext
Måns Rullgård [Sun, 20 Sep 2009 17:30:20 +0000 (17:30 +0000)]
Merge FFTContext and MDCTContext

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

15 years agoFix embarassing typo in last commit: Restore mistakenly removed ','.
Diego Biurrun [Sun, 20 Sep 2009 17:18:59 +0000 (17:18 +0000)]
Fix embarassing typo in last commit: Restore mistakenly removed ','.

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

15 years agoK&R coding style whitespace cosmetics
Diego Biurrun [Sun, 20 Sep 2009 17:16:12 +0000 (17:16 +0000)]
K&R coding style whitespace cosmetics

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

15 years agoCosmetics: Reindent after r19927.
Carl Eugen Hoyos [Sun, 20 Sep 2009 14:09:27 +0000 (14:09 +0000)]
Cosmetics: Reindent after r19927.

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

15 years agoAllow encoding frames with more than 2800 lines.
Martin Fiedler [Sun, 20 Sep 2009 14:08:44 +0000 (14:08 +0000)]
Allow encoding frames with more than 2800 lines.

Patch by Martin Fiedler, martin fiedler gmx net

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

15 years agoSupport uncompressed 16 bit sgi image format, as e.g. used by the files at
Reimar Döffinger [Sat, 19 Sep 2009 11:42:41 +0000 (11:42 +0000)]
Support uncompressed 16 bit sgi image format, as e.g. used by the files at
http://media.xiph.org/svt/2160p50_CgrLevels_Master_SVTdec05_/1_CrowdRun_2160p50_CgrLevels_MASTER_SVTdec05_/

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

15 years agoSimplify color_flags calculation, remove a pointless initialization
Reimar Döffinger [Sat, 19 Sep 2009 11:36:51 +0000 (11:36 +0000)]
Simplify color_flags calculation, remove a pointless initialization
and use AV_RB16 where possible.

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

15 years agoMake default_correlation array const since it is never modified.
Reimar Döffinger [Sat, 19 Sep 2009 11:35:55 +0000 (11:35 +0000)]
Make default_correlation array const since it is never modified.

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

15 years agoUse default sws_flags for dnxhd regression tests and also test the "-mbd rd"
Reimar Döffinger [Sat, 19 Sep 2009 10:53:23 +0000 (10:53 +0000)]
Use default sws_flags for dnxhd regression tests and also test the "-mbd rd"
variant of the encoder.

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

15 years agoUpdate regression reference for DNxHD test update
Reimar Döffinger [Sat, 19 Sep 2009 10:21:22 +0000 (10:21 +0000)]
Update regression reference for DNxHD test update

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

15 years agoChange DNxHD regression tests to test both 720p and 1080i instead of just 1080i
Reimar Döffinger [Sat, 19 Sep 2009 10:20:47 +0000 (10:20 +0000)]
Change DNxHD regression tests to test both 720p and 1080i instead of just 1080i
for better test coverage.

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

15 years agoAdd missing strings.h include needed for strcasecmp.
Reimar Döffinger [Sat, 19 Sep 2009 09:09:07 +0000 (09:09 +0000)]
Add missing strings.h include needed for strcasecmp.

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

15 years agoUpdate AC-3 channel map. 2F/2R layout only has 4 channels. This correction
Justin Ruggles [Sat, 19 Sep 2009 04:56:22 +0000 (04:56 +0000)]
Update AC-3 channel map.  2F/2R layout only has 4 channels.  This correction
does not change any current channel mapping behavior.

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

15 years agoAlign sample output buffer in atrac1.
Benjamin Larsson [Sat, 19 Sep 2009 01:46:03 +0000 (01:46 +0000)]
Align sample output buffer in atrac1.

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

15 years agoFix the short block transform for atrac1.
Benjamin Larsson [Sat, 19 Sep 2009 01:45:00 +0000 (01:45 +0000)]
Fix the short block transform for atrac1.

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

15 years agoChange dnxhd regression tests for r19912 which fixed uninitialized data in
Reimar Döffinger [Fri, 18 Sep 2009 21:29:17 +0000 (21:29 +0000)]
Change dnxhd regression tests for r19912 which fixed uninitialized data in
encoded data.

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

15 years ago#include correct header to fix 'make checkheaders'.
Diego Biurrun [Fri, 18 Sep 2009 19:51:05 +0000 (19:51 +0000)]
#include correct header to fix 'make checkheaders'.
AVCodecTag is declared in riff.h, not avformat.h.

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

15 years agoReorder functions so that encoding functions are disabled by the preprocessor.
Diego Biurrun [Fri, 18 Sep 2009 19:45:09 +0000 (19:45 +0000)]
Reorder functions so that encoding functions are disabled by the preprocessor.
Fixes compilation with disabled optimizations and enabled Snow decoder.

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

15 years agoAdd missing stdint.h #include to fix 'make checkheaders'.
Diego Biurrun [Fri, 18 Sep 2009 19:41:23 +0000 (19:41 +0000)]
Add missing stdint.h #include to fix 'make checkheaders'.

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

15 years agofix uninitialized memory in dnxhd encoder
Baptiste Coudurier [Fri, 18 Sep 2009 19:03:05 +0000 (19:03 +0000)]
fix uninitialized memory in dnxhd encoder

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

15 years agoOnly use *ic_ptr when it has been initialized.
Michael Niedermayer [Fri, 18 Sep 2009 13:19:13 +0000 (13:19 +0000)]
Only use *ic_ptr when it has been initialized.

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

15 years agoUnscrewup indentation (pointed out by Diego).
Ronald S. Bultje [Fri, 18 Sep 2009 13:18:47 +0000 (13:18 +0000)]
Unscrewup indentation (pointed out by Diego).

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

15 years agoAdd probetest to TOOLS list.
Diego Biurrun [Fri, 18 Sep 2009 10:25:25 +0000 (10:25 +0000)]
Add probetest to TOOLS list.

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

15 years agoIntroduce a variable for all targets in the tools subdirectory.
Diego Biurrun [Fri, 18 Sep 2009 10:24:47 +0000 (10:24 +0000)]
Introduce a variable for all targets in the tools subdirectory.

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

15 years agoDrop argc/argv parameters from main(), they are unused.
Diego Biurrun [Fri, 18 Sep 2009 10:14:46 +0000 (10:14 +0000)]
Drop argc/argv parameters from main(), they are unused.

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

15 years agocosmetics: K&R coding style, prettyprinting
Diego Biurrun [Fri, 18 Sep 2009 10:13:10 +0000 (10:13 +0000)]
cosmetics: K&R coding style, prettyprinting

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

15 years agoRTSP basic authentication, patch originally by Philip Coombes
Ronald S. Bultje [Thu, 17 Sep 2009 21:47:11 +0000 (21:47 +0000)]
RTSP basic authentication, patch originally by Philip Coombes
(philip coombes zoneminder com), see "[PATCH]RTSP Basic Authentication"
thread on mailinglist.

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

15 years agoupdate seek regression tests due to r19902
Baptiste Coudurier [Thu, 17 Sep 2009 21:35:48 +0000 (21:35 +0000)]
update seek regression tests due to r19902

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

15 years agoUpdate dnxhd rotozoom regression test values with more sane ones that match
Reimar Döffinger [Thu, 17 Sep 2009 19:51:27 +0000 (19:51 +0000)]
Update dnxhd rotozoom regression test values with more sane ones that match
the results of most FATE machines.

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

15 years agofix pes overhead computation, patch by Niobos, niobos at dest-unreach dot be
Niobos [Thu, 17 Sep 2009 19:07:09 +0000 (19:07 +0000)]
fix pes overhead computation, patch by Niobos, niobos at dest-unreach dot be

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

15 years agoUpdate dnxhd regression test to match the majority of FATE machines (which
Reimar Döffinger [Thu, 17 Sep 2009 18:57:22 +0000 (18:57 +0000)]
Update dnxhd regression test to match the majority of FATE machines (which
also have a much saner stddev).

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

15 years agoOnly use one mdct window size in atrac1.
Benjamin Larsson [Thu, 17 Sep 2009 18:52:11 +0000 (18:52 +0000)]
Only use one mdct window size in atrac1.

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

15 years agoprint at debug level the score at which codec probing succedeed
Baptiste Coudurier [Thu, 17 Sep 2009 18:46:50 +0000 (18:46 +0000)]
print at debug level the score at which codec probing succedeed

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

15 years agoImprove SIFF probe by also checking the first tag is one of the expected.
Reimar Döffinger [Thu, 17 Sep 2009 18:09:20 +0000 (18:09 +0000)]
Improve SIFF probe by also checking the first tag is one of the expected.

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

15 years agoImprove dxa probe by checking the values for width and height are reasonable.
Reimar Döffinger [Thu, 17 Sep 2009 18:08:07 +0000 (18:08 +0000)]
Improve dxa probe by checking the values for width and height are reasonable.

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

15 years agoSlightly improve probe for ea format by checking that it is possible to
Reimar Döffinger [Thu, 17 Sep 2009 18:07:27 +0000 (18:07 +0000)]
Slightly improve probe for ea format by checking that it is possible to
guess whether the file is little- or big-endian.

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

15 years agoAdd dnxhd test to regression tests.
Reimar Döffinger [Thu, 17 Sep 2009 18:06:03 +0000 (18:06 +0000)]
Add dnxhd test to regression tests.

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

15 years agoDo not include "mp4:" prefix from RTMP URL into "app" path or second time
Lars Täuber [Thu, 17 Sep 2009 05:31:02 +0000 (05:31 +0000)]
Do not include "mp4:" prefix from RTMP URL into "app" path or second time
into playpath.

Patch by Lars Täuber
(<$name> . <$lastname with umlaut replaced with diphtong> @ <gmx> . <net>)

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

15 years agoRegister myself as RTMP maintainer
Kostya Shishkov [Thu, 17 Sep 2009 05:24:42 +0000 (05:24 +0000)]
Register myself as RTMP maintainer

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

15 years agoRemove useless code causing crash in Targa decoder
Kostya Shishkov [Thu, 17 Sep 2009 05:01:27 +0000 (05:01 +0000)]
Remove useless code causing crash in Targa decoder

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

15 years agoadd CODEC_CAP_SUBFRAMES to the FLAC decoder capabilities. also add a FIXME
Justin Ruggles [Wed, 16 Sep 2009 22:57:00 +0000 (22:57 +0000)]
add CODEC_CAP_SUBFRAMES to the FLAC decoder capabilities. also add a FIXME
comment as a reminder that we can remove both capabilities once a parser is
implemented.

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

15 years agoCleanup buffer debugs in swScale().
Ramiro Polla [Wed, 16 Sep 2009 22:34:48 +0000 (22:34 +0000)]
Cleanup buffer debugs in swScale().

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

15 years agoUse correct buffers in vertical scaler in unscaled YV12 case.
Ramiro Polla [Wed, 16 Sep 2009 22:31:43 +0000 (22:31 +0000)]
Use correct buffers in vertical scaler in unscaled YV12 case.

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

15 years agoPrint a warning if a format has been detected with a low score.
Michael Niedermayer [Wed, 16 Sep 2009 20:44:26 +0000 (20:44 +0000)]
Print a warning if a format has been detected with a low score.

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

15 years agoPrint at debug level the score with which probing succeeded.
Michael Niedermayer [Wed, 16 Sep 2009 20:23:04 +0000 (20:23 +0000)]
Print at debug level the score with which probing succeeded.

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

15 years agoFix indention after last commit.
Michael Niedermayer [Wed, 16 Sep 2009 20:06:48 +0000 (20:06 +0000)]
Fix indention after last commit.

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

15 years agoImprove amortized worst case speed of the muxers packet interleaving code
Michael Niedermayer [Wed, 16 Sep 2009 20:04:04 +0000 (20:04 +0000)]
Improve amortized worst case speed of the muxers packet interleaving code
from O(packets_in_the_file) to O(num_of_streams).

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

15 years agoARM: do not use movw/movt for relocatable values with PIC
Måns Rullgård [Wed, 16 Sep 2009 19:20:48 +0000 (19:20 +0000)]
ARM: do not use movw/movt for relocatable values with PIC

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

15 years agoreindent after last commit and remove unneeded empty line
Kostya Shishkov [Wed, 16 Sep 2009 18:06:29 +0000 (18:06 +0000)]
reindent after last commit and remove unneeded empty line

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

15 years agoMake MPC SV8 probe skip tags until stream header is found
Kostya Shishkov [Wed, 16 Sep 2009 18:05:21 +0000 (18:05 +0000)]
Make MPC SV8 probe skip tags until stream header is found

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

15 years agoMonkey's Audio uses subframes too, declare that in its capabilities
Kostya Shishkov [Wed, 16 Sep 2009 16:18:18 +0000 (16:18 +0000)]
Monkey's Audio uses subframes too, declare that in its capabilities

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

15 years agoFix overflow check insufficiently improved in r19840.
Reimar Döffinger [Wed, 16 Sep 2009 15:12:23 +0000 (15:12 +0000)]
Fix overflow check insufficiently improved in r19840.
It assumes that sizeof(vmd_frame) < 64k, otherwise an additional
check to ensure sound_buffers <= UINT_MAX / sizeof(vmd_frame) would be necessary.

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

15 years agoAdd CODEC_CAP_SUBFRAMES for codecs that output multiple subframes
Sascha Sommer [Wed, 16 Sep 2009 15:08:26 +0000 (15:08 +0000)]
Add CODEC_CAP_SUBFRAMES for codecs that output multiple subframes
per AVPacket
No longer print "Multiple frames in a packet" error message
when CODEC_CAP_SUBFRAMES is set (wmapro, wavpack)

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

15 years agofix PTS calculation for audio formats with bits per sample != 16
Sascha Sommer [Wed, 16 Sep 2009 12:45:24 +0000 (12:45 +0000)]
fix PTS calculation for audio formats with bits per sample != 16

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

15 years agoCore Audio Format demuxer
Peter Ross [Wed, 16 Sep 2009 12:26:59 +0000 (12:26 +0000)]
Core Audio Format demuxer

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

15 years agoMake mov LPCM and AAC parsing functions public
Peter Ross [Wed, 16 Sep 2009 11:35:01 +0000 (11:35 +0000)]
Make mov LPCM and AAC parsing functions public

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

15 years agoperform sanity check on number of audio channels in avcodec_open()
Peter Ross [Wed, 16 Sep 2009 11:29:47 +0000 (11:29 +0000)]
perform sanity check on number of audio channels in avcodec_open()

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

15 years agoFill in new VASliceParameterBufferMPEG2.slice_horizontal_position field.
Gwenole Beauchesne [Wed, 16 Sep 2009 07:50:09 +0000 (07:50 +0000)]
Fill in new VASliceParameterBufferMPEG2.slice_horizontal_position field.
This is needed for the Intel G45 driver.

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

15 years agoMove down HWAccel code path so that to fill in s->mb_x first.
Gwenole Beauchesne [Wed, 16 Sep 2009 07:49:08 +0000 (07:49 +0000)]
Move down HWAccel code path so that to fill in s->mb_x first.

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

15 years agoEnhance Musepack SV8 probing code
Kostya Shishkov [Wed, 16 Sep 2009 04:43:33 +0000 (04:43 +0000)]
Enhance Musepack SV8 probing code

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

15 years agoFlv should be AVFMT_VARIABLE_FPS.
Michael Niedermayer [Wed, 16 Sep 2009 01:49:34 +0000 (01:49 +0000)]
Flv should be AVFMT_VARIABLE_FPS.

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

15 years agoUpgrade a few important messages to AV_LOG_WARNING.
Michael Niedermayer [Wed, 16 Sep 2009 01:47:54 +0000 (01:47 +0000)]
Upgrade a few important messages to AV_LOG_WARNING.

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

15 years agoFix indention after previous commit.
Michael Niedermayer [Wed, 16 Sep 2009 01:17:39 +0000 (01:17 +0000)]
Fix indention after previous commit.

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

15 years agoMake packet interleaving in the muxer not scan through the whole
Michael Niedermayer [Wed, 16 Sep 2009 00:59:15 +0000 (00:59 +0000)]
Make packet interleaving in the muxer not scan through the whole
buffer when simply appending at the end works.
Much faster if one stream ends prematurely.
Fixes issue1379.

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

15 years agoAlso reset *_end in flush_packet_queue().
Michael Niedermayer [Wed, 16 Sep 2009 00:56:31 +0000 (00:56 +0000)]
Also reset *_end in flush_packet_queue().

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

15 years agoMake pkgconfig_generate() fill Libs with the required linking flags
Stefano Sabatini [Tue, 15 Sep 2009 23:54:31 +0000 (23:54 +0000)]
Make pkgconfig_generate() fill Libs with the required linking flags
if the "shared" var has not been explicitely enabled, rather than if
it has been explicitly disabled.

This way is not necessary to explicitly disable shared libraries in
order to have a pc file usable with only static libraries.

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

15 years ago10l: set genre default immediately before reading genre tag
Justin Ruggles [Tue, 15 Sep 2009 23:40:10 +0000 (23:40 +0000)]
10l: set genre default immediately before reading genre tag

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

15 years agoSet ID3v1 genre to 0xFF (unknown) by default instead of 0 (Blues).
Justin Ruggles [Tue, 15 Sep 2009 23:37:54 +0000 (23:37 +0000)]
Set ID3v1 genre to 0xFF (unknown) by default instead of 0 (Blues).

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

15 years ago10l: fix ff_fft_init_arm() prototype
Måns Rullgård [Tue, 15 Sep 2009 23:14:55 +0000 (23:14 +0000)]
10l: fix ff_fft_init_arm() prototype

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

15 years agoMove per-arch fft init bits into the corresponding subdirs
Måns Rullgård [Tue, 15 Sep 2009 21:14:14 +0000 (21:14 +0000)]
Move per-arch fft init bits into the corresponding subdirs

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

15 years agoDo not set 0 FPS in VC-1 test stream format demuxer.
Kostya Shishkov [Tue, 15 Sep 2009 16:36:53 +0000 (16:36 +0000)]
Do not set 0 FPS in VC-1 test stream format demuxer.

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

15 years agoAdd two more sizes to ff_sine_windows[] and also pad it with NULLs so
Vitor Sessak [Tue, 15 Sep 2009 16:18:16 +0000 (16:18 +0000)]
Add two more sizes to ff_sine_windows[] and also pad it with NULLs so
that FF_ELEMS(ff_sine_windows[x]) == 1 << x.

Fix issue 1384.

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

15 years agoCheck for explicit 32-bit FPS value so it works on 64-bit systems too
Kostya Shishkov [Tue, 15 Sep 2009 15:28:11 +0000 (15:28 +0000)]
Check for explicit 32-bit FPS value so it works on 64-bit systems too

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

15 years agoMake probing for VC1 test bitstream format stricter
Kostya Shishkov [Tue, 15 Sep 2009 15:22:36 +0000 (15:22 +0000)]
Make probing for VC1 test bitstream format stricter

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

15 years agoFix max_coded_frame_size computation to account for byte alignment.
Jai Menon [Tue, 15 Sep 2009 15:06:04 +0000 (15:06 +0000)]
Fix max_coded_frame_size computation to account for byte alignment.

Fixes issue 1386.

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

15 years agoCheck offset in flv_probe()
Michael Niedermayer [Tue, 15 Sep 2009 14:56:09 +0000 (14:56 +0000)]
Check offset in flv_probe()

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

15 years agoDo not return values above AVPROBE_SCORE_MAX from probe().
Michael Niedermayer [Tue, 15 Sep 2009 13:28:14 +0000 (13:28 +0000)]
Do not return values above AVPROBE_SCORE_MAX from probe().

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

15 years agoMake h261 and mpegvideo probe a little more robust so they dont fail with
Michael Niedermayer [Tue, 15 Sep 2009 13:27:13 +0000 (13:27 +0000)]
Make h261 and mpegvideo probe a little more robust so they dont fail with
slightly different probetest.

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

15 years agoInit i to 0 (10l fix).
Martin Storsjö [Tue, 15 Sep 2009 13:09:34 +0000 (13:09 +0000)]
Init i to 0 (10l fix).
Patch by Martin Storsjö / martin von martin aus st

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

15 years agoMake mpeg_probe() pass probetest.
Michael Niedermayer [Tue, 15 Sep 2009 12:20:03 +0000 (12:20 +0000)]
Make mpeg_probe() pass probetest.

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