Michael Niedermayer
eb9c96a82f
avcodec/ratecontrol: Try to keep fps as a rational
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
7 months ago
Michael Niedermayer
f81602fb3a
tools/target_dec_fuzzer: Adjust threshold for MV30
...
Fixes: 60867/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MV30_fuzzer-6381933108527104
Fixes: Timeout
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
7 months ago
Michael Niedermayer
749994194c
tools/target_dec_fuzzer: Adjust threshold for jpeg2000
...
Fixes: Timeout
Fixes: 57385/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_JPEG2000_fuzzer-5394334324490240
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
7 months ago
J. Dekker
e61fed8280
avutil/riscv/cpu: fix __riscv_v_min_vlen typo
...
Signed-off-by: J. Dekker <jdek@itanimul.li>
7 months ago
Brad Smith
41190da9e1
aarch64: Add OpenBSD runtime detection of dotprod and i8mm using sysctl
...
Signed-off-by: Brad Smith <brad@comstyle.com>
7 months ago
Nuo Mi
23531c9776
avcodec/vvcdec: alf, support virtual boundaries
...
see https://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=9503377
passed files:
GDR_A_ERICSSON_2.bit
GDR_B_NOKIA_2.bit
GDR_C_NOKIA_2.bit
VIRTUAL_A_MediaTek_3.bit
VIRTUAL_B_MediaTek_3.bit
7 months ago
Nuo Mi
3bac5ba861
avcodec/vvcdec: sao, support virtual boundaries
7 months ago
Nuo Mi
17c8b63781
avcodec/vvcdec: deblock, support virtual boundaries
7 months ago
Nuo Mi
80ded9cfe7
avcodec/vvcdec: ps, derive virtual boundaries
7 months ago
Nuo Mi
8b3d1f1fb3
cbs_h266: add VVC_MAX_VBS for max num of virtual boundaries
7 months ago
Nuo Mi
fc731d8b39
avcodec/vvcdec: misc, constify ALFParams
7 months ago
Nuo Mi
9b532ace02
avcodec/vvcdec: misc, remove unused ALFParams.applied
7 months ago
Nuo Mi
98b6b90601
avcodec/vvcdec: refact out alf_get_edges
7 months ago
Nuo Mi
45d0ba8313
avcodec/vvcdec: misc, reformat ff_vvc_sao_filter
7 months ago
Nuo Mi
a69b07dc79
avcodec/vvcdec: refact, fix naming convention of x0, y0 for sao
...
it's mismatched with the ff_vvc_sao_filter function declaration
7 months ago
Nuo Mi
ccf1d4172c
avcodec/vvcdec: refact out sao_extends_edges
7 months ago
Nuo Mi
200862b144
avcodec/vvcdec: refact out sao_get_edges
7 months ago
Nuo Mi
5b9320b209
avcodec/vvcdec: refact, unify ff_vvc_deblock_{horizontal, vertical}
7 months ago
Nuo Mi
16e410aaac
avcodec/vvcdec: misc, use POS to simplify filter code
7 months ago
Nuo Mi
a6ea542a34
avcodec/vvcdec: refact, unify {horizontal, vertical}_bs, {horizontal, vertical}_p, {horizontal, vertical}_q
7 months ago
Nuo Mi
cc89832d56
avcodec/vvcdec: refact, unify vvc_deblock_bs_chroma_{horizontal, vertical}
7 months ago
Nuo Mi
0a5bbcf0f3
avcodec/vvcdec: refact, unify vvc_deblock_bs_luma_{horizontal, vertical}
7 months ago
Nuo Mi
cb6538e9a1
avcodec/vvcdec: refact, unify vvc_deblock_subblock_bs_{horizontal, vertical}
7 months ago
Nuo Mi
0333b97414
checkasm/vvc_alf: ensure right and bottom boundaries are not overwritten by asm
7 months ago
Nuo Mi
6b0e6a98b5
x86/vvc_alf: avoid overwriting for non-16 aligned widths
...
Previously, the code allowed overwriting on 16-aligned blocks, which was suitable when there were
no picture's virtual boundaries because both CTU sizes and strides were 16-aligned. However, with
picture's virtual boundaries, each CTU is divided into four ALF blocks, leading to potential issues
with overwriting later CTUs.
In cases involving picture virtual boundaries, each ALF block is 8-pixel aligned.
For luma, we consistently ensure an 8-aligned width. For chroma in 4:2:0 format,
we need to account for a 4-aligned width.
7 months ago
Nuo Mi
1fa9f5b17f
checkasm/vvc_alf: random select alf virtual boundaries position
...
A picture's virtual boundaries will split a CTU into 4 ALF blocks.
The ALF virtual boundary may cross or not cross a ALF block.
7 months ago
Nuo Mi
b82ef7c0ba
checkasm/vvc_alf: only check the valid filter and classify sizes
7 months ago
James Almer
74035aaed7
avformat/matroskadec: don't use sizeof(AVStereo3D)
...
It's not part of the libavutil ABI.
Signed-off-by: James Almer <jamrial@gmail.com>
7 months ago
James Almer
f6b29c8773
avformat/mov: don't use sizeof(AVStereo3D)
...
It's not part of the libavutil ABI.
Signed-off-by: James Almer <jamrial@gmail.com>
7 months ago
James Almer
7c0ebb095d
avcodec/mpeg12dec: don't use sizeof(AVStereo3D)
...
It's not part of the libavutil ABI.
Signed-off-by: James Almer <jamrial@gmail.com>
7 months ago
James Almer
e6baf4f384
avutil/stereo3d: add a new allocator function that returns a size
...
av_stereo3d_alloc() is not useful in scenarios where you need to know the
runtime size of AVStereo3D.
Signed-off-by: James Almer <jamrial@gmail.com>
7 months ago
James Almer
1034296eac
avformat/dump: print Stereo3D AVRationals as float
...
Same as every other rational printed in this file.
Signed-off-by: James Almer <jamrial@gmail.com>
7 months ago
Timo Rothenpieler
6d4eba51f2
fftools/ffplay_renderer: use correct NULL value for Vulkan type
7 months ago
Lynne
dae12ddb2e
lavu/stereo3d: change the horizontal FOV field to a rational
...
This avoids hardcoding any implementation-specific limitiations as
part of the API, and allows for future expandability.
This also allows API users to more conveniently convert the
values into floats without hardcoding specific conversion constants.
The API was committed a few days ago, so changing this field now
is within the realms of acceptable.
7 months ago
Rémi Denis-Courmont
0d748eec8d
configure: detect 64-bit generic platforms
...
Currently, any unrecognised platform is treated as 32-bit. This should
detect *most* 64-bit platforms, namely LP64 and LLP64 ones.
Unfortunately this will not work for ILP32 ABIs on 64-bit ISAs, but
still better than nothing.
7 months ago
Cosmin Stejerean
c3814d5409
avcodec/dovi_rpudec: fix reading el_bit_depth_minus8
...
now that we are reading ext_mapping_idc as the upper 8 bits of
el_bit_depth_minus8 we need to use get_ue_golomb_long rather than
get_ue_golomb_31 for reading it
7 months ago
Pierre-Anthony Lemieux
77ab1c773c
fate/jpeg2000dec: add support for p0_10.j2k
...
p0_10.j2k is one of the reference codestreams included in Rec. ITU-T T.803 | ISO/IEC 15444-4.
Adding this test was made possible by commit 6f4a95cfb8
.
7 months ago
Timo Rothenpieler
76317e22a6
avformat/tls_schannel: forward AVIO_FLAG_NONBLOCK to tcp stream
...
Fixes for example rtmps streaming over schannel.
7 months ago
Ramiro Polla
e37a93031e
swscale/yuv2rgb: reindent after previous commit
7 months ago
Ramiro Polla
0a08c64588
swscale/yuv2rgb: fix yuv422p input in C code
...
The C code was silently ignoring the second chroma line on yuv422p
input.
7 months ago
Ramiro Polla
fb8fae864f
swscale/yuv2rgb: add macros to simplify code generation
7 months ago
Ramiro Polla
88a402df74
swscale/yuv2rgb: fix conversion for widths not aligned to 8
...
The C code for some pixel formats (rgb555, rgb565, rgb444, and monob)
was not converting the last pixels on widths not aligned to 8.
NOTE: the last pixel for odd widths is still not converted for any of
the pixel formats in the C code for yuv2rgb except for monob.
7 months ago
Martin Storsjö
6ec22731ae
movenc: Add an option for resilient, hybrid fragmented/non-fragmented muxing
...
This allows ending up with a normal, non-fragmented file when
the file is finished, while keeping the file readable if writing
is aborted abruptly at any point. (Normally when writing a
mov/mp4 file, the unfinished file is completely useless unless it
is finished properly.)
This results in a file where the mdat atom contains (and hides)
all the moof atoms that were part of the fragmented file structure
initially.
Signed-off-by: Martin Storsjö <martin@martin.st>
7 months ago
Martin Storsjö
4b8ddf71dc
movenc: Factorize a function for finishing a written fragment
...
Signed-off-by: Martin Storsjö <martin@martin.st>
7 months ago
Lynne
0b67c83b2e
aacdec_usac, aacsbr: implement SBR support for USAC
...
Currently, no eSBR features are supported.
Thankfully, no encoders exist for it yet.
7 months ago
Cosmin Stejerean
0c0e7ec81e
avcodec/dovi_rpu: correctly read el_bit_depth_minus8 and ext_mapping_idc
...
These two fields are coded together into a single 16 bit integer with upper 8
bits for ext_mapping_idc and lower 8 bits for el_bit_depth_minus8.
Furthermore ext_mapping_idc has two components, upper 3 bits and lower 5 bits.
Co-authored-by: Niklas Haas <git@haasn.dev>
Signed-off-by: Niklas Haas <git@haasn.dev>
7 months ago
Cosmin Stejerean
cc587e69c6
avutil/dovi_meta: add fields for ext_mapping_idc
...
Co-authored-by: Niklas Haas <git@haasn.dev>
Signed-off-by: Niklas Haas <git@haasn.dev>
7 months ago
James Almer
127545350f
avformat/mov: use the updated default value for horizontal_disparity_adjustment in the eyes box
...
Signed-off-by: James Almer <jamrial@gmail.com>
7 months ago
Lynne
d45e20c37b
aacdec_usac: remove custom rate_idx and use standard variable for it
...
m4ac.sampling_index is what aacdec.c uses.
7 months ago
Lynne
a381cbc7c7
aacdec_usac: rename noise_scale to noise_bands
...
This was a typo.
7 months ago