ffmpeg.git
6 years agoswr: reindent.
Ronald S. Bultje [Sun, 15 Jun 2014 22:49:18 +0000 (18:49 -0400)]
swr: reindent.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoavcodec/huffyuvdec: Fix fill value for truncated bitstreams
Michael Niedermayer [Sun, 15 Jun 2014 23:06:50 +0000 (01:06 +0200)]
avcodec/huffyuvdec: Fix fill value for truncated bitstreams

Found-by: Christophe Gisquet <christophe.gisquet@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agohuffyuvdec: use unsafe bitstream reader
Christophe Gisquet [Sun, 15 Jun 2014 10:04:36 +0000 (12:04 +0200)]
huffyuvdec: use unsafe bitstream reader

The reader reads in chunks of 11 bits at most, and at most 3 times. The unsafe
reader therefore may read 6 chunks instead of 1 in worst case, ie 8 bytes,
which is within the padding tolerance.

The reader ends up being ~10% faster. Cumulative effect of unsafe reading and
code block swapping on 3 sequences is for 1 thread, decoding time goes from
23.3s to 19.0s.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agohuffyuv: fate: add a BGR24 test
Christophe Gisquet [Sun, 15 Jun 2014 17:33:46 +0000 (19:33 +0200)]
huffyuv: fate: add a BGR24 test

It was previously untested.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agohevc: Fix 4K sample video
Kieran [Sat, 14 Jun 2014 18:25:09 +0000 (19:25 +0100)]
hevc: Fix 4K sample video

Reviewed-by: smarter
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoavformat/smoothstreamingenc: Use av_mallocz_array()
Michael Niedermayer [Sun, 15 Jun 2014 21:20:56 +0000 (23:20 +0200)]
avformat/smoothstreamingenc: Use av_mallocz_array()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoFix compilation on ppc64 and ppc with pic if gas-preprocessor is installed.
Carl Eugen Hoyos [Sun, 15 Jun 2014 20:51:23 +0000 (22:51 +0200)]
Fix compilation on ppc64 and ppc with pic if gas-preprocessor is installed.

6 years agoavcodec/dvbsubdec: Split save_subtitle_set() out
Anshul Maheshwari [Sat, 14 Jun 2014 11:36:37 +0000 (17:06 +0530)]
avcodec/dvbsubdec: Split save_subtitle_set() out

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoavcodec/dvbsubdec: add AVClass to context
Anshul Maheshwari [Sat, 14 Jun 2014 11:36:37 +0000 (17:06 +0530)]
avcodec/dvbsubdec: add AVClass to context

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoavcodec/dvbsubdec: restructure version check
Anshul Maheshwari [Sat, 14 Jun 2014 11:36:37 +0000 (17:06 +0530)]
avcodec/dvbsubdec: restructure version check

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoavformat/framecrcenc: print the checksum and size of extradata as well
Michael Niedermayer [Fri, 13 Jun 2014 22:30:25 +0000 (00:30 +0200)]
avformat/framecrcenc: print the checksum and size of extradata as well

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agohuffyuvdec: remove somewhat deprecated code
Christophe Gisquet [Sun, 15 Jun 2014 13:13:16 +0000 (15:13 +0200)]
huffyuvdec: remove somewhat deprecated code

The old code was reserving the 0xFFFF entry to represent an inexisting
entry/codeword. These entries are now detected through their length
being <= 0. As this entry is often used for the residuals (-1,-1), which
should be among the most frequent, it is particularly important to not
reserve it.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoMAINTAINERS: Add Co maintainer for huffyuv*, rv4*, vc1*
Christophe Gisquet [Sun, 15 Jun 2014 14:22:45 +0000 (16:22 +0200)]
MAINTAINERS: Add Co maintainer for huffyuv*, rv4*, vc1*

Patch by: Christophe Gisquet
Commit Message by commiter

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoavcodec/huffyuvdec: assume vlcs can be 32 instead of 31 bits max
Michael Niedermayer [Sun, 15 Jun 2014 14:14:30 +0000 (16:14 +0200)]
avcodec/huffyuvdec: assume vlcs can be 32 instead of 31 bits max

This should avoid a division as well

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agohuffyuvdec: swap code blocks
Christophe Gisquet [Sun, 15 Jun 2014 10:07:16 +0000 (12:07 +0200)]
huffyuvdec: swap code blocks

The effect is not really deterministic, as it seems to be a combination
on x86_64 of fewer registers used, different jump offsets and, for all
archs, of likely branches.

Speedup is around 15%.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoswr: compile mmx2 s16p functions only on x86-32.
Ronald S. Bultje [Sat, 14 Jun 2014 18:55:49 +0000 (14:55 -0400)]
swr: compile mmx2 s16p functions only on x86-32.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agox86util: add and use RSHIFT/LSHIFT macros
Christophe Gisquet [Sat, 14 Jun 2014 23:05:03 +0000 (01:05 +0200)]
x86util: add and use RSHIFT/LSHIFT macros

Those macros take a byte number as shift argument, as this argument
differs between MMX and SSE2 instructions.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agofate: yadif: add >8 bit tests
Christophe Gisquet [Sun, 15 Jun 2014 08:39:25 +0000 (10:39 +0200)]
fate: yadif: add >8 bit tests

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoaandcttab: fix spelling
Christophe Gisquet [Sat, 14 Jun 2014 19:55:08 +0000 (21:55 +0200)]
aandcttab: fix spelling

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoavcodec/xbmdec: remove dependancy on zero padding on input packet
Michael Niedermayer [Sun, 15 Jun 2014 01:38:50 +0000 (03:38 +0200)]
avcodec/xbmdec: remove dependancy on zero padding on input packet

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoavcodec/indeo5: Fix infinite loop in skip_hdr_extension()
Michael Niedermayer [Sun, 15 Jun 2014 01:17:11 +0000 (03:17 +0200)]
avcodec/indeo5: Fix infinite loop in skip_hdr_extension()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoswr: add prototypes for resample dsp functions
James Almer [Sat, 14 Jun 2014 22:21:44 +0000 (19:21 -0300)]
swr: add prototypes for resample dsp functions

Should fix compilation failures with MSVC and any other compiler
without inline asm support.

Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoavformat/mpc: attempt to allocate a packet that is not smaller than the data inside it
Michael Niedermayer [Sat, 14 Jun 2014 22:49:02 +0000 (00:49 +0200)]
avformat/mpc: attempt to allocate a packet that is not smaller than the data inside it

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoswr: remove obsolete function prototypes.
Ronald S. Bultje [Sat, 14 Jun 2014 22:01:04 +0000 (18:01 -0400)]
swr: remove obsolete function prototypes.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoffmpeg: for h264 we need has_b_frames from the decoder
Michael Niedermayer [Sat, 14 Jun 2014 21:23:42 +0000 (23:23 +0200)]
ffmpeg: for h264 we need has_b_frames from the decoder

Other solutions welcome

Fixes Ticket3711

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoffmpeg: print values of mismatching has_b_frames
Michael Niedermayer [Sat, 14 Jun 2014 21:09:21 +0000 (23:09 +0200)]
ffmpeg: print values of mismatching has_b_frames

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agocmdutils: implement FFREPORT=level=...
Michael Niedermayer [Mon, 12 May 2014 20:23:36 +0000 (22:23 +0200)]
cmdutils: implement FFREPORT=level=...

Fixes Ticket3057

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agodoc/filters: remove double quotes from zoompan example
Lou Logan [Wed, 11 Jun 2014 20:56:04 +0000 (12:56 -0800)]
doc/filters: remove double quotes from zoompan example

Based on suggested change by Clément Bœsch.

Signed-off-by: Lou Logan <lou@lrcd.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoavcodec/ppc/idct_altivec: add plain idct()
Michael Niedermayer [Sat, 14 Jun 2014 16:32:17 +0000 (18:32 +0200)]
avcodec/ppc/idct_altivec: add plain idct()

Tested-by: Carl Eugen Hoyos <cehoyos@ag.or.at>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoswr: split out DSP functions.
Ronald S. Bultje [Sat, 14 Jun 2014 18:11:03 +0000 (14:11 -0400)]
swr: split out DSP functions.

DSP bits of swri_resample go into their own mini-DSP functions; DSP
init goes from a per-call branch in multiple_resample to a proper
DSP init routine; x86 bits go into x86/; swri_resample() moves out of
resample_template.c into resample.c because it's independent of DSP
code or sample type; multiple_resample() is simplified.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agompeg12enc: add seq_disp_ext option for deciding when to write a sequence_display_exte...
Marton Balint [Sat, 14 Jun 2014 15:07:28 +0000 (17:07 +0200)]
mpeg12enc: add seq_disp_ext option for deciding when to write a sequence_display_extension

Signed-off-by: Marton Balint <cus@passwd.hu>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agompeg12enc: add support for PANSCAN side data in sequence_display_extension
Marton Balint [Sat, 14 Jun 2014 15:07:27 +0000 (17:07 +0200)]
mpeg12enc: add support for PANSCAN side data in sequence_display_extension

Signed-off-by: Marton Balint <cus@passwd.hu>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoFix compilation with --disable-everything --enable-parser=vc1.
Carl Eugen Hoyos [Sat, 14 Jun 2014 17:19:52 +0000 (19:19 +0200)]
Fix compilation with --disable-everything --enable-parser=vc1.

6 years agoavcodec/vc1dec: Fix support for small widths/linesizes
Michael Niedermayer [Sat, 14 Jun 2014 14:23:09 +0000 (16:23 +0200)]
avcodec/vc1dec: Fix support for small widths/linesizes

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoswresample/resample: replace assert by av_assert
Michael Niedermayer [Sat, 14 Jun 2014 12:41:01 +0000 (14:41 +0200)]
swresample/resample: replace assert by av_assert

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoFix standalone compilation of the H264 decoder on ppc.
Carl Eugen Hoyos [Sat, 14 Jun 2014 13:44:52 +0000 (15:44 +0200)]
Fix standalone compilation of the H264 decoder on ppc.

6 years agoswr: handle initial negative sample index outside DSP function.
Ronald S. Bultje [Fri, 13 Jun 2014 23:06:30 +0000 (19:06 -0400)]
swr: handle initial negative sample index outside DSP function.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agofate/aic: force simple idct
Michael Niedermayer [Sat, 14 Jun 2014 10:30:38 +0000 (12:30 +0200)]
fate/aic: force simple idct

This should ensure all platforms use the same idct

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoMAINTAINERS: add my (Timothy Gu's) PGP fingerprint and my name for fateserver
Timothy Gu [Wed, 11 Jun 2014 00:37:23 +0000 (17:37 -0700)]
MAINTAINERS: add my (Timothy Gu's) PGP fingerprint and my name for fateserver

Signed-off-by: Timothy Gu <timothygu99@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoswr: remove unnecessary assignment.
Ronald S. Bultje [Sat, 14 Jun 2014 00:25:51 +0000 (20:25 -0400)]
swr: remove unnecessary assignment.

I don't see dst_incr/dst_incr_frac ever being changed from their
initial value (which is the inverse of this operation), so it seems
to me that this is a no-op.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoavfilter/af_asetnsamples: fix pts handling when timebase and 1/samplerate differ
Michael Niedermayer [Sat, 14 Jun 2014 02:22:58 +0000 (04:22 +0200)]
avfilter/af_asetnsamples: fix pts handling when timebase and 1/samplerate differ

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoffmpeg: Fix bitstream filters manipulating AVCodecContext
Michael Niedermayer [Fri, 13 Jun 2014 22:50:50 +0000 (00:50 +0200)]
ffmpeg: Fix bitstream filters manipulating AVCodecContext

Fixes Ticket3715

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoavfilter/formats: Use av_realloc_array()
Michael Niedermayer [Fri, 13 Jun 2014 21:15:16 +0000 (23:15 +0200)]
avfilter/formats: Use av_realloc_array()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoavfilter/vf_dejudder: Use av_mallocz_array()
Michael Niedermayer [Fri, 13 Jun 2014 21:14:38 +0000 (23:14 +0200)]
avfilter/vf_dejudder: Use av_mallocz_array()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoavfilter/vf_unsharp: use av_malloc_array()
Michael Niedermayer [Fri, 13 Jun 2014 21:14:18 +0000 (23:14 +0200)]
avfilter/vf_unsharp: use av_malloc_array()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoavcodec/svq1enc: fix encoding of small widths
Michael Niedermayer [Fri, 13 Jun 2014 18:59:24 +0000 (20:59 +0200)]
avcodec/svq1enc: fix encoding of small widths

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agovfilter/avf_showcqt: fix 'mixed declarations and code'
Michael Niedermayer [Fri, 13 Jun 2014 18:32:35 +0000 (20:32 +0200)]
vfilter/avf_showcqt: fix 'mixed declarations and code'

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoMerge commit '27631796c9d1b8146ad4a16e6539ecc08afa7565'
Michael Niedermayer [Fri, 13 Jun 2014 17:10:19 +0000 (19:10 +0200)]
Merge commit '27631796c9d1b8146ad4a16e6539ecc08afa7565'

* commit '27631796c9d1b8146ad4a16e6539ecc08afa7565':
  ac3: Only initialize float_dsp for the float encoder variant

Merged-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoMerge commit 'f0ce9913d0974ac0c7371a62c3324dd2863b5d1b'
Michael Niedermayer [Fri, 13 Jun 2014 17:03:47 +0000 (19:03 +0200)]
Merge commit 'f0ce9913d0974ac0c7371a62c3324dd2863b5d1b'

* commit 'f0ce9913d0974ac0c7371a62c3324dd2863b5d1b':
  Rename tpel_template.c ---> pel_template.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoavcodec/mpegvideo: check that linesize is not too small
Michael Niedermayer [Fri, 13 Jun 2014 15:12:00 +0000 (17:12 +0200)]
avcodec/mpegvideo: check that linesize is not too small

Note linesize is rounded up to at least a multiple of 8

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoavcodec/rv34: fix edge emu with uv stride <= 25
Michael Niedermayer [Fri, 13 Jun 2014 14:13:13 +0000 (16:13 +0200)]
avcodec/rv34: fix edge emu with uv stride <= 25

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoMAINTAINERS: Added Tim Nicholson's key fingerprint
Tim.Nicholson [Fri, 13 Jun 2014 13:41:43 +0000 (14:41 +0100)]
MAINTAINERS: Added Tim Nicholson's key fingerprint

Signed-off-by: Tim.Nicholson <tim.nicholson@bbc.co.uk>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoswscale: Allow the max filter size to be set at compile time
Derek Buitenhuis [Wed, 11 Jun 2014 16:51:49 +0000 (17:51 +0100)]
swscale: Allow the max filter size to be set at compile time

This can help "extreme" resizes, e.g with some 4k stuff.

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
6 years agoac3: Only initialize float_dsp for the float encoder variant
Diego Biurrun [Wed, 11 Jun 2014 12:32:01 +0000 (05:32 -0700)]
ac3: Only initialize float_dsp for the float encoder variant

6 years agoRename tpel_template.c ---> pel_template.c
Diego Biurrun [Thu, 12 Jun 2014 14:05:49 +0000 (07:05 -0700)]
Rename tpel_template.c ---> pel_template.c

The new name more accurately describes what the file is about.

6 years agoavcodec/mpegvideo: Fix psnr calculation with slice threads
Michael Niedermayer [Fri, 13 Jun 2014 11:04:31 +0000 (13:04 +0200)]
avcodec/mpegvideo: Fix psnr calculation with slice threads

This fixes a race condition and use of the wrong field, which become shared
instead of per thread during some AVFrame changes.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agolibavcodec/wmv2: remove dead code
Michael Niedermayer [Fri, 13 Jun 2014 02:21:52 +0000 (04:21 +0200)]
libavcodec/wmv2: remove dead code

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoMerge commit '4321e507564b2d8a5dfc630f8d6fefba6fdc1e92'
Michael Niedermayer [Fri, 13 Jun 2014 00:36:22 +0000 (02:36 +0200)]
Merge commit '4321e507564b2d8a5dfc630f8d6fefba6fdc1e92'

* commit '4321e507564b2d8a5dfc630f8d6fefba6fdc1e92':
  configure: use pkg-config for libx264

Not merged as requested by carl
a patch to fix this has been posted by carl to ffmpeg-devel

Merged-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoavcodec/mpegvideo: fix edge emulation with uvlinesize below 25
Michael Niedermayer [Thu, 12 Jun 2014 23:45:23 +0000 (01:45 +0200)]
avcodec/mpegvideo: fix edge emulation with uvlinesize below 25

Fixes fate-vsynth3-wmv2

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agolavd/avfoundation: Support user selected pixel formats and pixel format autoselection.
sfan5 [Wed, 11 Jun 2014 18:26:33 +0000 (20:26 +0200)]
lavd/avfoundation: Support user selected pixel formats and pixel format autoselection.

Signed-off-by: Thilo Borgmann <thilo.borgmann@mail.de>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoMerge commit 'ceada893bec1e29e457bd2b81d8a0b6fcba5f1f7'
Michael Niedermayer [Thu, 12 Jun 2014 19:30:09 +0000 (21:30 +0200)]
Merge commit 'ceada893bec1e29e457bd2b81d8a0b6fcba5f1f7'

* commit 'ceada893bec1e29e457bd2b81d8a0b6fcba5f1f7':
  libx265: Remove unneeded bit depth check

See: 7ed89addb7f6271d17c2ba21ec11204e37fa9917
Merged-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoMerge commit '61a344916d324c8ca52064964478f46c877f02e2'
Michael Niedermayer [Thu, 12 Jun 2014 19:28:45 +0000 (21:28 +0200)]
Merge commit '61a344916d324c8ca52064964478f46c877f02e2'

* commit '61a344916d324c8ca52064964478f46c877f02e2':
  libx265: Add 4:2:2 support

See: 6ee95af8a1181f02e7f3adb9b5d488ba3314e220
Merged-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoMerge commit '180e6b48060f97fdd8497320395b61dc85664ecd'
Michael Niedermayer [Thu, 12 Jun 2014 19:20:10 +0000 (21:20 +0200)]
Merge commit '180e6b48060f97fdd8497320395b61dc85664ecd'

* commit '180e6b48060f97fdd8497320395b61dc85664ecd':
  libx265: Actually use X265_API_IMPORTS

See: 4e9b46b0568196e9e1640350a3c6f5f09bfd9e47
Merged-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoconfigure: use pkg-config for libx264
Vittorio Giovara [Tue, 10 Jun 2014 21:46:57 +0000 (17:46 -0400)]
configure: use pkg-config for libx264

6 years agoMerge commit 'dca7ba4bffe3e4aeb620cb62955256a0d87561f4'
Michael Niedermayer [Thu, 12 Jun 2014 18:25:48 +0000 (20:25 +0200)]
Merge commit 'dca7ba4bffe3e4aeb620cb62955256a0d87561f4'

* commit 'dca7ba4bffe3e4aeb620cb62955256a0d87561f4':
  Remove some unnecessary CONFIG_FOO_COMPONENT ifdefs

Conflicts:
libavcodec/ac3enc_float.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
6 years agolibx265: Remove unneeded bit depth check
Derek Buitenhuis [Wed, 11 Jun 2014 20:20:43 +0000 (21:20 +0100)]
libx265: Remove unneeded bit depth check

This is no longer needed since the version bump.

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
6 years agolibx265: Add 4:2:2 support
Derek Buitenhuis [Wed, 11 Jun 2014 20:19:42 +0000 (21:19 +0100)]
libx265: Add 4:2:2 support

It is also not final yet, so require -strict experimental.

Requires a bump to version 17.

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
6 years agolibx265: Actually use X265_API_IMPORTS
Derek Buitenhuis [Wed, 11 Jun 2014 19:51:52 +0000 (20:51 +0100)]
libx265: Actually use X265_API_IMPORTS

It obvously needs to be above the include statement.

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
6 years agolibx265: Remove unneeded bit depth check
Derek Buitenhuis [Wed, 11 Jun 2014 20:20:43 +0000 (21:20 +0100)]
libx265: Remove unneeded bit depth check

This is no longer needed since the version bump.

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
6 years agoRemove some unnecessary CONFIG_FOO_COMPONENT ifdefs
Diego Biurrun [Wed, 11 Jun 2014 12:48:30 +0000 (05:48 -0700)]
Remove some unnecessary CONFIG_FOO_COMPONENT ifdefs

The files are only ever compiled if that condition is true.

6 years agolibx265: Add 4:2:2 support
Derek Buitenhuis [Wed, 11 Jun 2014 20:19:42 +0000 (21:19 +0100)]
libx265: Add 4:2:2 support

It is also not final yet, so require -strict experimental.

Requires a bump to version 17.

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
6 years agolibx265: Actually use X265_API_IMPORTS
Derek Buitenhuis [Wed, 11 Jun 2014 19:51:52 +0000 (20:51 +0100)]
libx265: Actually use X265_API_IMPORTS

It obvously needs to be above the include statement.

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
6 years agoMerge commit '48e50921337984ba4ec2c1cafe45d43787f84498'
Michael Niedermayer [Thu, 12 Jun 2014 10:02:34 +0000 (12:02 +0200)]
Merge commit '48e50921337984ba4ec2c1cafe45d43787f84498'

* commit '48e50921337984ba4ec2c1cafe45d43787f84498':
  avconv: make -shortest work with streamcopy

Conflicts:
ffmpeg.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoavfilter/avf_showcqt: add option for lower resolution
Muhammad Faiz [Thu, 12 Jun 2014 09:09:41 +0000 (09:09 +0000)]
avfilter/avf_showcqt: add option for lower resolution

Resolution can be 1920x1080 or 960x540.

6 years agoavconv: make -shortest work with streamcopy
Anton Khirnov [Tue, 10 Jun 2014 15:41:57 +0000 (17:41 +0200)]
avconv: make -shortest work with streamcopy

CC: libav-stable@libav.org
6 years agovp9/x86: fix overwrite in ipred_vl_4x4_ssse3.
Ronald S. Bultje [Thu, 12 Jun 2014 01:09:54 +0000 (21:09 -0400)]
vp9/x86: fix overwrite in ipred_vl_4x4_ssse3.

Fixes track ticket 3717.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoavcodec/libx264: fix "bitrate reconfiguration"
Michael Niedermayer [Wed, 11 Jun 2014 23:03:46 +0000 (01:03 +0200)]
avcodec/libx264: fix "bitrate reconfiguration"

6 years agoMerge commit '2f4170312f605c1f02a14c01347e94cf46726dbd'
Michael Niedermayer [Wed, 11 Jun 2014 22:55:48 +0000 (00:55 +0200)]
Merge commit '2f4170312f605c1f02a14c01347e94cf46726dbd'

* commit '2f4170312f605c1f02a14c01347e94cf46726dbd':
  libx264: Support bitrate reconfiguration

Merged-by: Michael Niedermayer <michaelni@gmx.at>
6 years agox86: huffyuv: fix {add,diff}_int16
Christophe Gisquet [Wed, 11 Jun 2014 19:13:23 +0000 (21:13 +0200)]
x86: huffyuv: fix {add,diff}_int16

They used an extra, undeclared register. Fixes a crash in
fate-vsynth3-ffvhuff444p16

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoMerge commit 'cd62c04d009b3baf7582556866a7029291b54573'
Michael Niedermayer [Wed, 11 Jun 2014 20:38:24 +0000 (22:38 +0200)]
Merge commit 'cd62c04d009b3baf7582556866a7029291b54573'

* commit 'cd62c04d009b3baf7582556866a7029291b54573':
  h263enc: keep block_last_index always valid during advanced intra coding

Merged-by: Michael Niedermayer <michaelni@gmx.at>
6 years agolibx264: Support bitrate reconfiguration
Luca Barbato [Tue, 10 Jun 2014 12:31:48 +0000 (14:31 +0200)]
libx264: Support bitrate reconfiguration

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
6 years agoMerge commit '0ddc53dabbc6f636d062b187ea27934610aaad30'
Michael Niedermayer [Wed, 11 Jun 2014 20:29:40 +0000 (22:29 +0200)]
Merge commit '0ddc53dabbc6f636d062b187ea27934610aaad30'

* commit '0ddc53dabbc6f636d062b187ea27934610aaad30':
  mpegvideo: synchronize AVFrame pointers in ERContext fully

Conflicts:
libavcodec/mpegvideo.c

See: 8ef9dcf1d74aea55bf39f1e479fe67e98d973954
Merged-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoavcodec: increase FF_INPUT_BUFFER_PADDING_SIZE to 32
Michael Niedermayer [Wed, 11 Jun 2014 19:18:14 +0000 (21:18 +0200)]
avcodec: increase FF_INPUT_BUFFER_PADDING_SIZE to 32

Sometimes the input buffers get directly used as raw images and
SIMD optimized video/image filters can sometimes read more than 16 bytes
over the end.
a specific example is the AVX 24bpp to yuv code

This also fixes fate-vsynth3-rgb

Reviewed-by: Christophe Gisquet <christophe.gisquet@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoavcodec/motion_est: Only clip MVs which are used
Michael Niedermayer [Wed, 11 Jun 2014 20:08:15 +0000 (22:08 +0200)]
avcodec/motion_est: Only clip MVs which are used

Fixes valgrind mpeg4 failures

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agodoc/filters: add forgotten " to zoompan example
Lou Logan [Wed, 11 Jun 2014 20:01:05 +0000 (12:01 -0800)]
doc/filters: add forgotten " to zoompan example

Signed-off-by: Lou Logan <lou@lrcd.com>
6 years agoavfilter/showcqt: move qsort_sparsecoeff closer to where it belongs
Clément Bœsch [Wed, 11 Jun 2014 19:32:22 +0000 (21:32 +0200)]
avfilter/showcqt: move qsort_sparsecoeff closer to where it belongs

6 years agoavfilter/showcqt: fix misc style issues
Clément Bœsch [Wed, 11 Jun 2014 19:30:27 +0000 (21:30 +0200)]
avfilter/showcqt: fix misc style issues

6 years agoh263enc: keep block_last_index always valid during advanced intra coding
Janne Grunau [Tue, 10 Jun 2014 18:50:13 +0000 (20:50 +0200)]
h263enc: keep block_last_index always valid during advanced intra coding

Prevents a triggered assert during fate-vsynth{1,2}-rv20 in
dct_unquantize_h263_intra_c().

6 years agompegvideo: synchronize AVFrame pointers in ERContext fully
Janne Grunau [Wed, 11 Jun 2014 17:40:28 +0000 (19:40 +0200)]
mpegvideo: synchronize AVFrame pointers in ERContext fully

Since error resilience uses AVFrame pointers instead of references it
has to copy NULL pointers too. After a codec flush the last/next frame
pointers in MpegEncContext are NULL and the old pointers remaining in
ERContext are invalid. Fixes a crash in vlc for android thumbnailer.
Reported and debugged by Adrien Maglo <magsoft@videolan.org>.

6 years agoavfilter: add signalstats filter
Clément Bœsch [Wed, 11 Jun 2014 19:14:01 +0000 (21:14 +0200)]
avfilter: add signalstats filter

Signed-off-by: Mark Heath <silicontrip@gmail.com>
Signed-off-by: Dave Rice <dave@dericed.com>
Signed-off-by: Clément Bœsch <u@pkh.me>
6 years agotests: Add aic decoder test
Timothy Gu [Tue, 10 Jun 2014 04:47:43 +0000 (21:47 -0700)]
tests: Add aic decoder test

Signed-off-by: Timothy Gu <timothygu99@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoavformat/oggparsevorbis: Dont attempt to calculate timestamps from gp=0
Michael Niedermayer [Wed, 11 Jun 2014 16:03:45 +0000 (18:03 +0200)]
avformat/oggparsevorbis: Dont attempt to calculate timestamps from gp=0

Fixes Ticket3710

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoMAINTAINERS: numerous grammar and discrepancy fixes
Timothy Gu [Wed, 11 Jun 2014 00:37:22 +0000 (17:37 -0700)]
MAINTAINERS: numerous grammar and discrepancy fixes

Signed-off-by: Timothy Gu <timothygu99@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoavcodec/mpegvideo_enc: fix padding for odd dimensions and interlaced video
Michael Niedermayer [Wed, 11 Jun 2014 02:59:05 +0000 (04:59 +0200)]
avcodec/mpegvideo_enc: fix padding for odd dimensions and interlaced video

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoavcodec/qtrleenc: Check that width is a multiple of 4 for grayscale
Michael Niedermayer [Wed, 11 Jun 2014 02:02:53 +0000 (04:02 +0200)]
avcodec/qtrleenc: Check that width is a multiple of 4 for grayscale

grayscale is coded as 4 pixels at a time, the encoder lacks support
for the case where width%4 != 0, and will simply encode less data
leaving random data after decoding at the right side

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agofate: Disable qtrlegray 34x34 test
Michael Niedermayer [Wed, 11 Jun 2014 02:01:49 +0000 (04:01 +0200)]
fate: Disable qtrlegray 34x34 test

The encoder lacks support for width % 4 != 0

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoMerge commit '641e57230b460bef52c88e61087d97c223910bea'
Michael Niedermayer [Wed, 11 Jun 2014 01:10:21 +0000 (03:10 +0200)]
Merge commit '641e57230b460bef52c88e61087d97c223910bea'

* commit '641e57230b460bef52c88e61087d97c223910bea':
  fate: add on2avc audio test

Conflicts:
tests/fate/audio.mak

Merged-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoMerge commit 'd7705be9617ed691c7a2924a2088de2d96f38af1'
Michael Niedermayer [Wed, 11 Jun 2014 00:57:08 +0000 (02:57 +0200)]
Merge commit 'd7705be9617ed691c7a2924a2088de2d96f38af1'

* commit 'd7705be9617ed691c7a2924a2088de2d96f38af1':
  mpegvideoenc: check color_range

Conflicts:
libavcodec/mpegvideo_enc.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoMerge commit '27860819d508068f056cf48473af04868791ad77'
Michael Niedermayer [Wed, 11 Jun 2014 00:33:58 +0000 (02:33 +0200)]
Merge commit '27860819d508068f056cf48473af04868791ad77'

* commit '27860819d508068f056cf48473af04868791ad77':
  ppc: Consistently use convenience macro for runtime CPU detection

Merged-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoMerge commit '205fdd4ea5e1264946917a26fde01e137a485f5a'
Michael Niedermayer [Wed, 11 Jun 2014 00:21:21 +0000 (02:21 +0200)]
Merge commit '205fdd4ea5e1264946917a26fde01e137a485f5a'

* commit '205fdd4ea5e1264946917a26fde01e137a485f5a':
  ppc: Fix runtime CPU detection for apedsp, huffyuvdsp, svq1enc

Merged-by: Michael Niedermayer <michaelni@gmx.at>