ffmpeg.git
6 years agoMerge commit '6860b4081d046558c44b1b42f22022ea341a2a73'
Michael Niedermayer [Wed, 31 Oct 2012 12:30:03 +0000 (13:30 +0100)]
Merge commit '6860b4081d046558c44b1b42f22022ea341a2a73'

* commit '6860b4081d046558c44b1b42f22022ea341a2a73':
  x86: include x86inc.asm in x86util.asm
  cng: Reindent some incorrectly indented lines
  cngdec: Allow flushing the decoder
  cngdec: Make the dbov variable have the right unit
  cngdec: Fix the memset size to cover the full array
  cngdec: Update the LPC coefficients after averaging the reflection coefficients
  configure: fix print_config() with broke awks

Conflicts:
libavcodec/x86/ac3dsp.asm
libavcodec/x86/dct32.asm
libavcodec/x86/deinterlace.asm
libavcodec/x86/dsputil.asm
libavcodec/x86/dsputilenc.asm
libavcodec/x86/fft.asm
libavcodec/x86/fmtconvert.asm
libavcodec/x86/h264_chromamc.asm
libavcodec/x86/h264_deblock.asm
libavcodec/x86/h264_deblock_10bit.asm
libavcodec/x86/h264_idct.asm
libavcodec/x86/h264_idct_10bit.asm
libavcodec/x86/h264_intrapred.asm
libavcodec/x86/h264_intrapred_10bit.asm
libavcodec/x86/h264_weight.asm
libavcodec/x86/vc1dsp.asm
libavcodec/x86/vp3dsp.asm
libavcodec/x86/vp56dsp.asm
libavcodec/x86/vp8dsp.asm

Merged-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoprobetest: fix possible use of uninitialized data
Michael Niedermayer [Wed, 31 Oct 2012 12:16:52 +0000 (13:16 +0100)]
probetest: fix possible use of uninitialized data

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agolavfi/drawbox: remove some unnecessary parentheses
Stefano Sabatini [Wed, 31 Oct 2012 11:20:50 +0000 (12:20 +0100)]
lavfi/drawbox: remove some unnecessary parentheses

6 years agolavfi/drawbox: reindent after previous commit
Stefano Sabatini [Tue, 30 Oct 2012 19:17:24 +0000 (20:17 +0100)]
lavfi/drawbox: reindent after previous commit

6 years agolavfi/drawbox: implement color=invert mode
Stefano Sabatini [Tue, 30 Oct 2012 19:14:07 +0000 (20:14 +0100)]
lavfi/drawbox: implement color=invert mode

Based on a libmpcodecs/vf_rectangle.c feature.

6 years agolavfi/mp: drop wrapped field filter
Stefano Sabatini [Wed, 31 Oct 2012 11:10:07 +0000 (12:10 +0100)]
lavfi/mp: drop wrapped field filter

The filter has been ported to a native libavfilter filter.

6 years agolavfi: add field filter
Stefano Sabatini [Tue, 30 Oct 2012 11:15:28 +0000 (12:15 +0100)]
lavfi: add field filter

The filter is a port of libmpcodecs/vf_field.c, since there is no common
code I relicensed it as LGPL, while keeping the original author
copyright.

6 years agoav_get_audio_frame_duration: add IAC
Paul B Mahol [Wed, 31 Oct 2012 03:44:37 +0000 (03:44 +0000)]
av_get_audio_frame_duration: add IAC

Signed-off-by: Paul B Mahol <onemda@gmail.com>
6 years agopix_fmt_info: add 9/10 bit YUVA formats
Michael Niedermayer [Wed, 31 Oct 2012 01:14:16 +0000 (02:14 +0100)]
pix_fmt_info: add 9/10 bit YUVA formats

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agotree-test: fix printf() types
Michael Niedermayer [Tue, 30 Oct 2012 21:34:36 +0000 (22:34 +0100)]
tree-test: fix printf() types

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agosws: fix handling of big endian alpha
Michael Niedermayer [Wed, 31 Oct 2012 02:03:32 +0000 (03:03 +0100)]
sws: fix handling of big endian alpha

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agox86: include x86inc.asm in x86util.asm
Diego Biurrun [Sat, 7 Jul 2012 23:20:48 +0000 (01:20 +0200)]
x86: include x86inc.asm in x86util.asm

This is necessary to allow refactoring some x86util macros with cpuflags.

6 years agodoc/filters: fix typo in drawbox section
Stefano Sabatini [Tue, 30 Oct 2012 22:48:24 +0000 (23:48 +0100)]
doc/filters: fix typo in drawbox section

6 years agodoc/filters: itemize examples for drawbox, add an example, fix grammar
Stefano Sabatini [Tue, 30 Oct 2012 18:45:46 +0000 (19:45 +0100)]
doc/filters: itemize examples for drawbox, add an example, fix grammar

6 years agolavfi/drawbox: extend syntax, accept named options
Stefano Sabatini [Tue, 30 Oct 2012 18:42:40 +0000 (19:42 +0100)]
lavfi/drawbox: extend syntax, accept named options

6 years agolavfi/tinterlace: remove poll_frame() callback
Stefano Sabatini [Tue, 4 Sep 2012 18:12:15 +0000 (20:12 +0200)]
lavfi/tinterlace: remove poll_frame() callback

That interface is deprecated, and apparently useless.

6 years agoav_get_audio_frame_duration: add G723_1
Paul B Mahol [Tue, 30 Oct 2012 21:20:38 +0000 (21:20 +0000)]
av_get_audio_frame_duration: add G723_1

Signed-off-by: Paul B Mahol <onemda@gmail.com>
6 years agolavfi: remove yuvcsp and yvu9 libmpcodecs wrappers
Paul B Mahol [Fri, 26 Oct 2012 18:27:39 +0000 (18:27 +0000)]
lavfi: remove yuvcsp and yvu9 libmpcodecs wrappers

Same functionality is provided by libswscale.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
6 years agowavenc: fix curruption of metadata
Michael Niedermayer [Tue, 30 Oct 2012 20:48:39 +0000 (21:48 +0100)]
wavenc: fix curruption of metadata

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agofate: remove typo, reenable AC3 tests
Michael Niedermayer [Tue, 30 Oct 2012 19:53:30 +0000 (20:53 +0100)]
fate: remove typo, reenable AC3 tests

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoav_get_audio_frame_duration: fix IMC
Michael Niedermayer [Tue, 30 Oct 2012 19:27:55 +0000 (20:27 +0100)]
av_get_audio_frame_duration: fix IMC

Fixes Ticket1658
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agolavc: const correctness for avpicture_fill()
Paul B Mahol [Tue, 30 Oct 2012 03:27:09 +0000 (03:27 +0000)]
lavc: const correctness for avpicture_fill()

Signed-off-by: Paul B Mahol <onemda@gmail.com>
6 years agolavfi/smartblur: add missing draw slice call.
Clément Bœsch [Tue, 30 Oct 2012 18:36:01 +0000 (19:36 +0100)]
lavfi/smartblur: add missing draw slice call.

This fixes output with filtergraphs such as 'split[a][b];
[a]pad=iw*2[src]; [b]smartblur=1:1:1[filt]; [src][filt]overlay=w'

6 years agoaf_ashowinfo: integrate config_input() in filter_samples.
Michael Niedermayer [Tue, 30 Oct 2012 17:59:19 +0000 (18:59 +0100)]
af_ashowinfo: integrate config_input() in filter_samples.

This is simpler and also should allow the code to function when the
channel number changes.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoconfigure: fix print_config() with broke awks
Mans Rullgard [Tue, 30 Oct 2012 11:57:30 +0000 (11:57 +0000)]
configure: fix print_config() with broke awks

Some awk versions do not treat the result of unary + on a (numeric)
string as numeric, giving wrong results when used in a boolean context
Using unary - instead is logically equivalent works as expected.

Signed-off-by: Mans Rullgard <mans@mansr.com>
6 years agoswscale.c:remove fill_plane9or10() use fillPlane16()
Michael Niedermayer [Tue, 30 Oct 2012 17:40:55 +0000 (18:40 +0100)]
swscale.c:remove fill_plane9or10() use fillPlane16()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agosws: move fillPlane16() to header so it can be used from more than 1 place
Michael Niedermayer [Tue, 30 Oct 2012 17:39:44 +0000 (18:39 +0100)]
sws: move fillPlane16() to header so it can be used from more than 1 place

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agosws_unscaled: drop fill_plane9or10()
Michael Niedermayer [Tue, 30 Oct 2012 17:25:05 +0000 (18:25 +0100)]
sws_unscaled: drop fill_plane9or10()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoChange my GPG fingerprint
Tomas Härdin [Mon, 29 Oct 2012 09:30:32 +0000 (10:30 +0100)]
Change my GPG fingerprint

The old key expired

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agosws: fix BE/LE handling for fillPlane16()
Michael Niedermayer [Tue, 30 Oct 2012 17:11:52 +0000 (18:11 +0100)]
sws: fix BE/LE handling for fillPlane16()

Based on fill_plane9or10() by luca barbato

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Tue, 30 Oct 2012 16:41:17 +0000 (17:41 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  pixfmt: support more yuva formats
  swscale: support gray to 9bit and 10bit formats
  configure: rewrite print_config() function using awk
  FATE: fix (AD)PCM test dependencies broken in e519990
  Use ptrdiff_t instead of int for intra pred "stride" function parameter.
  x86: use PRED4x4/8x8/8x8L/16x16 macros to declare intrapred prototypes.

Conflicts:
libavcodec/h264pred.c
libavcodec/h264pred_template.c
libavutil/pixfmt.h
libswscale/swscale_unscaled.c
tests/ref/lavfi/pixdesc
tests/ref/lavfi/pixfmts_copy
tests/ref/lavfi/pixfmts_null
tests/ref/lavfi/pixfmts_scale
tests/ref/lavfi/pixfmts_vflip

Merged-by: Michael Niedermayer <michaelni@gmx.at>
6 years agolavfi: remove palette libmpcodecs wrapper
Paul B Mahol [Fri, 26 Oct 2012 17:59:40 +0000 (17:59 +0000)]
lavfi: remove palette libmpcodecs wrapper

The filter is useless, swscale should be used instead.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
6 years agoff: fix case where image does not have alpha channel
Paul B Mahol [Tue, 30 Oct 2012 15:28:13 +0000 (15:28 +0000)]
ff: fix case where image does not have alpha channel

Signed-off-by: Paul B Mahol <onemda@gmail.com>
6 years agocng: Reindent some incorrectly indented lines
Martin Storsjö [Tue, 30 Oct 2012 10:09:57 +0000 (12:09 +0200)]
cng: Reindent some incorrectly indented lines

Signed-off-by: Martin Storsjö <martin@martin.st>
6 years agocngdec: Allow flushing the decoder
Martin Storsjö [Tue, 30 Oct 2012 10:03:25 +0000 (12:03 +0200)]
cngdec: Allow flushing the decoder

After a flush, don't average the output envelope and energy with
previous iterations.

Also start directly from the target values for the first iteration
at startup.

Signed-off-by: Martin Storsjö <martin@martin.st>
6 years agocngdec: Make the dbov variable have the right unit
Martin Storsjö [Tue, 30 Oct 2012 09:56:54 +0000 (11:56 +0200)]
cngdec: Make the dbov variable have the right unit

Previously the unit of the variable was Bov, not dBov.

Signed-off-by: Martin Storsjö <martin@martin.st>
6 years agocngdec: Fix the memset size to cover the full array
Martin Storsjö [Tue, 30 Oct 2012 10:17:35 +0000 (12:17 +0200)]
cngdec: Fix the memset size to cover the full array

This was a leftover from previous iterations of the code, where the
refl coef arrays were statically allocated.

Signed-off-by: Martin Storsjö <martin@martin.st>
6 years agocngdec: Update the LPC coefficients after averaging the reflection coefficients
Martin Storsjö [Tue, 30 Oct 2012 10:26:39 +0000 (12:26 +0200)]
cngdec: Update the LPC coefficients after averaging the reflection coefficients

I somehow messed up the placement of this one.

Signed-off-by: Martin Storsjö <martin@martin.st>
6 years agoMerge commit '08b028c18dc31b6de741861b9555669dcca4d12a'
Michael Niedermayer [Tue, 30 Oct 2012 14:22:13 +0000 (15:22 +0100)]
Merge commit '08b028c18dc31b6de741861b9555669dcca4d12a'

* commit '08b028c18dc31b6de741861b9555669dcca4d12a':
  Remove INIT_AVX from x86inc.asm.
  Remove usage of INIT_AVX in h264_intrapred_10bit.asm.
  dv: fix indentation

Conflicts:
libavformat/dv.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoMerge commit '14f031d7ecfabba0ef02776d4516aa3dcb7c40d8'
Michael Niedermayer [Tue, 30 Oct 2012 13:40:22 +0000 (14:40 +0100)]
Merge commit '14f031d7ecfabba0ef02776d4516aa3dcb7c40d8'

* commit '14f031d7ecfabba0ef02776d4516aa3dcb7c40d8':
  dv: use AVStream.index instead of abusing AVStream.id
  lavfi: add ashowinfo filter
  avcodec: Add a RFC 3389 comfort noise codec
  lpc: Add a function for calculating reflection coefficients from samples
  lpc: Add a function for calculating reflection coefficients from autocorrelation coefficients
  lavr: document upper bound on number of output samples.
  lavr: add general API usage doxy
  indeo3: remove duplicate capabilities line.
  fate: ac3: Add dependencies

Conflicts:
Changelog
doc/filters.texi
libavcodec/Makefile
libavcodec/allcodecs.c
libavcodec/avcodec.h
libavcodec/codec_desc.c
libavcodec/version.h
libavfilter/Makefile
libavfilter/af_ashowinfo.c
libavfilter/allfilters.c
libavfilter/version.h
libavutil/avutil.h

Merged-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoconfigure: fix print_config() with broke awks
Mans Rullgard [Tue, 30 Oct 2012 11:57:30 +0000 (11:57 +0000)]
configure: fix print_config() with broke awks

Some awk versions do not treat the result of unary + on a (numeric)
string as numeric, giving wrong results when used in a boolean context
Using unary - instead is logically equivalent works as expected.

Signed-off-by: Mans Rullgard <mans@mansr.com>
6 years agoMerge commit '381dc1a5ec0925b281c573457c413ae643567086'
Michael Niedermayer [Tue, 30 Oct 2012 12:45:44 +0000 (13:45 +0100)]
Merge commit '381dc1a5ec0925b281c573457c413ae643567086'

* commit '381dc1a5ec0925b281c573457c413ae643567086':
  fate: ac3: Place E-AC-3 tests and AC-3 tests in different groups
  fate: Add shorthands for acodec PCM and ADPCM tests
  avconv: Drop unused function argument from do_video_stats()
  cmdutils: Conditionally compile libswscale-related bits
  aacenc: Drop some unused function arguments
  rtsp: Avoid a cast when calling strtol
  nut: support textual data
  nutenc: verbosely report unsupported negative pts

Conflicts:
cmdutils.c
ffmpeg.c
libavformat/nut.c
libavformat/nutenc.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
6 years agorawdec: check avpicture_get_size() return value
Michael Niedermayer [Tue, 30 Oct 2012 03:35:38 +0000 (04:35 +0100)]
rawdec: check avpicture_get_size() return value

Fixes CID205019
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoPartly revert f174fba: yop decoder does not support direct rendering.
Carl Eugen Hoyos [Tue, 30 Oct 2012 11:09:25 +0000 (12:09 +0100)]
Partly revert f174fba: yop decoder does not support direct rendering.

6 years agopixfmt: support more yuva formats
Luca Barbato [Sun, 14 Oct 2012 06:06:27 +0000 (08:06 +0200)]
pixfmt: support more yuva formats

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
6 years agoswscale: support gray to 9bit and 10bit formats
Luca Barbato [Mon, 29 Oct 2012 18:07:01 +0000 (19:07 +0100)]
swscale: support gray to 9bit and 10bit formats

With the input of Kostya and Ronald.

6 years agoPartly revert f174fba: indeo3 decoder does not support direct rendering.
Carl Eugen Hoyos [Tue, 30 Oct 2012 10:51:58 +0000 (11:51 +0100)]
Partly revert f174fba: indeo3 decoder does not support direct rendering.

6 years agoconfigure: rewrite print_config() function using awk
Mans Rullgard [Sat, 27 Oct 2012 15:43:12 +0000 (16:43 +0100)]
configure: rewrite print_config() function using awk

This is much faster with slow shells and noticeably faster even
with bash on a fast Linux system.

Signed-off-by: Mans Rullgard <mans@mansr.com>
6 years agovqavideo: return more meaningful error codes
Paul B Mahol [Tue, 30 Oct 2012 03:28:05 +0000 (03:28 +0000)]
vqavideo: return more meaningful error codes

Signed-off-by: Paul B Mahol <onemda@gmail.com>
6 years agoFATE: fix (AD)PCM test dependencies broken in e519990
Anton Khirnov [Mon, 29 Oct 2012 20:26:46 +0000 (21:26 +0100)]
FATE: fix (AD)PCM test dependencies broken in e519990

Signed-off-by: Diego Biurrun <diego@biurrun.de>
6 years agompeg12videodec: dont pass mpeg1 VBR special case value on as bitrate.
Michael Niedermayer [Tue, 30 Oct 2012 01:27:50 +0000 (02:27 +0100)]
mpeg12videodec: dont pass mpeg1 VBR special case value on as bitrate.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agompeg12video_parser: Wrong bit rate in MPEG2 video file (Ticket #1862)
Heesuk Jung [Tue, 30 Oct 2012 01:07:40 +0000 (02:07 +0100)]
mpeg12video_parser: Wrong bit rate in MPEG2 video file (Ticket #1862)

mpegvideo parser sometime get wrong stream bit rate which is 0x3FFFF*400.
But maximum bit rate of MPEG2 video is up to 80 Mbps in case 1920x1080 resolution.
When bit rate is 0x3FFFF*400, set bit rate zero.

* Problematic link
https://docs.google.com/open?id=0B6r7ZfWFIypCUkhPa0dyTGdFSE0

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agompeg12parser: cleanup bitrate parsing.
Michael Niedermayer [Tue, 30 Oct 2012 01:05:56 +0000 (02:05 +0100)]
mpeg12parser: cleanup bitrate parsing.

This fixes several bugs in the code.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoUse ptrdiff_t instead of int for intra pred "stride" function parameter.
Ronald S. Bultje [Mon, 29 Oct 2012 03:44:54 +0000 (20:44 -0700)]
Use ptrdiff_t instead of int for intra pred "stride" function parameter.

This way, SIMD-optimized functions don't have to sign-extend their
stride argument manually to be able to do pointer arithmetic.

6 years agox86: use PRED4x4/8x8/8x8L/16x16 macros to declare intrapred prototypes.
Ronald S. Bultje [Mon, 29 Oct 2012 03:44:53 +0000 (20:44 -0700)]
x86: use PRED4x4/8x8/8x8L/16x16 macros to declare intrapred prototypes.

6 years agoRemove INIT_AVX from x86inc.asm.
Ronald S. Bultje [Mon, 29 Oct 2012 01:39:23 +0000 (18:39 -0700)]
Remove INIT_AVX from x86inc.asm.

6 years agox11grab: fix mixed declaration and code
Michael Niedermayer [Mon, 29 Oct 2012 21:24:10 +0000 (22:24 +0100)]
x11grab: fix mixed declaration and code

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agotree: fix type used for testing the tree
Michael Niedermayer [Mon, 29 Oct 2012 21:21:25 +0000 (22:21 +0100)]
tree: fix type used for testing the tree

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoqt-faststart: fix signedness of variable used to hold return code
Michael Niedermayer [Mon, 29 Oct 2012 21:05:33 +0000 (22:05 +0100)]
qt-faststart: fix signedness of variable used to hold return code

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agomp3dec: remove unused variable
Michael Niedermayer [Mon, 29 Oct 2012 20:59:32 +0000 (21:59 +0100)]
mp3dec: remove unused variable

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agotruemotion2: remove unused variable
Michael Niedermayer [Mon, 29 Oct 2012 21:01:22 +0000 (22:01 +0100)]
truemotion2: remove unused variable

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoRemove usage of INIT_AVX in h264_intrapred_10bit.asm.
Ronald S. Bultje [Mon, 29 Oct 2012 01:39:22 +0000 (18:39 -0700)]
Remove usage of INIT_AVX in h264_intrapred_10bit.asm.

Replace INIT_AVX by INIT_XMM avx. Port the whole file to use cpuflag
based function declarations. Remove (now unused) cputype argument in
function declaration macros. Change function prototypes to have mmx2
instead of mmxext as suffix, since that's required by cpuflags.

6 years agodv: fix indentation
Anton Khirnov [Wed, 24 Oct 2012 07:12:42 +0000 (09:12 +0200)]
dv: fix indentation

6 years agodv: use AVStream.index instead of abusing AVStream.id
Anton Khirnov [Wed, 24 Oct 2012 07:06:32 +0000 (09:06 +0200)]
dv: use AVStream.index instead of abusing AVStream.id

6 years agopictordec: decode 1bpp / 4bpp images when extra header marker is missing
Piotr Bandurski [Mon, 29 Oct 2012 17:43:42 +0000 (18:43 +0100)]
pictordec: decode 1bpp / 4bpp images when extra header marker is missing

based on 56f6628bca66ef3b6a1028fcf0f52dbe01115d89

samples:

http://www.datafilehost.com/download-94b5bc1b.html

Reviewed-and-Tested-by: Peter Ross <pross@xvid.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agolavfi: add ashowinfo filter
Anton Khirnov [Tue, 23 Oct 2012 19:37:26 +0000 (21:37 +0200)]
lavfi: add ashowinfo filter

It can be useful for debugging.

Based on a patch by Stefano Sabatini <stefano.sabatini-lala@poste.it>

6 years agoavuidec: correct long_name
Piotr Bandurski [Mon, 29 Oct 2012 17:53:58 +0000 (18:53 +0100)]
avuidec: correct long_name

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agolavc: remove duplicated .capabilities
Paul B Mahol [Mon, 29 Oct 2012 20:06:52 +0000 (20:06 +0000)]
lavc: remove duplicated .capabilities

Signed-off-by: Paul B Mahol <onemda@gmail.com>
6 years agoavcodec: Add a RFC 3389 comfort noise codec
Martin Storsjö [Mon, 22 Oct 2012 21:02:41 +0000 (00:02 +0300)]
avcodec: Add a RFC 3389 comfort noise codec

This isn't too useful as a normal codec, but can be used in
voip style applications. The decoder updates the noise
generator parameters when a packet is given to it for decoding,
but if called with an empty packet, it generates more noise
according to the last parameters.

Signed-off-by: Martin Storsjö <martin@martin.st>
6 years agolpc: Add a function for calculating reflection coefficients from samples
Martin Storsjö [Thu, 25 Oct 2012 12:33:15 +0000 (15:33 +0300)]
lpc: Add a function for calculating reflection coefficients from samples

Signed-off-by: Martin Storsjö <martin@martin.st>
6 years agolpc: Add a function for calculating reflection coefficients from autocorrelation...
Justin Ruggles [Sat, 27 Oct 2012 19:29:56 +0000 (22:29 +0300)]
lpc: Add a function for calculating reflection coefficients from autocorrelation coefficients

Signed-off-by: Martin Storsjö <martin@martin.st>
6 years agolavr: document upper bound on number of output samples.
Anton Khirnov [Sun, 28 Oct 2012 21:52:55 +0000 (22:52 +0100)]
lavr: document upper bound on number of output samples.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
6 years agolavr: add general API usage doxy
Anton Khirnov [Sun, 28 Oct 2012 21:52:54 +0000 (22:52 +0100)]
lavr: add general API usage doxy

Signed-off-by: Anton Khirnov <anton@khirnov.net>
6 years agoindeo3: remove duplicate capabilities line.
Anton Khirnov [Mon, 29 Oct 2012 11:16:05 +0000 (12:16 +0100)]
indeo3: remove duplicate capabilities line.

6 years agofate: ac3: Place E-AC-3 tests and AC-3 tests in different groups
Diego Biurrun [Fri, 19 Oct 2012 22:14:26 +0000 (00:14 +0200)]
fate: ac3: Place E-AC-3 tests and AC-3 tests in different groups

6 years agofate: ac3: Add dependencies
Diego Biurrun [Fri, 19 Oct 2012 23:13:39 +0000 (01:13 +0200)]
fate: ac3: Add dependencies

6 years agofate: Add shorthands for acodec PCM and ADPCM tests
Diego Biurrun [Wed, 17 Oct 2012 17:47:03 +0000 (19:47 +0200)]
fate: Add shorthands for acodec PCM and ADPCM tests

6 years agoavconv: Drop unused function argument from do_video_stats()
Diego Biurrun [Wed, 24 Oct 2012 17:18:12 +0000 (19:18 +0200)]
avconv: Drop unused function argument from do_video_stats()

6 years agocmdutils: Conditionally compile libswscale-related bits
Diego Biurrun [Mon, 29 Oct 2012 17:00:14 +0000 (18:00 +0100)]
cmdutils: Conditionally compile libswscale-related bits

This fixes compilation with libswscale disabled.

6 years agolavfi/frei0r: allow for Windows style paths
rogerdpack [Wed, 10 Oct 2012 23:28:55 +0000 (17:28 -0600)]
lavfi/frei0r: allow for Windows style paths

Update path handling against the latest Frei0r specification changes.

Signed-off-by: rogerdpack <rogerpack2005@gmail.com>
Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
6 years agolavfi/frei0r: update link to spec
Stefano Sabatini [Mon, 29 Oct 2012 17:07:19 +0000 (18:07 +0100)]
lavfi/frei0r: update link to spec

Fri0r project moved from piksel.org to frei0r.dyne.org.

6 years agoaacenc: Drop some unused function arguments
Diego Biurrun [Wed, 24 Oct 2012 17:16:08 +0000 (19:16 +0200)]
aacenc: Drop some unused function arguments

6 years agolavfi/scale: implement clever/insane parsing heuristic, and add a size option
Stefano Sabatini [Mon, 29 Oct 2012 10:48:53 +0000 (11:48 +0100)]
lavfi/scale: implement clever/insane parsing heuristic, and add a size option

If the first argument can be read as a video size, set that output size
in the scale. This allows to specify in a filtergraph scale=qcif or
scale=320x240.

This is not completely safe, for example in case of a typo in the video
size string the first argument will be read as the input width
expression, giving rise to a confusing comment.

6 years agolavu/parseutils: add trailing characters check in av_parse_video_size()
Stefano Sabatini [Mon, 29 Oct 2012 15:39:13 +0000 (16:39 +0100)]
lavu/parseutils: add trailing characters check in av_parse_video_size()

Return an error in case the video size specifications contains spurious
trailing chars, like in "320x240foobar".

6 years agodoc/filters: itemize scale examples, and create a dedicated subsection for them
Stefano Sabatini [Sat, 6 Oct 2012 10:39:11 +0000 (12:39 +0200)]
doc/filters: itemize scale examples, and create a dedicated subsection for them

6 years agolavfi/scale: return error code in case of failed reconfiguration in start_frame()
Stefano Sabatini [Mon, 15 Oct 2012 07:21:15 +0000 (09:21 +0200)]
lavfi/scale: return error code in case of failed reconfiguration in start_frame()

Avoid an assert, since now the function supports error code return.

6 years agolavfi/scale: accept named options, make parsing more robust
Stefano Sabatini [Sat, 6 Oct 2012 10:30:26 +0000 (12:30 +0200)]
lavfi/scale: accept named options, make parsing more robust

Also update documentation accordingly.

6 years agortsp: Avoid a cast when calling strtol
Martin Storsjö [Mon, 22 Oct 2012 20:13:49 +0000 (23:13 +0300)]
rtsp: Avoid a cast when calling strtol

This gets rid of this warning:

libavformat/rtsp.c: In function ‘rtsp_parse_transport’:
libavformat/rtsp.c:794: warning: cast discards qualifiers from pointer target type

Signed-off-by: Martin Storsjö <martin@martin.st>
6 years agomovenc: Add required 'prof' atom to 'tapt' atom set.
Tim Nicholson [Mon, 29 Oct 2012 13:56:57 +0000 (13:56 +0000)]
movenc: Add required 'prof' atom to 'tapt' atom set.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Mon, 29 Oct 2012 12:15:16 +0000 (13:15 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  lavc: add CODEC_CAP_DR1 to all video decoders missing them
  rtpdec: Cosmetic cleanup

Merged-by: Michael Niedermayer <michaelni@gmx.at>
6 years agonut: support textual data
Luca Barbato [Thu, 25 Oct 2012 12:05:40 +0000 (14:05 +0200)]
nut: support textual data

Plain text (utf8 encoded) data can be muxed and demuxed in nut.

6 years agodoc/syntax: add a "Quoting and escaping" section
Stefano Sabatini [Mon, 15 Oct 2012 09:13:13 +0000 (11:13 +0200)]
doc/syntax: add a "Quoting and escaping" section

6 years agonutenc: verbosely report unsupported negative pts
Luca Barbato [Sat, 27 Oct 2012 14:56:37 +0000 (16:56 +0200)]
nutenc: verbosely report unsupported negative pts

Additionally use the correct error number.

6 years agolavc: add CODEC_CAP_DR1 to all video decoders missing them
Anton Khirnov [Wed, 17 Oct 2012 19:39:04 +0000 (21:39 +0200)]
lavc: add CODEC_CAP_DR1 to all video decoders missing them

6 years agodcadec: skip QMF on unused channels
Michael Niedermayer [Mon, 29 Oct 2012 04:21:47 +0000 (05:21 +0100)]
dcadec: skip QMF on unused channels

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agosmoothstreamingenc: check return value of mkdir()
Michael Niedermayer [Mon, 29 Oct 2012 02:34:17 +0000 (03:34 +0100)]
smoothstreamingenc: check return value of mkdir()

Fixes CID732188
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agosmoothstreamingenc: fix integer overflow
Michael Niedermayer [Mon, 29 Oct 2012 02:17:08 +0000 (03:17 +0100)]
smoothstreamingenc: fix integer overflow

Fixes CID732248
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoismindex: check return value of avio_open_dyn_buf()
Michael Niedermayer [Mon, 29 Oct 2012 01:53:43 +0000 (02:53 +0100)]
ismindex: check return value of avio_open_dyn_buf()

Fixes CID733723
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agocmdutils: avoid using cpp directives within printf macro arguments
Leon van Stuivenberg [Sun, 28 Oct 2012 22:37:17 +0000 (23:37 +0100)]
cmdutils: avoid using cpp directives within printf macro arguments

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
It appears such construct has undefined behavior

6 years agocafdec: fix parsing of chunks which may have unused data
Paul B Mahol [Fri, 26 Oct 2012 14:01:51 +0000 (14:01 +0000)]
cafdec: fix parsing of chunks which may have unused data

Specification mentions 'strg', 'mark', 'regn', 'info', .. chunks
to have data section size larger than chunk's current meaningful
content in order to reserve room for additional data.

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