James Almer
10c02deccb
avfilter/vf_zscale: extend the configuration log message with color space info
...
And print it in DEBUG level, not TRACE, as it's useful information.
Signed-off-by: James Almer <jamrial@gmail.com>
2 months ago
James Almer
5c8268ac56
avfilter/vf_zscale: remove unecessary argument from realign_frame
...
Possible since the previous commit.
Signed-off-by: James Almer <jamrial@gmail.com>
2 months ago
James Almer
c8e5c684b3
avfilter/vf_zscale: align the frame buffers
...
Signed-off-by: James Almer <jamrial@gmail.com>
2 months ago
Pavel Koshevoy
00cf3df03f
lavfi/vf_zscale: fix call to av_pix_fmt_count_planes
...
realign_frame called av_pix_fmt_count_planes with incorrect parameter.
Signed-off-by: James Almer <jamrial@gmail.com>
2 months ago
Pavel Koshevoy
7b302f4db7
lavfi/vf_zscale: fix tmp buffer ptr alignment for zimg_filter_graph_process
...
Signed-off-by: James Almer <jamrial@gmail.com>
2 months ago
James Almer
f15fc27db5
avfilter/framepool: align the frame buffers
...
And not just the linesizes. Use the extra align bytes allocated for this purpose.
Signed-off-by: James Almer <jamrial@gmail.com>
2 months ago
Marth64
6d5a0998b6
doc/bitstream_filters: elaborate on h264_redundant_pps
...
Signed-off-by: Marth64 <marth64@proxyid.net>
2 months ago
Anton Khirnov
13129f1af4
lavc: deprecate the omx encoders
...
They have not been relevant for a long time, and support for this API is
also being dropped from other projects.
2 months ago
Anton Khirnov
9e68b26765
Document stream specifier syntax change from 46cbe4ab5c
...
Fixes #11248 .
2 months ago
Anton Khirnov
3e9b0f7c01
lavfi/vf_libplacebo: eliminate LibplaceboInput.link
...
Setting it was broken in 8160178dfc
, since
links are not yet set up during init. It is also redundant, as the
struct also stores the input index.
Reported-By: llyyr <llyyr.public@gmail.com>
2 months ago
Peter Ross
2bbbf36fe2
avcodec/rv60: set populate_ipred src parameter to const
2 months ago
Peter Ross
006718c475
avcodec/rv60: align calc_sel_qp with reference decoder
...
Fixes ticket #11290 .
2 months ago
Peter Ross
c8c6319ce1
avcodec/rv60: prevent decode_cu_r deadlock
...
Fixes ticket #11289 (deadlock).
2 months ago
Peter Ross
4d4d171afb
avcodec/rv60: prevent decode_cu_r segfault
...
Fixes ticket #11289 (crash).
2 months ago
Peter Ross
923f45430c
avcodec/rv60: check init_get_bits8 return value
...
Fixes CID 1634471
2 months ago
Peter Ross
d51a920556
avcodec/rv60: negative qp guard
...
Fixes CID 1634472
2 months ago
Osamu Watanabe
82467b635e
avcodec/jpeg2000: Improve FF_DWT97_INT to pass ISO/IEC 15444-4 conformance tests
...
Fixes https://trac.ffmpeg.org/ticket/10123
Signed-off-by: Pierre-Anthony Lemieux <pal@palemieux.com>
2 months ago
James Almer
3330b733d3
fate/pixfmt: disable dithering in the scale filter
...
Should fix fate failures across different systems.
Signed-off-by: James Almer <jamrial@gmail.com>
2 months ago
Tomas Härdin
733d891bdf
lavf/mxfenc: Use nb_components, not av_pix_fmt_count_planes()
...
Also check that pix_desc != NULL, thanks James Almer
This fixes https://trac.ffmpeg.org/ticket/11267
2 months ago
compn
f4ba5b083c
doc/git-howto: remove outdated line about gitolite
2 months ago
Marth64
11c703be31
avcodec/mpeg12dec: set FF_CODEC_PROPERTY_CLOSED_CAPTIONS in mpeg_set_cc_format()
...
When Closed Captions are discovered, this method is always invoked.
Therefore, use it to set the property instead of repeating the statement.
Signed-off-by: Marth64 <marth64@proxyid.net>
2 months ago
James Almer
2eb9c35010
x86/swscale: disable AVX2 yuv2nv12cX functions if accurate_rnd is requested
...
Signed-off-by: James Almer <jamrial@gmail.com>
2 months ago
Araz Iusubov
f63f164125
avcodec/amfenc: GOP size check
...
Fix for the error with an invalid GOP size parameter.
2 months ago
James Almer
4047b887fc
swscale/swscale_unscaled: add more unscaled planar RGB to planar RGB coverage
...
Signed-off-by: James Almer <jamrial@gmail.com>
2 months ago
James Almer
c5ebd56500
swscale/swscale_unscaled: add unscaled XV{36,48}LE <-> XV{36,48}BE
...
Signed-off-by: James Almer <jamrial@gmail.com>
2 months ago
James Almer
271aea60a4
fate/pixfmts: extend the high bit depth test
...
Also test 8bit formats, and try bitdepth conversion paths.
Signed-off-by: James Almer <jamrial@gmail.com>
2 months ago
James Almer
c8438546ff
avfilter/vsrc_testsrc: add support for RGB48/RGBA64
...
Signed-off-by: James Almer <jamrial@gmail.com>
2 months ago
James Almer
e7382b4d01
swscale/swscale_unscaled: add unscaled x2rgb10le to packed RGB
...
Signed-off-by: James Almer <jamrial@gmail.com>
2 months ago
James Almer
ae8ef645ec
swscale/swscale_unscaled: add unscaled x2rgb10le to planar RGB
...
Signed-off-by: James Almer <jamrial@gmail.com>
2 months ago
Cameron Gutman
8503c64aa8
avcodec/amfenc: add support for QueryOutput wait
...
Enable waiting in QueryOutput() based on driver support to reduce
unnecessary delays.
Fix for issue #10622
Co-authored-by: Araz Iusubov <Primeadvice@gmail.com>
2 months ago
Araz Iusubov
eedcf939d8
avcodec/amfenc: Color information update
...
Processing of transfer characteristic SMPTE2084 and 8-bit depth added
on AMF side and will appear in one of upcoming releases.
2 months ago
Leandro Santiago
fd0cacc472
fftools/ffplay: fix crash when vk renderer is null
...
When vulkan rendering is requested by the user and fails, ffplay should
exit graciously instead of crash due to a null pointer deref.
Signed-off-by: Leandro Santiago <leandrosansilva@gmail.com>
Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
2 months ago
Kacper Michajłow
7b20985d8d
avcodec/jpegxl_parser: check entropy_decoder_read_symbol return value
...
Found by OSS-Fuzz.
Signed-off-by: Kacper Michajłow <kasper93@gmail.com>
2 months ago
Fei Wang
c845a07302
libavutil/hwcontext_{d3d11va, dxva2}: Support Y212/XV36 pixel format
...
Use DXGI/D3DFMT 16bit pixel format to compatible with 12bit Y212/XV36
since there is no 12bit pixel defined in D3D11/D3D9.
Fix cmdline on Windows:
$ ffmpeg.exe -hwaccel qsv -init_hw_device qsv:hw,child_device_type=
{d3d11, dxva2} -i input_12bit.bin -f null -
Reviewed-by: James Almer <jamrial@gmail.com>
Signed-off-by: Fei Wang <fei.w.wang@intel.com>
2 months ago
Michael Niedermayer
df00705e00
INSTALL: explain the circular dependency issue and solution
...
Sponsored-by: Sovereign Tech Fund
Reviewed-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2 months ago
Michael Niedermayer
ebffb8b68e
avcodec/ffv1enc: Tighter maxsize
...
This allows using smaller buffers
Sponsored-by: Sovereign Tech Fund
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2 months ago
Peter Ross
2d81eaa37b
fate/rv60: add test
2 months ago
Peter Ross
33802e7c32
avcodec/rv60: RealVideo 6.0 decoder
...
Reviewed-by: Anton Khirnov <anton@khirnov.net>
Reviewed-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Signed-off-by: Peter Ross <pross@xvid.org>
2 months ago
Peter Ross
ae8295417a
avformat/rmdec: support RMHD file format
...
Signed-off-by: Peter Ross <pross@xvid.org>
2 months ago
Sean McGovern
c325f9c619
libavutil/ppc: defines involving bit shifts should be unsigned
...
Otherwise, these can overflow at the boundaries of the integer type.
Signed-off-by: Brad Smith <brad@comstyle.com>
2 months ago
James Almer
40878dfb11
fate/pixfmts: test conversion of high bitdepth formats
...
Signed-off-by: James Almer <jamrial@gmail.com>
2 months ago
James Almer
5f5421ec66
swscale/swscale: prevent integer overflow in chrRangeToJpeg16_c
...
Same as it's done in lumRangeToJpeg16_c(). Plenty of allowed input values can
overflow here.
Fixes: src/libswscale/swscale.c:198:47: runtime error: signed integer overflow: 475328 * 4663 cannot be represented in type 'int'
Signed-off-by: James Almer <jamrial@gmail.com>
2 months ago
James Almer
c029a2f7dd
swscale/swscale_unscaled: add unscaled rgb to planar rgba
...
The fate test reference changes are due to the conversion being a simple
lossless deinterleave, instead of going through a RGB -> YUV -> RGB roundtrip.
Signed-off-by: James Almer <jamrial@gmail.com>
2 months ago
James Almer
5ccc3f0fca
swscale/swscale_unscaled: add unscaled hbd planar RGB to x2rgb10le
...
Signed-off-by: James Almer <jamrial@gmail.com>
2 months ago
James Almer
febc9e8162
swscale/output: add full chroma interpolation support for x2rgb10
...
Signed-off-by: James Almer <jamrial@gmail.com>
2 months ago
James Almer
430bec8666
fate/filter-video: add more rgbtestsrc tests
...
Signed-off-by: James Almer <jamrial@gmail.com>
2 months ago
James Almer
165f124129
vsrc_testsrc: add support for x2rgb10le to rgbtestsrc
...
Signed-off-by: James Almer <jamrial@gmail.com>
2 months ago
James Almer
78ba06928a
swscale/x86/rgb2rgb: add optimized versions of the remaining shuffle_bytes functions
...
Signed-off-by: James Almer <jamrial@gmail.com>
2 months ago
James Almer
a686d34fea
swscale/swscale_unscaled: add unscaled conversion for AYUV/VUYA/UYVA
...
Signed-off-by: James Almer <jamrial@gmail.com>
2 months ago
Brad Smith
d6b2d08fc7
libavutil/ppc: Include the hardware feature flags like the other archs
...
Also include the hardware feature flags like the other archs do and
clean up the code a bit.
Tested on Linux POWER9.
Signed-off-by: Brad Smith <brad@comstyle.com>
2 months ago