Home
last modified time | relevance | path

Searched refs:streamPtr (Results 1 – 6 of 6) 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.c1271 LZ4_stream_t_internal* streamPtr = &LZ4_stream->internal_donotuse; in LZ4_compress_fast_continue() local
1272 const BYTE* dictEnd = streamPtr->dictionary + streamPtr->dictSize; in LZ4_compress_fast_continue()
1276 if (streamPtr->initCheck) return 0; /* Uninitialized structure detected */ in LZ4_compress_fast_continue()
1277 LZ4_renormDictT(streamPtr, inputSize); /* avoid index overflow */ in LZ4_compress_fast_continue()
1281 if ( (streamPtr->dictSize-1 < 4) /* intentional underflow */ in LZ4_compress_fast_continue()
1283 …mpress_fast_continue: dictSize(%u) at addr:%p is too small", streamPtr->dictSize, streamPtr->dicti… in LZ4_compress_fast_continue()
1284 streamPtr->dictSize = 0; in LZ4_compress_fast_continue()
1285 streamPtr->dictionary = (const BYTE*)source; in LZ4_compress_fast_continue()
1291 if ((sourceEnd > streamPtr->dictionary) && (sourceEnd < dictEnd)) { in LZ4_compress_fast_continue()
1292 streamPtr->dictSize = (U32)(dictEnd - sourceEnd); in LZ4_compress_fast_continue()
[all …]
Dlz4.h265 LZ4LIB_API int LZ4_freeStream (LZ4_stream_t* streamPtr);
271 LZ4LIB_API void LZ4_resetStream (LZ4_stream_t* streamPtr);
279 LZ4LIB_API int LZ4_loadDict (LZ4_stream_t* streamPtr, const char* dictionary, int dictSize);
304 LZ4LIB_API int LZ4_compress_fast_continue (LZ4_stream_t* streamPtr, const char* src, char* dst, int…
313 LZ4LIB_API int LZ4_saveDict (LZ4_stream_t* streamPtr, char* safeBuffer, int maxDictSize);
437 LZ4LIB_API void LZ4_resetStream_fast (LZ4_stream_t* streamPtr);
Dlz4hc.c1009 LZ4HC_CCtx_internal* const streamPtr = &LZ4_streamHCPtr->internal_donotuse; in LZ4_saveDictHC() local
1010 int const prefixSize = (int)(streamPtr->end - (streamPtr->base + streamPtr->dictLimit)); in LZ4_saveDictHC()
1015 memmove(safeBuffer, streamPtr->end - dictSize, dictSize); in LZ4_saveDictHC()
1016 { U32 const endIndex = (U32)(streamPtr->end - streamPtr->base); in LZ4_saveDictHC()
1017 streamPtr->end = (const BYTE*)safeBuffer + dictSize; in LZ4_saveDictHC()
1018 streamPtr->base = streamPtr->end - endIndex; in LZ4_saveDictHC()
1019 streamPtr->dictLimit = endIndex - dictSize; in LZ4_saveDictHC()
1020 streamPtr->lowLimit = endIndex - dictSize; in LZ4_saveDictHC()
1021 …if (streamPtr->nextToUpdate < streamPtr->dictLimit) streamPtr->nextToUpdate = streamPtr->dictLimit; in LZ4_saveDictHC()