]> git.sesse.net Git - ffmpeg/log
ffmpeg
11 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Mon, 20 May 2013 10:07:12 +0000 (12:07 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  mpegvideo: unref old current_picture before allocating a new one

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'db347280eb3746d7b70888db97f1efe5f06f5624'
Michael Niedermayer [Mon, 20 May 2013 10:02:18 +0000 (12:02 +0200)]
Merge commit 'db347280eb3746d7b70888db97f1efe5f06f5624'

* commit 'db347280eb3746d7b70888db97f1efe5f06f5624':
  vorbis: fallback to normal division instead of crashing

Conflicts:
libavcodec/vorbisdec.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'ddf1b4a2f8a680126eb611428e4f47e6e5b8c6c0'
Michael Niedermayer [Mon, 20 May 2013 09:36:55 +0000 (11:36 +0200)]
Merge commit 'ddf1b4a2f8a680126eb611428e4f47e6e5b8c6c0'

* commit 'ddf1b4a2f8a680126eb611428e4f47e6e5b8c6c0':
  vorbis: simplify the inner loop in setup_classifs

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '36f10380043c8b8c5cbf8c1add8695089cdaa341'
Michael Niedermayer [Mon, 20 May 2013 09:28:15 +0000 (11:28 +0200)]
Merge commit '36f10380043c8b8c5cbf8c1add8695089cdaa341'

* commit '36f10380043c8b8c5cbf8c1add8695089cdaa341':
  vorbis: use normal integer values for iterators

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agodoc/filters: add RGB geq example
Stefano Sabatini [Sun, 19 May 2013 20:54:49 +0000 (22:54 +0200)]
doc/filters: add RGB geq example

11 years agodoc/filters: extend/fix documentation for the geq filter
Stefano Sabatini [Sun, 19 May 2013 20:54:27 +0000 (22:54 +0200)]
doc/filters: extend/fix documentation for the geq filter

11 years agoMerge commit '98186578a2a21af5bfe6dd71d222dc270f763c7d'
Michael Niedermayer [Mon, 20 May 2013 08:58:43 +0000 (10:58 +0200)]
Merge commit '98186578a2a21af5bfe6dd71d222dc270f763c7d'

* commit '98186578a2a21af5bfe6dd71d222dc270f763c7d':
  vorbis: refactor vorbis_residue_decode_internal

Conflicts:
libavcodec/vorbisdec.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'c360fb174b01170ab3fd3048d4d0acb44aa4e834'
Michael Niedermayer [Mon, 20 May 2013 08:52:12 +0000 (10:52 +0200)]
Merge commit 'c360fb174b01170ab3fd3048d4d0acb44aa4e834'

* commit 'c360fb174b01170ab3fd3048d4d0acb44aa4e834':
  win32: Do not use GetProcAddress when compiled for Vista+

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '0b6899f154347cdd0aa66c5ec16ed9c65871766f'
Michael Niedermayer [Mon, 20 May 2013 08:45:27 +0000 (10:45 +0200)]
Merge commit '0b6899f154347cdd0aa66c5ec16ed9c65871766f'

* commit '0b6899f154347cdd0aa66c5ec16ed9c65871766f':
  configure: msvc: Set the target windows version to XP if no target is set

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agomd5: optimize second round by using 4-operation form of G()
Giorgio Vazzana [Sat, 18 May 2013 11:53:52 +0000 (13:53 +0200)]
md5: optimize second round by using 4-operation form of G()

4-operation form is preferred over 3-operation because it breaks a long
dependency chain, thus allowing a superscalar processor to execute more
operations in parallel.
The idea was taken from: http://www.zorinaq.com/papers/md5-amd64.html

AMD Athlon(tm) II X3 450 Processor, x86_64

$ for i in $(seq 1 4); do ./avutil_md5_test2; done
size: 1048576  runs: 1024  time:    5.821 +- 0.019
size: 1048576  runs: 1024  time:    5.822 +- 0.019
size: 1048576  runs: 1024  time:    5.841 +- 0.018
size: 1048576  runs: 1024  time:    5.821 +- 0.018

$ for i in $(seq 1 4); do ./avutil_md5_test2; done
size: 1048576  runs: 1024  time:    5.646 +- 0.019
size: 1048576  runs: 1024  time:    5.646 +- 0.018
size: 1048576  runs: 1024  time:    5.642 +- 0.019
size: 1048576  runs: 1024  time:    5.641 +- 0.019

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agolavfi/geq: mark timeline support
Stefano Sabatini [Sun, 19 May 2013 22:20:08 +0000 (00:20 +0200)]
lavfi/geq: mark timeline support

11 years agolavd: add v4l2 outdev.
Clément Bœsch [Sun, 19 May 2013 21:36:10 +0000 (23:36 +0200)]
lavd: add v4l2 outdev.

11 years agolavd/v4l2: move pixel format conversion code to a separate place.
Clément Bœsch [Sun, 19 May 2013 21:35:07 +0000 (23:35 +0200)]
lavd/v4l2: move pixel format conversion code to a separate place.

This will be shared with the output device.

11 years agoavformat/matroskadec: fix integer overflow
Michael Niedermayer [Sun, 19 May 2013 21:38:01 +0000 (23:38 +0200)]
avformat/matroskadec: fix integer overflow

Fixes fate-mkv with ekopath 4

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agompegvideo: unref old current_picture before allocating a new one
Janne Grunau [Sun, 19 May 2013 12:49:55 +0000 (14:49 +0200)]
mpegvideo: unref old current_picture before allocating a new one

Allows decoding with only three frame buffers with frame reference
counting. Fixes VAAPI based decoding in vlc which uses only three
frame buffers for the mpegvideo-based codecs.

11 years agovorbis: fallback to normal division instead of crashing
Luca Barbato [Sun, 19 May 2013 17:06:54 +0000 (19:06 +0200)]
vorbis: fallback to normal division instead of crashing

The use of ff_inverse speeds up slightly arches + compilers that
do not provide a division faster than the whole machinery, such
as ppc32 + gcc4.7, but has operational limits.

Drop the always-enable assert and provide a fallback.

11 years agovorbis: simplify the inner loop in setup_classifs
Luca Barbato [Sun, 19 May 2013 16:59:13 +0000 (18:59 +0200)]
vorbis: simplify the inner loop in setup_classifs

11 years agovorbis: use normal integer values for iterators
Luca Barbato [Sun, 19 May 2013 16:57:52 +0000 (18:57 +0200)]
vorbis: use normal integer values for iterators

No need to use fixed-size integers.

11 years agovorbis: refactor vorbis_residue_decode_internal
Luca Barbato [Sat, 18 May 2013 13:33:39 +0000 (15:33 +0200)]
vorbis: refactor vorbis_residue_decode_internal

11 years agoconfigure: add more allocation functions to valgrind-massif
Michael Niedermayer [Sun, 19 May 2013 18:16:20 +0000 (20:16 +0200)]
configure: add more allocation functions to valgrind-massif

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agocmdutils: show timeline support in -filters listing
Stefano Sabatini [Sun, 19 May 2013 15:30:23 +0000 (17:30 +0200)]
cmdutils: show timeline support in -filters listing

11 years agolavfi/drawgrid: fix drawgrid options after 4c205f42c86
Stefano Sabatini [Sun, 19 May 2013 17:20:00 +0000 (19:20 +0200)]
lavfi/drawgrid: fix drawgrid options after 4c205f42c86

11 years agodoc/Makefile: install .3 man pages to man3 subdir
Stefano Sabatini [Sat, 18 May 2013 13:10:21 +0000 (15:10 +0200)]
doc/Makefile: install .3 man pages to man3 subdir

Fix trac ticket #2585.

11 years agobuild: drop unused ALLMANPAGES variable
Stefano Sabatini [Sun, 19 May 2013 15:01:59 +0000 (17:01 +0200)]
build: drop unused ALLMANPAGES variable

11 years agomjpeg_decode_com: remove redundant len checks
Michael Niedermayer [Sun, 19 May 2013 16:03:53 +0000 (18:03 +0200)]
mjpeg_decode_com: remove redundant len checks

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agomjpegdec: Fix field orderforinterlacedAVDJand AVRN in ntsc mode
Piotr Bandurski [Sun, 19 May 2013 09:24:41 +0000 (11:24 +0200)]
mjpegdec: Fix field orderforinterlacedAVDJand AVRN in ntsc mode

Fixes ticket1656

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agotools: add zmqshell.py.
Clément Bœsch [Sun, 19 May 2013 15:55:19 +0000 (17:55 +0200)]
tools: add zmqshell.py.

11 years agowin32: Do not use GetProcAddress when compiled for Vista+
Jean-Baptiste Kempf [Tue, 14 May 2013 09:34:53 +0000 (11:34 +0200)]
win32: Do not use GetProcAddress when compiled for Vista+

Instead link directly to the condition variable functions.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agoconfigure: msvc: Set the target windows version to XP if no target is set
Martin Storsjö [Wed, 15 May 2013 20:51:49 +0000 (23:51 +0300)]
configure: msvc: Set the target windows version to XP if no target is set

MSVC 2010 (or more precisely, Windows SDK 7.0 which comes with MSVC
2010) sets _WIN32_WINNT to the constant for Windows 7 if nothing is
set. This could lead to the libav configure script detecting and
using functions only present in Windows 7 or newer, which in most
cases isn't desired. If the caller explicitly wants this, the caller
can add the _WIN32_WINNT define via --extra-cflags, setting the desired
version.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agolavfi/histogram: cache log2 of max_hval
Paul B Mahol [Sun, 19 May 2013 14:30:42 +0000 (14:30 +0000)]
lavfi/histogram: cache log2 of max_hval

Instead of calculating same value over and over again.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agoswscale/output: silence warning about undefined 'ASSERT_LEVEL'
Paul B Mahol [Sun, 19 May 2013 14:06:16 +0000 (14:06 +0000)]
swscale/output: silence warning about undefined 'ASSERT_LEVEL'

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agoswscale/output: remove unused header
Paul B Mahol [Sun, 19 May 2013 14:04:14 +0000 (14:04 +0000)]
swscale/output: remove unused header

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agoffv1dec: defuse membomb
Michael Niedermayer [Sun, 19 May 2013 11:56:13 +0000 (13:56 +0200)]
ffv1dec: defuse membomb

Fixes Ticket2589

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoconfigure: use the user specified valgrind excutable for massif
Michael Niedermayer [Sun, 19 May 2013 09:24:15 +0000 (11:24 +0200)]
configure: use the user specified valgrind excutable for massif

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoconfigure: fix valgrind-massif to actually work
Michael Niedermayer [Sun, 19 May 2013 09:23:28 +0000 (11:23 +0200)]
configure: fix valgrind-massif to actually work

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoffserver: replace atoll() by strtoll()
Michael Niedermayer [Sun, 19 May 2013 09:13:07 +0000 (11:13 +0200)]
ffserver: replace atoll() by strtoll()

this should make it easier to support ffserver with msvc

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Sun, 19 May 2013 09:06:39 +0000 (11:06 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  Escape 130 FATE test

Conflicts:
tests/fate/video.mak

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '8e673efc6f5b7a095557664660305148f2788d30'
Michael Niedermayer [Sun, 19 May 2013 08:53:39 +0000 (10:53 +0200)]
Merge commit '8e673efc6f5b7a095557664660305148f2788d30'

* commit '8e673efc6f5b7a095557664660305148f2788d30':
  prores: update FATE test to account for alpha plane present in the test sample
  configure: Add basic valgrind-massif support

Conflicts:
tests/fate/prores.mak
tests/ref/fate/prores-alpha

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'ed50673066956d6f2201a57c3254569f2ab08d9d'
Michael Niedermayer [Sun, 19 May 2013 08:27:11 +0000 (10:27 +0200)]
Merge commit 'ed50673066956d6f2201a57c3254569f2ab08d9d'

* commit 'ed50673066956d6f2201a57c3254569f2ab08d9d':
  wavpack: validate samples size parsed in wavpack_decode_block

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '8c34558131d846d2b10389564caadaa206372fd4'
Michael Niedermayer [Sun, 19 May 2013 08:22:05 +0000 (10:22 +0200)]
Merge commit '8c34558131d846d2b10389564caadaa206372fd4'

* commit '8c34558131d846d2b10389564caadaa206372fd4':
  wavpack: return meaningful errors

Conflicts:
libavcodec/wavpack.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '0f689a3d97a1d3053ca0e9516b296909a72ff31e'
Michael Niedermayer [Sun, 19 May 2013 08:10:00 +0000 (10:10 +0200)]
Merge commit '0f689a3d97a1d3053ca0e9516b296909a72ff31e'

* commit '0f689a3d97a1d3053ca0e9516b296909a72ff31e':
  wavpack: K&R formatting cosmetics

Conflicts:
libavcodec/wavpack.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoftp: favor strtoll over atoll
Hendrik Leppkes [Sun, 19 May 2013 07:37:27 +0000 (09:37 +0200)]
ftp: favor strtoll over atoll

Both strtoll and atoll have different names on MSVC, and strtoll has a
compatibility layer in place for this case.

Fixes compilation on MSVC.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoEscape 130 FATE test
Kostya Shishkov [Tue, 14 May 2013 16:53:23 +0000 (18:53 +0200)]
Escape 130 FATE test

11 years agoprores: update FATE test to account for alpha plane present in the test sample
Kostya Shishkov [Sat, 18 May 2013 05:09:47 +0000 (07:09 +0200)]
prores: update FATE test to account for alpha plane present in the test sample

11 years agoproresdec2: Only try to decode alpha plane if four output planes were allocated.
Carl Eugen Hoyos [Sat, 18 May 2013 23:48:39 +0000 (01:48 +0200)]
proresdec2: Only try to decode alpha plane if four output planes were allocated.

Fixes a crash with MPlayer.

11 years agoFTP protocol support
Lukasz Marek [Wed, 15 May 2013 14:08:11 +0000 (16:08 +0200)]
FTP protocol support

Implementation of ftp protocol.

Fixes #1672

Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoconfigure: Add basic valgrind-massif support
Luca Barbato [Tue, 14 May 2013 20:15:18 +0000 (22:15 +0200)]
configure: Add basic valgrind-massif support

With the parameter --toolchain valgrind-massif, the configure
script sets reasonable defaults that can be overridden as explained
in the documentation.

11 years agowavpack: validate samples size parsed in wavpack_decode_block
Luca Barbato [Fri, 17 May 2013 16:29:15 +0000 (18:29 +0200)]
wavpack: validate samples size parsed in wavpack_decode_block

Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
11 years agowavpack: return meaningful errors
Luca Barbato [Fri, 17 May 2013 16:28:33 +0000 (18:28 +0200)]
wavpack: return meaningful errors

And forward those that were already meaningful.

11 years agoavfilter/vf_deshake: check rx
Michael Niedermayer [Sat, 18 May 2013 16:28:59 +0000 (18:28 +0200)]
avfilter/vf_deshake: check rx

Fixes crash on SSE2
Fixes Ticket2443

Note, its possible to restructure the code to avoid the 16pixel limitation,
and such change is welcome!

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agofmtconvert: int32_t input to int32_to_float_fmul_scalar
Christophe Gisquet [Thu, 27 Dec 2012 21:33:51 +0000 (22:33 +0100)]
fmtconvert: int32_t input to int32_to_float_fmul_scalar

It was previously declared as int.
Does not change fate results for x86.

Conflicts:

libavcodec/ppc/fmtconvert_altivec.c

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agowavpack: K&R formatting cosmetics
Luca Barbato [Sat, 18 May 2013 14:02:47 +0000 (16:02 +0200)]
wavpack: K&R formatting cosmetics

Signed-off-by: Diego Biurrun <diego@biurrun.de>
11 years agoproresdec2: Support decoding transparency information.
Kostya Shishkov [Sat, 18 May 2013 14:42:29 +0000 (16:42 +0200)]
proresdec2: Support decoding transparency information.

Signed-off-by: Carl Eugen Hoyos <cehoyos@ag.or.at>
11 years agomovenc: add video_track_timescale option
Jean First [Thu, 16 May 2013 21:35:05 +0000 (23:35 +0200)]
movenc: add video_track_timescale option

Signed-off-by: Jean First <jeanfirst@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agomov: set block_align for MACE 3:1 and MACE 6:1
Piotr Bandurski [Sat, 18 May 2013 13:23:20 +0000 (15:23 +0200)]
mov: set block_align for MACE 3:1 and MACE 6:1

fixes remuxing of audio track from mov to aifc

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoavcodec_align_dimensions2: add missing yuva formats
Michael Niedermayer [Sat, 18 May 2013 14:19:06 +0000 (16:19 +0200)]
avcodec_align_dimensions2: add missing yuva formats

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agosws/output: yuv2rgb_write() assert that alpha has the correct value in the tables
Michael Niedermayer [Sat, 18 May 2013 13:08:55 +0000 (15:08 +0200)]
sws/output: yuv2rgb_write() assert that alpha has the correct value in the tables

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agodoc/filters: apply minor fixes to owdenoise documentation
Stefano Sabatini [Thu, 16 May 2013 23:00:37 +0000 (01:00 +0200)]
doc/filters: apply minor fixes to owdenoise documentation

11 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Sat, 18 May 2013 12:27:07 +0000 (14:27 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  Escape 130 (RPL) decoder

Conflicts:
libavcodec/Makefile
libavcodec/allcodecs.c
libavcodec/codec_desc.c
libavcodec/escape130.c
libavcodec/version.h

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'cebdedca57d95834a8f8098c7b6a322a1163e26b'
Michael Niedermayer [Sat, 18 May 2013 11:41:25 +0000 (13:41 +0200)]
Merge commit 'cebdedca57d95834a8f8098c7b6a322a1163e26b'

* commit 'cebdedca57d95834a8f8098c7b6a322a1163e26b':
  prores: decode alpha plane when it's present
  avfilter: check a malloc in avfilter_link().

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'bf5b5d2b1561535cc013c12ab8033228bb0d0081'
Michael Niedermayer [Sat, 18 May 2013 11:31:45 +0000 (13:31 +0200)]
Merge commit 'bf5b5d2b1561535cc013c12ab8033228bb0d0081'

* commit 'bf5b5d2b1561535cc013c12ab8033228bb0d0081':
  avfilter.c: cosmetics, reformat

Conflicts:
libavfilter/avfilter.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'd79bd6040599ef017dc45d5997fcc959ab1f71f6'
Michael Niedermayer [Sat, 18 May 2013 11:10:57 +0000 (13:10 +0200)]
Merge commit 'd79bd6040599ef017dc45d5997fcc959ab1f71f6'

* commit 'd79bd6040599ef017dc45d5997fcc959ab1f71f6':
  lavfi: factorize freeing a link

Conflicts:
libavfilter/avfilter.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '1dd35611433c224e2231ed7ae26b5b560863a3cb'
Michael Niedermayer [Sat, 18 May 2013 10:46:54 +0000 (12:46 +0200)]
Merge commit '1dd35611433c224e2231ed7ae26b5b560863a3cb'

* commit '1dd35611433c224e2231ed7ae26b5b560863a3cb':
  vf_format: do not use the AVFilterFormats internals.

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agodoc/fate: update server host key fingerprints
Michael Niedermayer [Sat, 18 May 2013 10:40:10 +0000 (12:40 +0200)]
doc/fate: update server host key fingerprints

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'c5ab6088ad7b0dac461fb6757b038f5260e638e5'
Michael Niedermayer [Sat, 18 May 2013 10:22:13 +0000 (12:22 +0200)]
Merge commit 'c5ab6088ad7b0dac461fb6757b038f5260e638e5'

* commit 'c5ab6088ad7b0dac461fb6757b038f5260e638e5':
  af_aformat: cosmetics, fix indentation

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'b01f6041f4260fba053c2f96ce1611ea77e833a0'
Michael Niedermayer [Sat, 18 May 2013 09:40:38 +0000 (11:40 +0200)]
Merge commit 'b01f6041f4260fba053c2f96ce1611ea77e833a0'

* commit 'b01f6041f4260fba053c2f96ce1611ea77e833a0':
  lavfi: rename AVFilterFormats.format_count to nb_formats

Conflicts:
libavfilter/avfiltergraph.c
libavfilter/filtfmts.c
libavfilter/formats.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'e27f4b7cbf8a3fde313cfe4b3a1880bf5031e9ae'
Michael Niedermayer [Sat, 18 May 2013 09:35:03 +0000 (11:35 +0200)]
Merge commit 'e27f4b7cbf8a3fde313cfe4b3a1880bf5031e9ae'

* commit 'e27f4b7cbf8a3fde313cfe4b3a1880bf5031e9ae':
  doxy: don't sort struct members alphabetically

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '006ec64877fb638de4b15ae5fd969e22bd0f60ca'
Michael Niedermayer [Sat, 18 May 2013 09:25:44 +0000 (11:25 +0200)]
Merge commit '006ec64877fb638de4b15ae5fd969e22bd0f60ca'

* commit '006ec64877fb638de4b15ae5fd969e22bd0f60ca':
  lavr doxy: add version.h to the lavr group
  lavc doxy: add avcodec.h to the libavcodec group.

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '40020e171a3549a2c0b65ce6f2649aec868872f2'
Michael Niedermayer [Sat, 18 May 2013 09:17:52 +0000 (11:17 +0200)]
Merge commit '40020e171a3549a2c0b65ce6f2649aec868872f2'

* commit '40020e171a3549a2c0b65ce6f2649aec868872f2':
  doxy: add a section about versioning.

Conflicts:
libavutil/avutil.h

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'bc8c1cdc7bfe7b1fe56df812aabdac3de2555cec'
Michael Niedermayer [Sat, 18 May 2013 09:04:11 +0000 (11:04 +0200)]
Merge commit 'bc8c1cdc7bfe7b1fe56df812aabdac3de2555cec'

* commit 'bc8c1cdc7bfe7b1fe56df812aabdac3de2555cec':
  lavfi doxy: add a page for lavfi.
  jpegls: check the scan offset

Conflicts:
libavcodec/jpeglsdec.c
libavfilter/avfilter.h
libavutil/avutil.h

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '4a4107b48944397c914aa39ee16a82fe44db8c4c'
Michael Niedermayer [Sat, 18 May 2013 08:22:20 +0000 (10:22 +0200)]
Merge commit '4a4107b48944397c914aa39ee16a82fe44db8c4c'

* commit '4a4107b48944397c914aa39ee16a82fe44db8c4c':
  jpegls: factorize return paths

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'a5a0ef5e13a59ff53318a45d77c5624b23229c6f'
Michael Niedermayer [Sat, 18 May 2013 08:04:53 +0000 (10:04 +0200)]
Merge commit 'a5a0ef5e13a59ff53318a45d77c5624b23229c6f'

* commit 'a5a0ef5e13a59ff53318a45d77c5624b23229c6f':
  jpegls: return meaningful errors
  sparc: VIS mnemonics

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoEscape 130 (RPL) decoder
Eli Friedman [Fri, 16 Dec 2011 20:30:27 +0000 (21:30 +0100)]
Escape 130 (RPL) decoder

Some fixes provided by Paul B Mahol <onemda@gmail.com>
and Michael Niedermayer <michaelni@gmx.at> and me.

Signed-off-by: Diego Biurrun <diego@biurrun.de>
Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
11 years agoprores: decode alpha plane when it's present
Kostya Shishkov [Fri, 17 May 2013 17:40:35 +0000 (19:40 +0200)]
prores: decode alpha plane when it's present

11 years agosws/output: init A1/A2 so that rgba64 ends with 0xffff in the absence of alpha input
Michael Niedermayer [Wed, 15 May 2013 16:59:59 +0000 (18:59 +0200)]
sws/output: init A1/A2 so that rgba64 ends with 0xffff in the absence of alpha input

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoavidec: dont randomly skip packets for offseting the index
Michael Niedermayer [Fri, 17 May 2013 20:03:14 +0000 (22:03 +0200)]
avidec: dont randomly skip packets for offseting the index

Fixes Ticket2490

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agomd5: avoid unnecessary copying.
Reimar Döffinger [Fri, 17 May 2013 18:28:03 +0000 (20:28 +0200)]
md5: avoid unnecessary copying.

Where necessary use memcpy instead.
Thanks to Giorgio Vazzana [mywing81 gmail] for
spotting this loop as the cause for the bad
performance.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
11 years agoavfilter: check a malloc in avfilter_link().
Anton Khirnov [Mon, 1 Apr 2013 13:44:21 +0000 (15:44 +0200)]
avfilter: check a malloc in avfilter_link().

Additionally change sizeof(type) into sizeof(var)

11 years agoavfilter.c: cosmetics, reformat
Anton Khirnov [Mon, 1 Apr 2013 13:20:22 +0000 (15:20 +0200)]
avfilter.c: cosmetics, reformat

11 years agolavfi: factorize freeing a link
Anton Khirnov [Sun, 31 Mar 2013 15:18:43 +0000 (17:18 +0200)]
lavfi: factorize freeing a link

11 years agovf_format: do not use the AVFilterFormats internals.
Anton Khirnov [Sun, 31 Mar 2013 14:58:49 +0000 (16:58 +0200)]
vf_format: do not use the AVFilterFormats internals.

Use the formats.h API instead.

11 years agoaf_aformat: cosmetics, fix indentation
Anton Khirnov [Sun, 31 Mar 2013 14:52:26 +0000 (16:52 +0200)]
af_aformat: cosmetics, fix indentation

11 years agolavfi: rename AVFilterFormats.format_count to nb_formats
Anton Khirnov [Sun, 31 Mar 2013 14:38:07 +0000 (16:38 +0200)]
lavfi: rename AVFilterFormats.format_count to nb_formats

This is more consistent with naming in the rest of Libav.

11 years agodoxy: don't sort struct members alphabetically
Anton Khirnov [Sun, 12 May 2013 12:55:54 +0000 (14:55 +0200)]
doxy: don't sort struct members alphabetically

The declaration order is more meanigful in most cases.

11 years agolavr doxy: add version.h to the lavr group
Anton Khirnov [Sun, 12 May 2013 12:54:43 +0000 (14:54 +0200)]
lavr doxy: add version.h to the lavr group

11 years agolavc doxy: add avcodec.h to the libavcodec group.
Anton Khirnov [Mon, 27 Feb 2012 10:34:03 +0000 (11:34 +0100)]
lavc doxy: add avcodec.h to the libavcodec group.

11 years agodoxy: add a section about versioning.
Anton Khirnov [Wed, 11 Apr 2012 13:45:22 +0000 (15:45 +0200)]
doxy: add a section about versioning.

11 years agolavfi doxy: add a page for lavfi.
Anton Khirnov [Wed, 11 Apr 2012 06:31:10 +0000 (08:31 +0200)]
lavfi doxy: add a page for lavfi.

11 years agoid3v2enc: chapter support
Paul B Mahol [Mon, 6 May 2013 00:14:05 +0000 (00:14 +0000)]
id3v2enc: chapter support

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agojpegls: factorize return paths
Luca Barbato [Fri, 17 May 2013 10:38:44 +0000 (12:38 +0200)]
jpegls: factorize return paths

11 years agojpegls: return meaningful errors
Luca Barbato [Fri, 17 May 2013 10:36:06 +0000 (12:36 +0200)]
jpegls: return meaningful errors

11 years agojpegls: check the scan offset
Luca Barbato [Fri, 17 May 2013 11:08:55 +0000 (13:08 +0200)]
jpegls: check the scan offset

Prevent an out of array bound write.

Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
11 years agolibmodplug: fix sz type
Paul B Mahol [Fri, 17 May 2013 14:19:18 +0000 (14:19 +0000)]
libmodplug: fix sz type

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agosparc: VIS mnemonics
Michael Kostylev [Thu, 16 May 2013 13:29:46 +0000 (09:29 -0400)]
sparc: VIS mnemonics

Currently, if VIS is enabled by configure, it will also be enabled at
run-time regardless of its support in the hardware. Thus, masking VIS
usage as it is done in vis.h by constructing binary instructions is
pointless. Using normal VIS mnemonics in inline assembly allows to take
advantage of automatic register allocation, gets rid of register
variables, which are unsupported by suncc for SPARC, and improves code
readability.

Signed-off-by: Diego Biurrun <diego@biurrun.de>
11 years agovc1dec: restructure interpmvp code
Michael Niedermayer [Fri, 17 May 2013 13:05:55 +0000 (15:05 +0200)]
vc1dec: restructure interpmvp code

This fixes a valgrind warning about use of uninitialized stuff
(no actual such use occurs though)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoAdding support for encoding VP8 Alpha
Vignesh Venkatasubramanian [Wed, 8 May 2013 23:59:33 +0000 (16:59 -0700)]
Adding support for encoding VP8 Alpha

This patch adds support for encoding VP8 files with alpha. The alpha channel
is encoded separately and the output is placed in AVPacket's side_data. The
muxer then muxes it into the BlockAdditional element of the matroska container.
More details on spec here: http://goo.gl/wCP1y

Signed-off-by: Vignesh Venkatasubramanian <vigneshv@google.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agovformat/matroskaenc: factorize alpha code in mkv_write_block()
Michael Niedermayer [Fri, 17 May 2013 11:58:07 +0000 (13:58 +0200)]
vformat/matroskaenc: factorize alpha code in mkv_write_block()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoAdding support for muxing VP8 Alpha files
Vignesh Venkatasubramanian [Wed, 8 May 2013 23:59:32 +0000 (16:59 -0700)]
Adding support for muxing VP8 Alpha files

This patch adds support for muxing VP8 Alpha Files. The Alpha channel data is
placed in BlockAdditional element of the matroska container. More information
& exact spec on how this is implemented can be found here: http://goo.gl/wCP1y

Signed-off-by: Vignesh Venkatasubramanian <vigneshv@google.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agolavfi/pad: switch to AV_OPT_TYPE_COLOR
Paul B Mahol [Mon, 13 May 2013 15:08:40 +0000 (15:08 +0000)]
lavfi/pad: switch to AV_OPT_TYPE_COLOR

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agolavfi/drawtext: switch to AV_OPT_TYPE_COLOR
Paul B Mahol [Mon, 13 May 2013 15:02:59 +0000 (15:02 +0000)]
lavfi/drawtext: switch to AV_OPT_TYPE_COLOR

Signed-off-by: Paul B Mahol <onemda@gmail.com>