Searched refs:streamPtr (Results 1 – 6 of 6) sorted by relevance
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/source/ |
D | arith_routines.c | 35 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 …]
|
D | arith_routines_hist.c | 44 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 …]
|
D | arith_routines_logist.c | 107 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/ |
D | lz4.c | 989 LZ4_stream_t_internal* streamPtr = &LZ4_stream->internal_donotuse; in LZ4_compress_fast_continue() local 990 const BYTE* const dictEnd = streamPtr->dictionary + streamPtr->dictSize; in LZ4_compress_fast_continue() 993 if (streamPtr->initCheck) return 0; /* Uninitialized structure detected */ in LZ4_compress_fast_continue() 994 if ((streamPtr->dictSize>0) && (smallest>dictEnd)) smallest = dictEnd; in LZ4_compress_fast_continue() 995 LZ4_renormDictT(streamPtr, smallest); in LZ4_compress_fast_continue() 1000 if ((sourceEnd > streamPtr->dictionary) && (sourceEnd < dictEnd)) { in LZ4_compress_fast_continue() 1001 streamPtr->dictSize = (U32)(dictEnd - sourceEnd); in LZ4_compress_fast_continue() 1002 if (streamPtr->dictSize > 64 KB) streamPtr->dictSize = 64 KB; in LZ4_compress_fast_continue() 1003 if (streamPtr->dictSize < 4) streamPtr->dictSize = 0; in LZ4_compress_fast_continue() 1004 streamPtr->dictionary = dictEnd - streamPtr->dictSize; in LZ4_compress_fast_continue() [all …]
|
D | lz4.h | 236 LZ4LIB_API int LZ4_freeStream (LZ4_stream_t* streamPtr); 242 LZ4LIB_API void LZ4_resetStream (LZ4_stream_t* streamPtr); 250 LZ4LIB_API int LZ4_loadDict (LZ4_stream_t* streamPtr, const char* dictionary, int dictSize); 259 LZ4LIB_API int LZ4_compress_fast_continue (LZ4_stream_t* streamPtr, const char* src, char* dst, int… 268 LZ4LIB_API int LZ4_saveDict (LZ4_stream_t* streamPtr, char* safeBuffer, int dictSize);
|
D | lz4hc.c | 648 LZ4HC_CCtx_internal* const streamPtr = &LZ4_streamHCPtr->internal_donotuse; in LZ4_saveDictHC() local 649 int const prefixSize = (int)(streamPtr->end - (streamPtr->base + streamPtr->dictLimit)); in LZ4_saveDictHC() 653 memmove(safeBuffer, streamPtr->end - dictSize, dictSize); in LZ4_saveDictHC() 654 { U32 const endIndex = (U32)(streamPtr->end - streamPtr->base); in LZ4_saveDictHC() 655 streamPtr->end = (const BYTE*)safeBuffer + dictSize; in LZ4_saveDictHC() 656 streamPtr->base = streamPtr->end - endIndex; in LZ4_saveDictHC() 657 streamPtr->dictLimit = endIndex - dictSize; in LZ4_saveDictHC() 658 streamPtr->lowLimit = endIndex - dictSize; in LZ4_saveDictHC() 659 …if (streamPtr->nextToUpdate < streamPtr->dictLimit) streamPtr->nextToUpdate = streamPtr->dictLimit; in LZ4_saveDictHC()
|