1.4.4.33 libq_q15_ExtractH_q31 Function

Extracts upper 16 bits of input 32-bit fractional value.

Description

Function libq_q15_ExtractH_q31:

Extracts upper 16 bits of input 32-bit fractional value and returns them as 16-bit fractional value. This is a bit-for-bit extraction of the top 16-bits of the 32-bit input. This function relates to the ETSI extract_h function.

Returns

q15 result - Upper 16 bits of 32-bit argument a

C

q15 libq_q15_ExtractH_q31 (q31);