James Almer
645489cf90
x86/dcadsp: optimize lfe_fir0_float_fma3 on x86_32
...
About 10% faster.
Signed-off-by: James Almer <jamrial@gmail.com >
2016-07-05 17:48:20 -03:00
James Almer
293484fa5e
avcodec: add missing xmm/neon clobber test wrappers for the new decode API
...
Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-07-03 18:04:30 -03:00
James Almer and Michael Niedermayer
77eb05a2f1
avcodec/h264_slice: Only call ff_h264_flush_change() on initialized contexts
...
Changed by committer to ensure context_initialized is reset
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2016-07-01 21:39:09 +02:00
James Almer
c6f2d1a21f
changelog: fix entry order
...
Signed-off-by: James Almer <jamrial@gmail.com >
2016-06-26 15:27:47 -03:00
James Almer
069fd69662
Update FFmpeg 3.1 cut marker
...
Signed-off-by: James Almer <jamrial@gmail.com >
2016-06-26 14:45:54 -03:00
James Almer
afd04058bc
avformat/oggparsevorbis: free base64 encoded data immediately after decoding it
...
It has no use afterwards and freeing it before calling ff_flac_parse_picture()
may help prevent OOM issues on memory constrained scenarios.
Signed-off-by: James Almer <jamrial@gmail.com >
2016-06-20 23:04:42 -03:00
James Almer
8b5b756c4d
avformat/oggparsevorbis: use the base64 decode size macro
...
Allocate the memory needed for the decoded data rather than the
encoded data.
Signed-off-by: James Almer <jamrial@gmail.com >
2016-06-20 23:04:35 -03:00
James Almer
5f5a97dc3d
avcodec/qsvenc_h264: declare the QSVEncContext variable before using it
...
Should fix compilation.
Regression introduced by commit 63adb3602d
Signed-off-by: James Almer <jamrial@gmail.com >
2016-06-19 12:04:03 -03:00
James Almer
403a53c60e
avcodec/ffv1enc: silence warning about deprecated coded_frame
...
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-06-17 16:53:13 -03:00
James Almer
94011f994a
avodec/h264dec: fix compilation with -DTRACE
...
Signed-off-by: James Almer <jamrial@gmail.com >
2016-06-16 18:52:23 -03:00
James Almer
ede4ec1f8f
x86/aacpsdsp: optimize add_squares loop
...
Signed-off-by: James Almer <jamrial@gmail.com >
2016-06-14 12:41:23 -03:00
James Almer
15f9189b9c
avformat/redspark: deobfuscate header decrypt code
...
Signed-off-by: James Almer <jamrial@gmail.com >
2016-06-12 17:26:43 -03:00
James Almer
8fdad638f9
avformat/redspark: remove av_malloc usage
...
Signed-off-by: James Almer <jamrial@gmail.com >
2016-06-12 17:26:40 -03:00
James Almer
172af20852
x86/showcqt: use three operand format for some instructions
...
Fixes failures with yasm 1.1.0 and older
Signed-off-by: James Almer <jamrial@gmail.com >
2016-06-08 19:37:08 -03:00
James Almer
7d7fdd6532
x86/showcqt: add missing preprocessor checks
...
Old yasm/nasm versions don't support some of these
Signed-off-by: James Almer <jamrial@gmail.com >
2016-06-08 19:34:43 -03:00
James Almer
82dbfccaf0
x86/aacdec: use HADDPS macro
...
Signed-off-by: James Almer <jamrial@gmail.com >
2016-06-08 14:18:18 -03:00
James Almer
99b899483e
avutil/x86util: move haddps sse emulation from showcqt
...
Signed-off-by: James Almer <jamrial@gmail.com >
2016-06-08 14:18:00 -03:00
James Almer
49b0246635
avformat/matroskadec: force 48kHz sample rate when rescaling Opus inital padding
...
Mkvtoolnix stores the sample rate of the original stream as reported by the
"OpusHead" stream header instead of 48kHz, the actual sample rate of the Opus
stream.
Ignoring the stored sample rate and forcing 48kHz preserves the correct initial
padding when remuxing such files.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-06-07 20:32:25 -03:00
James Almer
493db04c4e
avcodec/Makefile: add missing dependencies to dca parser
...
They are needed starting with the previous commit
Signed-off-by: James Almer <jamrial@gmail.com >
2016-05-25 11:23:48 -03:00
James Almer
e34e7a575e
avformat/dtshddec: move data_start outside of DTSHDDemuxContext
...
It's only used in dtshd_read_header()
Signed-off-by: James Almer <jamrial@gmail.com >
2016-05-19 00:02:50 -03:00
James Almer
60c2e38dcb
avformat/dtshddec: implement AUPR_HDR chunk parsing
...
Use it to get stream duration, sample rate, channel count and initial padding
Reviewed-by: Paul B Mahol <onemda@gmail.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-05-16 19:29:59 -03:00
James Almer
ab3c04c458
avformat/dtshddec: parse chunks stored after audio data
...
Reviewed-by: Paul B Mahol <onemda@gmail.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-05-16 19:29:55 -03:00
James Almer
81c3ce0855
doc/general: update supported DCA extensions
2016-05-14 23:00:12 -03:00
James Almer
004b582386
avutil/lzo: split test out into a separate file
...
Signed-off-by: James Almer <jamrial@gmail.com >
2016-05-13 22:48:56 -03:00
James Almer
8ba257bac6
avformat/Makefile: fix avlanguage dependencies
...
Signed-off-by: James Almer <jamrial@gmail.com >
2016-05-13 17:19:56 -03:00
James Almer
d8ef8b960a
avutil/sha512-test: fix memleak
...
Signed-off-by: James Almer <jamrial@gmail.com >
2016-05-13 16:53:44 -03:00
James Almer
7ee0e0ca1d
avutil/sha-test: fix memleak
...
Signed-off-by: James Almer <jamrial@gmail.com >
2016-05-13 16:53:26 -03:00
James Almer
64dbfcc415
avutil/ripemd-test: fix memleak
...
Signed-off-by: James Almer <jamrial@gmail.com >
2016-05-13 16:53:18 -03:00
James Almer
f92d2f3292
avutil/aes-test: fix memleak
...
Signed-off-by: James Almer <jamrial@gmail.com >
2016-05-13 16:53:08 -03:00
James Almer and Michael Niedermayer
cd244fae98
avutil/cpu-test: Fix includes (needed for HAVE_*)
...
Commit message by commiter
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2016-05-12 03:48:32 +02:00
James Almer
7d8e19a5c4
avutil: make crypto testprogs include headers only
...
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-05-11 19:47:35 -03:00
James Almer
c8c14d0ffc
aarch64/synth_filter: fix compilation
...
Signed-off-by: James Almer <jamrial@gmail.com >
2016-05-10 23:33:12 -03:00
James Almer
b2244fa0a6
avcodec/rscc: check input buffer size for deflate mode
...
Fixes overreads.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-05-10 22:07:19 -03:00
James Almer
03fceb771c
fate: fix dcadec test dependencies
...
Signed-off-by: James Almer <jamrial@gmail.com >
2016-05-06 18:52:27 -03:00
James Almer
bd63ecec78
avcodec/dcadsp: use LOCAL_ALIGNED_32 instead of LOCAL_ALIGNED(32, ...)
2016-05-06 00:47:55 -03:00
James Almer
e3df56f5b4
avformat/dtsdec: reduce the scope of crctab
...
Signed-off-by: James Almer <jamrial@gmail.com >
2016-05-04 19:23:23 -03:00
James Almer
fe483ac428
avformat/mpegtsenc: fix usage of AVStream.codec
...
Signed-off-by: James Almer <jamrial@gmail.com >
2016-05-04 18:39:27 -03:00
James Almer
fc1c836def
avcodec/hevc_parser: fix packet_split function name
...
Fixes compilation of hevc_parser without hevc_decoder
Signed-off-by: James Almer <jamrial@gmail.com >
2016-05-04 18:26:06 -03:00
James Almer
b63ba3a517
avformat/hashenc: add missing avio_flush to hash_write_trailer
...
It was accidentally deleted in the previous hashenc commit
Signed-off-by: James Almer <jamrial@gmail.com >
2016-04-16 21:31:58 -03:00
James Almer
bb505cd505
avformat/hashenc: simplify hash_write_trailer
...
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-04-14 20:59:08 -03:00
James Almer
c8ed93efcf
avformat/yop: alloc codecpar extradata only once
...
Fixes memleak
Signed-off-by: James Almer <jamrial@gmail.com >
2016-04-14 15:55:10 -03:00
James Almer
0efafc5849
avformat/framehash: enable new output
...
Also, make every addition except for sidedata part of version 1 instead of the
new version 2.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc >
2016-04-13 21:13:21 -03:00
James Almer
868bce48f6
avformat/framehash: add sidedata checksum
...
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-04-13 20:58:04 -03:00
James Almer
5557e881c9
avformat/framehash: add extradata checksum
...
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-04-13 11:41:20 -03:00
James Almer
33aa8a6221
avformat/framecrc: enable new output
...
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-04-13 11:37:14 -03:00
James Almer
3674a53d17
avformat/uncodedframecrc: fix incompatible pointer type warning
...
Signed-off-by: James Almer <jamrial@gmail.com >
2016-04-13 01:39:59 -03:00
James Almer
d7815df402
arm/rdft_init: fix license header
...
Signed-off-by: James Almer <jamrial@gmail.com >
2016-04-12 15:01:19 -03:00
James Almer
5501f58e52
fate: fix sample dependencies for fate-{a,v}filter tests
2016-04-10 18:31:05 -03:00
James Almer
374974886a
fate: add missing filter-meta-4560-rotate0 dependencies
...
Signed-off-by: James Almer <jamrial@gmail.com >
2016-04-05 21:17:13 -03:00
James Almer
64b1ec804f
fate: add demux test for OggOpus
...
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-04-03 16:33:24 -03:00
James Almer and Derek Buitenhuis
3fafde6cbe
lavc: Add seek_preroll to AVCodecParameters
...
Signed-off-by: James Almer <jamrial@gmail.com >
2016-03-31 21:20:39 +01:00
James Almer
9bf3d01d91
avformat/latmenc: auto-insert aac_adtstoasc bitstream filter when needed
...
Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-03-30 21:58:48 -03:00
James Almer
d5a3578350
avformat/svag: fix division by zero
...
Fixes ticket #5386
Signed-off-by: James Almer <jamrial@gmail.com >
2016-03-28 21:34:08 -03:00
James Almer
99388eb091
avcodec/libopenjpegenc: fix mixed declarations and code
...
Signed-off-by: James Almer <jamrial@gmail.com >
2016-03-25 00:05:05 -03:00
James Almer
21cd0228be
avcodec/libopenjpegdec: fix mixed declarations and code
...
Signed-off-by: James Almer <jamrial@gmail.com >
2016-03-25 00:04:57 -03:00
James Almer
488e6409df
libwebpenc_animencoder: add missing braces to struct initialization
...
The first member of the WebPAnimEncoderOptions struct is non scalar
Signed-off-by: James Almer <jamrial@gmail.com >
2016-03-17 21:46:06 -03:00
James Almer
f875ba4873
libwebpenc_animencoder: print library messages in verbose log levels
...
Reviewed-by: James Zern <jzern@google.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-03-17 11:15:09 -03:00
James Almer
626b6b769c
libwebpenc_animencoder: zero initialize the WebPAnimEncoderOptions struct
...
This zeroes the WebPAnimEncoderOptions.verbose field, silencing library info messages
printed to stderr.
Reviewed-by: James Zern <jzern@google.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-03-17 11:13:59 -03:00
James Almer
6224dddaa7
fate: add missing dependencies for fate-h264-dts_5frames
...
Signed-off-by: James Almer <jamrial@gmail.com >
2016-03-12 19:14:35 -03:00
James Almer
e71096bb3a
fate: add missing h264-dts_5frames ref file
...
Signed-off-by: James Almer <jamrial@gmail.com >
2016-03-12 19:06:30 -03:00
James Almer
a3659ca014
avcodec/cos_tablegen: extend table generation to 17bits
...
Fixes compilation of fft with hardcoded tables
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-03-05 00:39:53 -03:00
James Almer
0786b28425
fate: fix filter-hls tests dependencies
...
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-03-03 12:31:28 -03:00
James Almer
3acbb91d13
fate: fix fate-libavformat target
...
Signed-off-by: James Almer <jamrial@gmail.com >
2016-02-29 16:26:37 -03:00
James Almer
fc404460bd
configure: add missing vc1dsp dependency to vc1_decoder
...
Fixes compilation of vc1_decoder when vc1_parser is not enabled
Signed-off-by: James Almer <jamrial@gmail.com >
2016-02-24 15:49:51 -03:00
James Almer
45d3af9059
x86/dcadec: add ff_lfe_fir1_float_{sse3,avx}
...
Reviewed-by: Christophe Gisquet <christophe.gisquet@gmail.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-02-22 21:21:34 -03:00
James Almer
26034929d5
checkasm: bench each vf_blend mode once
...
Also bench a smaller buffer. This drastically reduces --bench runtime
and reports smaller, more readable numbers.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-02-22 13:54:07 -03:00
James Almer
778439b69a
avcodec/webp: move exif_metadata outside of WebPContext
...
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-02-21 14:31:19 -03:00
James Almer
76af0c7877
checkasm: fix dependencies for vf_blend tests
...
They will now compile if avcodec is disabled
Reviewed-by: Paul B Mahol <onemda@gmail.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-02-19 16:31:55 -03:00
James Almer
70d685a77f
x86: use the new helper macros where useful
...
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-02-14 20:00:21 -03:00
James Almer
73a4589d4b
x86: add some more helper macros to check for slow cpuflags
...
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-02-14 20:00:17 -03:00
James Almer
0abdf7030e
avcodec/vc2enc_dwt: add missing header
...
Fixes make checkheaders
Signed-off-by: James Almer <jamrial@gmail.com >
2016-02-12 02:06:05 -03:00
James Almer
be22bd32fe
x86/cpu: set avxslow cpuflag on btver2 CPUs
...
They are also slow when using 256 bit wide registers
Reviewed-by: Hendrik Leppkes <h.leppkes@gmail.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-02-07 16:39:21 -03:00
James Almer
8ae7447941
x86/dcadec: add ff_lfe_fir0_float_{sse,sse2,avx,fma3}
...
Up to ~4 times faster on x86_64, ~8 times on x86_32 if compiling using x87 fp math.
Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-02-06 01:36:55 -03:00
James Almer
3e9b8ffc9b
avcodec/dcadsp: rename lfe_fir_float functions
...
Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-02-06 01:29:10 -03:00
James Almer
16af350ac5
avcodec/dcadsp: replace intptr_t with ptrdiff_t
...
Reviewed-by: Hendrik Leppkes <h.leppkes@gmail.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-02-05 11:17:04 -03:00
James Almer
4c573f8ce9
fate: fix fate-aac-pns-encode failures on non-sse x86_32 targets
...
Reviewed-by: Rostislav Pehlivanov <atomnuker@gmail.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-02-04 14:53:31 -03:00
James Almer
b3b0ecee15
x86/emms: empty the mmx state unconditionally on supported targets
...
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-02-04 01:49:01 -03:00
James Almer
0711c5bfb8
avutil/aes_crt: free AVAESCTR struct properly
...
Reviewed-by: Andreas Cadhalpun <andreas.cadhalpun@googlemail.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-02-03 19:33:23 -03:00
James Almer
f781bf3e10
fate: re-enable dca-xll test
...
And check for bitexact output instead
Reviewed-by: Hendrik Leppkes <h.leppkes@gmail.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-02-01 12:12:15 -03:00
James Almer
77b5b95247
avcodec/dca_core: rename get_vlc function
...
Fixes compilation with TRACE enabled
Reviewed-by: Hendrik Leppkes <h.leppkes@gmail.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-02-01 12:11:37 -03:00
James Almer
5893e87537
avcodec/proresdec_lgpl: use av_mod_uintp2
...
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-01-29 19:58:44 -03:00
James Almer
1bb3b90db8
avcodec/pngdec: use av_mod_uintp2
...
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-01-29 19:58:41 -03:00
James Almer
8514f6dcfd
avcodec/amrwbdec: use av_mod_uintp2
...
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-01-29 19:58:34 -03:00
James Almer
6cc156793d
avcodec/dvaudio: add missing header include
...
Should fix make checkheaders
Signed-off-by: James Almer <jamrial@gmail.com >
2016-01-29 13:57:15 -03:00
James Almer
c792528970
x86/imdct36: use extractps inside the STORE macro
...
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc >
Reviewed-by: Henrik Gramner <henrik@gramner.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-01-28 13:35:15 -03:00
James Almer and Luca Barbato
77a44f577b
configure: add missing avx2 support check
...
AVX2 support was introduced in Yasm 1.2.0 and NASM 2.10, and the
oldest versions currently supported are Yasm 0.8.0 and NASM 2.03
Signed-off-by: James Almer <jamrial@gmail.com >
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2016-01-28 00:43:23 +01:00
James Almer and Luca Barbato
b624f0660b
x86: Add ymm_reg struct
...
Needed to declare 32-byte long constants
Signed-off-by: James Almer <jamrial@gmail.com >
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2016-01-28 00:41:19 +01:00
James Almer
09d5c28c3d
configure: fix openssl pkg-config check
...
Signed-off-by: James Almer <jamrial@gmail.com >
2016-01-27 17:56:35 -03:00
James Almer
209f50e16b
avcodec/synth_filter: split off remaining code from dcadec files
...
Signed-off-by: James Almer <jamrial@gmail.com >
2016-01-25 14:57:38 -03:00
James Almer
1d8f9b7d1a
avcodec/webp: fix decoder dependencies
...
Signed-off-by: James Almer <jamrial@gmail.com >
2016-01-24 20:30:33 -03:00
James Almer
a2e1b66460
x86/intmath: disable sse av_clip functions when using ICC
...
It seems to miscompile them
Should fix fate-ra-288 and fate-twinvq
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-01-21 16:50:51 -03:00
James Almer
033e7dbd31
avcodec/diracdsp: use av_clip_uintp2
...
Reviewed-by: Rostislav Pehlivanov <atomnuker@gmail.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-01-21 13:13:54 -03:00
James Almer
8bbb972350
configure: add missing library deps for showcqt_filter
...
Signed-off-by: James Almer <jamrial@gmail.com >
2016-01-21 00:49:02 -03:00
James Almer
4c4ebeb587
avcodec/wavpackenc: use put_sbits
...
Reviewed-by: Paul B Mahol <onemda@gmail.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-01-20 16:41:19 -03:00
James Almer
c1a3683f26
configure: disable -Wunused-const-variable
...
The option became too aggressive with GCC 6, generating nearly 500
warnings from static const variables defined in assorted headers
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-01-18 20:16:55 -03:00
James Almer
dee579ffcd
x86/fixed_dsp: add ff_butterflies_fixed_sse2
...
Reviewed-by: Paul B Mahol <onemda@gmail.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-01-16 21:09:38 -03:00
James Almer
36778627e2
x86/intmath: add missing early clobber to output operands
...
Signed-off-by: James Almer <jamrial@gmail.com >
2016-01-15 13:32:58 -03:00
James Almer
e3c188e72c
avcodec/rmdec: add missing av_log argument
...
Also change the format specifier to expect an unsigned int
Signed-off-by: James Almer <jamrial@gmail.com >
2016-01-15 02:26:36 -03:00
James Almer
17e7fdf61a
avcodec/wavpackenc: print channel count in av_log call
...
Fixes a warning with -Wformat-extra-args
2016-01-13 19:26:40 -03:00
James Almer
dc79824deb
x86/float_dsp: zero extend offset from ff_scalarproduct_float_sse
...
Reviewed-by: Christophe Gisquet <christophe.gisquet@gmail.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2016-01-08 16:14:32 -03:00