Hendrik Leppkes
cebe51a625
Merge commit '9d58639e270f7612874681e0ca30fa461e2667b7'
...
* commit '9d58639e270f7612874681e0ca30fa461e2667b7':
sws: Drop deprecated SWS_CPU_CAPS defines
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
9 years ago
Michael Niedermayer
8ca97b5e4f
avfilter/avf_showfreqs: Fix memleak of out frame
...
Fixes CID1322344
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
0ada8ec1a5
avfilter/avf_showfreqs: Fix "may be used uninitialized in this function" warning
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
7213d3fbf3
avfilter/avf_showfreqs: Free fin
...
Fixes CID1322345
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
a3ad51e0d5
avfilter/af_amerge: avoid undefined shift (<<64) in outlayout setup
...
Fixes CID1322306
Reviewed-by: Ganesh Ajjanagadde <gajjanag@mit.edu>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
7eab904d11
avfilter/vf_stack: Fix memleak of out frame
...
Fixes CID1322347
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
4eca1939ef
avformat/hls: Check for av_opt_set_dict() failure
...
Fixes: CID1320426
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
c41a59330f
avcodec/rawenc: Use AVFrame parameters instead of AVCodecContext
...
This allows encoding raw frames with changing dimensions
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
5d859e5980
avfilter/avfilter: Add a few more basic filters to the list which support frame size changes
...
Fixes assertion failures
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Carl Eugen Hoyos
da8eb70dc3
lavf/aiffenc: Clarify an error message.
...
Only one audio stream is allowed in aiff.
9 years ago
Rostislav Pehlivanov
5ab3b6a8a5
fate: adjust AAC encoder TNS test target
...
The new commits improve the quality.
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
9 years ago
Rostislav Pehlivanov
e3faad811e
aacenc_tns: adjust coefficient calculation, add double filter support
...
This commit improves the TNS implementation to the point where it's
actually usable and very rarely results in nastyness (in all bitrates
except extremely low bitrates it's increasing the quality and prevents
some distortions from the coder being audiable).
Also adds a double filter support which is only used if the energy
difference between the top and bottom of the SFBs is above the
thresholds defined in the header file. Looking at the bitstream
that fdk_aac generates it sometimes used a double filter despite
the specs stating that a single filter should be enough for almost
all cases and purposes.
Unlike FAAC or fdk_aac we sometimes use a reverse filter in case
the energy difference isn't enought to use a double filter. This
actually works better.
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
9 years ago
Rostislav Pehlivanov
7591f8319b
lpc: increase error array size of ff_lpc_calc_ref_coefs_f by one
...
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
9 years ago
Rostislav Pehlivanov
4565611b04
aacenc_is: add a flag to use pure coefficients instead
...
This commit adds a flag to use the pure coefficients instead
of the processed ones (sce->coeffs). This is needed because
IS will apply the changes to the coefficients immediately
before the adjust_common_prediction function and it doesn't
make sense to measure stereo channel coefficient difference
when one of the channels coefficients are all zero.
Therefore add a flag to use pure coefficients in that case.
TNS is the only thing touching the coefficients before IS
so common window prediction will not take that into account
but the effect of the TNS filter per coefficient can be small
(a few percent) so to some approximation it's fine to just
ignore that.
Also fixed a small error which doesn't alter the results
that much. pow(sqrt(number), 3.0/4.0) == pow(number, 3.0/8.0) !=
pow(number, 3.0/4.0).
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
9 years ago
Michael Niedermayer
a87ada53c3
avcodec/jpeg2000dec: Initialize ret to avoid warning and make the code more robust
...
"Fixes" CID1322361
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
9e70475551
avcodec/jpeg2000dec: Assert that step_x/y are valid
...
Fixes CID1322304, CID1322305
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
205c31b301
avcodec/hapdec: Check section_size for non negativity in parse_section_header()
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Arnaud Bienner
0cdba4ac68
lavf/mxfdec: Support more codecs in mxf_picture_essence_container_uls[].
...
Signed-off-by: Carl Eugen Hoyos <cehoyos@ag.or.at>
9 years ago
Arnaud Bienner
35ab967f52
lavf/mxf: Support video essence container uls for vc1.
...
Signed-off-by: Carl Eugen Hoyos <cehoyos@ag.or.at>
9 years ago
Arnaud Bienner
fd6b38bed7
lavf/riff: Support fourcc AVd1 for dvvideo.
...
Signed-off-by: Carl Eugen Hoyos <cehoyos@ag.or.at>
9 years ago
Pedro Arthur
3059562aa1
swscale: re-enable gamma
...
+added gamma conversion to refactored code
9 years ago
Pedro Arthur
f67aff3ad7
swscale: added proper error check for ff_init_filters
9 years ago
Carl Eugen Hoyos
f7361dbcf4
lavc/mxfdec: Support more mxf files with codec_ul.
...
Fixes decoding for the sample from ticket #4820 .
9 years ago
Carl Eugen Hoyos
f253c34175
lavc/j2kenc: Remove experimental flag.
...
The encoder produces valid and - if requested - lossless files.
9 years ago
Paul B Mahol
f011e98cb1
avfilter/vf_vectorscope: change intensity to float
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
db592f3b03
avfilter/vf_waveform: stop abusing s->size for calculating limit
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
55886c67e7
avfilter/vf_waveform: change intensity to float
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
fda05554e3
avfilter/vf_waveform: reduce number of operations a little
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
5b658bcc8a
avfilter/vf_waveform: 9 and 10 bit depth support for lowpass & color filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Vittorio Giovara
599fe93a84
riff: Add AVj2 fourcc for Avid jpeg2000
9 years ago
Ronald S. Bultje
9ee2ddd773
vp9_parse: fix parsing of pskip and profile 2/3.
...
The fate results change because we now correctly timestamp the pskip
frames, which means the results are now identical to -vsync 0.
9 years ago
Ronald S. Bultje
10142f994a
libvpxdec: explicitly signal RGB.
9 years ago
Ronald S. Bultje
4ecb8b4191
vp9: don't erase values for {lf,ref,skip,q}_enabled if segmentation=0.
...
Instead, use segmentation.enabled before accessing each of these values.
9 years ago
Ronald S. Bultje
8b45e87f64
vp9: fix segmentation map retention across keyframe boundaries.
9 years ago
Ronald S. Bultje
7cc7d13fe3
vp9: fix RGB chroma subsampling.
9 years ago
Ronald S. Bultje
ecd9f57edc
vp9: read reserved bit in RGB header.
9 years ago
Ronald S. Bultje
48f641a18b
vp9: clip intermediates in dequant calculations.
...
This makes values consistent with libvpx.
9 years ago
Ronald S. Bultje
eaff36c973
vp9: fix segmentation map retention if segmentation is turned off.
9 years ago
Ronald S. Bultje
8d25a11dc7
vp9: use resetctx in the same way as libvpx.
9 years ago
Ronald S. Bultje
cc9d3a3e36
vp9: fix indentation.
9 years ago
Ronald S. Bultje
caf6512ac4
vp9: deal with the case where update_map=0 but we're key/intraonly.
9 years ago
Ronald S. Bultje
339550e7c8
vp9: reset segmentation information on context reset.
9 years ago
Michael Niedermayer
fb04666995
avcodec/g2meet: Also clear tile dimensions on header_fail
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
71ec8e1ed6
avcodec/g2meet: Fix potential overflow in tile dimensions check
...
Fixes CID1322351
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
c447ab0e74
avcodec/eatgq: Check init_get_bits8() for failure
...
Fixes CID1322315
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
66a7bc0010
avcodec/adpcm: Check init_get_bits8() for failure
...
Fixes CID1322317
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
cf410f8fb9
ffmpeg: Drop redundant ist check
...
stream copy always has a input stream, it cannot use complex video/audio filters with unambigous input
Fixes CID1322348
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
e9c58033e8
doc/examples/http_multiclient: Fix occured typo
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
325ee610ba
avcodec/libfdk-aacdec: Remove unused variable
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
bd6610c3b3
avcodec/hevc_parser: Check init_get_bits8() for failure
...
Fixes: CID1322322
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago