- 01 Jun, 2024 8 commits
-
-
Michael Niedermayer authored
Fixes: CID1505963 Unintentional integer overflow Sponsored-by: Sovereign Tech Fund Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
Michael Niedermayer authored
Fixes: CID1538298 Untrusted loop bound Fixes: undefined behavior Sponsored-by: Sovereign Tech Fund Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
Michael Niedermayer authored
Fixes: CID1503075 Unintentional integer overflow Sponsored-by: Sovereign Tech Fund Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
Rémi Denis-Courmont authored
update_lls_8_c: 7.5 update_lls_8_rvv_f64: 4.2 update_lls_12_c: 14.5 update_lls_12_rvv_f64: 5.7
-
Rémi Denis-Courmont authored
-
James Almer authored
Signed-off-by:
James Almer <jamrial@gmail.com>
-
James Almer authored
done by accident in 6a7c4d60. Signed-off-by:
James Almer <jamrial@gmail.com>
-
James Almer authored
Fixes compilation that was broken in 6fed1841. Signed-off-by:
James Almer <jamrial@gmail.com>
-
- 31 May, 2024 32 commits
-
-
James Almer authored
Signed-off-by:
James Almer <jamrial@gmail.com>
-
Rémi Denis-Courmont authored
Signed-off-by:
James Almer <jamrial@gmail.com>
-
Rémi Denis-Courmont authored
C908: scalarproduct_double_c: 39.2 scalarproduct_double_rvv_f64: 10.5 X60: scalarproduct_double_c: 35.0 scalarproduct_double_rvv_f64: 5.2
-
Rémi Denis-Courmont authored
-
Rémi Denis-Courmont authored
-
Rémi Denis-Courmont authored
-
Rémi Denis-Courmont authored
The function pointer is appended to the structure for backward binary compatibility. Fortunately, this is allocated by libavutil, not by the user, so increasing the structure size is safe.
-
Rémi Denis-Courmont authored
hf_apply_noise_0_c: 35.7 hf_apply_noise_0_rvv_f32: 9.5 hf_apply_noise_1_c: 38.5 hf_apply_noise_1_rvv_f32: 10.0 hf_apply_noise_2_c: 35.5 hf_apply_noise_2_rvv_f32: 9.7 hf_apply_noise_3_c: 38.5 hf_apply_noise_3_rvv_f32: 10.0 Maybe extending the noise table manually is not such great idea, but I not quite sure how to deal with that otherwise? Allocating the table dynamically is possible but would require an ELF destructor to clean up.
-
Anton Khirnov authored
Do not use larger fields than needed, use size-1 bitfields for flags. Reduces sizeof(HEVCSPS) by 1280 bytes.
-
Anton Khirnov authored
It is currently an array of 32 uint8_t, each storing a single flag. A single uint32_t is sufficient. Reduces sizeof(HEVCSPS) by 1792 bytes.
-
Anton Khirnov authored
They are only used in vulkan_hevc and are not actually needed, as they can be computed from delta_poc. Reduces sizeof(HEVCSPS) by 16kB. Also, fix a typo (s0->s1) in the code being touched.
-
Anton Khirnov authored
It is actually supposed to go negative in the loop over num_negative pics, but underflow does not break anything as the result is then assigned to a signed int.
-
Anton Khirnov authored
Reduces sizeof(HEVCSPS) by 64 bytes. Also improve flag names: drop redundant suffixes and prefixes, and consistently use disabled/enabled.
-
Anton Khirnov authored
It is currently an array of 32 uint8_t, each storing a single flag. A single uint32_t is sufficient.
-
Anton Khirnov authored
-
Anton Khirnov authored
It is more efficient and easier to manage.
-
Anton Khirnov authored
The latter can be lowered while decoding, which would lead to memleaks.
-
Anton Khirnov authored
It is more consistent with our naming conventions.
-
James Almer authored
Reviewed-by:
Rémi Denis-Courmont <remi@remlab.net> Signed-off-by:
James Almer <jamrial@gmail.com>
-
Gyan Doshi authored
Decoding is no longer possible as the decoder wrapper was removed in 60ccb3fe
-
James Almer authored
They were forgotten in 65ddc749. Signed-off-by:
James Almer <jamrial@gmail.com>
-
Andreas Rheinhardt authored
Reviewed-by:
Lynne <dev@lynne.ee> Signed-off-by:
Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-
Andreas Rheinhardt authored
This was one of the few decoders incompatible with the flag. Also only call free_sequence_buffers() instead of dirac_decode_flush() in dirac_decode_end(). Reviewed-by:
Lynne <dev@lynne.ee> Signed-off-by:
Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-
Andreas Rheinhardt authored
Reviewed-by:
Lynne <dev@lynne.ee> Signed-off-by:
Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-
Andreas Rheinhardt authored
Reviewed-by:
Lynne <dev@lynne.ee> Signed-off-by:
Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-
Andreas Rheinhardt authored
These strings are so short that they can be put directly into the containing structure, avoiding the pointer and putting it into .rodata. Also use chars for interlaced and level while at it, as these are so small. Reviewed-by:
Lynne <dev@lynne.ee> Signed-off-by:
Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-
Andreas Rheinhardt authored
args->bytes here already includes prefix_bytes (see SSIZE_ROUND macro), so including it here again and forgetting it when offsetting skip seems wrong. This only works because prefix_bytes is currently always zero in this encoder. (This has been added in b88be742 without any reason.) Reviewed-by:
Lynne <dev@lynne.ee> Signed-off-by:
Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-
Andreas Rheinhardt authored
ff_get_encode_buffer() already emits an error message of its own. While just at it, also check for ret < 0 instead of just ret != 0. Reviewed-by:
Lynne <dev@lynne.ee> Signed-off-by:
Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-
Andreas Rheinhardt authored
Reviewed-by:
Lynne <dev@lynne.ee> Signed-off-by:
Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-
Andreas Rheinhardt authored
Reviewed-by:
Lynne <dev@lynne.ee> Signed-off-by:
Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-
Andreas Rheinhardt authored
Done in 0df18f29, accidentally undone in 163e737c. Signed-off-by:
Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-
Andreas Rheinhardt authored
W has not been checked at all; allocate it jointly with M to fix this. Signed-off-by:
Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-