ffmpeg.git
8 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.

8 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>
8 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>
8 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.

8 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.

8 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>
8 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.

8 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>
8 years agolibpostproc: Remove disabled code.
Diego Biurrun [Tue, 26 Apr 2011 12:27:38 +0000 (14:27 +0200)]
libpostproc: Remove disabled code.

8 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

8 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

8 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

8 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.

8 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

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

8 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

8 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

8 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

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

Fixes ticket #306.

8 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.

8 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>
8 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.

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

8 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>
8 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

8 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().

8 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

8 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>
8 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

8 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.

8 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

8 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.

8 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.

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

8 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>
8 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>
8 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>
8 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>
8 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.

8 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>
8 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.

8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 years agoUnbreak libavutil API.
Carl Eugen Hoyos [Mon, 4 Jul 2011 15:13:05 +0000 (17:13 +0200)]
Unbreak libavutil API.

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

8 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>
8 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.

8 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.

8 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>
8 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>
8 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.

8 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>
8 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.

8 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>
8 years agodoxygen: Fix documentation for some VP8 functions.
Diego Biurrun [Sun, 3 Jul 2011 14:09:37 +0000 (16:09 +0200)]
doxygen: Fix documentation for some VP8 functions.

8 years agosha: use AV_RB32() instead of assuming buffer can be cast to uint32_t*
Kostya Shishkov [Mon, 4 Jul 2011 09:57:46 +0000 (11:57 +0200)]
sha: use AV_RB32() instead of assuming buffer can be cast to uint32_t*

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agodes: allow unaligned input and output buffers
Mans Rullgard [Sun, 3 Jul 2011 18:14:01 +0000 (19:14 +0100)]
des: allow unaligned input and output buffers

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agoaes: allow unaligned input and output buffers
Mans Rullgard [Sun, 3 Jul 2011 18:13:20 +0000 (19:13 +0100)]
aes: allow unaligned input and output buffers

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agolibxvid: add missing include of libavutil/mathematics.h
Christian Schmidt [Mon, 4 Jul 2011 09:41:04 +0000 (10:41 +0100)]
libxvid: add missing include of libavutil/mathematics.h

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agofate: add idct8x8 test
Mans Rullgard [Sun, 3 Jul 2011 23:58:56 +0000 (00:58 +0100)]
fate: add idct8x8 test

This tests the IDCT implementations available in the build.

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agodct-test: exit with non-zero status if an IDCT fails
Mans Rullgard [Sun, 3 Jul 2011 23:53:39 +0000 (00:53 +0100)]
dct-test: exit with non-zero status if an IDCT fails

IDCTs are partially evaluated according to IEEE 1180-1990 (more or
less).  An override is added to the table for implementations known
to not meet the spec requirements.  These variants are run but not
checked for accuracy.

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agoeval: add fate test
Mans Rullgard [Sun, 3 Jul 2011 18:35:30 +0000 (19:35 +0100)]
eval: add fate test

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agoeval: make timing optional in test program
Mans Rullgard [Sun, 3 Jul 2011 18:34:10 +0000 (19:34 +0100)]
eval: make timing optional in test program

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agovf_pad: fix "vsub" variable value computation
Stefano Sabatini [Mon, 4 Jul 2011 09:15:14 +0000 (11:15 +0200)]
vf_pad: fix "vsub" variable value computation

It was shifting 2 rather than 1, +10l.

8 years agofilters.texi: fix @var{auto} misc typos in yadif docs
Stefano Sabatini [Mon, 4 Jul 2011 09:10:50 +0000 (11:10 +0200)]
filters.texi: fix @var{auto} misc typos in yadif docs

8 years agovf_pad: add support for a "sar" variable
Stefano Sabatini [Sat, 2 Jul 2011 15:31:18 +0000 (17:31 +0200)]
vf_pad: add support for a "sar" variable

Also add a "dar" alias for "a", for avoiding confusion with sar/dar.

8 years agovf_scale: add a "sar" variable
Stefano Sabatini [Sat, 2 Jul 2011 15:27:31 +0000 (17:27 +0200)]
vf_scale: add a "sar" variable

Also create a "dar" alias for the "a" variable, for avoiding possible
confusion between dar/sar.

8 years agoexamples: rename "-example" suffix from examples files
Stefano Sabatini [Sat, 2 Jul 2011 11:15:16 +0000 (13:15 +0200)]
examples: rename "-example" suffix from examples files

The suffix is redundant since the containing directory itself is
called "examples". Simplify.

8 years agofate: add 'null' comparison method
Mans Rullgard [Sun, 3 Jul 2011 23:56:38 +0000 (00:56 +0100)]
fate: add 'null' comparison method

Setting CMP=null uses stdout from the test as the diff record in
the report without further inspection.  This can be useful when
the exit status of the test itself determines success while the
output is informative.

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agodct-test: make speed test optional
Mans Rullgard [Sun, 3 Jul 2011 22:19:13 +0000 (23:19 +0100)]
dct-test: make speed test optional

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agodct-test: remove is_idct field from tables
Mans Rullgard [Sun, 3 Jul 2011 22:05:21 +0000 (23:05 +0100)]
dct-test: remove is_idct field from tables

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agodct-test: split table in two for idct and fdct
Mans Rullgard [Sun, 3 Jul 2011 22:03:11 +0000 (23:03 +0100)]
dct-test: split table in two for idct and fdct

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agodct-test: simplify calling dct_error()
Mans Rullgard [Sun, 3 Jul 2011 21:48:53 +0000 (22:48 +0100)]
dct-test: simplify calling dct_error()

Pass a pointer to the DCT descriptor instead of each field
individually.

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agodct-test: whitespace cosmetics
Mans Rullgard [Sun, 3 Jul 2011 21:59:03 +0000 (22:59 +0100)]
dct-test: whitespace cosmetics

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agodct-test: remove commented out code
Mans Rullgard [Sun, 3 Jul 2011 22:19:46 +0000 (23:19 +0100)]
dct-test: remove commented out code

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agovorbis: vpxenc: Add missing include for av_rescale*
Robert Swain [Mon, 4 Jul 2011 06:44:49 +0000 (08:44 +0200)]
vorbis: vpxenc: Add missing include for av_rescale*

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agoffmpeg: Fix VDPAU decoding for some H264 samples.
Carl Eugen Hoyos [Mon, 27 Jun 2011 07:25:58 +0000 (07:25 +0000)]
ffmpeg: Fix VDPAU decoding for some H264 samples.

8 years agoFix build with --disable-yasm.
Daniel Kang [Mon, 4 Jul 2011 02:28:47 +0000 (22:28 -0400)]
Fix build with --disable-yasm.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
8 years agoh264_qpel_mmx: add another forgotten have_yasm
Michael Niedermayer [Mon, 4 Jul 2011 01:05:24 +0000 (03:05 +0200)]
h264_qpel_mmx: add another forgotten have_yasm

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agodsputil_mmx: try to fix compilation without yasm.
Michael Niedermayer [Mon, 4 Jul 2011 00:02:24 +0000 (02:02 +0200)]
dsputil_mmx: try to fix compilation without yasm.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agovf_gradfun: relicense x86 asm to LGPL
Loren Merritt [Sun, 3 Jul 2011 22:47:10 +0000 (22:47 +0000)]
vf_gradfun: relicense x86 asm to LGPL

Actually I gave permission for LGPL long ago, but the original import
failed to update the license header.

8 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Sun, 3 Jul 2011 22:34:44 +0000 (00:34 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master: (40 commits)
  H.264: template left MB handling
  H.264: faster fill_decode_caches
  H.264: faster write_back_*
  H.264: faster fill_filter_caches
  H.264: make filter_mb_fast support the case of unavailable top mb
  Do not include log.h in avutil.h
  Do not include pixfmt.h in avutil.h
  Do not include rational.h in avutil.h
  Do not include mathematics.h in avutil.h
  Do not include intfloat_readwrite.h in avutil.h
  Remove return statements following infinite loops without break
  RTSP: Doxygen comment cleanup
  doxygen: Escape '\' in Doxygen documentation.
  md5: cosmetics
  md5: use AV_WL32 to write result
  md5: add fate test
  md5: include correct headers
  md5: fix test program
  doxygen: Drop array size declarations from Doxygen parameter names.
  doxygen: Fix parameter names to match the function prototypes.
  ...

Conflicts:
libavcodec/x86/dsputil_mmx.c
libavformat/flvenc.c
libavformat/oggenc.c
libavformat/wtv.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoH.264: template left MB handling
Jason Garrett-Glaser [Wed, 29 Jun 2011 22:38:39 +0000 (15:38 -0700)]
H.264: template left MB handling

Faster H.264 decoding with ALLOW_INTERLACE off.

8 years agoH.264: faster fill_decode_caches
Jason Garrett-Glaser [Wed, 29 Jun 2011 22:02:31 +0000 (15:02 -0700)]
H.264: faster fill_decode_caches

Aliasing avoidance and general cleanup.

8 years agoH.264: faster write_back_*
Jason Garrett-Glaser [Wed, 29 Jun 2011 20:27:36 +0000 (13:27 -0700)]
H.264: faster write_back_*

Avoid aliasing, unroll loops, and inline more functions.

8 years agoH.264: faster fill_filter_caches
Jason Garrett-Glaser [Tue, 28 Jun 2011 00:41:28 +0000 (17:41 -0700)]
H.264: faster fill_filter_caches

Reduce aliasing problems and unroll mv/ref loop.

8 years agoH.264: make filter_mb_fast support the case of unavailable top mb
Jason Garrett-Glaser [Mon, 27 Jun 2011 20:07:26 +0000 (13:07 -0700)]
H.264: make filter_mb_fast support the case of unavailable top mb

Significantly faster deblocking in streams with lots of slices.

8 years agoDo not include log.h in avutil.h
Mans Rullgard [Sat, 4 Jun 2011 12:34:27 +0000 (13:34 +0100)]
Do not include log.h in avutil.h

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agoDo not include pixfmt.h in avutil.h
Mans Rullgard [Sat, 4 Jun 2011 12:12:08 +0000 (13:12 +0100)]
Do not include pixfmt.h in avutil.h

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agoDo not include rational.h in avutil.h
Mans Rullgard [Sat, 4 Jun 2011 12:05:35 +0000 (13:05 +0100)]
Do not include rational.h in avutil.h

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agoDo not include mathematics.h in avutil.h
Mans Rullgard [Sat, 4 Jun 2011 11:58:23 +0000 (12:58 +0100)]
Do not include mathematics.h in avutil.h

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agoDo not include intfloat_readwrite.h in avutil.h
Mans Rullgard [Sat, 4 Jun 2011 11:42:16 +0000 (12:42 +0100)]
Do not include intfloat_readwrite.h in avutil.h

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agoRemove return statements following infinite loops without break
Mans Rullgard [Sun, 3 Jul 2011 20:02:18 +0000 (21:02 +0100)]
Remove return statements following infinite loops without break

These statements cannot be reached and are thus not needed.
This removes a number of compiler warnings.

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agoRTSP: Doxygen comment cleanup
Diego Biurrun [Sun, 3 Jul 2011 14:35:10 +0000 (16:35 +0200)]
RTSP: Doxygen comment cleanup

Do not use Doxygen for comments that apply to specific implementation
details; merge some duplicated Doxygen comment blocks.

8 years agodoxygen: Escape '\' in Doxygen documentation.
Diego Biurrun [Sun, 3 Jul 2011 14:33:25 +0000 (16:33 +0200)]
doxygen: Escape '\' in Doxygen documentation.