Kacper Michajłow
1aeefc4c06
lavfi/vf_libplacebo: allow linking to shared library with dllimport
...
Address of dll imported variables can't be used for constant
initialization in C language modes.
2 years ago
Paul B Mahol
65fe18040a
avfilter/f_graphmonitor: add flags option shortcuts
2 years ago
Paul B Mahol
b528e098a9
avfilter/f_graphmonitor: show also current timeline status of filter
2 years ago
Paul B Mahol
fcabfcbf6f
avcodec/wavpackenc: unbreak encoding 8bit pcm
...
Otherwise the reference decoder reports crc errors.
2 years ago
Paul B Mahol
ddc176d0ee
avcodec/elbg: fix integer overflows
...
Fixes #9977
2 years ago
Paul B Mahol
5fe6a0e5c7
avfilter/src_movie: switch to activate
2 years ago
Paul B Mahol
3546f70410
avfilter/src_movie: dr support
2 years ago
Paul B Mahol
d81b6cbd42
avcodec/gif_parser: fix possible wrong splitting of frames
...
And properly signal keyframes.
2 years ago
James Almer
b6066ceb8b
fate/checkasm: add h264chroma test
...
Signed-off-by: James Almer <jamrial@gmail.com>
2 years ago
Lynne
783270bfd1
checkasm: add h264chroma tests
...
Checks all variants of put_h264_chroma and avg_h264_chroma.
2 years ago
Lynne
a62a3930c2
swscale/ppc: remove hScale8To19_vsx
...
Fails checkasm on a Power9 system.
2 years ago
Rick Kern
247e977953
lavc/videotoolboxenc: warn when alpha quality not set
...
Added a warn log when alpha quality cannot be set, but continue encoding.
Signed-off-by: Rick Kern <kernrj@gmail.com>
2 years ago
Rick Kern
902c949d30
lavc/videotoolboxenc: better compat_keys docs
...
Added more specific docs about when to use compat_keys, and how to
add new constants.
Signed-off-by: Rick Kern <kernrj@gmail.com>
2 years ago
James Almer
efdc6e8200
avformat/matroskaenc: remove accidental variable shadowing
...
Should fix use of uninitialized value in a failure path.
Signed-off-by: James Almer <jamrial@gmail.com>
2 years ago
Paul B Mahol
8980c1313b
avcodec/ccaption_dec: simplify init function
2 years ago
Paul B Mahol
ff72256235
avformat/gif: use last frame duration
2 years ago
James Almer
bd9d984c11
fate/demux: fix fate-cavs-demux
...
Signed-off-by: James Almer <jamrial@gmail.com>
2 years ago
James Almer
d55743c809
avfilter/af_surround: replace double constants with float variants
...
This is cleaner than the approach in d1ded7310a
.
Signed-off-by: James Almer <jamrial@gmail.com>
2 years ago
James Almer
4d885271bb
avutil/mathematics: add missing constants
...
Including float variants for all of them.
Signed-off-by: James Almer <jamrial@gmail.com>
2 years ago
James Almer
1b05d27346
avcodec/libdav1d: export decoder frame delay
...
As this is an AV_CODEC_CAP_OTHER_THREADS decoder, threading is handled by the
underlying library. In this case, the frame delay is calculated by libdav1d
based on the values from avctx->thread_count and the private max_frame_delay
option.
Export said delay reported by the library in AVCodecContext.delay
Reviewed-by: Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
2 years ago
Paul B Mahol
613f716450
avfilter/vf_mix: improve speed even more by avoiding using filter private context
2 years ago
Rick Kern
c789a2324a
lavc/videotoolboxenc: better compat_keys documentation
...
Added documentation that describes when compat_keys should be used,
and why it exists.
Signed-off-by: Rick Kern <kernrj@gmail.com>
2 years ago
xufuji456
5cd304298e
avcodec/videotoolboxenc: add low-latency encoding
...
When using low-latency mode, it eliminates frame reordering
and follows a one-in-one-out encoding mode
Signed-off-by: xufuji456 <839789740@qq.com>
Signed-off-by: Rick Kern <kernrj@gmail.com>
2 years ago
Zhao Zhili
47430a3cb1
avcodec/cavs_parser: fix finding the end of a frame
...
Use the next I/P/B or start code as the end of current frame.
Before the patch, extension start code, user data start code,
sequence end code and so on are treated as the start of next
frame.
Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
2 years ago
Pierre-Anthony Lemieux
2838138975
fate/imf: remove redundant code
2 years ago
Pierre-Anthony Lemieux
dbe43bca25
fate/imf: fix memory leak
2 years ago
James Almer
a2a0a81184
avformat/yuvmpegenc: add support for rawvideo input
...
The demuxer exports rawvideo, so there's no reason for the muxer to only
work with wrapped_avframe.
Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
2 years ago
Paul B Mahol
4c695bfa65
avfilter/f_graphmonitor: make mode option of type flags
2 years ago
Paul B Mahol
8cdbe3abb6
avfilter/f_graphmonitor: add commands support
2 years ago
Paul B Mahol
386de9319e
avfilter/f_graphmonitor: add nozeroeof mode
2 years ago
James Almer
4adb6da7a6
avutil/frame: remove one layer of indirection in av_frame_replace()
...
And don't force copy side data.
Signed-off-by: James Almer <jamrial@gmail.com>
2 years ago
James Almer
4f9799bd88
avcodec/h264_picture: use ff_thread_replace_frame()
...
Signed-off-by: James Almer <jamrial@gmail.com>
2 years ago
James Almer
3fe74c9017
avcodec/utils: add ff_thread_replace_frame()
...
Signed-off-by: James Almer <jamrial@gmail.com>
2 years ago
James Almer
01d444c077
avutil/frame: add av_frame_replace
...
Signed-off-by: James Almer <jamrial@gmail.com>
2 years ago
James Almer
63767b79a5
avutil/frame: deprecate palette_has_changed
...
Not only this is information that relies on the concept of a sequence of
frames, which is completely out of place as a field in AVFrame, but there are
no known or intended uses of this field.
Signed-off-by: James Almer <jamrial@gmail.com>
2 years ago
Paul B Mahol
01d9a84ef5
avfilter/avf_showspectrum: check for allocation error
2 years ago
Paul B Mahol
c48eff209c
avcodec/ccaptions_dec: correct flushing output on EOF
...
Prevents infinite flushing same last output.
2 years ago
Clement Lecigne
96c30affba
avcodec/hevc_ps: add proper bound checks around cm_ref_layer_id in colour_mapping_table.
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
2 years ago
Mark Thompson
8450531059
av1_parse: Don't reject zero-size padding OBUs
...
Padding OBUs are not required to be nonempty.
2 years ago
Mark Thompson
9c830f4f65
av1_parse: Remove unused getbits instance
2 years ago
Mark Thompson
dce6cf2c36
cbs_av1: Don't reject unknown metadata
...
Accept it and pass it through unchanged.
The standard requires that decoders ignore unknown metadata, and indeed
this is tested by some of the Argon coverage streams.
2 years ago
Mark Thompson
bee912cb63
cbs_av1: Add tracing headers for metadata types
...
Make it a little easier to interpret metadata in trace output.
2 years ago
Tobias Rapp
aa6eeb29cb
doc/ffmpeg: Extend documentation for sws_flags option
...
Clarify that -sws_flags are only applied to simple filtergraphs as a
default, not complex filtergraphs. Add a reference to the scaler
options.
2 years ago
Leo Izen
d4c48ee7f3
fate/jpg: add RGB mjpeg fate tests
...
Adds FATE tests for RGB jpegs to test commit
0b352e350e
.
2 years ago
Samuel Mira
416fd1b43b
avcodec/mediacodec: Add VP8 encoder
...
Connected FFmpeg to Mediacodec VP8 encoder.
Signed-off-by: Samuel Mira <samuel.mira@qt.io>
Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
2 years ago
Samuel Mira
acd37fd566
avcodec/mediacodec: Add AV1 encoder
...
Connected FFmpeg to Mediacodec AV1 encoder
Signed-off-by: Samuel Mira <samuel.mira@qt.io>
Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
2 years ago
Hendrik Leppkes
6b2ae90411
avcodec/vdpau_mpeg4: fix order of quant matrix coefficients
...
The matrix coefficients are stored permutated for the IDCT,
rather then in plain raster order, and need to be un-permutated
for the hardware.
2 years ago
Hendrik Leppkes
308e4ae8e3
avcodec/vdpau_mpeg12: fix order of quant matrix coefficients
...
The matrix coefficients are stored permutated for the IDCT,
rather then in plain raster order, and need to be un-permutated
for the hardware.
2 years ago
Hendrik Leppkes
b3e938ef80
avcodec/nvdec_mpeg4: fix order of quant matrix coefficients
...
The matrix coefficients are stored permutated for the IDCT,
rather then in plain raster order, and need to be un-permutated
for the hardware.
2 years ago
Hendrik Leppkes
af8affb77e
avcodec/nvdec_mpeg2: fix order of quant matrix coefficients
...
The matrix coefficients are stored permutated for the IDCT,
rather then in plain raster order, and need to be un-permutated
for the hardware.
2 years ago