Skip to content

Commit 10a262f

Browse files
committed
Android.bp: Fix riscv64 build for decoder
- Add appropriate entries in Android.bp for riscv64 for decoder - Add missing function in function_selector_generic.c
1 parent 60b6534 commit 10a262f

2 files changed

Lines changed: 18 additions & 1 deletion

File tree

Android.bp

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,19 @@ cc_library_static {
338338
"decoder/x86_64/ixheaacd_function_selector_x86_64.c",
339339
],
340340
},
341+
342+
riscv64: {
343+
cflags: [
344+
],
345+
346+
local_include_dirs: [
347+
],
348+
349+
srcs: [
350+
"decoder/generic/ixheaacd_qmf_dec_generic.c",
351+
"decoder/generic/ixheaacd_function_selector_generic.c",
352+
],
353+
},
341354
},
342355
}
343356

@@ -511,4 +524,4 @@ cc_library_static {
511524
},
512525
}
513526

514-
subdirs = ["test"]
527+
subdirs = ["test"]

decoder/generic/ixheaacd_function_selector_generic.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,10 @@ VOID(*ixheaacd_covariance_matrix_calc_960)
7777
(WORD32 *, ia_lpp_trans_cov_matrix *,
7878
WORD32, WORD32) = &ixheaacd_covariance_matrix_calc_dec_960;
7979

80+
VOID(*ixheaacd_aac_ld_dec_rearrange_960)
81+
(WORD32 *ip, WORD32 *op, WORD32 mdct_len_2,
82+
WORD16 *re_arr_tab) = &ixheaacd_dec_rearrange_short;
83+
8084
VOID(*ixheaacd_covariance_matrix_calc_2)
8185
(ia_lpp_trans_cov_matrix *, WORD32 *, WORD32,
8286
WORD16) = &ixheaacd_covariance_matrix_calc_2_dec;

0 commit comments

Comments
 (0)