Lines Matching refs:frameData
48 const OI_BYTE** frameData, in FindSyncword() argument
67 while (*frameBytes && (**frameData != search1) && (**frameData != search2)) { in FindSyncword()
69 (*frameData)++; in FindSyncword()
76 (**frameData == OI_SBC_ENHANCED_SYNCWORD); in FindSyncword()
85 while (*frameBytes && (**frameData != OI_SBC_SYNCWORD)) { in FindSyncword()
87 (*frameData)++; in FindSyncword()
196 uint8_t bitpool, const OI_BYTE** frameData, in internal_DecodeRaw() argument
225 status = DecodeBody(context, *frameData, pcmData, pcmBytes, TRUE); in internal_DecodeRaw()
227 *frameData += bodyLen; in internal_DecodeRaw()
244 const OI_BYTE** frameData, in OI_CODEC_SBC_DecodeFrame() argument
254 status = FindSyncword(context, frameData, frameBytes); in OI_CODEC_SBC_DecodeFrame()
266 OI_SBC_ReadHeader(&context->common, *frameData); in OI_CODEC_SBC_DecodeFrame()
312 crc = OI_SBC_CalculateChecksum(&context->common.frameInfo, *frameData); in OI_CODEC_SBC_DecodeFrame()
342 status = DecodeBody(context, *frameData + SBC_HEADER_LEN, pcmData, pcmBytes, in OI_CODEC_SBC_DecodeFrame()
345 *frameData += framelen; in OI_CODEC_SBC_DecodeFrame()
354 const OI_BYTE** frameData, in OI_CODEC_SBC_SkipFrame() argument
361 status = FindSyncword(context, frameData, frameBytes); in OI_CODEC_SBC_SkipFrame()
368 OI_SBC_ReadHeader(&context->common, *frameData); in OI_CODEC_SBC_SkipFrame()
374 crc = OI_SBC_CalculateChecksum(&context->common.frameInfo, *frameData); in OI_CODEC_SBC_SkipFrame()
382 *frameData += framelen; in OI_CODEC_SBC_SkipFrame()
387 uint8_t OI_CODEC_SBC_FrameCount(OI_BYTE* frameData, uint32_t frameBytes) { in OI_CODEC_SBC_FrameCount() argument
395 while (frameBytes && ((frameData[0] & 0xFE) != 0x9C)) { in OI_CODEC_SBC_FrameCount()
396 frameData++; in OI_CODEC_SBC_FrameCount()
405 subbands = mode = blocks = frameData[1]; in OI_CODEC_SBC_FrameCount()
412 frameLen = blocks * frameData[2]; in OI_CODEC_SBC_FrameCount()
434 frameData += frameLen; in OI_CODEC_SBC_FrameCount()