Martin Storsjö
c619c54e0d
configure: Fix detecting/using getauxval
...
While trying to detect getauxval, this actually never output
HAVE_GETAUXVAL into config.h before.
Signed-off-by: Martin Storsjö <martin@martin.st>
3 years ago
Paul B Mahol
99f7f4144a
avfilter/asrc_sinc: check allocation return value
3 years ago
Paul B Mahol
f4d123341c
avfilter/asrc_sinc: remove no longer correct (un)pack
3 years ago
Paul B Mahol
4a5ee8c399
avcodec/tiff: do not abort on zero denominator
...
Fixes decoding valid DNG file.
3 years ago
James Almer
ee88804d07
avfilter/framepool: remove superfluous pallete buffer allocation
...
av_image_fill_plane_sizes() already sets sizes[1] to AVPALETTE_SIZE.
Should fix memory leaks.
Signed-off-by: James Almer <jamrial@gmail.com>
3 years ago
James Almer
8fcd9d7375
avfilter/framepool: use av_image_fill_plane_sizes() to calculate pool sizes
...
Signed-off-by: James Almer <jamrial@gmail.com>
3 years ago
Paul B Mahol
837c55da3d
avfilter/vf_zscale: fix several issues in previous commit
3 years ago
Victoria Zhislina
d0aefc3706
avfilter/vf_zscale: add slice threading support
...
By ffmpeg threading support implementation via frame slicing and doing
zimg_filter_graph_build that used to take 30-60% of each frame processig
only if necessary (some parameters changed)
the performance increase vs original version
in video downscale and color conversion >4x is seen
on 64 cores Intel Xeon, 3x on i7-6700K (4 cores with HT)
Signed-off-by: Victoria Zhislina <Victoria.Zhislina@intel.com>
3 years ago
Paul B Mahol
d607af50fd
avfilter/vf_geq: add float formats support
3 years ago
Paul B Mahol
352a01c3ef
avfilter/avf_abitscope: add support for more input formats
3 years ago
Paul B Mahol
de0bb77563
avfilter/avf_abitscope: refactor code & add trace mode
3 years ago
Gyan Doshi
72684d2c2d
doc/filters: correct default value of lut filters
3 years ago
Paul B Mahol
dae95b3ffd
avfilter/vf_maskedmerge: fix rounding when masking
3 years ago
Paul B Mahol
59520f068d
avfilter/vf_colorchannelmixer: add float formats support
3 years ago
Paul B Mahol
835446a8e1
avfilter/vf_colorchannelmixer: refactor / add template
3 years ago
Andreas Rheinhardt
6559858de9
fftools/ffmpeg: Don't presume frame_queue to have been allocated
...
Fixes segfaults upon allocation failure.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
3 years ago
Andreas Rheinhardt
88b02e5829
fftools/ffmpeg_opt: Simplify adding complex filtergraph
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
3 years ago
Andreas Rheinhardt
09e532c575
fftools/ffmpeg_opt: Simplify adding new input/output streams
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
3 years ago
Stephen Hutchinson
e81242bb13
avformat/avisynth: fix fallbacks for four frameprops
...
If _FieldBased, _Matrix, _ColorRange, or _ChromaLocation haven't
been set, that absence would be interpreted as 0, leading to those
being set to case 0 instead of default. There is no case 0 for
_Primaries and _Transfer, so those were correctly falling back
to the default case.
Signed-off-by: Stephen Hutchinson <qyot27@gmail.com>
3 years ago
Michael Niedermayer
4419433d77
avformat/mov: Disallow empty sidx
...
It appears this is not allowed "Each Segment Index box documents how a (sub)segment is divided into one or more subsegments
(which may themselves be further subdivided using Segment Index boxes)."
Fixes: Null pointer dereference
Fixes: Ticket9517
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
3 years ago
Nicolas George
add3571a59
lavfi/af_aformat: remove support for comma-separated lists
...
It has been deprecated for nine years.
3 years ago
Gyan Doshi
4b72bca6ca
avfilter/drawtext: change reload value to an interval
...
Allows user to specify a frame interval at which textfile is reloaded.
3 years ago
Lu Wang
72604b10f4
avcodec: [loongarch] Optimize Hevc_mc_uni/w with LSX.
...
ffmpeg -i 5_h265_1080p_60fps_3Mbps.mkv -f rawvideo -y /dev/null -an
before: 182fps
after : 191fps
Signed-off-by: Hao Chen <chenhao@loongson.cn>
Reviewed-by: 殷时友 <yinshiyou-hf@loongson.cn>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
3 years ago
Hao Chen
a70a5b7c62
avcodec: [loongarch] Optimize Hevc_mc_bi with LSX.
...
ffmpeg -i 5_h265_1080p_60fps_3Mbps.mkv -f rawvideo -y /dev/null -an
before: 124fps
after : 182fps
Signed-off-by: Hao Chen <chenhao@loongson.cn>
Reviewed-by: 殷时友 <yinshiyou-hf@loongson.cn>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
3 years ago
Lu Wang
b6ceeee16b
avcodec: [loongarch] Optimize Hevc_idct/lpf with LSX.
...
ffmpeg -i 5_h265_1080p_60fps_3Mbps.mkv -f rawvideo -y /dev/null -an
before: 110fps
after : 124fps
Signed-off-by: Hao Chen <chenhao@loongson.cn>
Reviewed-by: 殷时友 <yinshiyou-hf@loongson.cn>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
3 years ago
Lu Wang
20194d573d
avcodec: [loongarch] Optimize Hevcdsp with LSX.
...
ffmpeg -i 5_h265_1080p_60fps_3Mbps.mkv -f rawvideo -y /dev/null -an
before: 94fps
after : 110fps
Signed-off-by: Hao Chen <chenhao@loongson.cn>
Reviewed-by: 殷时友 <yinshiyou-hf@loongson.cn>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
3 years ago
Hao Chen
5b812acdea
avutil: [loongarch] Update loongson_intrinsics.h to v1.1.0
...
The loongson_intrinsics.h file is updated from v1.0.3 version
to v1.1.0. Some spelling mistakes are fixed and new functions are added.
Signed-off-by: Hao Chen <chenhao@loongson.cn>
Reviewed-by: 殷时友 <yinshiyou-hf@loongson.cn>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
3 years ago
James Almer
a1fff6566b
doc/bitstream_filters: add missing entry for the time_base setts option
...
Signed-off-by: James Almer <jamrial@gmail.com>
3 years ago
Paul B Mahol
84f5583078
avfilter/vf_unsharp: add support for alpha formats
3 years ago
Paul B Mahol
e1974622e1
avfilter/vf_v360: improve rounding in xyz_to_dfisheye()
3 years ago
Paul B Mahol
5ffad29d62
avfilter/vf_chromanr: fix rounding of final output
3 years ago
Limin Wang
316e0ff752
fftool/ffprobe: support for CUVA HDR Vivid metadata
...
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
3 years ago
Limin Wang
d344169419
avfilter: support for CUVA HDR Vivid metadata
...
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
3 years ago
Limin Wang
5cd3c83a86
avcodec: support for CUVA HDR Vivid metadata
...
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
3 years ago
Limin Wang
188faab2bb
avutil: support for CUVA Vivid HDR metadata
...
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
3 years ago
Paul B Mahol
178d8036dc
avfilter/af_dynaudnorm: reduce number of lines by using for (int ...
3 years ago
Paul B Mahol
aa6b9066b9
avfilter/af_dynaudnorm: use fmin/fmax for doubles
3 years ago
Paul B Mahol
456d48c752
avfilter/af_dynaudnorm: add support for overlapping frames
3 years ago
Paul B Mahol
9a86e5338c
avfilter/af_dynaudnorm: do not leak frame on error
3 years ago
James Almer
4e33bae9f9
avcodec/setts_bsf: add an option to set output time base
...
And a relevant constant to use it in expressions.
Signed-off-by: James Almer <jamrial@gmail.com>
3 years ago
James Almer
9c8a06a7d6
avcodec/setts_bsf: stop repeatedly setting values that don't change between packets
...
Signed-off-by: James Almer <jamrial@gmail.com>
3 years ago
James Almer
129f5ed87e
doc/bitstream_filters: add missing entry for the duration setts option
...
Forgotten in 825fb5f1cb
.
Signed-off-by: James Almer <jamrial@gmail.com>
3 years ago
James Almer
825fb5f1cb
avcodec/setts_bsf: add constants to modify packet duration
...
Signed-off-by: James Almer <jamrial@gmail.com>
3 years ago
James Almer
9ed3139a76
avcodec/setts_bsf: add NEXT_PTS/DTS expression constants
...
They correspond to the relevant fields from the packet that follows the
one where the expressions are being applied.
Signed-off-by: James Almer <jamrial@gmail.com>
3 years ago
James Almer
d75e7a9a83
ffmpeg: ensure a keyframe was not seen before skipping packets
...
A keyframe could be buffered in the bsf and not be output until more packets
had been fed to it.
Signed-off-by: James Almer <jamrial@gmail.com>
3 years ago
James Almer
afe485ee6b
ffmpeg: flush delayed frames in codec copy scenarios
...
Bitstream filters inserted between the input and output were never drained,
resulting in packets being lost if the bsf had any buffered.
Signed-off-by: James Almer <jamrial@gmail.com>
3 years ago
James Almer
4f21a9ae6b
tools/target_bsf_fuzzer: simplify the loop feeding packets to the filter
...
And use a single AVPacket for the entire process.
This more closely follows the suggested API usage in the doxy.
Signed-off-by: James Almer <jamrial@gmail.com>
3 years ago
James Almer
7a4840a8ca
avformat/av1: reduce the scope of some variables
...
Signed-off-by: James Almer <jamrial@gmail.com>
3 years ago
James Almer
76e10325fc
avformat/av1: support av1C extradata in ff_av1_parse_seq_header()
...
Fixes dash manifest creation for av1 streams with av1C formatted extradata.
Signed-off-by: James Almer <jamrial@gmail.com>
3 years ago
James Almer
b6c7f82db7
avformat: always compile isom_tags
...
It's needed for avformat_get_mov_video_tags() and avformat_get_mov_audio_tags(),
both public symbols defined in avformat.h
Signed-off-by: James Almer <jamrial@gmail.com>
3 years ago