ffmpeg.git
7 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Sat, 9 Jul 2011 00:06:40 +0000 (02:06 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master: (28 commits)
  mp3enc: write a xing frame containing number of frames in the file
  lavf: update AVStream.nb_frames when muxing.
  ffmpeg: remove unused variables from InputStream.
  doc: update ffmpeg -ar and -ac documentation to reflect reality.
  ffmpeg: remove pointless if (nb_input_files)
  ffmpeg: merge input_files_ts_offset into input_files.
  ffmpeg: merge input_codecs into input_streams.
  ffmpeg: drop AV prefixes from struct names.
  ffmpeg: deprecate loop_input and loop_output options
  gif: add loop private option.
  img2: add loop private option.
  AVOptions: in av_opt_find() don't return named constants unless unit is specified.
  x11grab: replace undocumented nomouse hackery with a private option.
  dict: extend documentation.
  lls: whitespace cosmetics
  docs: Use proper markup for a literal command line option
  docs: Remove a remark that isn't relevant any longer
  docs: Explain how to regenerate import libraries with MSVC tools
  docs: Mention that libraries for MSVC can be built with a cross compiler
  docs: Remove old docs that mention setting up a build environment with lib.exe
  ...

Conflicts:
doc/ffmpeg.texi
doc/general.texi
ffmpeg.c
libavcodec/Makefile
libavcodec/dnxhddata.c
libavformat/mp3enc.c
libavformat/utils.c
libavutil/Makefile
tests/copycooker.sh

Merged-by: Michael Niedermayer <michaelni@gmx.at>
7 years agomake the RELEASE file say git and not 0.7
Michael Niedermayer [Fri, 8 Jul 2011 22:28:16 +0000 (00:28 +0200)]
make the RELEASE file say git and not 0.7

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agomp3enc: write a xing frame containing number of frames in the file
Anton Khirnov [Mon, 21 Mar 2011 20:02:50 +0000 (21:02 +0100)]
mp3enc: write a xing frame containing number of frames in the file

7 years agolavf: update AVStream.nb_frames when muxing.
Anton Khirnov [Wed, 16 Mar 2011 07:45:14 +0000 (08:45 +0100)]
lavf: update AVStream.nb_frames when muxing.

7 years agoffmpeg: remove unused variables from InputStream.
Anton Khirnov [Wed, 6 Jul 2011 06:35:07 +0000 (08:35 +0200)]
ffmpeg: remove unused variables from InputStream.

7 years agodoc: update ffmpeg -ar and -ac documentation to reflect reality.
Anton Khirnov [Fri, 24 Jun 2011 09:22:15 +0000 (11:22 +0200)]
doc: update ffmpeg -ar and -ac documentation to reflect reality.

7 years agoffmpeg: remove pointless if (nb_input_files)
Anton Khirnov [Fri, 24 Jun 2011 06:54:52 +0000 (08:54 +0200)]
ffmpeg: remove pointless if (nb_input_files)

It's required to be non-zero since
cc58300e30e7aea6acfecd72a04a3886b285cfd8

7 years agoffmpeg: merge input_files_ts_offset into input_files.
Anton Khirnov [Thu, 23 Jun 2011 17:30:15 +0000 (19:30 +0200)]
ffmpeg: merge input_files_ts_offset into input_files.

7 years agoffmpeg: merge input_codecs into input_streams.
Anton Khirnov [Thu, 23 Jun 2011 17:22:19 +0000 (19:22 +0200)]
ffmpeg: merge input_codecs into input_streams.

There's no point in keeping them separate.

7 years agoffmpeg: drop AV prefixes from struct names.
Anton Khirnov [Thu, 23 Jun 2011 17:14:08 +0000 (19:14 +0200)]
ffmpeg: drop AV prefixes from struct names.

Those are reserved for the libs.

7 years agoffmpeg: deprecate loop_input and loop_output options
Anton Khirnov [Sat, 18 Jun 2011 07:49:24 +0000 (09:49 +0200)]
ffmpeg: deprecate loop_input and loop_output options

They were replaced by (de)muxer private options.

7 years agogif: add loop private option.
Anton Khirnov [Sat, 18 Jun 2011 07:47:46 +0000 (09:47 +0200)]
gif: add loop private option.

Deprecate AVFormatContext.loop_output.

7 years agoimg2: add loop private option.
Anton Khirnov [Sat, 18 Jun 2011 07:28:49 +0000 (09:28 +0200)]
img2: add loop private option.

Deprecate AVFormatContext.loop_input.

7 years agoAVOptions: in av_opt_find() don't return named constants unless unit is specified.
Anton Khirnov [Wed, 6 Jul 2011 17:56:58 +0000 (19:56 +0200)]
AVOptions: in av_opt_find() don't return named constants unless unit is specified.

That is, unless the caller explicitly asks for them.

Prevents conflict between e.g. the 'loop' option in img2 demuxer and
'loop' flag in AVCodecContext.

7 years agox11grab: replace undocumented nomouse hackery with a private option.
Anton Khirnov [Mon, 20 Jun 2011 10:42:36 +0000 (12:42 +0200)]
x11grab: replace undocumented nomouse hackery with a private option.

7 years agodict: extend documentation.
Anton Khirnov [Fri, 8 Jul 2011 06:27:53 +0000 (08:27 +0200)]
dict: extend documentation.

7 years agolls: whitespace cosmetics
Mans Rullgard [Fri, 8 Jul 2011 11:52:12 +0000 (12:52 +0100)]
lls: whitespace cosmetics

Signed-off-by: Mans Rullgard <mans@mansr.com>
7 years agodocs: Use proper markup for a literal command line option
Martin Storsjö [Fri, 8 Jul 2011 10:37:54 +0000 (13:37 +0300)]
docs: Use proper markup for a literal command line option

Signed-off-by: Martin Storsjö <martin@martin.st>
7 years agodocs: Remove a remark that isn't relevant any longer
Martin Storsjö [Fri, 8 Jul 2011 08:18:13 +0000 (11:18 +0300)]
docs: Remove a remark that isn't relevant any longer

Now the bin directory only contains those DLLs that are actually used.

Signed-off-by: Martin Storsjö <martin@martin.st>
7 years agodocs: Explain how to regenerate import libraries with MSVC tools
Martin Storsjö [Fri, 8 Jul 2011 08:16:32 +0000 (11:16 +0300)]
docs: Explain how to regenerate import libraries with MSVC tools

Signed-off-by: Martin Storsjö <martin@martin.st>
7 years agodocs: Mention that libraries for MSVC can be built with a cross compiler
Martin Storsjö [Fri, 8 Jul 2011 08:15:00 +0000 (11:15 +0300)]
docs: Mention that libraries for MSVC can be built with a cross compiler

Signed-off-by: Martin Storsjö <martin@martin.st>
7 years agodocs: Remove old docs that mention setting up a build environment with lib.exe
Martin Storsjö [Fri, 8 Jul 2011 08:14:14 +0000 (11:14 +0300)]
docs: Remove old docs that mention setting up a build environment with lib.exe

The build system doesn't use lib.exe any longer, and therefore this
can be simplified.

Signed-off-by: Martin Storsjö <martin@martin.st>
7 years agodocs: Mention the upstream bugzilla url about the dlltool vs MSVC issue
Martin Storsjö [Fri, 8 Jul 2011 08:00:01 +0000 (11:00 +0300)]
docs: Mention the upstream bugzilla url about the dlltool vs MSVC issue

Signed-off-by: Martin Storsjö <martin@martin.st>
7 years agodnxhd: prettify tables
Mans Rullgard [Fri, 8 Jul 2011 12:58:15 +0000 (13:58 +0100)]
dnxhd: prettify tables

Signed-off-by: Mans Rullgard <mans@mansr.com>
7 years agoexamples: move metadata-example.c to doc/examples
Stefano Sabatini [Tue, 5 Jul 2011 15:22:56 +0000 (17:22 +0200)]
examples: move metadata-example.c to doc/examples

7 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Thu, 7 Jul 2011 23:05:28 +0000 (01:05 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  build: clean up library installation rules
  vf_drawtext: Remove some write-only variables.
  libgsm: Drop const qualifier to silence compiler warning.
  docs: Remove needless configure options
  docs: Don't recommend adding --enable-memalign-hack
  libvo-amrwbenc: Add braces to shut up gcc warning.
  adts: Fix PCE copying.

Conflicts:
configure
doc/general.texi
subdir.mak

Merged-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoflashsv: inline copy_region() into flashsv_decode_frame()
Diego Biurrun [Wed, 29 Jun 2011 22:59:13 +0000 (00:59 +0200)]
flashsv: inline copy_region() into flashsv_decode_frame()

7 years agoavutil: Add missing test programs to Makefile.
Diego Biurrun [Sun, 26 Jun 2011 22:46:29 +0000 (00:46 +0200)]
avutil: Add missing test programs to Makefile.

7 years agoflashsv: improve some variable names
Diego Biurrun [Wed, 29 Jun 2011 23:00:10 +0000 (01:00 +0200)]
flashsv: improve some variable names

7 years agolibschroedingerdec: Remove write-only variable.
Diego Biurrun [Wed, 6 Jul 2011 23:30:59 +0000 (01:30 +0200)]
libschroedingerdec: Remove write-only variable.

libavcodec/libschroedingerdec.c:211:23: warning: variable 'format' set but not used

7 years agolibavdevice: Remove disabled code.
Diego Biurrun [Tue, 26 Apr 2011 12:28:45 +0000 (14:28 +0200)]
libavdevice: Remove disabled code.

7 years agobuild: remove unused copy regression test script
Diego Biurrun [Tue, 5 Jul 2011 12:58:49 +0000 (14:58 +0200)]
build: remove unused copy regression test script

The copy regression test script is unused, bash-specific and did
not even work properly when it was originally committed.

7 years agobuild: clean up library installation rules
Mans Rullgard [Thu, 7 Jul 2011 14:25:30 +0000 (15:25 +0100)]
build: clean up library installation rules

Signed-off-by: Mans Rullgard <mans@mansr.com>
7 years agovf_drawtext: Remove some write-only variables.
Diego Biurrun [Wed, 6 Jul 2011 23:31:05 +0000 (01:31 +0200)]
vf_drawtext: Remove some write-only variables.

libavfilter/vf_drawtext.c:427:22: warning: variable 'dst_pixel' set but not used
libavfilter/vf_drawtext.c:463:22: warning: variable 'dst_pixel' set but not used

7 years agolibgsm: Drop const qualifier to silence compiler warning.
Diego Biurrun [Wed, 6 Jul 2011 23:31:01 +0000 (01:31 +0200)]
libgsm: Drop const qualifier to silence compiler warning.

libavcodec/libgsm.c:148: warning: passing argument 2 of ‘gsm_decode’ discards qualifiers from pointer target type
/usr/include/gsm/gsm.h:68: note: expected ‘gsm_byte *’ but argument is of type ‘const uint8_t *’

7 years agodocs: Remove needless configure options
Martin Storsjö [Thu, 7 Jul 2011 06:51:57 +0000 (09:51 +0300)]
docs: Remove needless configure options

Specifying --enable-static --disable-shared isn't necessary, these
are the defaults.

Signed-off-by: Martin Storsjö <martin@martin.st>
7 years agodocs: Don't recommend adding --enable-memalign-hack
Martin Storsjö [Thu, 7 Jul 2011 06:50:43 +0000 (09:50 +0300)]
docs: Don't recommend adding --enable-memalign-hack

It is enabled automatically when required nowadays.

Signed-off-by: Martin Storsjö <martin@martin.st>
7 years agolibvo-amrwbenc: Add braces to shut up gcc warning.
Diego Biurrun [Wed, 6 Jul 2011 23:31:00 +0000 (01:31 +0200)]
libvo-amrwbenc: Add braces to shut up gcc warning.

libavcodec/libvo-amrwbenc.c:37:5: warning: missing braces around initializer

7 years agoadts: Fix PCE copying.
Alex Converse [Wed, 29 Jun 2011 20:41:47 +0000 (13:41 -0700)]
adts: Fix PCE copying.

Parse the extension flag bit when reading the MPEG4 AudioSpecificConfig.

This has nothing to do with SBR/PS contradictory to what was noted when it was removed.

7 years agoavfiltergraph: clarify doxy for avfilter_graph_parse() open_inputs/outputs params
Stefano Sabatini [Sat, 2 Jul 2011 14:09:55 +0000 (16:09 +0200)]
avfiltergraph: clarify doxy for avfilter_graph_parse() open_inputs/outputs params

Make it clear that open_inputs/open_outputs are updated only if non-NULL.

7 years agographparser: clarify comments in avfilter_graph_parse()
Stefano Sabatini [Sat, 2 Jul 2011 13:36:23 +0000 (15:36 +0200)]
graphparser: clarify comments in avfilter_graph_parse()

7 years agographparser: fix logic for updating the open_inputs/outputs in avfilter_graph_parse()
Stefano Sabatini [Fri, 1 Jul 2011 14:31:16 +0000 (16:31 +0200)]
graphparser: fix logic for updating the open_inputs/outputs in avfilter_graph_parse()

Create open_inputs and open_outputs structs if they are not provided by
the user, and free them before exit.

In particular, fix NULL pointer dereference and crash, in case the
passed open_inputs/outputs is NULL and the parsing failed.

7 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Wed, 6 Jul 2011 21:57:11 +0000 (23:57 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  ffserver: remove unused variable.
  Remove unused and outdated TODO file.
  gitignore: Drop individual .d ignore; it is already covered by a wildcard.
  lavf: deprecate AVStream.quality.
  bink: pass Bink version to audio decoder through extradata instead of codec_tag.
  libpostproc: Remove disabled code.
  flashsv: improve some comments and fix some wrong ones
  flashsv: Eliminate redundant variable indirection.
  flashsv: set reference frame type to full frame
  flashsv: replace bitstream description by a link to the specification
  flashsv: convert a debug av_log into av_dlog
  flashsv: simplify condition
  flashsv: return more meaningful error values
  flashsv: cosmetics: break some overly long lines
  flashsv: cosmetics: drop some unnecessary parentheses
  swscale: amend documentation to mention use of native depth for scaling.
  eval: add missing comma to tests.
  eval: fix memleak.
  H.264: make loopfilter bS const where applicable

Conflicts:
libavcodec/binkaudio.c
libavformat/bink.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoffserver: remove unused variable.
Chris Wilson [Wed, 6 Jul 2011 20:13:10 +0000 (22:13 +0200)]
ffserver: remove unused variable.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
7 years agoRemove unused and outdated TODO file.
Diego Biurrun [Wed, 6 Jul 2011 18:46:06 +0000 (20:46 +0200)]
Remove unused and outdated TODO file.

7 years agogitignore: Drop individual .d ignore; it is already covered by a wildcard.
Diego Biurrun [Sun, 3 Jul 2011 21:48:22 +0000 (23:48 +0200)]
gitignore: Drop individual .d ignore; it is already covered by a wildcard.

7 years agoFix av_open_input_stream with uninitialized context pointer.
Reimar Döffinger [Tue, 5 Jul 2011 21:10:44 +0000 (23:10 +0200)]
Fix av_open_input_stream with uninitialized context pointer.

Code would allocate a new context but forget to assign it
to the pointer actually passed to avformat_open_input,
potentially causing a crash.
Even if it was initialized it would cause a memleak.
This caused crashes with e.g. mpd, see also
http://bugs.gentoo.org/show_bug.cgi?id=373423

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
7 years agolavf: deprecate AVStream.quality.
Anton Khirnov [Mon, 20 Jun 2011 11:08:40 +0000 (13:08 +0200)]
lavf: deprecate AVStream.quality.

AVStream is no place for it and it's unused outside of ffmpeg anyway.

7 years agobink: pass Bink version to audio decoder through extradata instead of codec_tag.
Kostya [Fri, 17 Jun 2011 07:28:58 +0000 (07:28 +0000)]
bink: pass Bink version to audio decoder through extradata instead of codec_tag.

This is needed because not all players (e.g. MPlayer) are able to distinguish
two different Bink audio decoders when codec_tag is set.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
7 years agolibpostproc: Remove disabled code.
Diego Biurrun [Tue, 26 Apr 2011 12:27:38 +0000 (14:27 +0200)]
libpostproc: Remove disabled code.

7 years agoflashsv: improve some comments and fix some wrong ones
Diego Biurrun [Thu, 30 Jun 2011 13:05:24 +0000 (15:05 +0200)]
flashsv: improve some comments and fix some wrong ones

7 years agoflashsv: Eliminate redundant variable indirection.
Diego Biurrun [Thu, 30 Jun 2011 18:45:22 +0000 (20:45 +0200)]
flashsv: Eliminate redundant variable indirection.

As a positive side-effect, this gets rid of the following warning:
libavcodec/flashsv.c:190:38: warning: assignment discards ‘const’ qualifier from pointer target type

7 years agoflashsv: set reference frame type to full frame
Diego Biurrun [Thu, 30 Jun 2011 13:07:36 +0000 (15:07 +0200)]
flashsv: set reference frame type to full frame

7 years agoflashsv: replace bitstream description by a link to the specification
Diego Biurrun [Tue, 5 Jul 2011 17:25:10 +0000 (19:25 +0200)]
flashsv: replace bitstream description by a link to the specification

An official specification now exists and it is both more detailed and easier to
understand than the incomplete notes available here.  Also remove ideas on how
to implement an encoder; these notes are already present in the encoder.

7 years agoflashsv: convert a debug av_log into av_dlog
Diego Biurrun [Thu, 30 Jun 2011 13:03:45 +0000 (15:03 +0200)]
flashsv: convert a debug av_log into av_dlog

7 years agoflashsv: simplify condition
Diego Biurrun [Wed, 29 Jun 2011 23:00:30 +0000 (01:00 +0200)]
flashsv: simplify condition

7 years agoflashsv: return more meaningful error values
Diego Biurrun [Wed, 29 Jun 2011 22:28:08 +0000 (00:28 +0200)]
flashsv: return more meaningful error values

7 years agoflashsv: cosmetics: break some overly long lines
Diego Biurrun [Wed, 29 Jun 2011 22:25:35 +0000 (00:25 +0200)]
flashsv: cosmetics: break some overly long lines

7 years agoflashsv: cosmetics: drop some unnecessary parentheses
Diego Biurrun [Wed, 29 Jun 2011 22:21:43 +0000 (00:21 +0200)]
flashsv: cosmetics: drop some unnecessary parentheses

7 years agoSupport fourcc YV24.
ami_stuff [Wed, 6 Jul 2011 08:05:08 +0000 (10:05 +0200)]
Support fourcc YV24.

Fixes ticket #306.

7 years agoSupport extension jls for jpeg-ls.
Carl Eugen Hoyos [Wed, 6 Jul 2011 08:04:02 +0000 (10:04 +0200)]
Support extension jls for jpeg-ls.

7 years agoswscale: amend documentation to mention use of native depth for scaling.
Ronald S. Bultje [Wed, 6 Jul 2011 01:19:26 +0000 (18:19 -0700)]
swscale: amend documentation to mention use of native depth for scaling.

Signed-off-by: Diego Biurrun <diego@biurrun.de>
7 years agoeval: add missing comma to tests.
Ronald S. Bultje [Wed, 6 Jul 2011 01:11:32 +0000 (18:11 -0700)]
eval: add missing comma to tests.

7 years agoeval: fix memleak.
Ronald S. Bultje [Wed, 6 Jul 2011 01:10:48 +0000 (18:10 -0700)]
eval: fix memleak.

7 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Tue, 5 Jul 2011 22:56:41 +0000 (00:56 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  Add some missing mathematics.h #includes for av_rescale().
  opencore-amr: Add missing initializer braces to shut up gcc warning.
  ARM: workaround for bug in GNU assembler
  dv: fix comment wording mistake
  Rename libavcodec/high_bit_depth.h ---> libavcodec/bit_depth_template.c
  dv: fix valgrind use of uninitialised value warnings.
  mxfenc: fix ignored drop flag in binary timecode representation.
  PPC: use Altivec IMDCT only for supported sizes
  dv: fix comment spelling
  configure: simplify -rpath-link linker flag

Merged-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoH.264: make loopfilter bS const where applicable
Jason Garrett-Glaser [Tue, 5 Jul 2011 23:27:54 +0000 (16:27 -0700)]
H.264: make loopfilter bS const where applicable

7 years agoAdd some missing mathematics.h #includes for av_rescale().
Diego Biurrun [Mon, 4 Jul 2011 22:42:31 +0000 (00:42 +0200)]
Add some missing mathematics.h #includes for av_rescale().

7 years agoopencore-amr: Add missing initializer braces to shut up gcc warning.
Diego Biurrun [Tue, 14 Jun 2011 22:04:48 +0000 (00:04 +0200)]
opencore-amr: Add missing initializer braces to shut up gcc warning.

This fixes the warning:
libavcodec/libopencore-amr.c:91: warning: missing braces around initializer

7 years agoARM: workaround for bug in GNU assembler
Mans Rullgard [Tue, 5 Jul 2011 17:29:35 +0000 (18:29 +0100)]
ARM: workaround for bug in GNU assembler

Some versions of the GNU assembler do not handle 64-bit
immediate operands containing arithmetic.  Writing the
value out in full works correctly.

Signed-off-by: Mans Rullgard <mans@mansr.com>
7 years agodv: fix comment wording mistake
Clément Bœsch [Tue, 5 Jul 2011 15:30:00 +0000 (17:30 +0200)]
dv: fix comment wording mistake

7 years agoRename libavcodec/high_bit_depth.h ---> libavcodec/bit_depth_template.c
Diego Biurrun [Tue, 5 Jul 2011 15:33:24 +0000 (17:33 +0200)]
Rename libavcodec/high_bit_depth.h ---> libavcodec/bit_depth_template.c

This naming scheme is used elsewhere, so it's sensible to be consistent.

7 years agodv: fix comment wording mistake
Clément Bœsch [Tue, 5 Jul 2011 15:30:00 +0000 (17:30 +0200)]
dv: fix comment wording mistake

7 years agomxfenc: fix ignored drop flag in binary timecode representation.
Clément Bœsch [Mon, 4 Jul 2011 08:19:46 +0000 (10:19 +0200)]
mxfenc: fix ignored drop flag in binary timecode representation.

7 years agodv: fix valgrind use of uninitialised value warnings.
Reimar Döffinger [Tue, 5 Jul 2011 14:02:56 +0000 (16:02 +0200)]
dv: fix valgrind use of uninitialised value warnings.

7 years agodv: fix comment spelling.
Clément Bœsch [Tue, 5 Jul 2011 08:30:48 +0000 (10:30 +0200)]
dv: fix comment spelling.

7 years agodv: fix valgrind use of uninitialised value warnings.
Reimar Döffinger [Tue, 5 Jul 2011 14:02:56 +0000 (16:02 +0200)]
dv: fix valgrind use of uninitialised value warnings.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
7 years agomxfenc: fix ignored drop flag in binary timecode representation.
Clément Bœsch [Mon, 4 Jul 2011 08:19:46 +0000 (10:19 +0200)]
mxfenc: fix ignored drop flag in binary timecode representation.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
7 years agoPPC: use Altivec IMDCT only for supported sizes
Mans Rullgard [Tue, 5 Jul 2011 14:53:05 +0000 (15:53 +0100)]
PPC: use Altivec IMDCT only for supported sizes

The Altivec IMDCT works with size 32 and higher only.

Signed-off-by: Mans Rullgard <mans@mansr.com>
7 years agodv: fix comment spelling
Clément Bœsch [Tue, 5 Jul 2011 08:30:48 +0000 (10:30 +0200)]
dv: fix comment spelling

Signed-off-by: Diego Biurrun <diego@biurrun.de>
7 years agoconfigure: simplify -rpath-link linker flag
Diego Biurrun [Tue, 5 Jul 2011 00:34:28 +0000 (02:34 +0200)]
configure: simplify -rpath-link linker flag

Lists of ':'-separated directories can be passed to -rpath-link directly.

7 years agoeval/fate: try to fix nan printing format failures.
Michael Niedermayer [Tue, 5 Jul 2011 08:46:11 +0000 (10:46 +0200)]
eval/fate: try to fix nan printing format failures.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agolibavfilter: add a default to silence a warning.
Nicolas George [Mon, 4 Jul 2011 18:43:37 +0000 (20:43 +0200)]
libavfilter: add a default to silence a warning.

7 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Mon, 4 Jul 2011 23:46:03 +0000 (01:46 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master: (36 commits)
  ARM: allow unaligned buffer in fixed-point NEON FFT4
  fate: test more FFT etc sizes
  dca: set AVCodecContext frame_size for DTS audio
  YASM: Shut up unused variable compiler warning with --disable-yasm.
  x86_32: Fix build on x86_32 with --disable-yasm.
  iirfilter: add fate test
  doxygen: Add qmul docs.
  ogg: propagate return values and return more meaningful error values
  H.264: fix overreads of qscale_table
  Remove unused static tables and static inline functions.
  eval: clear Parser instances before using
  dct-test: remove 'ref' function pointer from tables
  build: Remove deleted 'check' target from .PHONY list.
  oggdec: Abort Ogg header parsing when encountering a data packet.
  Add LGPL license boilerplate to files lacking it.
  mxfenc: small typo fix
  doxygen: Fix documentation for some VP8 functions.
  sha: use AV_RB32() instead of assuming buffer can be cast to uint32_t*
  des: allow unaligned input and output buffers
  aes: allow unaligned input and output buffers
  ...

Conflicts:
libavcodec/dct-test.c
libavcodec/libvpxenc.c
libavcodec/x86/dsputil_mmx.c
libavcodec/x86/h264_qpel_mmx.c
libavfilter/x86/gradfun.c
libavformat/oggdec.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoARM: allow unaligned buffer in fixed-point NEON FFT4
Mans Rullgard [Mon, 4 Jul 2011 19:36:35 +0000 (20:36 +0100)]
ARM: allow unaligned buffer in fixed-point NEON FFT4

This function is called with only 8-byte alignment from
imdct for size 16.  The fft4 function is not called for
the larger FFT or MDCT sizes, so this has no impact on
typical uses.

Signed-off-by: Mans Rullgard <mans@mansr.com>
7 years agofate: test more FFT etc sizes
Mans Rullgard [Mon, 4 Jul 2011 17:08:02 +0000 (18:08 +0100)]
fate: test more FFT etc sizes

This tests sizes from 16 to 4096, not only the default 512.

Signed-off-by: Mans Rullgard <mans@mansr.com>
7 years agodca: set AVCodecContext frame_size for DTS audio
John Stebbins [Mon, 4 Jul 2011 16:55:19 +0000 (09:55 -0700)]
dca: set AVCodecContext frame_size for DTS audio

Set the frame size when decoding DTS audio.

This has the side effect of fixing the computation of timestamps for DTS-HD in compute_pkt_fields.  Since frame_size is
not currently set, the duration of a frame is being guessed based on the streams bitrate.  But for DTS-HD, the bitrate
currently used is the rate of the DTS core which is much different than the whole DTS-HD stream and leads to a wildly
inaccurate frame duration estimate.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
7 years agoYASM: Shut up unused variable compiler warning with --disable-yasm.
Daniel Kang [Mon, 4 Jul 2011 15:53:21 +0000 (11:53 -0400)]
YASM: Shut up unused variable compiler warning with --disable-yasm.

Signed-off-by: Diego Biurrun <diego@biurrun.de>
7 years agox86_32: Fix build on x86_32 with --disable-yasm.
Daniel Kang [Mon, 4 Jul 2011 15:44:59 +0000 (11:44 -0400)]
x86_32: Fix build on x86_32 with --disable-yasm.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
7 years agoiirfilter: add fate test
Mans Rullgard [Mon, 4 Jul 2011 15:26:03 +0000 (16:26 +0100)]
iirfilter: add fate test

Change the test program to output text instead of binary files so
it can be compared easily in FATE.

Signed-off-by: Mans Rullgard <mans@mansr.com>
7 years agoUnbreak libavutil API.
Carl Eugen Hoyos [Mon, 4 Jul 2011 15:13:05 +0000 (17:13 +0200)]
Unbreak libavutil API.

7 years agodoxygen: Add qmul docs.
Diego Biurrun [Sun, 3 Jul 2011 17:29:18 +0000 (19:29 +0200)]
doxygen: Add qmul docs.

7 years agoogg: propagate return values and return more meaningful error values
Nicolas George [Fri, 24 Jun 2011 10:02:41 +0000 (12:02 +0200)]
ogg: propagate return values and return more meaningful error values

Signed-off-by: Diego Biurrun <diego@biurrun.de>
7 years agoH.264: fix overreads of qscale_table
Jason Garrett-Glaser [Mon, 4 Jul 2011 13:05:34 +0000 (06:05 -0700)]
H.264: fix overreads of qscale_table

filter_mb_fast assumed that qscale_table was padded like many of the other tables.

7 years agoRemove unused static tables and static inline functions.
Diego Biurrun [Sun, 3 Jul 2011 14:58:55 +0000 (16:58 +0200)]
Remove unused static tables and static inline functions.

7 years agoeval: clear Parser instances before using
Mans Rullgard [Mon, 4 Jul 2011 11:26:59 +0000 (12:26 +0100)]
eval: clear Parser instances before using

This prevents random values from the stack being used as
"variables" in expressions.

Signed-off-by: Mans Rullgard <mans@mansr.com>
7 years agodct-test: remove 'ref' function pointer from tables
Mans Rullgard [Mon, 4 Jul 2011 10:54:22 +0000 (11:54 +0100)]
dct-test: remove 'ref' function pointer from tables

The reference function can be inferred from the direction of the
transform, no need for storing it with each entry.

Signed-off-by: Mans Rullgard <mans@mansr.com>
7 years agobuild: Remove deleted 'check' target from .PHONY list.
Diego Biurrun [Thu, 30 Jun 2011 11:46:58 +0000 (13:46 +0200)]
build: Remove deleted 'check' target from .PHONY list.

7 years agooggdec: Abort Ogg header parsing when encountering a data packet.
Reimar Döffinger [Mon, 4 Jul 2011 00:57:47 +0000 (02:57 +0200)]
oggdec: Abort Ogg header parsing when encountering a data packet.

Fixes Bugzilla #11.

Signed-off-by: Diego Biurrun <diego@biurrun.de>
7 years agoAdd LGPL license boilerplate to files lacking it.
Diego Biurrun [Sun, 3 Jul 2011 17:40:34 +0000 (19:40 +0200)]
Add LGPL license boilerplate to files lacking it.

7 years agomxfenc: small typo fix
Clément Bœsch [Mon, 4 Jul 2011 08:19:47 +0000 (10:19 +0200)]
mxfenc: small typo fix

Signed-off-by: Diego Biurrun <diego@biurrun.de>