/src/libxaac/common/ixheaac_basic_ops_arr.h
Line | Count | Source |
1 | | /****************************************************************************** |
2 | | * * |
3 | | * Copyright (C) 2023 The Android Open Source Project |
4 | | * |
5 | | * Licensed under the Apache License, Version 2.0 (the "License"); |
6 | | * you may not use this file except in compliance with the License. |
7 | | * You may obtain a copy of the License at: |
8 | | * |
9 | | * http://www.apache.org/licenses/LICENSE-2.0 |
10 | | * |
11 | | * Unless required by applicable law or agreed to in writing, software |
12 | | * distributed under the License is distributed on an "AS IS" BASIS, |
13 | | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
14 | | * See the License for the specific language governing permissions and |
15 | | * limitations under the License. |
16 | | * |
17 | | ***************************************************************************** |
18 | | * Originally developed and contributed by Ittiam Systems Pvt. Ltd, Bangalore |
19 | | */ |
20 | | #ifndef IXHEAAC_BASIC_OPS_ARR_H |
21 | | #define IXHEAAC_BASIC_OPS_ARR_H |
22 | | |
23 | 0 | static PLATFORM_INLINE VOID ixheaac_shr32_arr(WORD32 *word32_arr, WORD16 shift, WORD32 n) { |
24 | 0 | WORD32 i; |
25 | |
|
26 | 0 | for (i = 0; i < n; i++) { |
27 | 0 | *word32_arr = ixheaac_shr32(*word32_arr, shift); |
28 | 0 | word32_arr++; |
29 | 0 | } |
30 | |
|
31 | 0 | return; |
32 | 0 | } Unexecuted instantiation: ixheaacd_ps_dec.c:ixheaac_shr32_arr Unexecuted instantiation: ixheaacd_ps_dec_flt.c:ixheaac_shr32_arr Unexecuted instantiation: ixheaacd_thumb_ps_dec.c:ixheaac_shr32_arr |
33 | | |
34 | 0 | static PLATFORM_INLINE VOID ixheaac_shl32_arr_sat(WORD32 *word32_arr, WORD16 shift, WORD32 n) { |
35 | 0 | WORD32 i; |
36 | |
|
37 | 0 | for (i = 0; i < n; i++) { |
38 | 0 | *word32_arr = ixheaac_shl32_sat(*word32_arr, shift); |
39 | 0 | word32_arr++; |
40 | 0 | } |
41 | |
|
42 | 0 | return; |
43 | 0 | } Unexecuted instantiation: ixheaacd_ps_dec.c:ixheaac_shl32_arr_sat Unexecuted instantiation: ixheaacd_ps_dec_flt.c:ixheaac_shl32_arr_sat Unexecuted instantiation: ixheaacd_thumb_ps_dec.c:ixheaac_shl32_arr_sat |
44 | | |
45 | 0 | static PLATFORM_INLINE VOID ixheaac_shr16_arr(WORD16 *word16_arr, WORD16 shift, WORD32 n) { |
46 | 0 | WORD32 i; |
47 | |
|
48 | 0 | for (i = 0; i < n; i++) { |
49 | 0 | *word16_arr = ixheaac_shr16(*word16_arr, shift); |
50 | 0 | word16_arr++; |
51 | 0 | } |
52 | |
|
53 | 0 | return; |
54 | 0 | } Unexecuted instantiation: ixheaacd_ps_dec.c:ixheaac_shr16_arr Unexecuted instantiation: ixheaacd_ps_dec_flt.c:ixheaac_shr16_arr Unexecuted instantiation: ixheaacd_thumb_ps_dec.c:ixheaac_shr16_arr |
55 | | |
56 | | #endif /* IXHEAAC_BASIC_OPS_ARR_H */ |