Home
last modified time | relevance | path

Searched refs:s32MaxValue (Results 1 – 1 of 1) sorted by relevance

/system/bt/embdrv/sbc/encoder/srce/
Dsbc_encoder.c42 int32_t s32MaxValue; /* temp variable to store max value */ in SBC_Encode() local
67 s32MaxValue = 0; in SBC_Encode()
69 if (s32MaxValue < abs32(*SbBuffer)) s32MaxValue = abs32(*SbBuffer); in SBC_Encode()
73 u32Count = (s32MaxValue > 0x800000) ? 9 : 0; in SBC_Encode()
76 if (s32MaxValue <= (int32_t)(0x8000 << u32Count)) break; in SBC_Encode()
91 s32MaxValue = 0; in SBC_Encode()
96 if (abs32(*pSum) > s32MaxValue) s32MaxValue = abs32(*pSum); in SBC_Encode()
103 u32Count = (s32MaxValue > 0x800000) ? 9 : 0; in SBC_Encode()
105 if (s32MaxValue <= (int32_t)(0x8000 << u32Count)) break; in SBC_Encode()