Martin Vignali
6a583261ea
avcodec/proresdec : add 12b prores idct
...
based on patch by Kieran Kunhya
6 years ago
Martin Vignali
fddc92d454
avcodec/proresdec : add unpack alpha 12 func
6 years ago
Martin Vignali
859604fe9d
avcodec/proresdec : make inline func for unpack alpha
6 years ago
Martin Vignali
1cccf9365d
avcodec/proresdec : put unpack alpha func in prores ctx
6 years ago
Martin Vignali
9a22e6fa1d
avcodec/proresdsp indent after prev commit
6 years ago
Martin Vignali
c097a32e93
avcodec/proresdec : rename dsp part for 10b and check dspinit for supported bits per raw sample
...
based on patch by Kieran Kunhya
6 years ago
Martin Vignali
a970920026
avcodec/proresdec : move dsp init after codec tag check
6 years ago
Martin Vignali
dae9b4b8a4
avcodec/proresdsp : remove unused value
6 years ago
Martin Vignali
a87ca4bbca
avcodec/utils : add YUVA444P12 and YUVA422P12 to pixfmt who need height padding in avcodec_align_dimensions2
6 years ago
Jun Zhao
72b047a7a7
lavc/kvazaar: fix auto thread flag in kvazaar wrapper.
...
Now the kvazaar warpper didn't setting the threads for kvazaar API,
and kavzaar will auto selecte the thread number.
Signed-off-by: Jun Zhao <mypopydev@gmail.com>
6 years ago
Marton Balint
c047901012
avdevice/decklink_enc: add support for setting genlock timing offset
...
Signed-off-by: Marton Balint <cus@passwd.hu>
6 years ago
Marton Balint
418c90faac
ffplay: fix -x and -y options when only one of them is used
...
Previously if only -y was used then nothing happened, if only -x then zero
window height was set which is undefined in SDL and caused a black window.
From now on if only one dimension is set we calculate the other based on
size/aspect of the shown content.
Signed-off-by: Marton Balint <cus@passwd.hu>
6 years ago
Marton Balint
9a39c5449f
ffplay: convert float math to int math in calculate_display_rect
...
Signed-off-by: Marton Balint <cus@passwd.hu>
6 years ago
Paul B Mahol
2a08faba88
avformat/mpegenc: extend muxing PCM-DVD to other depths
...
Fixes #6783 .
6 years ago
Paul B Mahol
e9967822e4
avcodec: add PCM-DVD encoder
...
Fixes #6784 .
6 years ago
Michael Niedermayer
1a89ae1df8
avcodec/hevcdec: Check for overlapping slices
...
Fixes: Timeout
Fixes: 10108/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_HEVC_fuzzer-6222384351674368
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
6 years ago
Michael Niedermayer
7f22a4ebc9
avcodec/truemotion2rt: Fix rounding in input size check
...
Fixes: Timeout
Fixes: 11332/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_TRUEMOTION2RT_fuzzer-5678456612847616
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
6 years ago
Shiyou Yin
5982614af1
avcodec/mips: [loongson] refine optimization in h264_chroma.
...
Remove invalid operation in the case x and y all equal 0,
this refine made about 2% speedup for H264 decode on loongson platform.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
6 years ago
Shiyou Yin
5c806d5b54
configure: enable mipsfpu for loongson platform.
...
mipsfpu supported by loongson 3a2000,3a3000,3a4000,2k1000, Fate tests passed.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
6 years ago
Paul B Mahol
f09bbb8f08
avformat/ac3dec: always skip junk bytes before sync bytes
...
Fixes #7278 .
6 years ago
Linjie Fu
67cdfcf694
lavc/qsvenc: assert uninitialized pict_type
...
Assert in function ff_qsv_encode to avoid using uninitialized value:
FF_DISABLE_DEPRECATION_WARNINGS
avctx->coded_frame->pict_type = pict_type;
FF_ENABLE_DEPRECATION_WARNINGS
Signed-off-by: Linjie Fu <linjie.fu@intel.com>
Signed-off-by: Zhong Li <zhong.li@intel.com>
6 years ago
Zhong Li
ac0bcd6b61
lavc/qsvenc: add forced_idr option
...
This option can be used to repect original input I/IDR frame type.
Reviewed-by: Mark Thompson <sw@jkqxz.net>
Signed-off-by: Zhong Li <zhong.li@intel.com>
6 years ago
Zhong Li
518b963d2c
lavc/qsvenc: enable ICQ and ICQ_LA on Linux
...
ICQ/ICQ_LA are enabled with MSDK V1.28
Reviewed-by: Mark Thompson <sw@jkqxz.net>
Signed-off-by: Zhong Li <zhong.li@intel.com>
6 years ago
Steven Liu
ba71ebbbfa
avformat/dashdec: add subtitle stream support
...
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
6 years ago
Jun Zhao
b87063c06d
lavc/libaomenc: Add a maximum constraint of 64 encoder threads.
...
fixed the error in Intel(R) Xeon(R) Gold 6152 CPU like:
[libaom-av1 @ 0x469f340] Failed to initialize encoder: Invalid parameter
[libaom-av1 @ 0x469f340] Additional information: g_threads out of range [..MAX_NUM_THREADS]
Signed-off-by: Jun Zhao <mypopydev@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
6 years ago
James Almer
e695b0beba
avcodec/libdav1d: add an option to toggle Film Grain
...
Signed-off-by: James Almer <jamrial@gmail.com>
6 years ago
James Almer
0fca2f60da
avcodec/libdav1d: read profile from the sequence header referenced by the ouput picture
...
Signed-off-by: James Almer <jamrial@gmail.com>
6 years ago
James Almer
3cd275bcde
avcodec/libdav1d: use constants defined in the public API to limit thread count
...
Signed-off-by: James Almer <jamrial@gmail.com>
6 years ago
James Almer
53ca505acc
avcodec/libdav1d: remove init cleanup internal codec cap
...
It's no longer needed now that the AVFifoBuffer was removed.
Signed-off-by: James Almer <jamrial@gmail.com>
6 years ago
Rostislav Pehlivanov
ffec9d32fe
Revert "libopus: Add channel mapping 2 support in libopusdec"
...
This reverts commit c8c995bc1d
.
6 years ago
Rostislav Pehlivanov
cf283f2dfb
Revert "avcodec/libopusenc: Fix warning when encoding ambisonics with channel mapping 2"
...
This reverts commit 4cd6f08d20
.
6 years ago
Felicia Lim
4cd6f08d20
avcodec/libopusenc: Fix warning when encoding ambisonics with channel mapping 2
...
Also adds checks on the number of channels.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
6 years ago
Carl Eugen Hoyos
271a00043e
lavf/rawdec: Do not mark streams from raw subtitle demuxers as data streams.
...
Improves "ffmpeg -i" output for raw dvbsub files.
6 years ago
Paul B Mahol
68f289dacd
avcodec/opus: check if internal is available
6 years ago
Peter Ross
331715534a
avpriv_tempfile: add djgpp fallback
6 years ago
Peter Ross
8b7a1c2227
configure: memalign is broken on djgpp 2.05
...
djgpp 2.05 finally provides posix-compatible memalign, but it is broken,
so use malloc instead.
discussion: http://www.delorie.com/archives/browse.cgi?p=djgpp/2017/12/29/16:26:58
6 years ago
Peter Ross
dea1224754
additional math.h functions for djgpp
6 years ago
Peter Ross
533ba0b6b5
configure: detect djgpp libc
6 years ago
Paul B Mahol
18aea7bdd9
avcodec/opus: set skip_samples
...
Also update fate test. Fixes #5258 .
6 years ago
Mark Thompson
b9aff7a53d
hwcontext_opencl: Only release command queue if it exists
...
If the frames context creation fails then the command queue reference
need not exist when uninit is called.
6 years ago
Carl Eugen Hoyos
8cc5107705
lavf/Makefile: Fix demuxer dependencies: dvbsub, dvbtxt
...
Allow standalone compilation of the dvbsub and the dvbtxt demuxer.
6 years ago
Carl Eugen Hoyos
698574ac5d
ffmpeg: Avoid duplicating Closed Captions when increasing frame rate.
...
Fixes ticket #7506 .
6 years ago
Carl Eugen Hoyos
1893c72086
lavfi/fps: Avoid duplicating Closed Captions when increasing frame rate.
6 years ago
Michael Niedermayer
28c96c2ce2
avcodec/diracdec: Check component quant
...
Fixes: Timeout
Fixes: 10708/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_DIRAC_fuzzer-5730140957442048
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
6 years ago
Andrey Semashev
1035206102
lavf/dashdec: Add webm to the list of allowed extensions.
...
This is in coherence with dashenc, which can now generate segments with
webm file name extension by default. Dashdec should be able to handle
such streams by default as well.
6 years ago
Jun Zhao
1ffac23885
fftools/ffmpeg: delete the unused code.
...
There are come from 2012 ago and have never been used from this
time.
Signed-off-by: Jun Zhao <mypopydev@gmail.com>
6 years ago
Jun Zhao
7608809ae4
fftools/ffprobe: Indent the code.
...
commit 196765a7cc
missed the reindet.
Signed-off-by: Jun Zhao <mypopydev@gmail.com>
6 years ago
Jun Zhao
e002ec332b
lavfi/buffersrc: Indent the code.
...
commit b0012de420
missed reindent.
Signed-off-by: Jun Zhao <mypopydev@gmail.com>
6 years ago
Michael Niedermayer
a036c25969
avcodec/tiff: Fix integer overflows in left shift in init_image()
...
Fixes: left shift of 255 by 24 places cannot be represented in type 'int'
Fixes: 11377/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_TIFF_fuzzer-5694319101476864
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
6 years ago
Carl Eugen Hoyos
5a7617136a
lavc/jrevdct: Avoid an aliasing violation.
...
Fixes fate on different PowerPC systems with some compilers.
Analyzed-by: Lauri Kasanen
6 years ago