mirror of
https://github.com/ittiam-systems/libhevc.git
synced 2026-10-02 08:42:42 +07:00
|
Some checks are pending
CMake / build (cmake, gcc, , g++, ubuntu-latest-gcc-cmake, ubuntu-latest) (push) Waiting to run
CMake / build (cmake, aarch64-linux-gnu-gcc, -DCMAKE_TOOLCHAIN_FILE=../cmake/toolchains/aarch64_toolchain.cmake, aarch64-linux-gnu-g++, ubuntu-latest-cross-aarch64-cmake, ubuntu-latest) (push) Waiting to run
CMake / build (cmake, arm-linux-gnueabihf-gcc, -DCMAKE_TOOLCHAIN_FILE=../cmake/toolchains/aarch32_toolchain.cmake, arm-linux-gnueabihf-g++, ubuntu-latest-cross-aarch32-cmake, ubuntu-latest) (push) Waiting to run
CMake / build (cmake, clang, , clang++, macos-latest-clang-cmake, macos-latest) (push) Waiting to run
CMake / build (cmake, clang, , clang++, ubuntu-24.04-arm-clang-cmake, ubuntu-24.04-arm) (push) Waiting to run
CMake / build (cmake, clang, , clang++, ubuntu-latest-clang-cmake, ubuntu-latest) (push) Waiting to run
CMake / build (cmake, clang, -DSANITIZE=fuzzer-no-link,address, clang++, ubuntu-latest-clang-cmake-asan-fuzzer, ubuntu-latest) (push) Waiting to run
CMake / build (cmake, clang, -G Ninja, clang++, ubuntu-latest-clang-cmake-ninja, ubuntu-latest) (push) Waiting to run
In ihevcd_copy_slice_hdr(), copying the previous slice header for dependent
slices copied i2_ctb_x and i2_ctb_y. If parsing was aborted or delayed,
the incomplete slice header retained the previous slice's coordinates,
causing concurrent worker threads in ihevcd_slice_hdr_update() to prematurely
switch to the invalid slice header. Reset i2_ctb_x and i2_ctb_y to -1
after copying.
In ihevcd_parse_slice_header(), initialize i2_ctb_x and i2_ctb_y to -1
immediately following memset so that slices rejected prior to coordinate
parsing do not retain valid-looking (0, 0) coordinates.
In ihevcd_parse_pic_init(), only skip reinitializing slice header 1 if
the first slice was missing in the current picture.
Test: ./hevc_dec_tests
Test: ./hevc_dec_fuzzer /work/misc/oss-fuzz/build/out/libhevc/crash-b74b07ae377d7450614e4534c86155d1d2999e13
TAG=agy
CONV=cfdfe257-7362-41c9-b5be-18261f1c6a3d
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| arm | ||
| arm64 | ||
| riscv64 | ||
| x86 | ||
| ihevcd_api.c | ||
| ihevcd_bitstream.c | ||
| ihevcd_bitstream.h | ||
| ihevcd_boundary_strength.c | ||
| ihevcd_boundary_strength.h | ||
| ihevcd_cabac.c | ||
| ihevcd_cabac.h | ||
| ihevcd_common_tables.c | ||
| ihevcd_common_tables.h | ||
| ihevcd_cxa.h | ||
| ihevcd_deblk.c | ||
| ihevcd_deblk.h | ||
| ihevcd_debug.h | ||
| ihevcd_decode.c | ||
| ihevcd_decode.h | ||
| ihevcd_defs.h | ||
| ihevcd_error.h | ||
| ihevcd_fmt_conv.c | ||
| ihevcd_fmt_conv.h | ||
| ihevcd_func_types.h | ||
| ihevcd_function_selector.h | ||
| ihevcd_function_selector_generic.c | ||
| ihevcd_get_mv.c | ||
| ihevcd_get_mv.h | ||
| ihevcd_ilf_padding.h | ||
| ihevcd_inter_pred.c | ||
| ihevcd_inter_pred.h | ||
| ihevcd_intra_pred_mode_prediction.c | ||
| ihevcd_intra_pred_mode_prediction.h | ||
| ihevcd_iquant_itrans_recon_ctb.c | ||
| ihevcd_iquant_itrans_recon_ctb.h | ||
| ihevcd_itrans_recon_dc.c | ||
| ihevcd_itrans_recon_dc.h | ||
| ihevcd_ittiam_logo.h | ||
| ihevcd_job_queue.c | ||
| ihevcd_job_queue.h | ||
| ihevcd_mv_merge.c | ||
| ihevcd_mv_merge.h | ||
| ihevcd_mv_pred.c | ||
| ihevcd_mv_pred.h | ||
| ihevcd_nal.c | ||
| ihevcd_nal.h | ||
| ihevcd_parse_headers.c | ||
| ihevcd_parse_headers.h | ||
| ihevcd_parse_residual.c | ||
| ihevcd_parse_residual.h | ||
| ihevcd_parse_slice.c | ||
| ihevcd_parse_slice.h | ||
| ihevcd_parse_slice_header.c | ||
| ihevcd_parse_slice_header.h | ||
| ihevcd_process_slice.c | ||
| ihevcd_process_slice.h | ||
| ihevcd_profile.h | ||
| ihevcd_ref_list.c | ||
| ihevcd_ref_list.h | ||
| ihevcd_sao.c | ||
| ihevcd_sao.h | ||
| ihevcd_statistics.h | ||
| ihevcd_structs.h | ||
| ihevcd_trace.h | ||
| ihevcd_utils.c | ||
| ihevcd_utils.h | ||
| ihevcd_version.c | ||
| libhevcdec.cmake | ||