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>
2024-11-09 19:33:56 -03:00
Pavel Koshevoy
7b302f4db7
lavfi/vf_zscale: fix tmp buffer ptr alignment for zimg_filter_graph_process
...
Signed-off-by: James Almer <jamrial@gmail.com>
2024-11-09 19:33:56 -03:00
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>
2024-11-09 19:33:56 -03:00
Marth64
6d5a0998b6
doc/bitstream_filters: elaborate on h264_redundant_pps
...
Signed-off-by: Marth64 <marth64@proxyid.net>
2024-11-09 10:02:34 -06:00
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.
2024-11-09 02:46:17 +01:00
Anton Khirnov
9e68b26765
Document stream specifier syntax change from 46cbe4ab5c
...
Fixes #11248 .
2024-11-09 02:45:58 +01:00
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>
2024-11-09 02:45:58 +01:00
Peter Ross
2bbbf36fe2
avcodec/rv60: set populate_ipred src parameter to const
2024-11-09 08:50:59 +11:00
Peter Ross
006718c475
avcodec/rv60: align calc_sel_qp with reference decoder
...
Fixes ticket #11290 .
2024-11-09 08:50:59 +11:00
Peter Ross
c8c6319ce1
avcodec/rv60: prevent decode_cu_r deadlock
...
Fixes ticket #11289 (deadlock).
2024-11-09 08:50:59 +11:00
Peter Ross
4d4d171afb
avcodec/rv60: prevent decode_cu_r segfault
...
Fixes ticket #11289 (crash).
2024-11-09 08:50:59 +11:00
Peter Ross
923f45430c
avcodec/rv60: check init_get_bits8 return value
...
Fixes CID 1634471
2024-11-09 08:50:58 +11:00
Peter Ross
d51a920556
avcodec/rv60: negative qp guard
...
Fixes CID 1634472
2024-11-09 08:50:58 +11:00
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>
2024-11-08 08:30:07 -08:00
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>
2024-11-08 09:19:06 -03:00
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
2024-11-08 10:52:04 +01:00
compn
f4ba5b083c
doc/git-howto: remove outdated line about gitolite
2024-11-08 15:59:13 +10:00
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>
2024-11-07 21:27:04 -06:00
James Almer
2eb9c35010
x86/swscale: disable AVX2 yuv2nv12cX functions if accurate_rnd is requested
...
Signed-off-by: James Almer <jamrial@gmail.com>
2024-11-07 11:16:42 -03:00
Araz Iusubov
f63f164125
avcodec/amfenc: GOP size check
...
Fix for the error with an invalid GOP size parameter.
2024-11-07 15:11:10 +01:00
James Almer
4047b887fc
swscale/swscale_unscaled: add more unscaled planar RGB to planar RGB coverage
...
Signed-off-by: James Almer <jamrial@gmail.com>
2024-11-06 17:45:47 -03:00
James Almer
c5ebd56500
swscale/swscale_unscaled: add unscaled XV{36,48}LE <-> XV{36,48}BE
...
Signed-off-by: James Almer <jamrial@gmail.com>
2024-11-06 17:45:47 -03:00
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>
2024-11-06 17:44:25 -03:00
James Almer
c8438546ff
avfilter/vsrc_testsrc: add support for RGB48/RGBA64
...
Signed-off-by: James Almer <jamrial@gmail.com>
2024-11-06 17:34:32 -03:00
James Almer
e7382b4d01
swscale/swscale_unscaled: add unscaled x2rgb10le to packed RGB
...
Signed-off-by: James Almer <jamrial@gmail.com>
2024-11-06 17:34:32 -03:00
James Almer
ae8ef645ec
swscale/swscale_unscaled: add unscaled x2rgb10le to planar RGB
...
Signed-off-by: James Almer <jamrial@gmail.com>
2024-11-06 17:34:31 -03:00
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>
2024-11-06 19:38:36 +01:00
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.
2024-11-06 19:38:11 +01:00
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>
2024-11-06 16:34:02 +08:00
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>
2024-11-05 08:44:43 -05:00
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>
2024-11-05 10:28:03 +08:00
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>
2024-11-03 19:35:23 +01:00
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>
2024-11-03 19:20:40 +01:00
Peter Ross
2d81eaa37b
fate/rv60: add test
2024-11-03 10:53:15 +11:00
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>
2024-11-03 10:53:15 +11:00
Peter Ross
ae8295417a
avformat/rmdec: support RMHD file format
...
Signed-off-by: Peter Ross <pross@xvid.org>
2024-11-03 10:53:15 +11:00
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>
2024-11-03 22:05:06 -05:00
James Almer
40878dfb11
fate/pixfmts: test conversion of high bitdepth formats
...
Signed-off-by: James Almer <jamrial@gmail.com>
2024-11-02 15:01:31 -03:00
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>
2024-11-02 15:01:31 -03:00
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>
2024-11-02 15:01:31 -03:00
James Almer
5ccc3f0fca
swscale/swscale_unscaled: add unscaled hbd planar RGB to x2rgb10le
...
Signed-off-by: James Almer <jamrial@gmail.com>
2024-11-02 15:01:31 -03:00
James Almer
febc9e8162
swscale/output: add full chroma interpolation support for x2rgb10
...
Signed-off-by: James Almer <jamrial@gmail.com>
2024-11-02 15:01:31 -03:00
James Almer
430bec8666
fate/filter-video: add more rgbtestsrc tests
...
Signed-off-by: James Almer <jamrial@gmail.com>
2024-11-02 15:01:31 -03:00
James Almer
165f124129
vsrc_testsrc: add support for x2rgb10le to rgbtestsrc
...
Signed-off-by: James Almer <jamrial@gmail.com>
2024-11-02 15:01:31 -03:00
James Almer
78ba06928a
swscale/x86/rgb2rgb: add optimized versions of the remaining shuffle_bytes functions
...
Signed-off-by: James Almer <jamrial@gmail.com>
2024-11-02 15:01:31 -03:00
James Almer
a686d34fea
swscale/swscale_unscaled: add unscaled conversion for AYUV/VUYA/UYVA
...
Signed-off-by: James Almer <jamrial@gmail.com>
2024-11-02 15:01:31 -03:00
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>
2024-11-03 03:27:39 -05:00
Timo Rothenpieler
d724584d68
avcodec/nvenc: set bitstreamRestrictionFlag when neccesary
...
This mimics the behaviour of libx264 for setting this flag.
Fixes #11131
2024-11-01 17:59:27 +01:00
Koushik Dutta
0cdcbab9e9
avfilter/scale_cuda: frame crop support
...
The crop filter has no effect on scale_cuda:
-vf crop=100:100,scale_cuda=100x100
Hardware frames (AV_PIX_FMT_FLAG_HWACCEL) are expected to use the crop_* properties,
as seen in the implementation vf_crop.c.
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
2024-11-01 17:10:34 +01:00
Zhao Zhili
1864025458
fate/vvc: Add a sample which lose frames before 5c66a3
...
Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
2024-11-01 16:59:48 +08:00