Niklas Haas
7b73ea501d
avutil/tests/color_utils: add tests for av_csp_itu_eotf
1 month ago
Niklas Haas
bf0a6c4111
avutil/csp: add av_csp_trc_inv_from_id()
...
Mathematical inverse of av_csp_trc_from_id(), plus testing to make sure it
roundtrips correctly with the corresponding TRC.
1 month ago
Niklas Haas
28f217780b
avutil/tests/color_utils: clean up slightly (cosmetic)
...
Rewrite this test slightly to fix the formatting, improve the readability of
the output, and eliminate some unnecessary branching.
1 month ago
Marton Balint
4100a2da29
tests/fate/filter-audio: add aloop test
...
Signed-off-by: Marton Balint <cus@passwd.hu>
2 months ago
Marton Balint
f5948543f4
fate: revert previous frequency adjustments of the sine filter
...
With more precise frequency support in the sine filter, several fate tests will
change.
Signed-off-by: Marton Balint <cus@passwd.hu>
2 months ago
James Almer
19f7dae81a
avformat/mov: add missing stts array syncing in mov_build_index
...
Also fix checks for sc->stts_count that assume it may not be in sync with
sample count.
Missed in 865c73c86f
. Fixes parsing durations in
some cases.
Signed-off-by: James Almer <jamrial@gmail.com>
2 months ago
James Almer
4e6d31755b
avformat/spdifdec: parse headers for audio codecs
...
Signed-off-by: James Almer <jamrial@gmail.com>
2 months ago
Darren Mo
865c73c86f
avformat/mov: Populate packet duration using stts atom instead of guessing
...
Fixes tickets #7855 and #11312 .
Signed-off-by: James Almer <jamrial@gmail.com>
2 months ago
James Almer
edc7b67508
avformat/iamf: use the new Binaural channel layout
...
Signed-off-by: James Almer <jamrial@gmail.com>
2 months ago
James Almer
20af68b63a
avutil/channel_layout: add Binaural channels and layout
...
Signed-off-by: James Almer <jamrial@gmail.com>
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
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
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
ae8ef645ec
swscale/swscale_unscaled: add unscaled x2rgb10le to planar RGB
...
Signed-off-by: James Almer <jamrial@gmail.com>
2 months ago
Peter Ross
2d81eaa37b
fate/rv60: add test
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
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
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
Zhao Zhili
1864025458
fate/vvc: Add a sample which lose frames before 5c66a3
...
Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
3 months ago
Peter Ross
87068b9600
fate/vp60-interlace: add test
3 months ago
James Almer
42b748f738
avfilter/vsrc_testsrc: add support for XV48
...
Signed-off-by: James Almer <jamrial@gmail.com>
3 months ago
James Almer
707e2184ca
avformat/riff: map Y416 fourcc to RAWVIDEO decoder
...
As defined in https://learn.microsoft.com/en-us/windows/win32/medfound/10-bit-and-16-bit-yuv-video-formats#422-formats
Signed-off-by: James Almer <jamrial@gmail.com>
3 months ago
James Almer
a67ba3c132
swscale/output: add XV48 output support
...
Signed-off-by: James Almer <jamrial@gmail.com>
3 months ago
James Almer
e02a3b40a5
avutil/pixfmt: add XV48 pixel format
...
Much like XV30 and XV36 in d75c4693fe
,
XV48 is added to support 16bit 4:4:4 as defined by Microsoft.
Signed-off-by: James Almer <jamrial@gmail.com>
3 months ago
James Almer
faec8763e8
avformat/riff: map Y210 and Y216 fourcc to RAWVIDEO decoder
...
As defined in https://learn.microsoft.com/en-us/windows/win32/medfound/10-bit-and-16-bit-yuv-video-formats#422-formats
Signed-off-by: James Almer <jamrial@gmail.com>
3 months ago
James Almer
b520d95467
swscale/output: add Y216LE output support
...
Signed-off-by: James Almer <jamrial@gmail.com>
3 months ago
James Almer
f462ba05f5
avutil/pixfmt: add Y216 pixel format
...
Signed-off-by: James Almer <jamrial@gmail.com>
3 months ago
James Almer
0bb53948ac
swscale/swscale_unscaled: clear the low bits in planar8ToP01xleWrapper
...
This makes the unscaled output of p010le and p016le match the generic path.
Signed-off-by: James Almer <jamrial@gmail.com>
3 months ago
James Almer
dfd7acf3ed
avfilter/vf_pixdesctest: also take into account undefined alpha components
...
Ensure those bits are copied, which will result in the output being the same as
the input, where swscale set them to the equivalent of fully opaque.
Signed-off-by: James Almer <jamrial@gmail.com>
3 months ago
James Almer
8debc5aa41
avfilter/vsrc_testsrc: use the alpha component information for XV3{0,6} and V30X
...
And add a few more tests to ensure all the pixfmts affected by this change
are tested.
Signed-off-by: James Almer <jamrial@gmail.com>
3 months ago
James Almer
6cf4186d1b
fate/vcodec: update reference files for v410 vsynth tests
...
Forgotten in 601a347946
.
Found-by: ramiro
Signed-off-by: James Almer <jamrial@gmail.com>
3 months ago
James Almer
f0e6296dde
swscale/output: fix alpha endianness in XV36
...
Mistakenly written in native endianness in 42098f9266
.
Signed-off-by: James Almer <jamrial@gmail.com>
3 months ago
James Almer
062fcacc8f
avfilter/vsrc_testsrc: fill the xv30le alpha bits
...
As with other pixel formats, set the undefined alpha bits to opaque.
Signed-off-by: James Almer <jamrial@gmail.com>
3 months ago
James Almer
601a347946
swscale/output: fill the xv30le alpha bits
...
As with other pixel formats, set the undefined alpha bits to opaque.
Signed-off-by: James Almer <jamrial@gmail.com>
3 months ago
James Almer
5601c5bb2e
avfilter/vsrc_testsrc: add support for XV36 and AYUV64
...
Signed-off-by: James Almer <jamrial@gmail.com>
3 months ago
James Almer
08c632ec0f
swscale/output: add AYUV64BE output support
...
Signed-off-by: James Almer <jamrial@gmail.com>
3 months ago
James Almer
42098f9266
swscale/output: add X36VBE output support
...
Signed-off-by: James Almer <jamrial@gmail.com>
3 months ago
James Almer
2137346324
swscale/output: fill all the xv36le alpha bits
...
The format is 10 bit per component, not 8.
Signed-off-by: James Almer <jamrial@gmail.com>
3 months ago
James Almer
e206e72b83
Revert "tests/fate: disable compression for zlib-based codecs"
...
This made the output non binary reproducible across different versions of
zlib.
This reverts commit bce5855afb
.
Signed-off-by: James Almer <jamrial@gmail.com>
3 months ago
Anton Khirnov
86460a0342
lavf/flvdec: replace a private option with a field in FFFormatContext
...
The demuxer's 'missing_streams' private option is used to communicate
information from the demuxer to avformat_find_stream_info(). However,
that is not only unnecessarily complicated, it also leaks internal
information to users, e.g. this option appears in the results of the
fate-flv-demux test.
Use a new field in FFFormatContext to communicate this information
instead.
3 months ago
James Almer
cb2f5cf400
fate/vcodec: add a test for v410 pixel format raw video
...
Signed-off-by: James Almer <jamrial@gmail.com>
3 months ago
James Almer
5d07ec04f2
fate/vcodec: stop using the deprecated v308 codec
...
stddev and PSNR values change by the removal of format conversion and because
of the added sws_flags. Either or will have the same effect even on their own.
Signed-off-by: James Almer <jamrial@gmail.com>
3 months ago
Lynne
4f387a1c4e
lavu/pixfmt: add AV_PIX_FMT_RGB96
3 months ago
Lynne
281bba1d26
lavu/pixfmt: add AV_PIX_FMT_RGBA128
...
This format is useful for doing certain lossless transforms on images,
RCT in particular, which require you to escalate the size from 16 to
32 bits to avoid overflows.
APIchanges will be done alongside when comitting.
3 months ago
Martin Schitter
c993a91bea
avutil: add RGBF16 pix_fmt
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
3 months ago
Ramiro Polla
bce5855afb
tests/fate: disable compression for zlib-based codecs
...
FATE results differ when using the original zlib and zlib-ng.
Since we don't need to test the result from zlib itself, this commit
disables compression on tests for zlib-based codecs, which ends up
giving the same results with both libraries.
Signed-off-by: James Almer <jamrial@gmail.com>
3 months ago
Ramiro Polla
3661d1982d
avcodec/flashsvenc: add compression_level option
...
This allows setting the compression level used by zlib.
Signed-off-by: James Almer <jamrial@gmail.com>
3 months ago
James Almer
4f0514df62
fate/filter-video: add tests for packed YUV in yuvtestsrc
...
Signed-off-by: James Almer <jamrial@gmail.com>
3 months ago