Zhang Rui
b821aed706
avformat/async: fix integer conversion warning
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-07 13:15:44 +02:00
Hendrik Leppkes
1964aeae42
Merge commit '0c7707610f46a28b65eff935500c78c9781f8f4f'
...
* commit '0c7707610f46a28b65eff935500c78c9781f8f4f':
lavc: Add a lzf decompressor
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2015-09-07 12:53:00 +02:00
Hendrik Leppkes
d4f63be92b
Merge commit '4dc9f00365853b1239936d771856cf1881b5c5ce'
...
* commit '4dc9f00365853b1239936d771856cf1881b5c5ce':
build: Skip libvpx.h if libvpx is not enabled
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2015-09-07 12:31:14 +02:00
Hendrik Leppkes
a92bd1901f
Merge commit '1a164e0a83dd7c1b129aeef10cb3caff368ce850'
...
* commit '1a164e0a83dd7c1b129aeef10cb3caff368ce850':
tools: Drop a stale header
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2015-09-07 12:29:33 +02:00
Hendrik Leppkes
c8c9940f47
Merge commit '87a11db220dec523e39eb4af715175e150787a72'
...
* commit '87a11db220dec523e39eb4af715175e150787a72':
dnxhddata: Double frame_size for cid 1260
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2015-09-07 12:29:25 +02:00
Hendrik Leppkes
b7601b5f3d
Merge commit 'a686e58165ca0f83966431a9166cb6e17bf6095c'
...
* commit 'a686e58165ca0f83966431a9166cb6e17bf6095c':
des: Add missing include
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2015-09-07 12:28:25 +02:00
Hendrik Leppkes
84cca0644a
Merge commit '87e5d8d78cf08b54b4a9e7cbaeff89f8c1d91b78'
...
* commit '87e5d8d78cf08b54b4a9e7cbaeff89f8c1d91b78':
ismindex: Use the correct abs() version
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2015-09-07 12:27:21 +02:00
Hendrik Leppkes
b8346b2294
Merge commit '9a003fc38833b6b9f08e44d7f1c6539db65840a0'
...
* commit '9a003fc38833b6b9f08e44d7f1c6539db65840a0':
lavr: Remove unused label
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2015-09-07 12:26:13 +02:00
Hendrik Leppkes
464dc6e09f
Merge commit 'b0d94324d21d0c1c4adf1c8c329928afe473b099'
...
* commit 'b0d94324d21d0c1c4adf1c8c329928afe473b099':
libfdk-aacdec: Remove unused variable
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2015-09-07 12:25:13 +02:00
Hendrik Leppkes
7e272100c9
Merge commit '6bcd3e05998b41fb3b2c8dcc79e4662854e5208d'
...
* commit '6bcd3e05998b41fb3b2c8dcc79e4662854e5208d':
build: Add support for travis CI
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2015-09-07 12:24:51 +02:00
tab
fb135139fd
avformat: implement query_codec for the image2 muxer.
...
Allows avformat_query_codec to be used to check for valid image2 encoders.
Reuses the existing ff_guess_image2_codec ID table.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-07 02:48:58 +02:00
Michael Niedermayer
b480f0e37a
avformat/cafenc: Move special casing of PCM codecs into ff_codec_caf_tags
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-07 01:21:12 +02:00
Ronald S. Bultje
e855ed17a7
Update md5 muxer docs to indicate that it ignores timestamps.
2015-09-06 15:07:19 -04:00
Ronald S. Bultje
f12093fffd
vp9: fix integer overflows in sse2 version of iadst4.
2015-09-06 15:07:19 -04:00
Ronald S. Bultje
a02e27c03d
md5: change flags to match framemd5.
...
This prevents the following warning: "Application provided invalid, non
monotonically increasing dts to muxer in stream 0: 9 >= 9".
2015-09-06 15:07:19 -04:00
Michael Niedermayer
63974bd494
avformat/http: print error that causes reconnection
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-06 20:43:38 +02:00
Michael Niedermayer
7990beedee
avformat/http: require seekability only when seeking to position != 0
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-06 20:43:38 +02:00
Rostislav Pehlivanov
1956cfbaed
aacenc_is: take absolute coefficient value upon energy calculations
...
This was an oversight when the IS system was being first implemented.
The ener01 part was largely a result of trial and error and the fact
that the sum of coef0 and coef1 could result in a zero was
overlooked. Once ener01 turns to zero it's used to divide the left
channel energy which doesn't turn out so well as it fills IS[]
with -nan's and inf's which in turn confused the quantize_band_cost.
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
2015-09-06 18:36:42 +01:00
Rostislav Pehlivanov
ff99a38855
fate: adjust AAC encoder tests values
...
Since the new commits improve quality.
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
2015-09-06 15:30:26 +01:00
Rostislav Pehlivanov
033e58941e
aaccoder: rewrite PNS implementation
...
This commit rewrites the PNS implementation and significantly
improves sonic quality.
The previous implementation marked an incredibly big amount
of SFBs to predict when there was no need for this and this
resulted in quite a large amount of artifacts. Also the
quantization was incorrect (av_clip(4+log2f(...))) which
led to 3x the intensity for PNS values leading to even more
artifacts.
This commit rewrites the PNS search function and introduces
a major change: the PNS values are synthesized and are compared
to the current coefficients in addition to passing through
the revised checks to see whether PNS can be used.
This decreases distortions and makes the current PNS implementation
mainly focused on replacing any low-power non-zero bands as well
as adding any zeroed bands back.
The current encoder's performance is enough (especially with
IS) so PNS isn't really required except to fill in the occasional
few bands as well as extend any zeroed high frequency, so this
combination which is already enabled by default works
to get as much quality as it can within the bits allowed.
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
2015-09-06 15:30:26 +01:00
Rostislav Pehlivanov
8848c8440e
aacenc_pred: disable PNS SFBs and disable right predictors with IS
...
Since PNS generates coefficients it doesn't make sense to send
the predicted ones as well. Also the specifications explicitly
state to disable right channel IS predictors.
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
2015-09-06 15:30:26 +01:00
Rostislav Pehlivanov
a71f7de95b
aacenc_is: ignore PNS band types
...
It's better to trust that the coefficients generated will be
closer than the coefficients derived, and the new PNS implementation
makes sure that this happens.
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
2015-09-06 15:30:26 +01:00
Rostislav Pehlivanov
b9b1fd1183
aaccoder: use roundf() instead of ceilf()
...
The specifications explicitly state to use roundf() which
also rounds half-integer values away from zero.
This does fix a few IS artifacts.
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
2015-09-06 15:30:26 +01:00
Rostislav Pehlivanov
92aa3e7fb2
aacenc: copy PRNG from the decoder
...
Needed for the following PNS commits.
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
2015-09-06 15:30:25 +01:00
Hendrik Leppkes
34e85cb340
avcodec/vorbis: remove avpriv vorbis parser cruft
...
It was replaced by a public API
2015-09-06 16:25:58 +02:00
Hendrik Leppkes
2cad7eebc1
avcodec/flac: remove avpriv parsing API cruft
2015-09-06 16:25:56 +02:00
Hendrik Leppkes
eb011f73ca
avcodec/alac: remove dead code cruft
...
The output is always planar since two major bumps, remove all code
related to packed output.
2015-09-06 16:25:55 +02:00
Michael Niedermayer
c5406d5e15
Changelog: add 2.8
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-06 15:59:40 +02:00
Rodger Combs
d2d020bb32
avcodec/htmlsubtitles: handle leading whitespace before tag names
...
This fixes cases like `</ font>`.
Signed-off-by: Clément Bœsch <u@pkh.me>
2015-09-06 15:48:34 +02:00
Clément Bœsch
a388ca359d
avfilter/sine: support expression in the number of output samples
2015-09-06 15:28:21 +02:00
Clément Bœsch
db18b3d6e6
avcodec/samidec: small indent fix
2015-09-06 14:06:44 +02:00
Clément Bœsch
26786f43d7
avcodec/htmlsubtitles: drop avcodec dependency
2015-09-06 13:39:04 +02:00
Yayoi
87f90be4f2
avcodec/samidec: use ff_htmlmarkup_to_ass()
...
Signed-off-by: Clément Bœsch <u@pkh.me>
2015-09-06 13:29:28 +02:00
Yayoi
1bb8a53f08
avformat/samidec: do not include trailing sami footer in the last packet
...
Signed-off-by: Clément Bœsch <u@pkh.me>
2015-09-06 13:09:02 +02:00
Yayoi
fc9aa1fb46
fate/subtitles: add a new test for SAMI demuxer and decoder
...
Signed-off-by: Clément Bœsch <u@pkh.me>
2015-09-06 13:08:53 +02:00
Yayoi
50332f8a6b
avcodec/srtdec: factor out HTML parsing code
...
This code will be used in SAMI decoder in a later commit.
Signed-off-by: Clément Bœsch <u@pkh.me>
2015-09-06 13:07:44 +02:00
Clément Bœsch
d9464e9c14
doc/examples/demuxing_decoding: simplify api_mode to refcount
...
This finalizes the quick cleanup of a753e6c9f5
.
2015-09-06 12:35:00 +02:00
Ganesh Ajjanagadde
d74123d03e
avfilter/af_asyncts: use llabs for int64_t
...
long may not be 64 bit on all platforms; so labs on int64_t is unsafe.
This fixes a warning reported in:
http://fate.ffmpeg.org/log.cgi?time=20150905071512&log=compile&slot=i386-darwin-clang-polly-3.7
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-06 11:59:34 +02:00
Zhang Rui
929451c5cb
avformat/async: replace strerror with av_err2str
...
Fixes CID1322337
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-06 10:51:46 +02:00
Henrik Gramner
3cdda78deb
checkasm: add unit tests for v210enc
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2015-09-06 10:36:24 +02:00
Michael Niedermayer
61009a709c
tests/fate: replace all -f md5 by framemd5
...
also limit dcinema-encode to 20 frames to avoid huge reference checksum lists
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-06 03:23:02 +02:00
Michael Niedermayer
3cb85ad445
tests/fate-run: Pass bitexact flags to enc_dec_pcm() output
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-06 00:25:49 +02:00
Rostislav Pehlivanov
cf6fb6f3f7
fate: increase the fuzz of the AAC encoder aref test
...
Almost fine on SunOS without yasm but 5 wasn't enough.
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
2015-09-05 21:47:26 +01:00
Michael Niedermayer
69c344eed2
configure: Remove reference to no longer existing avcodec_encode_video()
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-05 22:36:19 +02:00
Ganesh Ajjanagadde
78995dc241
avfilter/vf_unsharp: use the name 's' for the pointer to the private context
...
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
2015-09-05 20:36:35 +00:00
Michael Niedermayer
8d860f9a77
avcodec/x86/w64xmmtest: Fix another build failure
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-05 22:15:53 +02:00
Hendrik Leppkes
8042d6c492
avcodec: remove old_codec_ids.h from SKIPHEADERS as well
2015-09-05 21:55:59 +02:00
Hendrik Leppkes
393b472362
avcodec: fix make install after old_codec_ids.h removal
2015-09-05 21:54:53 +02:00
Ronald S. Bultje
086c9b78d4
vp9: fix rounding error in idct_8x8_ssse3.
2015-09-05 15:50:02 -04:00
Ronald S. Bultje
ae9344cb9f
vp9: check return value of ff_thread_ref_frame().
...
Fixes CID 1322309.
2015-09-05 15:50:01 -04:00