Harish Mahendrakar
a7bf2e9135
Invoke ih264d_free_dynamic_bufs() in ih264d_allocate_dynamic_bufs()
...
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
CMake / build (cmake, gcc, , g++, ubuntu-latest-gcc-cmake, ubuntu-latest) (push) Has been cancelled
In order do this, moved freeing of dynamic bitstream buffer outside free_dynamic_bufs() call.
This allocation is not done inside allocate_dynamic_bufs() and hence shouldn't be freed in free_dynamic_bufs().
This will ensure that any memory that is allocated before and not yet freed, will be freed.
This is done as a precaution to ensure there are no leaks.
2026-07-13 00:08:51 -07:00
Sushant
022704a5d6
libavc: use memcpy and memset to enable _FORTIFY_SOURCE
...
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
CMake / build (cmake, gcc, , g++, ubuntu-latest-gcc-cmake, ubuntu-latest) (push) Has been cancelled
Bypass wrappers functions for memcpy and memset, calling standard
C library functions directly. This allows _FORTIFY_SOURCE to
perform compile-time safety checks.
Bug: 514722372
Test: ./avcdec
Change-Id: Ice5048bdebc74e15c10e16aed3353251773659c7
2026-06-18 10:27:02 -07:00
MallikarjunKamble
74704cccf3
svc_dec_fuzzer: Allocated size was lower for non_vcl NAL
...
CMake / build (push) Has been cancelled
Bug: oss-fuzz-473582308
Test: ./svc_dec_fuzzer
2026-02-16 12:26:21 -08:00
Priyanka Bose
ca7461442c
avx2 intrinsics support for libavc(sw decoder)
...
CMake / build (push) Has been cancelled
This patch includes handwritten avx2 intrinsics to optimize the libavc sw decoder
by reducing CPU-cycles overhead on module : libcodec2_soft_avcdec.
Playing 1024 resolution video playback on the Galley App with HW decoder disabled:
cpu-cycles overhead(%) reduced by ~15%.
Loading of video thumbnails on Gallery/Photos App is faster (we have pushed approx
more than 30 videos as a part of the usecase): cpu-cycles overhead(%) have reduced by ~10%.This patch is related to s/w video decoding.
Signed-off-by: Priyanka Bose <priyanka.bose@intel.corp-partner.google.com>
2025-11-12 22:21:10 -08:00
Rakesh Kumar
ab825bbb0d
svcdec: fix build issue
CMake / build (push) Has been cancelled
2025-08-20 10:04:14 -07:00
Mallikarjun Kamble
6f5a49da5d
svcdec: Fixed heap use after free by initilizing dpb ref buffers
...
Bug: 428771938
Test: ./svc_dec_fuzzer
2025-08-11 08:59:28 -07:00
Vivek Jadhav
b34ac3d492
libavcdec: resolve heap buffer overflows in svc
...
Bug: 434978682
Bug: 435086517
Test: ./svc_dec_fuzzer
Change-Id: I5c432aa63b0975b76baa5e59a819278087b65218
2025-08-08 07:53:30 -07:00
Vivek Jadhav
2f6371b3b8
libavcdec: Add support for 4096x4096 resolution
...
Bug:
Test: ./avcdec
Change-Id: Ie111f58e04bbd045e94167cdb978c571662567fb
2025-07-21 22:26:42 -07:00
Mallikarjun Kamble
3899610fa8
svcdec: Handled timeout by returning status of the error
...
Bug = ossfuzz:67415
Test: svc_dec_fuzzer
2024-07-19 01:11:00 -07:00
Mallikarjun Kamble
b0117e32b9
svcdec: Ensure decoder display dimensions match subset sequence dimensions
...
- Fixes for heap buffer overflow
Bug = ossfuzz:68807, ossfuzz:69682
Test: svc_dec_fuzzer
2024-07-11 00:24:15 -07:00
Mallikarjun Kamble
28727baf58
svcdec: oss-fuzz bug fixes
...
ID#
65031
65035
65057
65059
65060
65132
65172
65482
2024-01-09 07:12:29 -08:00
Mallikarjun Kamble
3cc9ff94db
Update intra resamp flags
2023-12-11 10:41:02 -08:00
Mallikarjun Kamble
a8a8a80c5f
Added compliance fixes
2023-12-11 10:41:02 -08:00
Mallikarjun Kamble
df740b5ebc
Added fixes for hang
2023-12-11 10:41:02 -08:00
Mallikarjun Kamble
e49a9150a3
Fixes for heap overflow
2023-12-11 10:41:02 -08:00
Mallikarjun Kamble
82f4e69094
svcdec: Fixes for NULL dereferencing in inter-layer functions
...
Resolution level initialization is tracked in inter layer prediction functions
Bug = ossfuzz:62290
Test: svc_dec_fuzzer
2023-11-24 07:19:34 -08:00
wujianxing1
283f9fcecb
Correct comment spelling error.
...
Change-Id: Idd5e2c12da2b23f598c301bf6fb6a963c4420ae2
Signed-off-by: wujianxing1 <wujianxing1@xiaomi.corp-partner.google.com>
2023-08-11 15:54:38 -07:00
Mallikarjun Kamble
84f955dd77
svcdec: Fix for out of range reference index during base mode flag
...
Bug: 58278
Test: svc_dec_fuzzer
2023-04-27 07:47:13 -07:00
Mallikarjun Kamble
5a7d4325be
svcdec: Fix for out of bound index in ii_pred
...
Bug: 274306469
Test: svc_dec_fuzzer
2023-03-23 12:10:07 -07:00
chamarthi.kishore
7855d6e872
svcdec: Bug fix in header and SPS parsing w.r.t non dyadic SVC decoding
...
BUG=oss-fuzz: 56176
Test: svc_dec_fuzzer
2023-03-01 15:01:00 -08:00
chamarthi.kishore
3a853e8247
svcdec: Bug fix in mark_err_slice_skip funtion w.r.t thread creation
...
BUG=oss-fuzz: 56023, 56050, 56089
Test: svc_dec_fuzzer
2023-02-28 15:11:26 -08:00
chamarthi.kishore
a49b596b8e
svcdec: Modifications to the conditions in NON VCL NAL parsing.
...
BUG=oss-fuzz: 56386
Test: svc_dec_fuzzer
2023-02-27 11:08:52 -08:00
chamarthi.kishore
c0ca3b2979
svcdec: Bug fix in NON VCL NAL parsing.
...
BUG=oss-fuzz: 56386
Test: svc_dec_fuzzer
2023-02-27 11:08:52 -08:00
chamarthi.kishore
4900778d4c
svcdec: Indentation changes
...
BUG=oss-fuzz: 56176
Test: svc_dec_fuzzer
2023-02-25 09:26:25 -08:00
chamarthi.kishore
5fabd43f6a
svcdec: Bug fix in header parsing w.r.t u1_extended_spatial_scalability_idc
...
BUG=oss-fuzz: 56176
Test: svc_dec_fuzzer
2023-02-25 09:26:25 -08:00
chamarthi.kishore
992407f6c3
Resolved invalid memory access to Weighted pred offsets
...
BUG=oss-fuzz:56013
Test: svc_dec_fuzzer
2023-02-16 10:07:46 -08:00
Mallikarjun Kamble
8739b7da75
svcdec: Limit min dimensions supported to 32x32
...
Also added macros for svc decoder max dimensions as well
BUG=oss-fuzz:55874, 55876, 55877, 55888, 55905 and 55911
Test: svc_dec_fuzzer
2023-02-14 21:55:58 -08:00
Mallikarjun Kamble
764ab7b702
Resolve the issue of non-vcl buffer overflow in nal_parse
...
BUG=oss-fuzz:55964
Test: svc_dec_fuzzer
2023-02-14 21:27:22 -08:00
Mallikarjun Kamble
8b8c7e390d
Resolve the issue of pps and sps counter overflow
...
BUG=oss-fuzz:55904
Test: svc_dec_fuzzer
2023-02-14 07:53:27 -08:00
chamarthi.kishore
e6c806df90
formatting changes
2023-02-08 07:55:47 -08:00
chamarthi.kishore
375b9b7e44
SVC decoder support
2023-02-08 07:55:47 -08:00