libhevc-mirror/tests/common
Vivek R Jadhav b76831a135 libhevcdec: Use caller-saved registers in arm64 chroma intra pred nt_32
In common/arm64/ihevc_intra_pred_chroma_mode_18_34.s, nt_32 used
v8-v15 in row_kernel_32 without preserving d8-d15 on the stack.

Under AAPCS64 calling conventions, d8-d15 are callee-saved registers.
Clobbering them corrupted caller-saved state (such as d10 in main.c,
which cached e_cmd = IVD_CMD_VIDEO_DECODE), causing subsequent decode
calls on 4:4:4 8-bit streams to fail with IVD_INVALID_API_CMD.

Replace the use of v8-v15 with caller-saved registers v16-v23, matching
the convention used in kernel for nt < 32 in the same file.

Also update tests/common/ihevc_chroma_intra_pred_test.cc to test
block size 32.

Test: ./hevcdec
Test: ./ihevc_chroma_intra_pred_test

Change-Id: I40411c04ab00d7e23842eb1d033c4923e3ec76e9
(cherry picked from commit 4209c56e82)
2026-09-11 08:55:24 -07:00
..
Android.bp Few more updates in tests to build in Android 2026-08-02 20:17:13 +00:00
BitsBuf.cpp Add initial tests for decoder and encoder 2026-07-27 13:15:45 -07:00
BitsBuf.h Add initial tests for decoder and encoder 2026-07-27 13:15:45 -07:00
BitsFile.cpp Add initial tests for decoder and encoder 2026-07-27 13:15:45 -07:00
BitsFile.h Add initial tests for decoder and encoder 2026-07-27 13:15:45 -07:00
common.cmake Add initial tests for decoder and encoder 2026-07-27 13:15:45 -07:00
func_selector.cc Add few function selectors in common for modules defined in common. 2026-07-29 16:29:43 -07:00
func_selector.h Add few function selectors in common for modules defined in common. 2026-07-29 16:29:43 -07:00
helpers.cmake Add initial tests for decoder and encoder 2026-07-27 13:15:45 -07:00
ihevc_chroma_inter_pred_test.cc Update tests to run with atest 2026-07-31 17:05:23 +00:00
ihevc_chroma_intra_pred_test.cc libhevcdec: Use caller-saved registers in arm64 chroma intra pred nt_32 2026-09-11 08:55:24 -07:00
ihevc_chroma_itrans_recon_test.cc Few more updates in tests to build in Android 2026-08-02 20:17:13 +00:00
ihevc_chroma_recon_test.cc Update tests to run with atest 2026-07-31 17:05:23 +00:00
ihevc_deblk_test.cc Re-enable chroma deblock tests for arm 2026-09-03 15:29:00 -07:00
ihevc_itrans_recon_test.cc Update tests to run with atest 2026-07-31 17:05:23 +00:00
ihevc_itrans_res_test.cc libhevcdec: Unify itrans_res family and remove redundant HBD implementation 2026-09-10 11:21:07 -07:00
ihevc_itrans_test.cc Few more updates in tests to build in Android 2026-08-02 20:17:13 +00:00
ihevc_luma_inter_pred_test.cc Update tests to run with atest 2026-07-31 17:05:23 +00:00
ihevc_luma_intra_pred_test.cc libhevc: Update intrinsic for implicit RDPCM 2026-08-05 14:37:42 +00:00
ihevc_mem_fns_test.cc Update tests to run with atest 2026-07-31 17:05:23 +00:00
ihevc_padding_test.cc Update tests to run with atest 2026-07-31 17:05:23 +00:00
ihevc_recon_test.cc Few more updates in tests to build in Android 2026-08-02 20:17:13 +00:00
ihevc_sao_test.cc Update tests to run with atest 2026-07-31 17:05:23 +00:00
ihevc_weighted_pred_test.cc Few more updates in tests to build in Android 2026-08-02 20:17:13 +00:00
Md5Wrapper.cpp Add initial tests for decoder and encoder 2026-07-27 13:15:45 -07:00
Md5Wrapper.h Add initial tests for decoder and encoder 2026-07-27 13:15:45 -07:00
RawBuf.cpp Rename elementSize as pixelSize for consistency 2026-09-04 13:04:12 -07:00
RawBuf.h Updated decoder tests to enable HBD 2026-08-22 02:22:06 +00:00
RawFile.cpp Add initial tests for decoder and encoder 2026-07-27 13:15:45 -07:00
RawFile.h Add initial tests for decoder and encoder 2026-07-27 13:15:45 -07:00
TestCommon.cc Added support for 420 10-bit decoding. 2026-08-07 03:21:32 +00:00
TestCommon.h Update tests to run with atest 2026-07-31 17:05:23 +00:00
TestEnums.h Add initial tests for decoder and encoder 2026-07-27 13:15:45 -07:00