Home
last modified time | relevance | path

Searched refs:streamPtr (Results 1 – 5 of 5) sorted by relevance

/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/source/
Darith_routines.c35 uint16_t *streamPtr; in WebRtcIsacfix_EncTerminate() local
39 streamPtr = streamData->stream + streamData->stream_index; in WebRtcIsacfix_EncTerminate()
52 negCarry = *streamPtr; in WebRtcIsacfix_EncTerminate()
54 *streamPtr = negCarry; in WebRtcIsacfix_EncTerminate()
59 negCarry = *--streamPtr; in WebRtcIsacfix_EncTerminate()
61 *streamPtr = negCarry; in WebRtcIsacfix_EncTerminate()
67 while ( !(++(*--streamPtr)) ); in WebRtcIsacfix_EncTerminate()
71 streamPtr = streamData->stream + streamData->stream_index; in WebRtcIsacfix_EncTerminate()
75 *streamPtr++ += (uint16_t)(streamData->streamval >> 24); in WebRtcIsacfix_EncTerminate()
78 *streamPtr = (uint16_t)((streamData->streamval >> 24) << 8); in WebRtcIsacfix_EncTerminate()
[all …]
Darith_routines_hist.c44 uint16_t *streamPtr; in WebRtcIsacfix_EncHistMulti() local
55 streamPtr = streamData->stream + streamData->stream_index; in WebRtcIsacfix_EncHistMulti()
84 streamPtrCarry = streamPtr; in WebRtcIsacfix_EncHistMulti()
106 *streamPtr++ += (uint16_t)(streamData->streamval >> 24); in WebRtcIsacfix_EncHistMulti()
109 *streamPtr = (uint16_t)((streamData->streamval >> 24) << 8); in WebRtcIsacfix_EncHistMulti()
113 if( streamPtr > maxStreamPtr ) { in WebRtcIsacfix_EncHistMulti()
121 streamData->stream_index = streamPtr - streamData->stream; in WebRtcIsacfix_EncHistMulti()
159 const uint16_t *streamPtr; in WebRtcIsacfix_DecHistBisectMulti() local
165 streamPtr = streamData->stream + streamData->stream_index; in WebRtcIsacfix_DecHistBisectMulti()
177 streamval = (uint32_t)*streamPtr++ << 16; in WebRtcIsacfix_DecHistBisectMulti()
[all …]
Darith_routines_logist.c107 uint16_t *streamPtr; in WebRtcIsacfix_EncLogisticMulti2() local
117 streamPtr = streamData->stream + streamData->stream_index; in WebRtcIsacfix_EncLogisticMulti2()
167 streamPtrCarry = streamPtr; in WebRtcIsacfix_EncLogisticMulti2()
189 *streamPtr++ += (uint16_t) WEBRTC_SPL_RSHIFT_U32( in WebRtcIsacfix_EncLogisticMulti2()
193 *streamPtr = (uint16_t)((streamData->streamval >> 24) << 8); in WebRtcIsacfix_EncLogisticMulti2()
197 if( streamPtr > maxStreamPtr ) in WebRtcIsacfix_EncLogisticMulti2()
205 streamData->stream_index = streamPtr - streamData->stream; in WebRtcIsacfix_EncLogisticMulti2()
244 const uint16_t *streamPtr; in WebRtcIsacfix_DecLogisticMulti2() local
252 streamPtr = streamData->stream + streamData->stream_index; in WebRtcIsacfix_DecLogisticMulti2()
259 streamVal = (uint32_t)(*streamPtr++) << 16; in WebRtcIsacfix_DecLogisticMulti2()
[all …]
/external/lz4/lib/
Dlz4.c836 LZ4_stream_t_internal* streamPtr = (LZ4_stream_t_internal*)LZ4_stream; in LZ4_compress_continue_generic() local
837 const BYTE* const dictEnd = streamPtr->dictionary + streamPtr->dictSize; in LZ4_compress_continue_generic()
840 if (streamPtr->initCheck) return 0; /* Uninitialized structure detected */ in LZ4_compress_continue_generic()
841 if ((streamPtr->dictSize>0) && (smallest>dictEnd)) smallest = dictEnd; in LZ4_compress_continue_generic()
842 LZ4_renormDictT(streamPtr, smallest); in LZ4_compress_continue_generic()
847 if ((sourceEnd > streamPtr->dictionary) && (sourceEnd < dictEnd)) in LZ4_compress_continue_generic()
849 streamPtr->dictSize = (U32)(dictEnd - sourceEnd); in LZ4_compress_continue_generic()
850 if (streamPtr->dictSize > 64 KB) streamPtr->dictSize = 64 KB; in LZ4_compress_continue_generic()
851 if (streamPtr->dictSize < 4) streamPtr->dictSize = 0; in LZ4_compress_continue_generic()
852 streamPtr->dictionary = dictEnd - streamPtr->dictSize; in LZ4_compress_continue_generic()
[all …]
Dlz4hc.c682 LZ4HC_Data_Structure* streamPtr = (LZ4HC_Data_Structure*)LZ4_streamHCPtr; in LZ4_saveDictHC() local
683 int prefixSize = (int)(streamPtr->end - (streamPtr->base + streamPtr->dictLimit)); in LZ4_saveDictHC()
687 memcpy(safeBuffer, streamPtr->end - dictSize, dictSize); in LZ4_saveDictHC()
689 U32 endIndex = (U32)(streamPtr->end - streamPtr->base); in LZ4_saveDictHC()
690 streamPtr->end = (const BYTE*)safeBuffer + dictSize; in LZ4_saveDictHC()
691 streamPtr->base = streamPtr->end - endIndex; in LZ4_saveDictHC()
692 streamPtr->dictLimit = endIndex - dictSize; in LZ4_saveDictHC()
693 streamPtr->lowLimit = endIndex - dictSize; in LZ4_saveDictHC()
694 …if (streamPtr->nextToUpdate < streamPtr->dictLimit) streamPtr->nextToUpdate = streamPtr->dictLimit; in LZ4_saveDictHC()