libavc-mirror/decoder
Sushant 482512379b
Some checks failed
CMake / build (cmake, gcc, , g++, ubuntu-latest-gcc-cmake, ubuntu-latest) (push) Has been cancelled
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) Has been cancelled
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) Has been cancelled
CMake / build (cmake, clang, , clang++, macos-latest-clang-cmake, macos-latest) (push) Has been cancelled
CMake / build (cmake, clang, , clang++, ubuntu-24.04-arm-clang-cmake, ubuntu-24.04-arm) (push) Has been cancelled
CMake / build (cmake, clang, , clang++, ubuntu-latest-clang-cmake, ubuntu-latest) (push) Has been cancelled
CMake / build (cmake, clang, -DSANITIZE=fuzzer-no-link,address, clang++, ubuntu-latest-clang-cmake-asan-fuzzer, ubuntu-latest) (push) Has been cancelled
CMake / build (cmake, clang, -G Ninja, clang++, ubuntu-latest-clang-cmake-ninja, ubuntu-latest) (push) Has been cancelled
libavc: fix hanging issue for recon and deblocking thread
The worker  threads could hang waiting for macroblock maps if
an error was encountered and worker thread exits early.

Added check for the error and thread break flags in the wait loops,
allowing the worker threads to abort cleanly.

Bug: 472596363
Test: atest MctsMediaV2TestCases
      atest MctsMediaDecoderTestCases
      atest MctsMediaCodecTestCases
      atest VtsHalMediaC2V1_0TargetVideoDecTest

Change-Id: I9265e17ae7501164501a3fd66c30b6b67b68104b
(cherry picked from commit 70e21545b3bb5cfdc83ec1d7d60d30549b216011)
2026-09-10 10:47:25 -07:00
..
arm libavc : Enable support for MacOS 2024-10-04 06:51:30 -07:00
mvc avx2 intrinsics support for libavc(sw decoder) 2025-11-12 22:21:10 -08:00
riscv SVC decoder support 2023-02-08 07:55:47 -08:00
svc Invoke ih264d_free_dynamic_bufs() in ih264d_allocate_dynamic_bufs() 2026-07-13 00:08:51 -07:00
x86 avx2 intrinsics support for libavc(sw decoder) 2025-11-12 22:21:10 -08:00
ih264d.h decoder: replace KEEP_THREADS_ACTIVE macro with avc decoder struct variable 2023-07-22 09:51:37 -07:00
ih264d_api.c Invoke ih264d_free_dynamic_bufs() in ih264d_allocate_dynamic_bufs() 2026-07-13 00:08:51 -07:00
ih264d_api_utils.h Decoder: MVC decoding support added 2022-08-06 05:51:31 +00:00
ih264d_bitstrm.c fix file permissions 2015-05-05 17:51:34 +00:00
ih264d_bitstrm.h Decoder: Fix heap buffer overflow. 2020-07-29 23:47:11 +00:00
ih264d_cabac.c Decoder: Fix heap buffer overflow. 2020-07-29 23:47:11 +00:00
ih264d_cabac.h fix file permissions 2015-05-05 17:51:34 +00:00
ih264d_cabac_init_tables.c Multithreading changes and better error resilience 2015-06-03 07:27:36 -07:00
ih264d_compute_bs.c fix file permissions 2015-05-05 17:51:34 +00:00
ih264d_deblocking.c Multithreading changes and better error resilience 2015-06-03 07:27:36 -07:00
ih264d_deblocking.h Multithreading changes and better error resilience 2015-06-03 07:27:36 -07:00
ih264d_debug.h fix file permissions 2015-05-05 17:51:34 +00:00
ih264d_defs.h libavcdec: Add support for 4096x4096 resolution 2025-07-21 22:26:42 -07:00
ih264d_dpb_manager.h Decoder: Fix NPD issue in mmco function 2020-09-16 17:07:13 +05:30
ih264d_dpb_mgr.c libavcdec: Fix integer overflow issue in ui_max_frame_num 2024-10-24 08:16:56 -07:00
ih264d_error_handler.h libavc: Add support for FGC SEI message 2023-02-21 12:36:55 -08:00
ih264d_format_conv.c Multithreading changes and better error resilience 2015-06-03 07:27:36 -07:00
ih264d_format_conv.h fix file permissions 2015-05-05 17:51:34 +00:00
ih264d_function_selector.h avx2 intrinsics support for libavc(sw decoder) 2025-11-12 22:21:10 -08:00
ih264d_function_selector_generic.c fix file permissions 2015-05-05 17:51:34 +00:00
ih264d_inter_pred.c Decoder: Fixes for handling errors in multi-slice MB Aff streams 2016-09-22 18:19:55 +00:00
ih264d_inter_pred.h Multithreading changes and better error resilience 2015-06-03 07:27:36 -07:00
ih264d_mb_utils.c libavcdec: Add support for 4096x4096 resolution 2025-07-21 22:26:42 -07:00
ih264d_mb_utils.h libavcdec: Add support for 4096x4096 resolution 2025-07-21 22:26:42 -07:00
ih264d_mem_request.h Decoder: Reduced memory requirements 2015-09-23 18:35:27 +00:00
ih264d_mvpred.c libavcdec: Add support for 4096x4096 resolution 2025-07-21 22:26:42 -07:00
ih264d_mvpred.h libavcdec: Add support for 4096x4096 resolution 2025-07-21 22:26:42 -07:00
ih264d_nal.c fix file permissions 2015-05-05 17:51:34 +00:00
ih264d_nal.h fix file permissions 2015-05-05 17:51:34 +00:00
ih264d_parse_bslice.c libavcdec: Add support for 4096x4096 resolution 2025-07-21 22:26:42 -07:00
ih264d_parse_cabac.c Decoder: Fix integer sanitizer issues in ih264d_parse_cabac 2019-03-28 14:40:27 -07:00
ih264d_parse_cabac.h fix file permissions 2015-05-05 17:51:34 +00:00
ih264d_parse_cavlc.c Decoder: Fix Integer Sanitizer Issues in ih264d_parse_cavlc 2019-03-28 14:40:34 -07:00
ih264d_parse_cavlc.h fix file permissions 2015-05-05 17:51:34 +00:00
ih264d_parse_headers.c avcdec: fixing transform_8x8_present_flag parsing 2025-09-08 09:05:51 -07:00
ih264d_parse_headers.h fix file permissions 2015-05-05 17:51:34 +00:00
ih264d_parse_islice.c libavcdec: Add support for 4096x4096 resolution 2025-07-21 22:26:42 -07:00
ih264d_parse_islice.h libavcdec: Add support for 4096x4096 resolution 2025-07-21 22:26:42 -07:00
ih264d_parse_mb_header.c libavcdec: Add support for 4096x4096 resolution 2025-07-21 22:26:42 -07:00
ih264d_parse_mb_header.h fix file permissions 2015-05-05 17:51:34 +00:00
ih264d_parse_pslice.c libavcdec: Add support for 4096x4096 resolution 2025-07-21 22:26:42 -07:00
ih264d_parse_slice.c avcdec: fixing transform_8x8_present_flag parsing 2025-09-08 09:05:51 -07:00
ih264d_parse_slice.h Decoder: Delete node from st if lt and st point to same 2019-06-12 09:54:49 +00:00
ih264d_process_bslice.c libavcdec: Add support for 4096x4096 resolution 2025-07-21 22:26:42 -07:00
ih264d_process_bslice.h libavcdec: Add support for 4096x4096 resolution 2025-07-21 22:26:42 -07:00
ih264d_process_intra_mb.c libavcdec: Add support for 4096x4096 resolution 2025-07-21 22:26:42 -07:00
ih264d_process_intra_mb.h libavcdec: Add support for 4096x4096 resolution 2025-07-21 22:26:42 -07:00
ih264d_process_pslice.c libavcdec: Add support for 4096x4096 resolution 2025-07-21 22:26:42 -07:00
ih264d_process_pslice.h libavcdec: Add support for 4096x4096 resolution 2025-07-21 22:26:42 -07:00
ih264d_quant_scaling.c Added error check while parsing scaling_list 2019-07-22 13:55:21 -07:00
ih264d_quant_scaling.h Added error check while parsing scaling_list 2019-07-22 13:55:21 -07:00
ih264d_sei.c mvcdec: Heap overflow in 'ih264d_parse_fgc' 2024-01-21 21:40:27 -08:00
ih264d_sei.h Fix formatting in FGC commit 2023-02-21 12:36:55 -08:00
ih264d_structs.h libavc: use memcpy and memset to enable _FORTIFY_SOURCE 2026-06-18 10:27:02 -07:00
ih264d_tables.c Decoder: Padded gau1_ih264d_top_left_mb_part_indx_mod to avoid an out of bound read 2017-01-17 16:12:12 -08:00
ih264d_tables.h Multithreading changes and better error resilience 2015-06-03 07:27:36 -07:00
ih264d_thread_compute_bs.c libavc: fix hanging issue for recon and deblocking thread 2026-09-10 10:47:25 -07:00
ih264d_thread_compute_bs.h Multithreading changes and better error resilience 2015-06-03 07:27:36 -07:00
ih264d_thread_parse_decode.c libavc: fix hanging issue for recon and deblocking thread 2026-09-10 10:47:25 -07:00
ih264d_thread_parse_decode.h libavcdec: Add support for 4096x4096 resolution 2025-07-21 22:26:42 -07:00
ih264d_transfer_address.h fix file permissions 2015-05-05 17:51:34 +00:00
ih264d_utils.c Invoke ih264d_free_dynamic_bufs() in ih264d_allocate_dynamic_bufs() 2026-07-13 00:08:51 -07:00
ih264d_utils.h Decoder: Reduced memory requirements 2015-09-23 18:35:27 +00:00
ih264d_vui.c Decoder: Return error for invalid vui parameter 2018-04-19 10:38:25 -07:00
ih264d_vui.h VUI header file changes 2023-02-08 07:55:47 -08:00
iv.h Decoder: Reduced memory requirements 2015-09-23 18:35:27 +00:00
ivd.h Updates to Android.bp and some formatting fixes 2023-03-08 20:27:18 -08:00
libavcdec.cmake avx2 intrinsics support for libavc(sw decoder) 2025-11-12 22:21:10 -08:00