|
| #define | opus_likely(x) (!!(x)) |
| |
| #define | opus_unlikely(x) (!!(x)) |
| |
| #define | silk_SMULWB(a32, b32) ((((a32) >> 16) * (opus_int32)((opus_int16)(b32))) + ((((a32) & 0x0000FFFF) * (opus_int32)((opus_int16)(b32))) >> 16)) |
| |
| #define | silk_SMLAWB(a32, b32, c32) ((a32) + ((((b32) >> 16) * (opus_int32)((opus_int16)(c32))) + ((((b32) & 0x0000FFFF) * (opus_int32)((opus_int16)(c32))) >> 16))) |
| |
| #define | silk_SMULWT(a32, b32) (((a32) >> 16) * ((b32) >> 16) + ((((a32) & 0x0000FFFF) * ((b32) >> 16)) >> 16)) |
| |
| #define | silk_SMLAWT(a32, b32, c32) ((a32) + (((b32) >> 16) * ((c32) >> 16)) + ((((b32) & 0x0000FFFF) * ((c32) >> 16)) >> 16)) |
| |
| #define | silk_SMULBB(a32, b32) ((opus_int32)((opus_int16)(a32)) * (opus_int32)((opus_int16)(b32))) |
| |
| #define | silk_SMLABB(a32, b32, c32) ((a32) + ((opus_int32)((opus_int16)(b32))) * (opus_int32)((opus_int16)(c32))) |
| |
| #define | silk_SMULBT(a32, b32) ((opus_int32)((opus_int16)(a32)) * ((b32) >> 16)) |
| |
| #define | silk_SMLABT(a32, b32, c32) ((a32) + ((opus_int32)((opus_int16)(b32))) * ((c32) >> 16)) |
| |
| #define | silk_SMLAL(a64, b32, c32) (silk_ADD64((a64), ((opus_int64)(b32) * (opus_int64)(c32)))) |
| |
| #define | silk_SMULWW(a32, b32) silk_MLA(silk_SMULWB((a32), (b32)), (a32), silk_RSHIFT_ROUND((b32), 16)) |
| |
| #define | silk_SMLAWW(a32, b32, c32) silk_MLA(silk_SMLAWB((a32), (b32), (c32)), (b32), silk_RSHIFT_ROUND((c32), 16)) |
| |
| #define | silk_ADD_SAT32(a, b) |
| |
| #define | silk_SUB_SAT32(a, b) |
| |
| #define | matrix_ptr(Matrix_base_adr, row, column, N) (*((Matrix_base_adr) + ((row)*(N)+(column)))) |
| |
| #define | matrix_adr(Matrix_base_adr, row, column, N) ((Matrix_base_adr) + ((row)*(N)+(column))) |
| |
| #define | matrix_c_ptr(Matrix_base_adr, row, column, M) (*((Matrix_base_adr) + ((row)+(M)*(column)))) |
| |