libhevc-mirror/tests/decoder
Harish Mahendrakar 869a012389
Some checks are pending
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
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
tests/decoder: Continue header parsing if bytes were consumed
In DecHelper::decodeFile(), if decodeHeader() returns false, the function
previously returned false immediately. In streams that contain non-SPS NAL
units before SPS (such as an orphan PPS before SPS in RPS_C_ericsson_5),
decodeHeader() returns false because SPS has not yet been decoded, but it
successfully consumes the NAL unit bytes.

Check if consumed == 0 before returning false on decodeHeader() failure,
allowing the file offset to advance past consumed bytes and continue
parsing until SPS is encountered.

Test: ./hevc_dec_tests --gtest_filter="*DecodeVerify/332:*"
2026-09-13 09:02:24 -07:00
..
DecHelper.cmake Add initial tests for decoder and encoder 2026-07-27 13:15:45 -07:00
DecHelper.cpp tests/decoder: Continue header parsing if bytes were consumed 2026-09-13 09:02:24 -07:00
DecHelper.h Updated decoder tests to enable HBD 2026-08-22 02:22:06 +00:00
DecTests.cpp Enable YUV444 HBD decoder tests 2026-08-31 10:41:00 -07:00