]> git.sesse.net Git - ffmpeg/log
ffmpeg
8 years agoMerge commit 'd8ebb6157d12183ed3fc987cd2ba18b404758828'
Hendrik Leppkes [Mon, 24 Aug 2015 08:32:34 +0000 (10:32 +0200)]
Merge commit 'd8ebb6157d12183ed3fc987cd2ba18b404758828'

* commit 'd8ebb6157d12183ed3fc987cd2ba18b404758828':
  hevcdsp: fix a function name

Not merged, ffmpeg has no function of this name anymore.

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
8 years agoMerge commit 'a1926a29fb4325afa46842883f197c74d4535c36'
Hendrik Leppkes [Mon, 24 Aug 2015 08:29:26 +0000 (10:29 +0200)]
Merge commit 'a1926a29fb4325afa46842883f197c74d4535c36'

* commit 'a1926a29fb4325afa46842883f197c74d4535c36':
  hevc: avoid invalid shifts of negative values

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
8 years agoMerge commit '515b69f8f8e9a24cfaee95d8c1f63f265d8582fe'
Hendrik Leppkes [Mon, 24 Aug 2015 08:27:39 +0000 (10:27 +0200)]
Merge commit '515b69f8f8e9a24cfaee95d8c1f63f265d8582fe'

* commit '515b69f8f8e9a24cfaee95d8c1f63f265d8582fe':
  checkasm: Explicitly declare function prototypes

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
8 years agoMerge commit 'e13da244f41610ee073b2f72bcf62b60fa402bb5'
Hendrik Leppkes [Mon, 24 Aug 2015 08:26:29 +0000 (10:26 +0200)]
Merge commit 'e13da244f41610ee073b2f72bcf62b60fa402bb5'

* commit 'e13da244f41610ee073b2f72bcf62b60fa402bb5':
  checkasm: x86: properly save rdx/edx in checked_call()

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
8 years agoMerge commit 'faa3f17a76333b672ce4a40cf80f678ab68bdbae'
Hendrik Leppkes [Mon, 24 Aug 2015 08:25:41 +0000 (10:25 +0200)]
Merge commit 'faa3f17a76333b672ce4a40cf80f678ab68bdbae'

* commit 'faa3f17a76333b672ce4a40cf80f678ab68bdbae':
  fate: test only demuxing in asf-repldata

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
8 years agofate: add tests for waveform filter
Paul B Mahol [Sat, 22 Aug 2015 21:16:56 +0000 (21:16 +0000)]
fate: add tests for waveform filter

Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years agofate: add api-band-test
Ludmila Glinskih [Mon, 24 Aug 2015 00:11:45 +0000 (03:11 +0300)]
fate: add api-band-test

Works only for flv, h263 and huffyuv decoders.
Makes only one pass through the file (this should be changed to two passes)

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agortpenc_chain: also copy AVFMT_FLAG_BITEXACT to new AVFormatContext
Andreas Cadhalpun [Sun, 23 Aug 2015 09:53:09 +0000 (11:53 +0200)]
rtpenc_chain: also copy AVFMT_FLAG_BITEXACT to new AVFormatContext

Otherwise it is impossible to make '-movflags +rtphint' bitexact after
FF_API_LAVF_BITEXACT has been disabled.

Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
8 years agooptions_table: fix compatibility with MSVC
Andreas Cadhalpun [Sun, 23 Aug 2015 09:16:10 +0000 (11:16 +0200)]
options_table: fix compatibility with MSVC

Including libavutil/internal.h breaks compilation of doc/print_options.c
with MSVC due to linking avpriv_strtod/avpriv_snprintf.

This reverts part of commit 095347f.

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
8 years agoavcodec: remove FF_API_LOWRES around max_lowres
Andreas Cadhalpun [Fri, 21 Aug 2015 21:58:56 +0000 (23:58 +0200)]
avcodec: remove FF_API_LOWRES around max_lowres

Reviewed-by: wm4 <nfxjfg@googlemail.com>
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
8 years agoswresample/dither: use integer arithmetic
Ganesh Ajjanagadde [Sun, 23 Aug 2015 20:31:12 +0000 (16:31 -0400)]
swresample/dither: use integer arithmetic

This fixes a -Wabsolute-value reported by clang 3.5+ complaining about misuse of fabs() for integer absolute value.
An additional benefit is the removal of floating point calculations.

Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavdevice/lavfi: fix self assignment warning
Ganesh Ajjanagadde [Sun, 23 Aug 2015 03:24:38 +0000 (23:24 -0400)]
avdevice/lavfi: fix self assignment warning

FAIL(ret) expands to statements including a silly ret=ret.
This triggers a -Wself-assign on confirmed clang 3.6, and so we fix it.

Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavfilter/vf_histogram: levels: support more input pixel formats
Paul B Mahol [Sun, 23 Aug 2015 10:10:34 +0000 (10:10 +0000)]
avfilter/vf_histogram: levels: support more input pixel formats

Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years agoavformat: Remove use of AVFrac and AVStream->pts
Michael Niedermayer [Mon, 17 Aug 2015 14:30:16 +0000 (16:30 +0200)]
avformat: Remove use of AVFrac and AVStream->pts

Move field to internal part of AVStream and struct to internal.h

Reviewed-by: Andreas Cadhalpun <andreas.cadhalpun@googlemail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavcodec/x86/mpegaudiodsp: correct asm guards
Ganesh Ajjanagadde [Fri, 21 Aug 2015 17:43:43 +0000 (13:43 -0400)]
avcodec/x86/mpegaudiodsp: correct asm guards

Fixes -Wunused-function warnings when compiling with --disable-yasm on x86.

Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agofate: temporarily disable AAC TNS test
Rostislav Pehlivanov [Sun, 23 Aug 2015 00:04:06 +0000 (01:04 +0100)]
fate: temporarily disable AAC TNS test

Fixing it will take a bit longer, so just suspend the test.

Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
8 years agoaacenc_tns: temporarily disable
Rostislav Pehlivanov [Sat, 22 Aug 2015 22:49:59 +0000 (23:49 +0100)]
aacenc_tns: temporarily disable

Due to segfaults on some platforms, fix will take a bit longer.

Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
8 years agoswscale/alphablend: fix pointer cast
Ganesh Ajjanagadde [Sat, 22 Aug 2015 02:34:16 +0000 (22:34 -0400)]
swscale/alphablend: fix pointer cast

Commit 7c72a4bbd3a0ca421c7419abad2fb65aa713dd8b was slightly wrong

Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
8 years agoavfilter: add waveform monitor filter
Paul B Mahol [Sun, 16 Aug 2015 11:01:53 +0000 (13:01 +0200)]
avfilter: add waveform monitor filter

8 years agoavfilter/vf_vectorscope: add more pixel formats
Paul B Mahol [Sat, 22 Aug 2015 17:30:48 +0000 (17:30 +0000)]
avfilter/vf_vectorscope: add more pixel formats

Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years agodisable deprecation warnings in deprecated code
Andreas Cadhalpun [Sat, 8 Aug 2015 08:41:33 +0000 (10:41 +0200)]
disable deprecation warnings in deprecated code

Reviewed-by: wm4 <nfxjfg@googlemail.com>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
8 years agofate: replace deprecated request_channels with request_channel_layout
Andreas Cadhalpun [Sat, 8 Aug 2015 08:41:32 +0000 (10:41 +0200)]
fate: replace deprecated request_channels with request_channel_layout

This fixes fate with FF_API_REQUEST_CHANNELS disabled.

Reviewed-by: wm4 <nfxjfg@googlemail.com>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
8 years agoopenal-dec: replace av_destruct_packet with av_free_packet
Andreas Cadhalpun [Sat, 8 Aug 2015 08:41:31 +0000 (10:41 +0200)]
openal-dec: replace av_destruct_packet with av_free_packet

Reviewed-by: wm4 <nfxjfg@googlemail.com>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
8 years agoadd missing FF_API_DESTRUCT_PACKET guards
Andreas Cadhalpun [Sat, 8 Aug 2015 08:41:30 +0000 (10:41 +0200)]
add missing FF_API_DESTRUCT_PACKET guards

Reviewed-by: wm4 <nfxjfg@googlemail.com>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
8 years agoavcodec: Fix `make checkheaders`
Timothy Gu [Sat, 22 Aug 2015 17:14:17 +0000 (10:14 -0700)]
avcodec: Fix `make checkheaders`

8 years agodoxygen: Remove lavu_internal group
Timothy Gu [Sat, 22 Aug 2015 16:32:43 +0000 (09:32 -0700)]
doxygen: Remove lavu_internal group

There is no use in an internal group for a public API documentation.

8 years agogit-howto: Various copy edits
Timothy Gu [Sat, 22 Aug 2015 16:16:20 +0000 (09:16 -0700)]
git-howto: Various copy edits

8 years agoffv1: Add missing ff_ prefixes
Timothy Gu [Sat, 22 Aug 2015 01:14:12 +0000 (18:14 -0700)]
ffv1: Add missing ff_ prefixes

8 years agovp9dsp: Add missing ff_ prefixes
Timothy Gu [Sat, 22 Aug 2015 00:50:19 +0000 (17:50 -0700)]
vp9dsp: Add missing ff_ prefixes

8 years agoaacsbr_fixed: Make fixed_{exp,log}_table static const
Timothy Gu [Sat, 22 Aug 2015 01:08:18 +0000 (18:08 -0700)]
aacsbr_fixed: Make fixed_{exp,log}_table static const

8 years agoaacdec_fixed: Make exp2tab static const
Timothy Gu [Sat, 22 Aug 2015 00:51:26 +0000 (17:51 -0700)]
aacdec_fixed: Make exp2tab static const

8 years agofmtconvert: Remove float_interleave*
Timothy Gu [Sat, 22 Aug 2015 01:09:59 +0000 (18:09 -0700)]
fmtconvert: Remove float_interleave*

They were not public or used anywhere.

8 years agoversion: Fix two more typos
Timothy Gu [Sat, 22 Aug 2015 05:40:39 +0000 (22:40 -0700)]
version: Fix two more typos

Same as cafba99b5146cf10d60ceed4257f6e82380a020e but applied to
lavf and lavu.

8 years agoaacenc_quantization: replace copysign() with a ternary operator
Rostislav Pehlivanov [Sat, 22 Aug 2015 07:50:41 +0000 (08:50 +0100)]
aacenc_quantization: replace copysign() with a ternary operator

This commit removes the last thing a Windows environment can
complain about the AAC encoder code. Leftover from an old revision.

Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
8 years agofate: added PNS, TNS and IS tests for the AAC encoder
Rostislav Pehlivanov [Sat, 22 Aug 2015 07:12:20 +0000 (08:12 +0100)]
fate: added PNS, TNS and IS tests for the AAC encoder

This commit adds tests for the PNS, TNS and IS functionality
of the encoder.

Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
8 years agoaacenc_is: rename struct to follow guidelines
Rostislav Pehlivanov [Sat, 22 Aug 2015 05:47:14 +0000 (06:47 +0100)]
aacenc_is: rename struct to follow guidelines

Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
8 years agoacenctab: Fix merge conflict
Timothy Gu [Sat, 22 Aug 2015 05:16:31 +0000 (06:16 +0100)]
acenctab: Fix merge conflict

Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
8 years agoaacenc: Add missing ff_ prefixes
Timothy Gu [Sat, 22 Aug 2015 05:11:23 +0000 (06:11 +0100)]
aacenc: Add missing ff_ prefixes

Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
Reviewed-by: Ganesh Ajjanagadde <gajjanag@mit.edu>
8 years agoaacenc: Harmonize multiple inclusion guards
Timothy Gu [Sat, 22 Aug 2015 03:56:36 +0000 (04:56 +0100)]
aacenc: Harmonize multiple inclusion guards

Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
Reviewed-by: Ganesh Ajjanagadde <gajjanag@mit.edu>
8 years agoaacenctab: Add missing ff_ prefixes
Timothy Gu [Sat, 22 Aug 2015 03:30:15 +0000 (04:30 +0100)]
aacenctab: Add missing ff_ prefixes

Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
Reviewed-by: Ganesh Ajjanagadde <gajjanag@mit.edu>
8 years agoaacenctab: Use FF_ARRAY_ELEMS
Timothy Gu [Sat, 22 Aug 2015 03:07:09 +0000 (04:07 +0100)]
aacenctab: Use FF_ARRAY_ELEMS

Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
Reviewed-by: Ganesh Ajjanagadde <gajjanag@mit.edu>
8 years agoavutil/x86/asm: rename REG_SP to REG_sp
Ganesh Ajjanagadde [Fri, 21 Aug 2015 18:17:46 +0000 (14:17 -0400)]
avutil/x86/asm: rename REG_SP to REG_sp

REG_SP is defined by Solaris system headers.
This fixes a sea of warnings while building on Solaris:
http://fate.ffmpeg.org/report.cgi?time=20150820233505&slot=x86-opensolaris-gcc4.3

Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoaacenc_tns: remove unused header
Rostislav Pehlivanov [Fri, 21 Aug 2015 22:36:09 +0000 (23:36 +0100)]
aacenc_tns: remove unused header

Thanks to @nevcairiel for pointing this one out.
Another thing which stopped msvc from compiling.

Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
8 years agoavcodec/version: fix 2 recently introduced typo
Clément Bœsch [Fri, 21 Aug 2015 22:24:18 +0000 (00:24 +0200)]
avcodec/version: fix 2 recently introduced typo

8 years agoaacenc_tns: re-enable coefficient compression
Rostislav Pehlivanov [Fri, 21 Aug 2015 20:36:06 +0000 (21:36 +0100)]
aacenc_tns: re-enable coefficient compression

This time in a platform/compiler-generic way.

Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
8 years agoaacenc: treat unknown profile as AAC-LC
Rostislav Pehlivanov [Fri, 21 Aug 2015 20:28:20 +0000 (21:28 +0100)]
aacenc: treat unknown profile as AAC-LC

When the encoder is ran without specifying -profile:a
the default avctx->profile value is -99 (FF_PROFILE_UKNOWN),
which used to be treated as AAC-LC.

Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
8 years agoaacenc_tns: temporarily disable coefficient compression
Rostislav Pehlivanov [Fri, 21 Aug 2015 19:55:46 +0000 (20:55 +0100)]
aacenc_tns: temporarily disable coefficient compression

Hotfix to deal with msvc. Sane compilers lack POSIX ffs().
It only saves a single bit or so and isn't worth it that much.

Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
8 years agoMAINTAINERS: add myself as an AAC encoder maintainer
Rostislav Pehlivanov [Fri, 21 Aug 2015 18:44:15 +0000 (19:44 +0100)]
MAINTAINERS: add myself as an AAC encoder maintainer

Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
8 years agoaacenc: implement the complete AAC-Main profile
Rostislav Pehlivanov [Fri, 21 Aug 2015 18:38:05 +0000 (19:38 +0100)]
aacenc: implement the complete AAC-Main profile

This commit finalizes AAC-Main profile encoding support
by implementing all mandatory and optional tools available
in the specifications and current decoders.

The AAC-Main profile reqires that prediction support be
present (although decoders don't require it to be enabled)
for an encoder to be deemed capable of AAC-Main encoding,
as well as TNS, PNS and IS, all of which were implemented
with previous commits or earlier of this year.

Users are encouraged to test the new functionality using either
-profile:a aac_main or -aac_pred 1, the former of which will enable
the prediction option by default and the latter will change the
profile to AAC-Main. No other options shall be changed by enabling
either, it's currently up to the users to decide what's best.

The current implementation works best using M/S and/or IS,
so users are also welcome to enable both options and any
other options (TNS, PNS) for maximum quality.

Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
8 years agoaacenc_tns: implement temporal noise shaping
Rostislav Pehlivanov [Fri, 21 Aug 2015 18:27:38 +0000 (19:27 +0100)]
aacenc_tns: implement temporal noise shaping

This commit implements temporal noise shaping support in the
encoder, along with an -aac_tns option to toggle it on or off
(off by default for now). TNS will increase audio quality
and reduce quantization noise by applying a multitap FIR filter
across allowed coefficients and transmit side information to the
decoder so it could create an inverse filter.

Users are encouraged to test the new functionality by enabling
-aac_tns 1 during encoding.

No major bugs are observable at this time so after a while if no
new problems appear and if the current implementation is deemed
of high enough quality and stability it will be enabled by default,
possibly at the same time the encoder has its experimental flag
removed and becomes the standard aac encoder in ffmpeg.

Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
8 years agoaacenc: do not reject AAC-Main profile
Rostislav Pehlivanov [Fri, 21 Aug 2015 18:20:22 +0000 (19:20 +0100)]
aacenc: do not reject AAC-Main profile

This commit permits for the use of the Main profile
in encoding. The functionality of that profile will
be added in the commits following. By itself, this
commit does not alter anything.

Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
8 years agoaaccoder: move the Intensity Stereo implementation out
Rostislav Pehlivanov [Fri, 21 Aug 2015 18:13:26 +0000 (19:13 +0100)]
aaccoder: move the Intensity Stereo implementation out

This commit moves the intensity stereo implementation
out from aaccoder and into a separate file. This was
possible using the previous commits.

This commit also drastically improves the IS implementation
by making it phase invariant e.g. it will always choose the
best possible phase regardless of whether M/S coding is on
or most of the coefficients have identical phases.
This also increases the quality and reduces any distortions
introduced by enablind intensity stereo.

Users are encouraged to test it out using the -aac_is 1
parameter as it has always been.

Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
8 years agoaaccoder_mips: update function definitions
Rostislav Pehlivanov [Fri, 21 Aug 2015 18:00:15 +0000 (19:00 +0100)]
aaccoder_mips: update function definitions

This commit updates the function definitions in the aaccoder_mips.c
file. This was broken around a month or so ago with the addition
of the rounding argument.
The previous commit in this series also introduced a separate array
to put the quantization error in, this also needed to be updated,
albeit non-functional, in the MIPS optimized aaccoder file.

Credits for the rounding goes to Claudio Freire.

Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
8 years agoaaccoder: move the quantization functions to a separate file
Rostislav Pehlivanov [Fri, 21 Aug 2015 17:53:14 +0000 (18:53 +0100)]
aaccoder: move the quantization functions to a separate file

This commit moves the quantizer to a separate header file.
This allows the quantizer to be used from a separate files outside
of aaccoder without having to put another function pointer and will
result in a slight speedup as the compiler can do more optimizations.

This is required for commits following.

Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
8 years agoaacenc: create and initialize an LTP context
Rostislav Pehlivanov [Fri, 21 Aug 2015 17:43:09 +0000 (18:43 +0100)]
aacenc: create and initialize an LTP context

This commit only creates and initializes an LTP
context which is needed for upcoming commits (TNS).

Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
8 years agoaacenc: populate the sce->ics.swb_offset table pointer
Rostislav Pehlivanov [Fri, 21 Aug 2015 17:40:44 +0000 (18:40 +0100)]
aacenc: populate the sce->ics.swb_offset table pointer

This commit simply populates the table pointer which is needed
for upcoming commits (TNS, prediction, etc.). Copied from
the decoder.

Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
8 years agoaacenc: reset special bands in the main frame encoding function
Rostislav Pehlivanov [Fri, 21 Aug 2015 17:36:09 +0000 (18:36 +0100)]
aacenc: reset special bands in the main frame encoding function

This commit moves the resetting of special bands (above RESERVED_BT)
to the main frame encoding function rather than the way it was done
previously in their corresponding search_for_... functions.

The reason why special bands need to be reset is that while normal
bands get chosen for every frame by the coder (twoloop by default)
the coders do not touch any special sfbs and will therefore
make them persist throughout the file.

If we zero them out any bands left unmarked will be chosen by
the second part of the coder (the trellis function in aaccoder.c).

Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
8 years agoaacenc: coding style changes
Rostislav Pehlivanov [Fri, 21 Aug 2015 17:30:51 +0000 (18:30 +0100)]
aacenc: coding style changes

This commit only changes the coding style to a saner way
of accessing coefficients (makes more sense to get the
memory address of a coefficients and start from there
rather than adding arbitrary numbers to offset a pointer).
Some compilers might detect an out of bounds access easier.

Also the way M/S and IS coefficients are calculated has been
changed, but should still have the same result (with the exception
that IS now applies from the normal coefficients rather than the
pristine ones, this is needed for upcoming commits).

Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
8 years agoavcodec/x86/v210-init: fix unused variable warning
Ganesh Ajjanagadde [Fri, 21 Aug 2015 13:57:50 +0000 (09:57 -0400)]
avcodec/x86/v210-init: fix unused variable warning

Fixes a -Wunused-variable while compiling with --disable-yasm on x86

Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoffserver: cast PID to int64_t before printing
Ganesh Ajjanagadde [Fri, 21 Aug 2015 02:12:40 +0000 (22:12 -0400)]
ffserver: cast PID to int64_t before printing

Unfortunately, there is no portable format specifier for PID's.
Furthermore, it is not safe to assume pid_t <= 32 bit in size,
see e.g http://unix.derkeiler.com/Mailing-Lists/AIX-L/2010-08/msg00008.html.
Right now, it is ok to assume pid_t <= 32 bit in size, but this may change in the future.
Also, this patch fixes warning due to lack of an appropriate cast from
http://fate.ffmpeg.org/report.cgi?time=20150820233505&slot=x86-opensolaris-gcc4.3.
Note that this method of handling pid_t is in line with what nginx does.

Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavformat/hls: correct comment for ensure_playlist()
Ganesh Ajjanagadde [Thu, 20 Aug 2015 23:27:24 +0000 (19:27 -0400)]
avformat/hls: correct comment for ensure_playlist()

Comment was previously slightly incorrect.
Also, it was placed in the wrong location.

Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavfilter/vf_vectorscope: Fix ;;
Michael Niedermayer [Fri, 21 Aug 2015 11:16:34 +0000 (13:16 +0200)]
avfilter/vf_vectorscope: Fix ;;

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavcodec/jpeg2000: comment out unused variable
Ganesh Ajjanagadde [Thu, 20 Aug 2015 23:28:00 +0000 (19:28 -0400)]
avcodec/jpeg2000: comment out unused variable

Fixes -Wunused-const-variable from
http://fate.ffmpeg.org/report.cgi?time=20150820031140&slot=arm64-darwin-clang-apple-5.1

Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoswscale/alphablend: Fix pointer type warnings
Michael Niedermayer [Fri, 21 Aug 2015 10:14:08 +0000 (12:14 +0200)]
swscale/alphablend: Fix pointer type warnings

Found-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoffmpeg: use av_err2str()
Michael Niedermayer [Fri, 21 Aug 2015 09:38:18 +0000 (11:38 +0200)]
ffmpeg: use av_err2str()

Found-by: Timothy Gu <timothygu99@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavfilter/vf_vectorscope: support yuv(a)420p and yuv410p as input for common case
Paul B Mahol [Fri, 21 Aug 2015 07:54:26 +0000 (07:54 +0000)]
avfilter/vf_vectorscope: support yuv(a)420p and yuv410p as input for common case

Speed up gain more than 2x.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years agohevcdsp: fix a function name
Anton Khirnov [Sun, 12 Jul 2015 05:50:28 +0000 (07:50 +0200)]
hevcdsp: fix a function name

put_weighted_pred_avg should be put_unweighted_pred_avg, there is no
weighting there.

8 years agohevc: avoid invalid shifts of negative values
Anton Khirnov [Sat, 11 Jul 2015 18:19:51 +0000 (20:19 +0200)]
hevc: avoid invalid shifts of negative values

8 years agoavcodec/hevcdsp: rename sao_band_filter c functions
James Almer [Fri, 21 Aug 2015 05:24:30 +0000 (02:24 -0300)]
avcodec/hevcdsp: rename sao_band_filter c functions

Signed-off-by: James Almer <jamrial@gmail.com>
8 years agoAdd support for Audible AA files
Vesselin Bontchev [Sun, 19 Jul 2015 21:16:36 +0000 (23:16 +0200)]
Add support for Audible AA files

https://en.wikipedia.org/wiki/Audible.com#Quality

8 years agoffmpeg: Use correct codec_id for av_parser_change() check
Michael Niedermayer [Fri, 21 Aug 2015 01:04:41 +0000 (03:04 +0200)]
ffmpeg: Use correct codec_id for av_parser_change() check

No testcase known

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoffmpeg: Check av_parser_change() for failure
Michael Niedermayer [Fri, 21 Aug 2015 01:02:55 +0000 (03:02 +0200)]
ffmpeg: Check av_parser_change() for failure

No testcase known

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavcodec/h264_mp4toannexb_bsf: Reorder operations in nal_size check
Michael Niedermayer [Fri, 21 Aug 2015 00:49:21 +0000 (02:49 +0200)]
avcodec/h264_mp4toannexb_bsf: Reorder operations in nal_size check

Fixes Ticket4778

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoffmpeg: Check for RAWVIDEO and do not relay only on AVFMT_RAWPICTURE
Michael Niedermayer [Fri, 21 Aug 2015 00:16:31 +0000 (02:16 +0200)]
ffmpeg: Check for RAWVIDEO and do not relay only on AVFMT_RAWPICTURE

The null muxer has AVFMT_RAWPICTURE set but can be fed with non-raw material

related to Ticket4778

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoffmpeg: check avpicture_fill() return value
Michael Niedermayer [Fri, 21 Aug 2015 00:02:05 +0000 (02:02 +0200)]
ffmpeg: check avpicture_fill() return value

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavfilter: add video vectorscope filter
Paul B Mahol [Sat, 15 Aug 2015 12:37:16 +0000 (14:37 +0200)]
avfilter: add video vectorscope filter

8 years agoavcodec/metasound_data: comment out unused variable
Ganesh Ajjanagadde [Thu, 20 Aug 2015 21:34:52 +0000 (17:34 -0400)]
avcodec/metasound_data: comment out unused variable

Fixes -Wunused-const-variable from
http://fate.ffmpeg.org/report.cgi?time=20150820031140&slot=arm64-darwin-clang-apple-5.1

Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agograph2dot: use avfilter_pad_get_name accessor function
Andreas Cadhalpun [Tue, 18 Aug 2015 21:07:37 +0000 (23:07 +0200)]
graph2dot: use avfilter_pad_get_name accessor function

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
8 years agoapi-seek-test: first version
Ludmila Glinskih [Fri, 31 Jul 2015 13:01:43 +0000 (16:01 +0300)]
api-seek-test: first version

Works only with video stream.
First pass without seeking -- counts crcs of a frames and store it in an array.
After that it seeks a lot in different places and checks if crcs of these frames and crcs of frames in array are the same.

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavcodec/aacsbr_fixed: remove unused variable
Ganesh Ajjanagadde [Thu, 20 Aug 2015 08:28:58 +0000 (04:28 -0400)]
avcodec/aacsbr_fixed: remove unused variable

Fixes -Wunused-const-variable from
http://fate.ffmpeg.org/report.cgi?time=20150820031140&slot=arm64-darwin-clang-apple-5.1

Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Reviewed-by: "Ronald S. Bultje" <rsbultje@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavformat/webmdashenc: fix uninitialized variable
Ganesh Ajjanagadde [Thu, 20 Aug 2015 15:18:14 +0000 (11:18 -0400)]
avformat/webmdashenc: fix uninitialized variable

Fixes -Wsometimes-uninitialized from
http://fate.ffmpeg.org/report.cgi?time=20150820031140&slot=arm64-darwin-clang-apple-5.1

Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Reviewed-by: "Ronald S. Bultje" <rsbultje@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agodoc/indevs: Remove non-existent decklink option examples
Lou Logan [Thu, 20 Aug 2015 18:31:34 +0000 (10:31 -0800)]
doc/indevs: Remove non-existent decklink option examples

Forgotten in c5d0148. Found by Thomas Langhorst.

Signed-off-by: Lou Logan <lou@lrcd.com>
8 years agocheckasm: Explicitly declare function prototypes
Henrik Gramner [Thu, 20 Aug 2015 15:06:21 +0000 (17:06 +0200)]
checkasm: Explicitly declare function prototypes

Now we no longer have to rely on function pointers intentionally
declared without specified argument types.

This makes it easier to support functions with floating point parameters
or return values as well as functions returning 64-bit values on 32-bit
architectures. It also avoids having to explicitly cast strides to
ptrdiff_t for example.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agocheckasm: x86: properly save rdx/edx in checked_call()
Henrik Gramner [Sun, 16 Aug 2015 15:58:02 +0000 (17:58 +0200)]
checkasm: x86: properly save rdx/edx in checked_call()

If the return value doesn't fit in a single register rdx/edx can in some
cases be used in addition to rax/eax.

Doesn't affect any of the existing checkasm tests but might be useful later.

Also comment the relevant code a bit better.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agofate: test only demuxing in asf-repldata
Janne Grunau [Thu, 20 Aug 2015 12:46:42 +0000 (14:46 +0200)]
fate: test only demuxing in asf-repldata

8 years agoavformat/ftp: use correct enum type
Ganesh Ajjanagadde [Thu, 20 Aug 2015 08:29:12 +0000 (04:29 -0400)]
avformat/ftp: use correct enum type

Fixes -Wenum-conversion from
http://fate.ffmpeg.org/report.cgi?time=20150820031140&slot=arm64-darwin-clang-apple-5.1

Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agolavf/mpeg: Allow users to force audio codec MLP.
Carl Eugen Hoyos [Thu, 20 Aug 2015 10:18:03 +0000 (12:18 +0200)]
lavf/mpeg: Allow users to force audio codec MLP.

Fixes part of ticket #4786.

8 years agoavformat/mux: Update sidedata in ff_write_chained()
Michael Niedermayer [Thu, 20 Aug 2015 01:35:10 +0000 (03:35 +0200)]
avformat/mux: Update sidedata in ff_write_chained()

Fixes Ticket4777

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agolavf/ftp: implement move and delete callbacks
Mariusz Szczepańczyk [Wed, 19 Aug 2015 21:52:14 +0000 (23:52 +0200)]
lavf/ftp: implement move and delete callbacks

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoconfigure: Check for CoreServices/CoreServices.h and make vda+viedotoolbox depend...
Michael Niedermayer [Wed, 19 Aug 2015 20:39:46 +0000 (22:39 +0200)]
configure: Check for CoreServices/CoreServices.h and make vda+viedotoolbox depend on it

Fixes arm cross build on osx

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago*/version.h: Add note/recommandition about bumping major
Michael Niedermayer [Tue, 18 Aug 2015 10:28:17 +0000 (12:28 +0200)]
*/version.h: Add note/recommandition about bumping major

Reviewed-by: Andreas Cadhalpun <andreas.cadhalpun@googlemail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoMAINTAINERS: add myself as a docs maintainer
Lou Logan [Wed, 19 Aug 2015 18:47:38 +0000 (10:47 -0800)]
MAINTAINERS: add myself as a docs maintainer

Signed-off-by: Lou Logan <lou@lrcd.com>
8 years agodoc/indevs: add various missing options
Lou Logan [Wed, 19 Aug 2015 01:43:33 +0000 (17:43 -0800)]
doc/indevs: add various missing options

Signed-off-by: Lou Logan <lou@lrcd.com>
Reviewed-by: Ganesh Ajjanagadde <gajjanag@mit.edu>
8 years agoavfilter: add showfreqs filter
Paul B Mahol [Tue, 4 Aug 2015 12:41:35 +0000 (14:41 +0200)]
avfilter: add showfreqs filter

8 years agocheckasm: x86: properly save rdx/edx in checked_call()
Henrik Gramner [Sun, 16 Aug 2015 15:09:40 +0000 (17:09 +0200)]
checkasm: x86: properly save rdx/edx in checked_call()

If the return value doesn't fit in a single register rdx/edx can in some
cases be used in addition to rax/eax.

Doesn't affect any of the existing checkasm tests but might be useful later.

Also comment the relevant code a bit better.

8 years agocheckasm: Explicitly declare function prototypes
Henrik Gramner [Sun, 16 Aug 2015 11:00:21 +0000 (13:00 +0200)]
checkasm: Explicitly declare function prototypes

Now we no longer have to rely on function pointers intentionally
declared without specified argument types.

This makes it easier to support functions with floating point parameters
or return values as well as functions returning 64-bit values on 32-bit
architectures. It also avoids having to explicitly cast strides to
ptrdiff_t for example.

8 years agofate: rename -error option to -error_rate.
Ronald S. Bultje [Mon, 17 Aug 2015 20:57:37 +0000 (16:57 -0400)]
fate: rename -error option to -error_rate.

This fixes fate when FF_API_ERROR_RATE=0.

8 years agoswscale: refactor vertical scaler
Pedro Arthur [Tue, 18 Aug 2015 14:47:55 +0000 (11:47 -0300)]
swscale: refactor vertical scaler

8 years agolibavcodec/qsvdec.c: the ff_get_format() missed at refactoring has been restored
Ivan Uskov [Thu, 6 Aug 2015 13:14:59 +0000 (09:14 -0400)]
libavcodec/qsvdec.c: the ff_get_format() missed at refactoring has been restored

Reviewed-by: Hendrik Leppkes <h.leppkes@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agovaapi: drop unused include.
Gwenole Beauchesne [Wed, 19 Aug 2015 12:15:43 +0000 (14:15 +0200)]
vaapi: drop unused include.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>