libav.git
9 years agolfg: add missing includes
Måns Rullgård [Sat, 10 Jul 2010 00:40:55 +0000 (00:40 +0000)]
lfg: add missing includes

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

9 years agopixdesc: add missing includes
Måns Rullgård [Sat, 10 Jul 2010 00:40:53 +0000 (00:40 +0000)]
pixdesc: add missing includes

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

9 years agofate: fail with a sensible error message if reference file is missing
Måns Rullgård [Fri, 9 Jul 2010 23:55:16 +0000 (23:55 +0000)]
fate: fail with a sensible error message if reference file is missing

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

9 years agoRemove dead target from .PHONY list
Måns Rullgård [Fri, 9 Jul 2010 23:37:19 +0000 (23:37 +0000)]
Remove dead target from .PHONY list

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

9 years agofate: delete output files from successful tests
Måns Rullgård [Fri, 9 Jul 2010 23:36:04 +0000 (23:36 +0000)]
fate: delete output files from successful tests

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

9 years agotiny_psnr: change error exit code from -1 to 1
Måns Rullgård [Fri, 9 Jul 2010 23:26:39 +0000 (23:26 +0000)]
tiny_psnr: change error exit code from -1 to 1

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

9 years agotiny_psnr: check fread() return values
Måns Rullgård [Fri, 9 Jul 2010 23:26:36 +0000 (23:26 +0000)]
tiny_psnr: check fread() return values

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

9 years agofate: exit with error immediately if test command fails
Måns Rullgård [Fri, 9 Jul 2010 23:26:33 +0000 (23:26 +0000)]
fate: exit with error immediately if test command fails

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

9 years agotiny_psnr: use abs()
Måns Rullgård [Fri, 9 Jul 2010 19:27:07 +0000 (19:27 +0000)]
tiny_psnr: use abs()

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

9 years agoSIPR tests for "make fate2"
Vitor Sessak [Fri, 9 Jul 2010 17:19:18 +0000 (17:19 +0000)]
SIPR tests for "make fate2"

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

9 years agoCurrent Cygwin has mkstemp().
Víctor Paesa [Fri, 9 Jul 2010 17:09:57 +0000 (17:09 +0000)]
Current Cygwin has mkstemp().

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

9 years agotiny_psnr: skip wav headers on input files
Måns Rullgård [Fri, 9 Jul 2010 16:06:05 +0000 (16:06 +0000)]
tiny_psnr: skip wav headers on input files

The byte count printed excludes the header, and offsets are applied
after the the headers are skipped.

Reference files updated to reflect new output.  Some stddev/psnr values
have changed slightly due to headers no longer being compared.

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

9 years agoresample: replace VLA with malloc/free
Måns Rullgård [Fri, 9 Jul 2010 16:05:58 +0000 (16:05 +0000)]
resample: replace VLA with malloc/free

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

9 years agoresample: check memory allocations in av_resample_init()
Måns Rullgård [Fri, 9 Jul 2010 16:05:52 +0000 (16:05 +0000)]
resample: check memory allocations in av_resample_init()

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

9 years agomove ff_get_v_length and ff_put_v from nutenc.c to internal.h/aviobuf.c
Michael Chinen [Fri, 9 Jul 2010 12:14:33 +0000 (12:14 +0000)]
move ff_get_v_length and ff_put_v from nutenc.c to internal.h/aviobuf.c

patch by Micheal Chinen < mchinen gmail >

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

9 years agorename get_length to ff_get_v_length and put_v to ff_put_v
Michael Chinen [Fri, 9 Jul 2010 12:10:47 +0000 (12:10 +0000)]
rename get_length to ff_get_v_length and put_v to ff_put_v

patch by Michael Chinen < mchinen gmail >

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

9 years agolibxvid: add some const fixing a warning
Måns Rullgård [Fri, 9 Jul 2010 10:53:36 +0000 (10:53 +0000)]
libxvid: add some const fixing a warning

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

9 years agoAllow using libxvid RC without enabling encoding wrapper
Måns Rullgård [Fri, 9 Jul 2010 10:53:30 +0000 (10:53 +0000)]
Allow using libxvid RC without enabling encoding wrapper

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

9 years agofate: add oneoff test for twinvq
Måns Rullgård [Fri, 9 Jul 2010 00:40:55 +0000 (00:40 +0000)]
fate: add oneoff test for twinvq

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

9 years agofate: add oneoff comparison method
Måns Rullgård [Fri, 9 Jul 2010 00:40:51 +0000 (00:40 +0000)]
fate: add oneoff comparison method

This adds the 'oneoff' comparison method.  It compares two s16le pcm
files with a max difference <= the fuzz factor treated as success.
Default fuzz is 1.  On failure, the full tiny_psnr output is printed.

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

9 years agofate: pass additional variables to test script
Måns Rullgård [Fri, 9 Jul 2010 00:40:45 +0000 (00:40 +0000)]
fate: pass additional variables to test script

This passes the following additional variables to the test script:

- CMP  method to use comparing output with reference, default 'diff'
- REF  reference file, default 'tests/ref/fate/${test}'
- FUZZ maximum fuzz factor in comparison, meaning depends on CMP

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

9 years agotiny_psnr: print max absolute difference between files
Vitor Sessak [Fri, 9 Jul 2010 00:40:37 +0000 (00:40 +0000)]
tiny_psnr: print max absolute difference between files

Regression test reference updates are due to the extra output
from tiny_psnr.

Patch by Vitor Sessak

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

9 years agoAdd back previously removed non-existing function params in doxygen comments.
Diego Biurrun [Thu, 8 Jul 2010 22:57:27 +0000 (22:57 +0000)]
Add back previously removed non-existing function params in doxygen comments.

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

9 years agoPerform minor style fixes.
Stefano Sabatini [Thu, 8 Jul 2010 22:21:10 +0000 (22:21 +0000)]
Perform minor style fixes.

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

9 years agoUpdate APIchanges after the recent avfilter.h and pixdesc.h changes.
Stefano Sabatini [Thu, 8 Jul 2010 22:13:35 +0000 (22:13 +0000)]
Update APIchanges after the recent avfilter.h and pixdesc.h changes.

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

9 years agoBump minor after read/write_line() to av_read/write_image_line()
Stefano Sabatini [Thu, 8 Jul 2010 22:13:32 +0000 (22:13 +0000)]
Bump minor after read/write_line() to av_read/write_image_line()
rename, done in r24101.

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

9 years agoChange names of regtest output files to closer match the reference files
Måns Rullgård [Thu, 8 Jul 2010 22:10:14 +0000 (22:10 +0000)]
Change names of regtest output files to closer match the reference files

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

9 years agoReindent after r24101.
Stefano Sabatini [Thu, 8 Jul 2010 22:05:33 +0000 (22:05 +0000)]
Reindent after r24101.

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

9 years agoIn mpegts muxer, print VBR instead of dummy 1 when displaying muxrate
Baptiste Coudurier [Thu, 8 Jul 2010 22:01:31 +0000 (22:01 +0000)]
In mpegts muxer, print VBR instead of dummy 1 when displaying muxrate

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

9 years agoIn mov muxer, write pixel aspect ratio tag in mov files.
Baptiste Coudurier [Thu, 8 Jul 2010 21:57:20 +0000 (21:57 +0000)]
In mov muxer, write pixel aspect ratio tag in mov files.
Based on a patch by Daniel Kristjansson, danielk at cuymedia dot net

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

9 years agoconfigure: fix pcm test deps
Måns Rullgård [Thu, 8 Jul 2010 20:15:54 +0000 (20:15 +0000)]
configure: fix pcm test deps

10l to me for using non-standard shell syntax

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

9 years agoDo not generate documentation for .d files; they do not contain source code.
Diego Biurrun [Thu, 8 Jul 2010 18:46:22 +0000 (18:46 +0000)]
Do not generate documentation for .d files; they do not contain source code.

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

9 years agoSimplify regtest reference makefile dependencies
Måns Rullgård [Thu, 8 Jul 2010 18:44:08 +0000 (18:44 +0000)]
Simplify regtest reference makefile dependencies

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

9 years agoMove regression test dependencies to configure
Måns Rullgård [Thu, 8 Jul 2010 18:44:06 +0000 (18:44 +0000)]
Move regression test dependencies to configure

This allows expressing complex dependencies more easily.

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

9 years agoconfigure: add print_enabled() function
Måns Rullgård [Thu, 8 Jul 2010 18:44:03 +0000 (18:44 +0000)]
configure: add print_enabled() function

The print_enabled() function prints all elements in a list which
are enabled.

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

9 years agoregtest: put rgb and yuv reference files in correct place
Måns Rullgård [Thu, 8 Jul 2010 18:44:00 +0000 (18:44 +0000)]
regtest: put rgb and yuv reference files in correct place

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

9 years agoregtest: put rgb and yuv reference files in correct place
Måns Rullgård [Thu, 8 Jul 2010 18:43:56 +0000 (18:43 +0000)]
regtest: put rgb and yuv reference files in correct place

SVN design flaw requires deleting dirs in separate step

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

9 years agoFix infinite loop with clock() returning (clock_t)-1.
Michael Niedermayer [Thu, 8 Jul 2010 18:13:31 +0000 (18:13 +0000)]
Fix infinite loop with clock() returning (clock_t)-1.

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

9 years agoImprove variable names in imlt_window_float() and mlt_compensate_output().
Diego Biurrun [Thu, 8 Jul 2010 17:55:37 +0000 (17:55 +0000)]
Improve variable names in imlt_window_float() and mlt_compensate_output().

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

9 years agoChange i to unsigned in get_generic_seed().
Michael Niedermayer [Thu, 8 Jul 2010 17:49:39 +0000 (17:49 +0000)]
Change i to unsigned in get_generic_seed().
This is clearer than comparing against an unsigned number to force an unsigned
comparison that we need.

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

9 years agoCreate the regtest reference files only when necessary
Måns Rullgård [Thu, 8 Jul 2010 15:30:30 +0000 (15:30 +0000)]
Create the regtest reference files only when necessary

This avoid recreating the ref files every time an individual test
is run from the command line.

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

9 years agoClean up make rules for calling codec test scripts
Måns Rullgård [Thu, 8 Jul 2010 15:30:25 +0000 (15:30 +0000)]
Clean up make rules for calling codec test scripts

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

9 years agoBeautify make messages when generating test data files
Måns Rullgård [Thu, 8 Jul 2010 15:30:23 +0000 (15:30 +0000)]
Beautify make messages when generating test data files

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

9 years agoAdd missing doxy for function arguments.
Ronald S. Bultje [Thu, 8 Jul 2010 15:01:59 +0000 (15:01 +0000)]
Add missing doxy for function arguments.

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

9 years agoFix two doxy warnings.
Ronald S. Bultje [Thu, 8 Jul 2010 15:00:47 +0000 (15:00 +0000)]
Fix two doxy warnings.

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

9 years agoRestore array sizes in doxygen parameter names.
Diego Biurrun [Thu, 8 Jul 2010 13:35:46 +0000 (13:35 +0000)]
Restore array sizes in doxygen parameter names.

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

9 years agoAlso use 503 for bandwidth limit exceeded
Howard Chu [Thu, 8 Jul 2010 09:21:24 +0000 (09:21 +0000)]
Also use 503 for bandwidth limit exceeded

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

9 years agoFix "server too busy" status code
Howard Chu [Thu, 8 Jul 2010 08:59:53 +0000 (08:59 +0000)]
Fix "server too busy" status code

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

9 years agoRemove a useless variable in zmbv decoder.
Eli Friedman [Thu, 8 Jul 2010 08:58:52 +0000 (08:58 +0000)]
Remove a useless variable in zmbv decoder.
Patch by Eli.Friedman (gmail)

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

9 years agoac3: make the value of codec_id during (E-)AC-3 parsing stay CODEC_ID_EAC3
Justin Ruggles [Wed, 7 Jul 2010 23:52:24 +0000 (23:52 +0000)]
ac3: make the value of codec_id during (E-)AC-3 parsing stay CODEC_ID_EAC3
if any E-AC-3 frames have been detected instead of switching back and forth for
AC-3 core + dependent E-AC-3 substream(s).
Fixes Issue 2022.

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

9 years agoget_generic_seed() for the cases without /dev/random and AV_READ_TIME
Michael Niedermayer [Wed, 7 Jul 2010 23:47:48 +0000 (23:47 +0000)]
get_generic_seed() for the cases without /dev/random and AV_READ_TIME

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

9 years agoRename read/write_line() to av_read/write_image_line().
Stefano Sabatini [Wed, 7 Jul 2010 23:41:42 +0000 (23:41 +0000)]
Rename read/write_line() to av_read/write_image_line().

The old names were not av_ prefixed, and they were causing linking
failure on many platforms.  The new names are also more descriptive.

Patch by Stefano Sabatini.

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

9 years agoCosmetics: whitespace
Alex Converse [Wed, 7 Jul 2010 21:50:50 +0000 (21:50 +0000)]
Cosmetics: whitespace

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

9 years agoaacenc: Enforce LFE bitstream restrictions.
Alex Converse [Wed, 7 Jul 2010 21:48:51 +0000 (21:48 +0000)]
aacenc: Enforce LFE bitstream restrictions.

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

9 years agoAdd new decoder property max_lowres and do not init decoder if requested value is...
Carl Eugen Hoyos [Wed, 7 Jul 2010 21:23:36 +0000 (21:23 +0000)]
Add new decoder property max_lowres and do not init decoder if requested value is higher.

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

9 years agoaacdec: remove checks for impossible error conditions
Måns Rullgård [Wed, 7 Jul 2010 20:23:56 +0000 (20:23 +0000)]
aacdec: remove checks for impossible error conditions

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

9 years agoARM: remove unnecessary .previous directive
Måns Rullgård [Wed, 7 Jul 2010 20:09:45 +0000 (20:09 +0000)]
ARM: remove unnecessary .previous directive

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

9 years agoARM: set section to .text in 'function' macro
Måns Rullgård [Wed, 7 Jul 2010 20:09:41 +0000 (20:09 +0000)]
ARM: set section to .text in 'function' macro

This ensures code always goes into the .text section and avoids the
need to specify it explicitly after changing sections.

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

9 years agoARM: hide a .size directive on non-ELF targets
Måns Rullgård [Wed, 7 Jul 2010 20:09:37 +0000 (20:09 +0000)]
ARM: hide a .size directive on non-ELF targets

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

9 years agoCosmetics: whitespace
Alex Converse [Wed, 7 Jul 2010 20:03:15 +0000 (20:03 +0000)]
Cosmetics: whitespace

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

9 years agoAdd pixdesctest filter and corresponding test.
Stefano Sabatini [Wed, 7 Jul 2010 18:24:55 +0000 (18:24 +0000)]
Add pixdesctest filter and corresponding test.

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

9 years agoImplement avfilter_copy_picref_props().
Stefano Sabatini [Wed, 7 Jul 2010 18:23:54 +0000 (18:23 +0000)]
Implement avfilter_copy_picref_props().

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

9 years agoFFplay : Fix segfault when playing monoaural streams.
Jai Menon [Wed, 7 Jul 2010 18:14:58 +0000 (18:14 +0000)]
FFplay : Fix segfault when playing monoaural streams.

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

9 years agoARM: optimised integer clip functions
Måns Rullgård [Wed, 7 Jul 2010 17:27:51 +0000 (17:27 +0000)]
ARM: optimised integer clip functions

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

9 years agoARM: intmath.h cosmetics
Måns Rullgård [Wed, 7 Jul 2010 17:27:48 +0000 (17:27 +0000)]
ARM: intmath.h cosmetics

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

9 years agoAllow arch-overrides for all common.h clip and log2 functions
Måns Rullgård [Wed, 7 Jul 2010 17:27:45 +0000 (17:27 +0000)]
Allow arch-overrides for all common.h clip and log2 functions

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

9 years agoRemove macro duplication between common.h and intmath.h
Måns Rullgård [Wed, 7 Jul 2010 17:27:43 +0000 (17:27 +0000)]
Remove macro duplication between common.h and intmath.h

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

9 years agointmath: whitespace cosmetics
Måns Rullgård [Wed, 7 Jul 2010 17:27:39 +0000 (17:27 +0000)]
intmath: whitespace cosmetics

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

9 years agoimprove long_name for ass (de)muxer
Aurelien Jacobs [Wed, 7 Jul 2010 13:10:57 +0000 (13:10 +0000)]
improve long_name for ass (de)muxer

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

9 years agomotion_est: fix implicit truncation warnings
Reimar Döffinger [Wed, 7 Jul 2010 12:27:44 +0000 (12:27 +0000)]
motion_est: fix implicit truncation warnings

Patch by Reimar Döffinger and Eli Friedman (independently).

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

9 years agoIgnore extradata & w/h in asf/dvr.
Michael Niedermayer [Wed, 7 Jul 2010 10:39:05 +0000 (10:39 +0000)]
Ignore extradata & w/h in asf/dvr.
The w/h values are wrong and extradata contains a fake seq header that causes
decoding to fail later, a valid seq header is in the stream itself.
Partially fixes issue658

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

9 years agoMove ff_dct_init(context) out of if(one time init)
Michael Niedermayer [Wed, 7 Jul 2010 10:36:26 +0000 (10:36 +0000)]
Move ff_dct_init(context) out of if(one time init)
fixes calling a null pointer in issue658

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

9 years agoSilence warning "new qualifiers in middle of multi-level
Eli Friedman [Wed, 7 Jul 2010 10:24:34 +0000 (10:24 +0000)]
Silence warning "new qualifiers in middle of multi-level
non-const cast are unsafe".

Patch by Eli Friedman, eli d friedman a gmail

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

9 years agoAssociate .tga with format image2.
Carl Eugen Hoyos [Wed, 7 Jul 2010 10:19:59 +0000 (10:19 +0000)]
Associate .tga with format image2.

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

9 years agoMove SSE optimized 32-point DCT to its own file. Should fix breakage with YASM
Vitor Sessak [Tue, 6 Jul 2010 17:48:23 +0000 (17:48 +0000)]
Move SSE optimized 32-point DCT to its own file. Should fix breakage with YASM
disabled.

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

9 years agoSSE optimized 32-point DCT
Vitor Sessak [Tue, 6 Jul 2010 16:58:54 +0000 (16:58 +0000)]
SSE optimized 32-point DCT

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

9 years agoAdd #ifdefs around code specific to file and pipe protocols
Måns Rullgård [Tue, 6 Jul 2010 14:28:32 +0000 (14:28 +0000)]
Add #ifdefs around code specific to file and pipe protocols

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

9 years agoRename av_tempfile() to ff_tempfile()
Måns Rullgård [Tue, 6 Jul 2010 13:22:44 +0000 (13:22 +0000)]
Rename av_tempfile() to ff_tempfile()

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

9 years agoMove av_tempfile() to libxvidff.c as only the xvid wrapper needs it
Måns Rullgård [Tue, 6 Jul 2010 13:04:21 +0000 (13:04 +0000)]
Move av_tempfile() to libxvidff.c as only the xvid wrapper needs it

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

9 years agovf_pad: restore use of _CCIR colourspace conversion macros
Måns Rullgård [Tue, 6 Jul 2010 12:35:59 +0000 (12:35 +0000)]
vf_pad: restore use of _CCIR colourspace conversion macros

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

9 years agoos_support: include some headers only when needed
Måns Rullgård [Tue, 6 Jul 2010 11:42:52 +0000 (11:42 +0000)]
os_support: include some headers only when needed

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

9 years agortpenc: remove unnecessary #include unistd.h
Måns Rullgård [Tue, 6 Jul 2010 11:42:48 +0000 (11:42 +0000)]
rtpenc: remove unnecessary #include unistd.h

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

9 years agofile_protocol: remove redundant #include sys/time.h
Måns Rullgård [Tue, 6 Jul 2010 11:42:46 +0000 (11:42 +0000)]
file_protocol: remove redundant #include sys/time.h

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

9 years agoAdd av_unused to decode_mb_skip declaration to fix the following warning:
Eli Friedman [Tue, 6 Jul 2010 07:40:35 +0000 (07:40 +0000)]
Add av_unused to decode_mb_skip declaration to fix the following warning:
libavcodec/h264.h:1260: warning: ‘decode_mb_skip’ defined but not used
patch by Eli Friedman, eli.friedman gmail com

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

9 years agoaacenc: replace VLA with fixed size
Måns Rullgård [Tue, 6 Jul 2010 00:06:15 +0000 (00:06 +0000)]
aacenc: replace VLA with fixed size

Number of channels is restricted to 6 so the size is acceptable
for the stack.

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

9 years agoMove shareable draw_rectangle() and query_formats function to the top
Stefano Sabatini [Mon, 5 Jul 2010 22:33:06 +0000 (22:33 +0000)]
Move shareable draw_rectangle() and query_formats function to the top
of the file, and put under #if CONFIG_PAD_FILTER the code specific to
the pad filter.

Simplify the inclusion of the color source.

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

9 years agoFactorize out some code and implement the fill_line_with_color()
Stefano Sabatini [Mon, 5 Jul 2010 22:33:02 +0000 (22:33 +0000)]
Factorize out some code and implement the fill_line_with_color()
function. Allow to share code with the pending color source.

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

9 years agoUpdate lavfitest reference after commit:
Stefano Sabatini [Mon, 5 Jul 2010 22:32:56 +0000 (22:32 +0000)]
Update lavfitest reference after commit:

   Author: bcoudurier
   Date:   Sat Jul 3 03:11:04 2010 +0000

       Set graph swscale opts before parsing it, that way opts are available
       when auto-adding scalers.

It changed the swscale flags used by the auto-added scalers, and so
the output video.

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

9 years agoUpdate Doxyfile to the format preferred by Doxygen 1.5.6 (via 'doxygen -u').
Diego Biurrun [Mon, 5 Jul 2010 19:42:46 +0000 (19:42 +0000)]
Update Doxyfile to the format preferred by Doxygen 1.5.6 (via 'doxygen -u').

This is the version available in Debian stable, so it should be a reasonable
baseline that can be expected to be present on all developer machines.

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

9 years agocosmetics: Reformat paragraphs and fix typos as done by 'doxygen -u'.
Diego Biurrun [Mon, 5 Jul 2010 19:35:01 +0000 (19:35 +0000)]
cosmetics: Reformat paragraphs and fix typos as done by 'doxygen -u'.

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

9 years agocosmetics: Reorder config file entries to the format used by doxygen 1.5.6.
Diego Biurrun [Mon, 5 Jul 2010 19:20:43 +0000 (19:20 +0000)]
cosmetics: Reorder config file entries to the format used by doxygen 1.5.6.

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

9 years agoRevert update of Doxygen configuration file via 'doxygen -u'.
Diego Biurrun [Mon, 5 Jul 2010 18:56:42 +0000 (18:56 +0000)]
Revert update of Doxygen configuration file via 'doxygen -u'.
It will be redone with some cosmetics split out in a moment.

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

9 years agoconfigure: simplify some OS-specific flag setting
Måns Rullgård [Mon, 5 Jul 2010 17:31:18 +0000 (17:31 +0000)]
configure: simplify some OS-specific flag setting

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

9 years agortpdec_asf: Propagate errors from the chained av_open_input_stream
Martin Storsjö [Mon, 5 Jul 2010 16:46:00 +0000 (16:46 +0000)]
rtpdec_asf: Propagate errors from the chained av_open_input_stream

This fixes the crash in issue 2070.

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

9 years agoMove frame_available computation to where it belongs in ffmpeg.c.
Michael Niedermayer [Mon, 5 Jul 2010 14:49:48 +0000 (14:49 +0000)]
Move frame_available computation to where it belongs in ffmpeg.c.
This fixes a infinite loop.
Fixes issue 2066.

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

9 years agoPerform sliding window operation during frame gap handling.
Michael Niedermayer [Mon, 5 Jul 2010 14:36:03 +0000 (14:36 +0000)]
Perform sliding window operation during frame gap handling.
This avoids some warnings about too many reference frames.

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

9 years agoFactorize ff_generate_sliding_window_mmcos() out.
Michael Niedermayer [Mon, 5 Jul 2010 12:42:19 +0000 (12:42 +0000)]
Factorize ff_generate_sliding_window_mmcos() out.

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

9 years agoSilence a warning when compiling aviobuf.c
Eli Friedman [Mon, 5 Jul 2010 09:11:45 +0000 (09:11 +0000)]
Silence a warning when compiling aviobuf.c

Patch by Eli Friedman, eli d friedman a gmail

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

9 years agoDCA: Occasionally a false XCH sync word can turn up after the core DTS data,
Nick Brereton [Mon, 5 Jul 2010 08:16:43 +0000 (08:16 +0000)]
DCA: Occasionally a false XCH sync word can turn up after the core DTS data,
to verify the sync word the extension fsize field should be compared to
the core data length field.

Patch by nick.nbrereton@net

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

9 years agoRemove superfluous id3v2.o dependency for dts, eac3, gsm, mlp, shorten, and
Michael Karcher [Mon, 5 Jul 2010 04:07:50 +0000 (04:07 +0000)]
Remove superfluous id3v2.o dependency for dts, eac3, gsm, mlp, shorten, and
truehd demuxers
Patch by Michael Karcher <ffmpeg at mkarcher dot dialup dot fu-berlin dot de>

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