Home
last modified time | relevance | path

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

/external/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.c1491 LZ4_stream_t_internal* streamPtr = &LZ4_stream->internal_donotuse; in LZ4_compress_fast_continue() local
1492 const BYTE* dictEnd = streamPtr->dictionary + streamPtr->dictSize; in LZ4_compress_fast_continue()
1496 if (streamPtr->dirty) { return 0; } /* Uninitialized structure detected */ in LZ4_compress_fast_continue()
1497 LZ4_renormDictT(streamPtr, inputSize); /* avoid index overflow */ in LZ4_compress_fast_continue()
1501 if ( (streamPtr->dictSize-1 < 4-1) /* intentional underflow */ in LZ4_compress_fast_continue()
1503 …mpress_fast_continue: dictSize(%u) at addr:%p is too small", streamPtr->dictSize, streamPtr->dicti… in LZ4_compress_fast_continue()
1504 streamPtr->dictSize = 0; in LZ4_compress_fast_continue()
1505 streamPtr->dictionary = (const BYTE*)source; in LZ4_compress_fast_continue()
1511 if ((sourceEnd > streamPtr->dictionary) && (sourceEnd < dictEnd)) { in LZ4_compress_fast_continue()
1512 streamPtr->dictSize = (U32)(dictEnd - sourceEnd); in LZ4_compress_fast_continue()
[all …]
Dlz4.h252 LZ4LIB_API int LZ4_freeStream (LZ4_stream_t* streamPtr);
276 LZ4LIB_API void LZ4_resetStream_fast (LZ4_stream_t* streamPtr);
289 LZ4LIB_API int LZ4_loadDict (LZ4_stream_t* streamPtr, const char* dictionary, int dictSize);
314 LZ4LIB_API int LZ4_compress_fast_continue (LZ4_stream_t* streamPtr, const char* src, char* dst, int…
323 LZ4LIB_API int LZ4_saveDict (LZ4_stream_t* streamPtr, char* safeBuffer, int maxDictSize);
756 LZ4LIB_API void LZ4_resetStream (LZ4_stream_t* streamPtr);
Dlz4hc.c1128 LZ4HC_CCtx_internal* const streamPtr = &LZ4_streamHCPtr->internal_donotuse; in LZ4_saveDictHC() local
1129 int const prefixSize = (int)(streamPtr->end - (streamPtr->base + streamPtr->dictLimit)); in LZ4_saveDictHC()
1134 memmove(safeBuffer, streamPtr->end - dictSize, dictSize); in LZ4_saveDictHC()
1135 { U32 const endIndex = (U32)(streamPtr->end - streamPtr->base); in LZ4_saveDictHC()
1136 streamPtr->end = (const BYTE*)safeBuffer + dictSize; in LZ4_saveDictHC()
1137 streamPtr->base = streamPtr->end - endIndex; in LZ4_saveDictHC()
1138 streamPtr->dictLimit = endIndex - (U32)dictSize; in LZ4_saveDictHC()
1139 streamPtr->lowLimit = endIndex - (U32)dictSize; in LZ4_saveDictHC()
1140 …if (streamPtr->nextToUpdate < streamPtr->dictLimit) streamPtr->nextToUpdate = streamPtr->dictLimit; in LZ4_saveDictHC()