Lines Matching refs:frameBytes

49                                uint32_t* frameBytes) {  in FindSyncword()  argument
55 if (*frameBytes == 0) { in FindSyncword()
67 while (*frameBytes && (**frameData != search1) && (**frameData != search2)) { in FindSyncword()
68 (*frameBytes)--; in FindSyncword()
71 if (*frameBytes) { in FindSyncword()
85 while (*frameBytes && (**frameData != OI_SBC_SYNCWORD)) { in FindSyncword()
86 (*frameBytes)--; in FindSyncword()
89 if (*frameBytes) { in FindSyncword()
197 uint32_t* frameBytes, int16_t* pcmData, in internal_DecodeRaw() argument
214 if (*frameBytes < bodyLen) { in internal_DecodeRaw()
228 *frameBytes -= bodyLen; in internal_DecodeRaw()
245 uint32_t* frameBytes, int16_t* pcmData, in OI_CODEC_SBC_DecodeFrame() argument
254 status = FindSyncword(context, frameData, frameBytes); in OI_CODEC_SBC_DecodeFrame()
260 if (*frameBytes < SBC_HEADER_LEN) { in OI_CODEC_SBC_DecodeFrame()
305 if (*frameBytes < framelen) { in OI_CODEC_SBC_DecodeFrame()
346 *frameBytes -= framelen; in OI_CODEC_SBC_DecodeFrame()
355 uint32_t* frameBytes) { in OI_CODEC_SBC_SkipFrame() argument
361 status = FindSyncword(context, frameData, frameBytes); in OI_CODEC_SBC_SkipFrame()
365 if (*frameBytes < SBC_HEADER_LEN) { in OI_CODEC_SBC_SkipFrame()
371 if (*frameBytes < headerlen) { in OI_CODEC_SBC_SkipFrame()
378 if (*frameBytes < framelen) { in OI_CODEC_SBC_SkipFrame()
383 *frameBytes -= 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
394 while (frameBytes) { in OI_CODEC_SBC_FrameCount()
395 while (frameBytes && ((frameData[0] & 0xFE) != 0x9C)) { in OI_CODEC_SBC_FrameCount()
397 frameBytes--; in OI_CODEC_SBC_FrameCount()
400 if (frameBytes < SBC_HEADER_LEN) { in OI_CODEC_SBC_FrameCount()
432 if (frameBytes > frameLen) { in OI_CODEC_SBC_FrameCount()
433 frameBytes -= frameLen; in OI_CODEC_SBC_FrameCount()
436 frameBytes = 0; in OI_CODEC_SBC_FrameCount()