Determines the SID flag of current frame.
IppStatus ippsEncDTXHandler_GSMAMR_16s(Ipp16s* pValResultHangOverCount, Ipp16s* pValResultDtxElapsedCount, Ipp16s* pValResultUsedMode, Ipp16s* pResultSidFlag, Ipp16s vadFlag);
pValResultHangOverCount |
Pointer to the DTX hangover count. When initialized or reset, it is set to 0. On output, points to the updated DTX hangover count. |
pValResultDtxElapsedCount |
Pointer to the elapsed frame count since the last non-DTX frame. When initialized or reset, it is set to “0”. On output, points to the updated elapsed frame count since the last non-DTX frame. |
pValResultUsedMode |
Pointer to the transmission mode. At the input stage, the mode is one of the bit rate modes ranging from 4.75 Kbps to 12.2 Kbps. At the output stage, this value is either unchanged or set to the DTX frame mode. |
pResultSidFlag |
Pointer to the output SID flag, “1” indicates a SID frame, and “0” indicates a non-SID frame. |
vadFlag |
This is the VAD flag of the current frame, if it is set to “1”, the current frame is marked as voiced, and if it is set to “0”, it is marked as unvoiced. |
The function ippsEncDTXHandler_GSMAMR is declared in ippsc.h file. This function determines the SID flag of current frame, and it determines whether the current frame should use DTX encoding, as follows:
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error when one of the specified pointers is NULL. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.