platform/upstream/libav.git
15 years agoconfigure: fix tms470 flag mapping for soft-float
Måns Rullgård [Wed, 23 Sep 2009 13:52:50 +0000 (13:52 +0000)]
configure: fix tms470 flag mapping for soft-float

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

15 years agoMake error return sign consistent.
Michael Niedermayer [Wed, 23 Sep 2009 13:18:29 +0000 (13:18 +0000)]
Make error return sign consistent.

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

15 years agoCheck begin/end/partition_size.
Google Chrome [Wed, 23 Sep 2009 13:08:48 +0000 (13:08 +0000)]
Check begin/end/partition_size.
23_vorbis_sane_partition.patch by chrome.
Also this should be better documented but i prefer not to leave potential
security issues open due to missing documentation.

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

15 years agoFix >= vs > check of coded_fragment_list_index.
Google Chrome [Wed, 23 Sep 2009 12:42:12 +0000 (12:42 +0000)]
Fix >= vs > check of coded_fragment_list_index.
22_fix_theora_frag_fencepost.patch by chrome

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

15 years agoRemove unused variables, fixes the warnings:
Diego Biurrun [Wed, 23 Sep 2009 12:29:56 +0000 (12:29 +0000)]
Remove unused variables, fixes the warnings:
libavcodec/wmadec.c:629: warning: unused variable `i'
libavcodec/wmadec.c:628: warning: unused variable `b'
libavcodec/wmadec.c:628: warning: unused variable `a'

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

15 years agoFix init_get_bits() buffer size.
Google Chrome [Wed, 23 Sep 2009 12:27:10 +0000 (12:27 +0000)]
Fix init_get_bits() buffer size.
18_fix_theora_header_bit_len.patch by chrome

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

15 years agoCheck res_setup->books.
Google Chrome [Wed, 23 Sep 2009 12:24:21 +0000 (12:24 +0000)]
Check  res_setup->books.
15_more_residue_book_indexes.patch by chrome.

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

15 years agoCheck masterbook index and subclass book index.
Google Chrome [Wed, 23 Sep 2009 12:17:54 +0000 (12:17 +0000)]
Check masterbook index and subclass book index.
14_floor_masterbook_index.patch by chrome

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

15 years agoAdd checks for per-packet mode indexes and per-header mode mapping indexes.
Google Chrome [Wed, 23 Sep 2009 12:09:33 +0000 (12:09 +0000)]
Add checks for per-packet mode indexes and per-header mode mapping indexes.
12_vorbis_mode_indexes.patch by chrome
maybe exploitable

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

15 years agoCheck classbook value.
Google Chrome [Wed, 23 Sep 2009 12:02:31 +0000 (12:02 +0000)]
Check classbook value.
11_vorbis_residue_book_index.patch by chrome.

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

15 years agoSet data_size to 0 to avoid having it uninitialized.
Michael Niedermayer [Wed, 23 Sep 2009 11:44:30 +0000 (11:44 +0000)]
Set data_size to 0 to avoid having it uninitialized.
based on 31_mp3_outlen.patch by chrome.

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

15 years agoCheck data_size in decode_frame_mp3on4().
Michael Niedermayer [Wed, 23 Sep 2009 11:33:44 +0000 (11:33 +0000)]
Check data_size in decode_frame_mp3on4().

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

15 years agocheck data_size in decode_frame()
Michael Niedermayer [Wed, 23 Sep 2009 11:29:38 +0000 (11:29 +0000)]
check data_size in decode_frame()

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

15 years agoARM: improve armcc detection
Måns Rullgård [Wed, 23 Sep 2009 10:48:58 +0000 (10:48 +0000)]
ARM: improve armcc detection

Apparently some versions of armcc do not identify as RVCT.  This
changes the test to a string used by all versions.

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

15 years agoFix book_idx check.
Google Chrome [Wed, 23 Sep 2009 10:45:14 +0000 (10:45 +0000)]
Fix book_idx check.
25_vorbis_floor0_index.patch by chrome.

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

15 years agoSanity checks for magnitude and angle.
Google Chrome [Wed, 23 Sep 2009 10:40:33 +0000 (10:40 +0000)]
Sanity checks for magnitude and angle.
26_vorbis_mag_angle_index.patch by chrome

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

15 years ago= -> == typo.
Google Chrome [Wed, 23 Sep 2009 10:33:49 +0000 (10:33 +0000)]
= -> == typo.
27_vorbis_residue_loop_error.patch by chrome

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

15 years agoWMA: use DSPContext.butterflies_float
Måns Rullgård [Wed, 23 Sep 2009 10:33:13 +0000 (10:33 +0000)]
WMA: use DSPContext.butterflies_float

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

15 years agoCosmetics: Fix typo.
Carl Eugen Hoyos [Wed, 23 Sep 2009 10:07:29 +0000 (10:07 +0000)]
Cosmetics: Fix typo.

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

15 years agoCheck num_units_in_tick/time_scale to be valid and within the range we support.
Michael Niedermayer [Wed, 23 Sep 2009 09:58:44 +0000 (09:58 +0000)]
Check num_units_in_tick/time_scale to be valid and within the range we support.
based on a patch by chrome

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

15 years agoCorrectly print number of remaining bytes in oggparsevorbis instead of always
Reimar Döffinger [Wed, 23 Sep 2009 09:18:23 +0000 (09:18 +0000)]
Correctly print number of remaining bytes in oggparsevorbis instead of always
with inverted sign.

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

15 years agoAdd support for new x264 API.
Jason Garrett-Glaser [Wed, 23 Sep 2009 09:03:26 +0000 (09:03 +0000)]
Add support for new x264 API.

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

15 years agoCheck dimensions against 0 too.
Michael Niedermayer [Wed, 23 Sep 2009 08:35:29 +0000 (08:35 +0000)]
Check dimensions against 0 too.
39_vorbis_zero_dims.patch from chrome

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

15 years agoCheck validity of channels & samplerate.
Michael Niedermayer [Wed, 23 Sep 2009 07:46:51 +0000 (07:46 +0000)]
Check validity of channels & samplerate.
This may be security relevant.
Based on 2 patches by chrome.

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

15 years agoAnother micro-optimization for unpack_vlcs(): Eliminate a possible
Mike Melanson [Wed, 23 Sep 2009 05:38:12 +0000 (05:38 +0000)]
Another micro-optimization for unpack_vlcs(): Eliminate a possible
branch and save around 45k-55k dezicycles per function run.

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

15 years agoCheck codec_id and codec_type in avcodec_open(), based on 43_codec_type_mismatch...
Michael Niedermayer [Tue, 22 Sep 2009 22:44:56 +0000 (22:44 +0000)]
Check codec_id and codec_type in avcodec_open(), based on 43_codec_type_mismatch.patch from chrome
This is said to be able to lead to a stack based buffer overflow.

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

15 years agoSet compiler version string for supported non-gcc compilers
Måns Rullgård [Tue, 22 Sep 2009 20:38:03 +0000 (20:38 +0000)]
Set compiler version string for supported non-gcc compilers

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

15 years agoARM: NEON optimised scalarproduct_float
Måns Rullgård [Tue, 22 Sep 2009 20:37:55 +0000 (20:37 +0000)]
ARM: NEON optimised scalarproduct_float

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

15 years agoAAC: 10l: fix PNS decoding
Måns Rullgård [Tue, 22 Sep 2009 19:31:01 +0000 (19:31 +0000)]
AAC: 10l: fix PNS decoding

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

15 years agoHook up the MD studio demuxer and Atrac1 decoder.
Benjamin Larsson [Tue, 22 Sep 2009 17:28:03 +0000 (17:28 +0000)]
Hook up the MD studio demuxer and Atrac1 decoder.

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

15 years agoMention SDDS so search engines will pick it up for when someone
Benjamin Larsson [Tue, 22 Sep 2009 17:05:19 +0000 (17:05 +0000)]
Mention SDDS so search engines will pick it up for when someone
needs to decode the SDDS tracks found on 35 mm movies.

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

15 years agoUse ff_sine_32 in atrac1.
Benjamin Larsson [Tue, 22 Sep 2009 17:03:28 +0000 (17:03 +0000)]
Use ff_sine_32 in atrac1.

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

15 years agoPerform the DC prediction reversal immediately after decoding all of
Mike Melanson [Tue, 22 Sep 2009 15:58:08 +0000 (15:58 +0000)]
Perform the DC prediction reversal immediately after decoding all of
the DC coefficients. This has a greater probability of leveraging the
coefficients while they are still cached.

When testing with the Big Buck Bunny 1080p video, I consistently saw
improvements of 500k-600k dezicycles per run (through
reverse_dc_prediction()) thanks to this move.

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

15 years agoFix METEOR vs. BKTR typo, noticed by Steve O'Hara-Smith, steve sohara org.
Diego Biurrun [Tue, 22 Sep 2009 14:44:44 +0000 (14:44 +0000)]
Fix METEOR vs. BKTR typo, noticed by Steve O'Hara-Smith, steve sohara org.

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

15 years agoReplace manual gcc version check by AV_GCC_VERSION_AT_LEAST macro.
Diego Biurrun [Tue, 22 Sep 2009 14:38:49 +0000 (14:38 +0000)]
Replace manual gcc version check by AV_GCC_VERSION_AT_LEAST macro.

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

15 years agoPlace MP3 demuxer code under appropriate #ifdefs.
Diego Biurrun [Tue, 22 Sep 2009 12:39:19 +0000 (12:39 +0000)]
Place MP3 demuxer code under appropriate #ifdefs.
Fixes compilation with --disable-optimizations --disable-demuxers.

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

15 years agoImprove compiler information code to print to the console on program startup.
Diego Biurrun [Tue, 22 Sep 2009 12:23:14 +0000 (12:23 +0000)]
Improve compiler information code to print to the console on program startup.
Remove gcc-specific hacks and allow filling relevant information for non-gcc
compilers in configure.

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

15 years agoPrint compiler version and build date before configuration in console output.
Diego Biurrun [Tue, 22 Sep 2009 12:21:06 +0000 (12:21 +0000)]
Print compiler version and build date before configuration in console output.

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

15 years agoRearrange wav_muxer and {wav|w64}_demuxer blocks to be under proper #ifdefs.
Diego Biurrun [Tue, 22 Sep 2009 11:19:36 +0000 (11:19 +0000)]
Rearrange wav_muxer and {wav|w64}_demuxer blocks to be under proper #ifdefs.
Fixes compilation with --disable-optimizations --disable-demuxers.

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

15 years agoThe W64 demuxer depends on the WAV demuxer.
Diego Biurrun [Tue, 22 Sep 2009 11:17:29 +0000 (11:17 +0000)]
The W64 demuxer depends on the WAV demuxer.

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

15 years agoMove find_guid function and guid_data array to a globally available place.
Diego Biurrun [Tue, 22 Sep 2009 10:31:29 +0000 (10:31 +0000)]
Move find_guid function and guid_data array to a globally available place.
Fixes compilation with --disable-optimizations --disable-demuxer=w64.

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

15 years agoAAC: Simplify some logic from r19956. (The escape codebook is unsigned.)
Alex Converse [Tue, 22 Sep 2009 01:34:42 +0000 (01:34 +0000)]
AAC: Simplify some logic from r19956. (The escape codebook is unsigned.)

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

15 years agoARM: NEON optimisations for some dsputil functions
Måns Rullgård [Tue, 22 Sep 2009 00:48:48 +0000 (00:48 +0000)]
ARM: NEON optimisations for some dsputil functions

NEON versions of the following functions are added:

  vector_fmul_scalar
  vector_fmul_sv_scalar
  sv_fmul_scalar
  butterflies_float

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

15 years agoAAC: use new dsputil functions
Måns Rullgård [Tue, 22 Sep 2009 00:48:45 +0000 (00:48 +0000)]
AAC: use new dsputil functions

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

15 years agoAdd some dsputil functions useful for AAC decoder
Måns Rullgård [Tue, 22 Sep 2009 00:48:41 +0000 (00:48 +0000)]
Add some dsputil functions useful for AAC decoder

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

15 years agoAdd forgotten cleanup function in atrac1.
Benjamin Larsson [Mon, 21 Sep 2009 21:00:18 +0000 (21:00 +0000)]
Add forgotten cleanup function in atrac1.

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

15 years agoCosmetics, indentation.
Benjamin Larsson [Mon, 21 Sep 2009 20:53:29 +0000 (20:53 +0000)]
Cosmetics, indentation.

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

15 years agoCosmetics. Merge declaration and initialization.
Benjamin Larsson [Mon, 21 Sep 2009 20:52:24 +0000 (20:52 +0000)]
Cosmetics. Merge declaration and initialization.

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

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