]> git.sesse.net Git - ffmpeg/log
ffmpeg
10 years agoMerge commit 'cdab9db2adeec46b3984309c8c651bdd737d2b6b'
Michael Niedermayer [Thu, 3 Jul 2014 11:38:28 +0000 (13:38 +0200)]
Merge commit 'cdab9db2adeec46b3984309c8c651bdd737d2b6b'

* commit 'cdab9db2adeec46b3984309c8c651bdd737d2b6b':
  lavf: document av_dump_format()

Conflicts:
libavformat/avformat.h

See: 61f96be08a66e74897406fd64da4e61ea4b6a8c5
Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge commit 'df949b645b12d62bb4da56d629a887c81f67f2e5'
Michael Niedermayer [Thu, 3 Jul 2014 11:15:33 +0000 (13:15 +0200)]
Merge commit 'df949b645b12d62bb4da56d629a887c81f67f2e5'

* commit 'df949b645b12d62bb4da56d629a887c81f67f2e5':
  hevc: Use the local context variable when needed

Conflicts:
libavcodec/hevc.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavdevice/pulse_audio_dec: clear pa_simple pointer after deallocation
Michael Niedermayer [Thu, 3 Jul 2014 02:26:18 +0000 (04:26 +0200)]
avdevice/pulse_audio_dec: clear pa_simple pointer after deallocation

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavfilter: add flanger filter
Paul B Mahol [Fri, 27 Jun 2014 08:42:35 +0000 (08:42 +0000)]
avfilter: add flanger filter

Signed-off-by: Paul B Mahol <onemda@gmail.com>
10 years agoavfilter/af_aphaser: move wave table generation code into separate file
Paul B Mahol [Thu, 26 Jun 2014 08:54:23 +0000 (08:54 +0000)]
avfilter/af_aphaser: move wave table generation code into separate file

Signed-off-by: Paul B Mahol <onemda@gmail.com>
10 years agolavf: document av_dump_format()
Vittorio Giovara [Sun, 8 Jun 2014 15:56:34 +0000 (11:56 -0400)]
lavf: document av_dump_format()

10 years agohevc: Use the local context variable when needed
Luca Barbato [Wed, 18 Jun 2014 02:13:20 +0000 (04:13 +0200)]
hevc: Use the local context variable when needed

10 years agoavfilter/vf_format: Check pix_fmts before dereferencing it
Michael Niedermayer [Thu, 3 Jul 2014 00:05:34 +0000 (02:05 +0200)]
avfilter/vf_format: Check pix_fmts before dereferencing it

Fixes CID1224286

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavfilter/avfiltergraph: dont "or" together error codes
Michael Niedermayer [Wed, 2 Jul 2014 23:37:00 +0000 (01:37 +0200)]
avfilter/avfiltergraph: dont "or" together error codes

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoFix standalone compilation of the wtv muxer.
Carl Eugen Hoyos [Wed, 2 Jul 2014 21:41:29 +0000 (23:41 +0200)]
Fix standalone compilation of the wtv muxer.

10 years agoavcodec/on2avc: Fix out of array access
Michael Niedermayer [Wed, 2 Jul 2014 18:22:12 +0000 (20:22 +0200)]
avcodec/on2avc: Fix out of array access

Fixes CID1206648

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge commit '98569d89638efc325042bd0081e9a02181afdafa'
Michael Niedermayer [Wed, 2 Jul 2014 18:05:54 +0000 (20:05 +0200)]
Merge commit '98569d89638efc325042bd0081e9a02181afdafa'

* commit '98569d89638efc325042bd0081e9a02181afdafa':
  matroskadec: Fix a double negation typo

See: 2c5b92fe90463402be6bf611ef40195f86f434fd
Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavcodec: Updated comment for sub param
Anshul Maheshwari [Wed, 2 Jul 2014 16:37:59 +0000 (22:07 +0530)]
avcodec: Updated comment for sub param

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavcodec/dvbsubdec: removed unnecessary null check for subtitle
Anshul Maheshwari [Wed, 2 Jul 2014 16:21:37 +0000 (21:51 +0530)]
avcodec/dvbsubdec: removed unnecessary null check for subtitle

In refrence to coverity defect 1224278

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agomatroskadec: Fix a double negation typo
Michael Niedermayer [Sat, 20 Oct 2012 14:58:33 +0000 (16:58 +0200)]
matroskadec: Fix a double negation typo

This typo has existed since this code was added in c16582579.
Newer versions of clang pointed out that this comparison always
was true (since the result of the negation is either 0 or 1, while
AVDISCARD_ALL has the value 48).

Signed-off-by: Martin Storsjö <martin@martin.st>
10 years agolavfi/overlay: show incoming frames on debug messages
Stefano Sabatini [Fri, 20 Jun 2014 11:33:37 +0000 (13:33 +0200)]
lavfi/overlay: show incoming frames on debug messages

This is especially useful to debug queue overflow issues.

Ideally we should be able to set the debug message at the
dualinput/framesync level, but they do not have the information related
to the filter context and the inlink, so cannot access much useful
information.

Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
10 years agoavcodec/dvdec: remove redundant null check
Michael Niedermayer [Wed, 2 Jul 2014 14:18:07 +0000 (16:18 +0200)]
avcodec/dvdec: remove redundant null check

Fixes CID700682 again

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavcodec/bitstream: remove trivial assert
Michael Niedermayer [Wed, 2 Jul 2014 13:34:48 +0000 (15:34 +0200)]
avcodec/bitstream: remove trivial assert

Fixed CID1224273

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoswr: rename swresample_dsp init functions to swri_resample_dsp
James Almer [Wed, 2 Jul 2014 03:05:08 +0000 (00:05 -0300)]
swr: rename swresample_dsp init functions to swri_resample_dsp

The swresample_ prefix is not for internal functions

Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agodoc/filters: fix typo
Dave Rice [Wed, 2 Jul 2014 02:44:05 +0000 (22:44 -0400)]
doc/filters: fix typo

Signed-off-by: Dave Rice <dave@dericed.com>
Reviewed-by: Timothy Gu <timothygu99@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoffmpeg: check av_opt_set_dict() return
Michael Niedermayer [Wed, 2 Jul 2014 03:20:26 +0000 (05:20 +0200)]
ffmpeg: check av_opt_set_dict() return

Fixes CID1224275

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agodoc/ffprobe.xsd: fix order and missing elements/attributes
Dave Rice [Wed, 2 Jul 2014 01:49:11 +0000 (21:49 -0400)]
doc/ffprobe.xsd: fix order and missing elements/attributes

Signed-off-by: Dave Rice <dave@dericed.com>
Reviewed-by: Stefano Sabatini <stefasab@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoswr: remove obsolete resample prototypes
James Almer [Wed, 2 Jul 2014 00:22:28 +0000 (21:22 -0300)]
swr: remove obsolete resample prototypes

Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoPartially revert "swr: add prototypes for resample dsp functions"
James Almer [Tue, 1 Jul 2014 21:45:21 +0000 (18:45 -0300)]
Partially revert "swr: add prototypes for resample dsp functions"

Prototypes are not needed anymore now that the x86 functions don't
include resample_template.c

The DO_RESAMPLE_ONE macro is removed for that same reason as well.

Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agox86/swr: add ff_resample_{common, linear}_int16_xop
James Almer [Mon, 30 Jun 2014 16:06:02 +0000 (13:06 -0300)]
x86/swr: add ff_resample_{common, linear}_int16_xop

Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agox86/swr: add ff_resample_{common, linear}_float_fma
James Almer [Mon, 30 Jun 2014 16:06:01 +0000 (13:06 -0300)]
x86/swr: add ff_resample_{common, linear}_float_fma

Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agox86: rename dsputil.asm to idctdsp.asm
James Almer [Tue, 1 Jul 2014 21:10:15 +0000 (18:10 -0300)]
x86: rename dsputil.asm to idctdsp.asm

Its only function is no longer part of dsputil.

Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavcodec/mjpegdec: factorize some parts of the pix_fmt_id switch()
Michael Niedermayer [Tue, 1 Jul 2014 21:28:18 +0000 (23:28 +0200)]
avcodec/mjpegdec: factorize some parts of the pix_fmt_id switch()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavcodec/mjpegdec: handle luma upscale detection generically
Michael Niedermayer [Tue, 1 Jul 2014 21:26:19 +0000 (23:26 +0200)]
avcodec/mjpegdec: handle luma upscale detection generically

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavcodec/mjpegdec: set upscale_h/upscale_v using generic code instead of hardcoding...
Michael Niedermayer [Tue, 1 Jul 2014 20:40:20 +0000 (22:40 +0200)]
avcodec/mjpegdec: set upscale_h/upscale_v using generic code instead of hardcoding a list

Some code is left to handle corner cases

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavcodec/mjpegdec: Support pix_fmt_id==0x11222200
Michael Niedermayer [Tue, 1 Jul 2014 20:11:46 +0000 (22:11 +0200)]
avcodec/mjpegdec: Support pix_fmt_id==0x11222200

Fixes: 4858286_300.jpg
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavcodec/mjpegdec: fix width for non chroma in rescaling
Michael Niedermayer [Tue, 1 Jul 2014 20:09:19 +0000 (22:09 +0200)]
avcodec/mjpegdec: fix width for non chroma in rescaling

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agomjpegdec: Support pix_fmt_id == 0x22112200
Michael Niedermayer [Tue, 1 Jul 2014 19:47:09 +0000 (21:47 +0200)]
mjpegdec: Support pix_fmt_id == 0x22112200

Fixes 4780490_300.jpg

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge commit '48e6432407a73d5006d84609456e6e0bc3dd8fc4'
Michael Niedermayer [Tue, 1 Jul 2014 18:44:05 +0000 (20:44 +0200)]
Merge commit '48e6432407a73d5006d84609456e6e0bc3dd8fc4'

* commit '48e6432407a73d5006d84609456e6e0bc3dd8fc4':
  matroska: Factor out mkv_write_stereo_mode

Conflicts:
libavformat/matroskaenc.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge commit 'b75a1f9892b5b715397edbf837e4d4cda337907b'
Michael Niedermayer [Tue, 1 Jul 2014 18:22:51 +0000 (20:22 +0200)]
Merge commit 'b75a1f9892b5b715397edbf837e4d4cda337907b'

* commit 'b75a1f9892b5b715397edbf837e4d4cda337907b':
  matroska: Factor out write_track from mkv_write_tracks

Conflicts:
libavformat/matroskaenc.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge commit 'f1f6156b3fc9eb77b439d031ba18974d80b8341e'
Michael Niedermayer [Tue, 1 Jul 2014 17:58:57 +0000 (19:58 +0200)]
Merge commit 'f1f6156b3fc9eb77b439d031ba18974d80b8341e'

* commit 'f1f6156b3fc9eb77b439d031ba18974d80b8341e':
  matroska: K&R formatting cosmetics

Conflicts:
libavformat/matroskaenc.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge commit 'd0449e754553b0c110b6cd75f6725b82144fbd2a'
Michael Niedermayer [Tue, 1 Jul 2014 17:28:55 +0000 (19:28 +0200)]
Merge commit 'd0449e754553b0c110b6cd75f6725b82144fbd2a'

* commit 'd0449e754553b0c110b6cd75f6725b82144fbd2a':
  vaapi: Update idct_permutation location after dsputil/idctdsp split

See: 581b5f0b9b93969712e73e0ae6324bbd03e85d4e
Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agox86/swr: convert resample_{common, linear}_double_sse2 to yasm
James Almer [Mon, 30 Jun 2014 16:06:00 +0000 (13:06 -0300)]
x86/swr: convert resample_{common, linear}_double_sse2 to yasm

Signed-off-by: James Almer <jamrial@gmail.com>
312531 -> 311528 dezicycles

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agomatroska: Factor out mkv_write_stereo_mode
Luca Barbato [Fri, 6 Jun 2014 23:38:00 +0000 (01:38 +0200)]
matroska: Factor out mkv_write_stereo_mode

10 years agomatroska: Factor out write_track from mkv_write_tracks
Luca Barbato [Fri, 6 Jun 2014 23:21:13 +0000 (01:21 +0200)]
matroska: Factor out write_track from mkv_write_tracks

10 years agomatroska: K&R formatting cosmetics
Luca Barbato [Fri, 6 Jun 2014 22:54:50 +0000 (00:54 +0200)]
matroska: K&R formatting cosmetics

10 years agovaapi: Update idct_permutation location after dsputil/idctdsp split
Diego Biurrun [Tue, 1 Jul 2014 14:27:50 +0000 (07:27 -0700)]
vaapi: Update idct_permutation location after dsputil/idctdsp split

10 years agoMerge commit '20f95f21f9b9595608ba668a6eca78f2d508be67'
Michael Niedermayer [Tue, 1 Jul 2014 14:31:54 +0000 (16:31 +0200)]
Merge commit '20f95f21f9b9595608ba668a6eca78f2d508be67'

* commit '20f95f21f9b9595608ba668a6eca78f2d508be67':
  mov: Support default-base-is-moof.

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge commit '79793f833784121d574454af4871866576c0749d'
Michael Niedermayer [Tue, 1 Jul 2014 13:37:21 +0000 (15:37 +0200)]
Merge commit '79793f833784121d574454af4871866576c0749d'

* commit '79793f833784121d574454af4871866576c0749d':
  Update Fiona's name in copyright statements.

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge commit 'e3fcb14347466095839c2a3c47ebecff02da891e'
Michael Niedermayer [Tue, 1 Jul 2014 12:38:57 +0000 (14:38 +0200)]
Merge commit 'e3fcb14347466095839c2a3c47ebecff02da891e'

* commit 'e3fcb14347466095839c2a3c47ebecff02da891e':
  dsputil: Split off IDCT bits into their own context

Conflicts:
configure
libavcodec/aic.c
libavcodec/arm/Makefile
libavcodec/arm/dsputil_init_arm.c
libavcodec/arm/dsputil_init_armv6.c
libavcodec/asvdec.c
libavcodec/dnxhdenc.c
libavcodec/dsputil.c
libavcodec/dvdec.c
libavcodec/dxva2_mpeg2.c
libavcodec/intrax8.c
libavcodec/mdec.c
libavcodec/mjpegdec.c
libavcodec/mjpegenc_common.h
libavcodec/mpegvideo.c
libavcodec/ppc/dsputil_altivec.h
libavcodec/ppc/dsputil_ppc.c
libavcodec/ppc/idctdsp.c
libavcodec/x86/Makefile
libavcodec/x86/dsputil_init.c
libavcodec/x86/dsputil_mmx.c
libavcodec/x86/dsputil_x86.h

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agomov: Support default-base-is-moof.
Yusuke Nakamura [Tue, 1 Jul 2014 05:17:56 +0000 (14:17 +0900)]
mov: Support default-base-is-moof.

default-base-is-moof shall be set to track fragments compatible with DASH
Media Segments. So, this is a fundamental support for ISOBMFF ver. DASH.
This is meaningful only when base-data-offset-present is absent and two or
more track fragments are present in a movie fragment.

Signed-off-by: Martin Storsjö <martin@martin.st>
10 years agoMerge commit 'adcb8392c9b185fd8a91a95fa256d15ab1432a30'
Michael Niedermayer [Tue, 1 Jul 2014 11:12:02 +0000 (13:12 +0200)]
Merge commit 'adcb8392c9b185fd8a91a95fa256d15ab1432a30'

* commit 'adcb8392c9b185fd8a91a95fa256d15ab1432a30':
  mjpeg: Split off bits shared by MJPEG and LJPEG encoders

Conflicts:
libavcodec/mjpegenc.c
libavcodec/mjpegenc.h

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoUpdate Fiona's name in copyright statements.
Diego Biurrun [Tue, 1 Jul 2014 09:52:37 +0000 (11:52 +0200)]
Update Fiona's name in copyright statements.

10 years agoavfilter/f_ebur128: Use av_malloc_array()
Michael Niedermayer [Tue, 1 Jul 2014 01:50:53 +0000 (03:50 +0200)]
avfilter/f_ebur128: Use av_malloc_array()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavcodec/hevc: Use av_malloc(z)_array()
Michael Niedermayer [Tue, 1 Jul 2014 01:50:17 +0000 (03:50 +0200)]
avcodec/hevc: Use av_malloc(z)_array()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agocmdutils_opencl: Use av_malloc_array()
Michael Niedermayer [Tue, 1 Jul 2014 01:49:36 +0000 (03:49 +0200)]
cmdutils_opencl: Use av_malloc_array()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavfilter/showcqt: adding freetype support
Muhammad Faiz [Mon, 30 Jun 2014 03:30:23 +0000 (10:30 +0700)]
avfilter/showcqt: adding freetype support

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavdevice/xv: fix missing {
Michael Niedermayer [Mon, 30 Jun 2014 19:31:43 +0000 (21:31 +0200)]
avdevice/xv: fix missing {

Found-by: jamrial
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoswr: convert resample_common/linear_int16_mmx2/sse2 to yasm.
Ronald S. Bultje [Sun, 29 Jun 2014 23:19:03 +0000 (20:19 -0300)]
swr: convert resample_common/linear_int16_mmx2/sse2 to yasm.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agolavd/xv: handle delete window message
Lukasz Marek [Tue, 27 May 2014 20:57:26 +0000 (22:57 +0200)]
lavd/xv: handle delete window message

User may close X11 window by close button on tray.
FFmpeg leaves in graceless way.
This commit detects it and return EPIPE error.

Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavcodec/pgssubdec: remove unused variables
Michael Niedermayer [Mon, 30 Jun 2014 16:24:37 +0000 (18:24 +0200)]
avcodec/pgssubdec: remove unused variables

Found-by: ubitux
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavcodec/pgssubdec: Check input buffer size in parse_presentation_segment()
Michael Niedermayer [Mon, 30 Jun 2014 16:23:08 +0000 (18:23 +0200)]
avcodec/pgssubdec: Check input buffer size in parse_presentation_segment()

Might fix overread, no testcase known though.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge commit '253d0be6a1ecc343d29ff8e1df0ddf961ab9c772'
Michael Niedermayer [Mon, 30 Jun 2014 15:58:51 +0000 (17:58 +0200)]
Merge commit '253d0be6a1ecc343d29ff8e1df0ddf961ab9c772'

* commit '253d0be6a1ecc343d29ff8e1df0ddf961ab9c772':
  pgssubdec: handle more complex PGS scenarios

Conflicts:
libavcodec/pgssubdec.c

Some of this has been split out and commited in cleanly split patches immedeately
before this merge

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavcodec/pgssubdec: fix end display time
John Stebbins [Wed, 18 Jun 2014 20:38:36 +0000 (13:38 -0700)]
avcodec/pgssubdec: fix end display time

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavcodec/pgssubdec: Bail out of decode_rle() if error and AV_EF_EXPLODE is set
John Stebbins [Wed, 18 Jun 2014 20:38:36 +0000 (13:38 -0700)]
avcodec/pgssubdec: Bail out of decode_rle() if error and AV_EF_EXPLODE is set

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavcodec/pgssubdec: better error codes
John Stebbins [Wed, 18 Jun 2014 20:38:36 +0000 (13:38 -0700)]
avcodec/pgssubdec: better error codes

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavcodec/pgssubdec: Pass AVSubtitleRect to decode_rle()
John Stebbins [Wed, 18 Jun 2014 20:38:36 +0000 (13:38 -0700)]
avcodec/pgssubdec: Pass AVSubtitleRect to decode_rle()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavcodec/pgssubdec: split out flush_cache()
John Stebbins [Wed, 18 Jun 2014 20:38:36 +0000 (13:38 -0700)]
avcodec/pgssubdec: split out flush_cache()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agodsputil: Split off IDCT bits into their own context
Diego Biurrun [Fri, 24 Jan 2014 10:55:16 +0000 (11:55 +0100)]
dsputil: Split off IDCT bits into their own context

10 years agomjpeg: Split off bits shared by MJPEG and LJPEG encoders
Diego Biurrun [Mon, 30 Jun 2014 12:37:59 +0000 (05:37 -0700)]
mjpeg: Split off bits shared by MJPEG and LJPEG encoders

This obviates a dependency of the LJPEG encoder on mpegvideo.

10 years agoavcodec/pgssubdec: do not fail when part of the packet is faulty unless AV_EF_EXPLODE...
John Stebbins [Wed, 18 Jun 2014 20:38:36 +0000 (13:38 -0700)]
avcodec/pgssubdec: do not fail when part of the packet is faulty unless AV_EF_EXPLODE is set

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavcodec/pgssubdec: rename PICTURE_SEGMENT
John Stebbins [Wed, 18 Jun 2014 20:38:36 +0000 (13:38 -0700)]
avcodec/pgssubdec: rename PICTURE_SEGMENT

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agodoc: remove trailing ':' at the end of sections
Clément Bœsch [Mon, 30 Jun 2014 13:34:51 +0000 (15:34 +0200)]
doc: remove trailing ':' at the end of sections

Also lowercase "options" in "Advanced Video Options" for consistency.

10 years agopgssubdec: handle more complex PGS scenarios
John Stebbins [Wed, 18 Jun 2014 20:38:36 +0000 (13:38 -0700)]
pgssubdec: handle more complex PGS scenarios

Add ability to handle multiple palettes and objects simultaneously.
Each simultaneous object is given its own AVSubtitleRect.
Note that there can be up to 64 currently valid objects, but only
2 at any one time can be "presented".

Signed-off-by: Anton Khirnov <anton@khirnov.net>
10 years agoavformat/hdsenc: Use av_mallocz_array()
Michael Niedermayer [Mon, 30 Jun 2014 03:08:33 +0000 (05:08 +0200)]
avformat/hdsenc: Use av_mallocz_array()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavformat/rtsp: use av_malloc_array()
Michael Niedermayer [Mon, 30 Jun 2014 03:08:16 +0000 (05:08 +0200)]
avformat/rtsp: use av_malloc_array()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoswresample/resample_template: move division out of loop for float/double swri_resampl...
Michael Niedermayer [Sun, 29 Jun 2014 12:23:49 +0000 (14:23 +0200)]
swresample/resample_template: move division out of loop for float/double swri_resample_linear()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge remote-tracking branch 'cehoyos/master'
Michael Niedermayer [Sun, 29 Jun 2014 20:26:43 +0000 (22:26 +0200)]
Merge remote-tracking branch 'cehoyos/master'

* cehoyos/master:
  configure: enable lto for icl compiler.

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoswresample/resample_template: flip order of operations in swri_resample_linear()...
Michael Niedermayer [Sun, 29 Jun 2014 11:55:29 +0000 (13:55 +0200)]
swresample/resample_template: flip order of operations in swri_resample_linear() for 32bit

Fixes integer overflow

Found-by: BBB
Reviewed-by: "Ronald S. Bultje" <rsbultje@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoconfigure: enable lto for icl compiler.
Matthew Oliver [Sat, 28 Jun 2014 17:28:39 +0000 (03:28 +1000)]
configure: enable lto for icl compiler.

10 years agocmdutils: ignore sws_flags if swscale is not enabled
Michael Niedermayer [Sun, 29 Jun 2014 15:01:39 +0000 (17:01 +0200)]
cmdutils: ignore sws_flags if swscale is not enabled

This avoids some failures during fate when swscale is disabled

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavcodec/huffyuvencdsp: try to fix misaligned access
Michael Niedermayer [Sun, 29 Jun 2014 14:26:03 +0000 (16:26 +0200)]
avcodec/huffyuvencdsp: try to fix misaligned access

Should fix fate on MIPS

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agodoc/examples/resampling_audio: use av_freep() for saftey
Michael Niedermayer [Sun, 29 Jun 2014 13:50:29 +0000 (15:50 +0200)]
doc/examples/resampling_audio: use av_freep() for saftey

also its better in examples to use the safer functions.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavfilter/overlay: reindent
Clément Bœsch [Sun, 29 Jun 2014 11:26:12 +0000 (13:26 +0200)]
avfilter/overlay: reindent

10 years agoavfilter/buffersrc: reindent
Clément Bœsch [Sun, 29 Jun 2014 11:26:04 +0000 (13:26 +0200)]
avfilter/buffersrc: reindent

10 years agoffmpeg_opt: route -ab to -b:a
Michael Niedermayer [Sun, 29 Jun 2014 00:47:49 +0000 (02:47 +0200)]
ffmpeg_opt: route -ab to -b:a

Fixes combining -ab with -target pal-dvd
Fixes Ticket3736

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavfilter/vf_pullup: workaround bug in gcc 4.4.3 on ARM
Michael Niedermayer [Sat, 28 Jun 2014 22:52:42 +0000 (00:52 +0200)]
avfilter/vf_pullup: workaround bug in gcc 4.4.3 on ARM

The gcc version affected is very old and unmaintained AFAIK thus i made no
attempt to report this to the gcc developers.

The workaround is pushed as it may still affect users and does affect one
fate client

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agodoc/examples/muxing: remove unused variable
Michael Niedermayer [Sat, 28 Jun 2014 19:44:38 +0000 (21:44 +0200)]
doc/examples/muxing: remove unused variable

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge commit '7b0c7c9163fe3dd0081696befde28617119d2590'
Michael Niedermayer [Sat, 28 Jun 2014 19:31:14 +0000 (21:31 +0200)]
Merge commit '7b0c7c9163fe3dd0081696befde28617119d2590'

* commit '7b0c7c9163fe3dd0081696befde28617119d2590':
  arm: Detect 32 bit cpu features on ARMv8 when running on a 64 bit kernel

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavformat/options_table: Fix flush_packet flag flags
Michael Niedermayer [Sat, 28 Jun 2014 19:23:32 +0000 (21:23 +0200)]
avformat/options_table: Fix flush_packet flag flags

Found-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavformat/mux: fix flush_packets flag with flushing buffers
Michael Niedermayer [Sat, 28 Jun 2014 19:23:32 +0000 (21:23 +0200)]
avformat/mux: fix flush_packets flag with flushing buffers

Found-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoarm: Detect 32 bit cpu features on ARMv8 when running on a 64 bit kernel
Martin Storsjö [Mon, 23 Jun 2014 17:49:21 +0000 (20:49 +0300)]
arm: Detect 32 bit cpu features on ARMv8 when running on a 64 bit kernel

When running on a 64 bit kernel, /proc/cpuinfo lists different
optional features than on 32 bit kernels (because some of them
are mandatory in the 64 bit implemenations).

The kernel does list the old features properly if they are queried
via /proc/self/auxv though - however this file is not always readable
(e.g. on most android systems). The getauxval function could also
provide the same info as /proc/self/auxv even if this file isn't
readable, but this function is not always available (and thus would
need to be loaded with dlsym for compatibility with older android
versions).

The android cpufeatures library does this slightly differently,
by assuming that these are available if the "CPU architecture"
line is >= 8, see [1] for details.

It has been suggested to include the old, non-optional features in
/proc/cpuinfo as well, but that suggested patch never was merged.
See [2] for the discussion around this suggestion.

[1] https://android-review.googlesource.com/91380
[2] http://marc.info/?l=linux-arm-kernel&m=139087240101974

Signed-off-by: Martin Storsjö <martin@martin.st>
10 years agoavcodec/cavs: improve conformance with rm52j reference decoder
Yao Wang [Sat, 28 Jun 2014 16:45:31 +0000 (18:45 +0200)]
avcodec/cavs: improve conformance with rm52j reference decoder

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavcodec/cavs: make cavs_chroma_qp non static
Michael Niedermayer [Sat, 28 Jun 2014 17:06:32 +0000 (19:06 +0200)]
avcodec/cavs: make cavs_chroma_qp non static

The table is needed by multiple files

Reverts part of ef07ac1e126b95ad7e1b56504c19b59901265c3e

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoswr: rewrite resample_common/linear_float_sse/avx in yasm.
Ronald S. Bultje [Sat, 28 Jun 2014 15:05:52 +0000 (11:05 -0400)]
swr: rewrite resample_common/linear_float_sse/avx in yasm.

Linear interpolation goes from 63 (llvm) or 58 (gcc) to 48 (yasm)
cycles/sample on 64bit, or from 66 (llvm/gcc) to 52 (yasm) cycles/
sample on 32bit. Bon-linear goes from 43 (llvm) or 38 (gcc) to
32 (yasm) cycles/sample on 64bit, or from 46 (llvm) or 44 (gcc) to
38 (yasm) cycles/sample on 32bit (all testing on OSX 10.9.2, llvm
5.1 and gcc 4.8/9).

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavfilter/x86/vf_pullup: fix "invalid combination of opcode and operands" with nasm
Michael Niedermayer [Sat, 28 Jun 2014 14:01:32 +0000 (16:01 +0200)]
avfilter/x86/vf_pullup: fix "invalid combination of opcode and operands" with nasm

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoswr: move dst_size == 0 handling outside DSP function.
Ronald S. Bultje [Sat, 28 Jun 2014 12:00:05 +0000 (08:00 -0400)]
swr: move dst_size == 0 handling outside DSP function.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agodoc/APIchanges: lengthening a hash to make it non ambigous
Michael Niedermayer [Sat, 28 Jun 2014 11:11:32 +0000 (13:11 +0200)]
doc/APIchanges: lengthening a hash to make it non ambigous

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoAPIchanges: fillin some missing data
Michael Niedermayer [Sat, 28 Jun 2014 11:10:23 +0000 (13:10 +0200)]
APIchanges: fillin some missing data

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge commit '39975acc699c83af0a87a7318c0f41e189142938'
Michael Niedermayer [Sat, 28 Jun 2014 10:39:55 +0000 (12:39 +0200)]
Merge commit '39975acc699c83af0a87a7318c0f41e189142938'

* commit '39975acc699c83af0a87a7318c0f41e189142938':
  rtpenc_jpeg: check for color_range too

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge commit 'f134b5ec53b4cb51cb69bf0c64de87687ea72b12'
Michael Niedermayer [Sat, 28 Jun 2014 10:33:07 +0000 (12:33 +0200)]
Merge commit 'f134b5ec53b4cb51cb69bf0c64de87687ea72b12'

* commit 'f134b5ec53b4cb51cb69bf0c64de87687ea72b12':
  apichanges: fill in changes for lavu 51.19 and 51.20

Conflicts:
doc/APIchanges

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agortpenc_jpeg: check for color_range too
Vittorio Giovara [Thu, 26 Jun 2014 19:29:52 +0000 (15:29 -0400)]
rtpenc_jpeg: check for color_range too

10 years agoapichanges: fill in changes for lavu 51.19 and 51.20
Vittorio Giovara [Mon, 23 Jun 2014 22:50:34 +0000 (18:50 -0400)]
apichanges: fill in changes for lavu 51.19 and 51.20

10 years agoavcodec/mpegvideo: dont overwrite emu_edge buffer
Michael Niedermayer [Sat, 28 Jun 2014 04:28:21 +0000 (06:28 +0200)]
avcodec/mpegvideo: dont overwrite emu_edge buffer

Fixes vsynth3 fate failures on mips

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavcodec/mpegvideo_enc: reduce space between blocks in emu_edge in encode_mb_internal
Michael Niedermayer [Sat, 28 Jun 2014 04:27:15 +0000 (06:27 +0200)]
avcodec/mpegvideo_enc: reduce space between blocks in emu_edge in encode_mb_internal