• Home
  • Raw
  • Download

Lines Matching refs:a32

54 static OPUS_INLINE opus_int32 silk_MUL(opus_int32 a32, opus_int32 b32){  in silk_MUL()  argument
57 ret = a32 * b32; in silk_MUL()
62 static OPUS_INLINE opus_uint32 silk_MUL_uint(opus_uint32 a32, opus_uint32 b32){ in silk_MUL_uint() argument
65 ret = a32 * b32; in silk_MUL_uint()
69 static OPUS_INLINE opus_int32 silk_MLA(opus_int32 a32, opus_int32 b32, opus_int32 c32){ in silk_MLA() argument
72 ret = a32 + b32 * c32; in silk_MLA()
77 static OPUS_INLINE opus_int32 silk_MLA_uint(opus_uint32 a32, opus_uint32 b32, opus_uint32 c32){ in silk_MLA_uint() argument
80 ret = a32 + b32 * c32; in silk_MLA_uint()
85 static OPUS_INLINE opus_int32 silk_SMULWB(opus_int32 a32, opus_int32 b32){ in silk_SMULWB() argument
88 …ret = (a32 >> 16) * (opus_int32)((opus_int16)b32) + (((a32 & 0x0000FFFF) * (opus_int32)((opus_int1… in silk_SMULWB()
92 static OPUS_INLINE opus_int32 silk_SMLAWB(opus_int32 a32, opus_int32 b32, opus_int32 c32){ in silk_SMLAWB() argument
95 …ret = ((a32) + ((((b32) >> 16) * (opus_int32)((opus_int16)(c32))) + ((((b32) & 0x0000FFFF) * (opus… in silk_SMLAWB()
100 static OPUS_INLINE opus_int32 silk_SMULWT(opus_int32 a32, opus_int32 b32){ in silk_SMULWT() argument
103 ret = (a32 >> 16) * (b32 >> 16) + (((a32 & 0x0000FFFF) * (b32 >> 16)) >> 16); in silk_SMULWT()
107 static OPUS_INLINE opus_int32 silk_SMLAWT(opus_int32 a32, opus_int32 b32, opus_int32 c32){ in silk_SMLAWT() argument
110 ret = a32 + ((b32 >> 16) * (c32 >> 16)) + (((b32 & 0x0000FFFF) * ((c32 >> 16)) >> 16)); in silk_SMLAWT()
115 static OPUS_INLINE opus_int32 silk_SMULBB(opus_int32 a32, opus_int32 b32){ in silk_SMULBB() argument
118 ret = (opus_int32)((opus_int16)a32) * (opus_int32)((opus_int16)b32); in silk_SMULBB()
122 static OPUS_INLINE opus_int32 silk_SMLABB(opus_int32 a32, opus_int32 b32, opus_int32 c32){ in silk_SMLABB() argument
125 ret = a32 + (opus_int32)((opus_int16)b32) * (opus_int32)((opus_int16)c32); in silk_SMLABB()
130 static OPUS_INLINE opus_int32 silk_SMULBT(opus_int32 a32, opus_int32 b32 ){ in silk_SMULBT() argument
133 ret = ((opus_int32)((opus_int16)a32)) * (b32 >> 16); in silk_SMULBT()
138 static OPUS_INLINE opus_int32 silk_SMLABT(opus_int32 a32, opus_int32 b32, opus_int32 c32){ in silk_SMLABT() argument
141 ret = a32 + ((opus_int32)((opus_int16)b32)) * (c32 >> 16); in silk_SMLABT()
146 static OPUS_INLINE opus_int32 silk_SMULTT(opus_int32 a32, opus_int32 b32){ in silk_SMULTT() argument
149 ret = (a32 >> 16) * (b32 >> 16); in silk_SMULTT()
154 static OPUS_INLINE opus_int32 silk_SMLATT(opus_int32 a32, opus_int32 b32, opus_int32 c32){ in silk_SMLATT() argument
157 ret = a32 + (b32 >> 16) * (c32 >> 16); in silk_SMLATT()
182 static OPUS_INLINE opus_int64 silk_SMULL(opus_int32 a32, opus_int32 b32){ in silk_SMULL() argument
185 ret = ((opus_int64)(a32) * /*(opus_int64)*/(b32)); in silk_SMULL()
255 static OPUS_INLINE opus_int32 silk_DIV32(opus_int32 a32, opus_int32 b32){ in silk_DIV32() argument
257 return a32 / b32; in silk_DIV32()
261 static OPUS_INLINE opus_int32 silk_DIV32_16(opus_int32 a32, opus_int32 b32){ in silk_DIV32_16() argument
263 return a32 / b32; in silk_DIV32_16()
549 static OPUS_INLINE opus_int32 silk_ADD_SAT32(opus_int32 a32, opus_int32 b32){ in silk_ADD_SAT32() argument
552 res = ((((a32) + (b32)) & 0x80000000) == 0 ? \ in silk_ADD_SAT32()
553 ((((a32) & (b32)) & 0x80000000) != 0 ? silk_int32_MIN : (a32)+(b32)) : \ in silk_ADD_SAT32()
554 ((((a32) | (b32)) & 0x80000000) == 0 ? silk_int32_MAX : (a32)+(b32)) ); in silk_ADD_SAT32()
578 static OPUS_INLINE opus_int32 silk_SUB_SAT32( opus_int32 a32, opus_int32 b32 ) { in silk_SUB_SAT32() argument
581 res = ((((a32)-(b32)) & 0x80000000) == 0 ? \ in silk_SUB_SAT32()
582 (( (a32) & ((b32)^0x80000000) & 0x80000000) ? silk_int32_MIN : (a32)-(b32)) : \ in silk_SUB_SAT32()
583 ((((a32)^0x80000000) & (b32) & 0x80000000) ? silk_int32_MAX : (a32)-(b32)) ); in silk_SUB_SAT32()
599 static OPUS_INLINE opus_int32 silk_SMULWW(opus_int32 a32, opus_int32 b32){ in silk_SMULWW() argument
602 ret = silk_MLA(silk_SMULWB((a32), (b32)), (a32), silk_RSHIFT_ROUND((b32), 16)); in silk_SMULWW()
607 static OPUS_INLINE opus_int32 silk_SMLAWW(opus_int32 a32, opus_int32 b32, opus_int32 c32){ in silk_SMLAWW() argument
610 ret = silk_MLA(silk_SMLAWB((a32), (b32), (c32)), (b32), silk_RSHIFT_ROUND((c32), 16)); in silk_SMLAWW()