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 elapsed frame count since last non-DTX frame. When initialized or reset, it is set 0. On output, points to the updated elapsed frame count since 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 1, the current frame is marked with voiced, and if it is set to 0, it is marked with 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.
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error when one of the specified pointers is NULL. |
Copyright © 2000 - 2010, Intel Corporation. All rights reserved.