Loading media/libstagefright/codecs/aacdec/SoftAAC2.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -147,7 +147,7 @@ status_t SoftAAC2::initDecoder() { mEndOfOutput = false; mOutputDelayCompensated = 0; mOutputDelayRingBufferSize = 2048 * MAX_CHANNEL_COUNT * kNumDelayBlocksMax; mOutputDelayRingBuffer = new short[mOutputDelayRingBufferSize]; mOutputDelayRingBuffer = new int16_t[mOutputDelayRingBufferSize]; mOutputDelayRingBufferWritePos = 0; mOutputDelayRingBufferReadPos = 0; mOutputDelayRingBufferFilled = 0; Loading media/libstagefright/codecs/aacdec/SoftAAC2.h +1 −1 Original line number Diff line number Diff line Loading @@ -81,7 +81,7 @@ private: bool mEndOfOutput; int32_t mOutputDelayCompensated; int32_t mOutputDelayRingBufferSize; short *mOutputDelayRingBuffer; int16_t *mOutputDelayRingBuffer; int32_t mOutputDelayRingBufferWritePos; int32_t mOutputDelayRingBufferReadPos; int32_t mOutputDelayRingBufferFilled; Loading media/libstagefright/codecs/amrwb/src/pvamrwbdecoder.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -455,7 +455,7 @@ int32 pvDecoder_AmrWb( &exc2[i_subfr], 0, &synth16k[i_subfr *5/4], (short) 1, 1, HfIsf, nb_bits, newDTXState, Loading media/libstagefright/codecs/common/include/voType.h +14 −12 Original line number Diff line number Diff line Loading @@ -22,6 +22,8 @@ #ifndef __voType_H__ #define __voType_H__ #include <stdint.h> #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ Loading Loading @@ -62,28 +64,28 @@ extern "C" { typedef void VO_VOID; /** VO_U8 is an 8 bit unsigned quantity that is byte aligned */ typedef unsigned char VO_U8; typedef uint8_t VO_U8; /** VO_BYTE is an 8 bit unsigned quantity that is byte aligned */ typedef unsigned char VO_BYTE; typedef uint8_t VO_BYTE; /** VO_S8 is an 8 bit signed quantity that is byte aligned */ typedef signed char VO_S8; typedef int8_t VO_S8; /** VO_CHAR is an 8 bit signed quantity that is byte aligned */ typedef char VO_CHAR; typedef int8_t VO_CHAR; /** VO_U16 is a 16 bit unsigned quantity that is 16 bit word aligned */ typedef unsigned short VO_U16; typedef uint16_t VO_U16; /** VO_S16 is a 16 bit signed quantity that is 16 bit word aligned */ typedef signed short VO_S16; typedef int16_t VO_S16; /** VO_U32 is a 32 bit unsigned quantity that is 32 bit word aligned */ typedef unsigned long VO_U32; typedef uint32_t VO_U32; /** VO_S32 is a 32 bit signed quantity that is 32 bit word aligned */ typedef signed long VO_S32; typedef int32_t VO_S32; /* Users with compilers that cannot accept the "long long" designation should define the VO_SKIP64BIT macro. It should be noted that this may cause Loading @@ -94,14 +96,14 @@ typedef signed long VO_S32; #ifndef VO_SKIP64BIT #ifdef _MSC_VER /** VO_U64 is a 64 bit unsigned quantity that is 64 bit word aligned */ typedef unsigned __int64 VO_U64; typedef uint64_t VO_U64; /** VO_S64 is a 64 bit signed quantity that is 64 bit word aligned */ typedef signed __int64 VO_S64; typedef int64_t VO_S64; #else // WIN32 /** VO_U64 is a 64 bit unsigned quantity that is 64 bit word aligned */ typedef unsigned long long VO_U64; typedef uint64_t VO_U64; /** VO_S64 is a 64 bit signed quantity that is 64 bit word aligned */ typedef signed long long VO_S64; typedef int64_t VO_S64; #endif // WIN32 #endif // VO_SKIP64BIT Loading media/libstagefright/codecs/flac/dec/SoftFlacDecoder.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -305,7 +305,7 @@ void SoftFlacDecoder::onQueueFilled(OMX_U32 /* portIndex */) { while ((!inQueue.empty() || mSawInputEOS) && !outQueue.empty() && !mFinishedDecoder) { BufferInfo *outInfo = *outQueue.begin(); OMX_BUFFERHEADERTYPE *outHeader = outInfo->mHeader; short *outBuffer = reinterpret_cast<short *>(outHeader->pBuffer + outHeader->nOffset); int16_t *outBuffer = reinterpret_cast<int16_t *>(outHeader->pBuffer + outHeader->nOffset); size_t outBufferSize = outHeader->nAllocLen - outHeader->nOffset; int64_t timeStamp = 0; Loading Loading
media/libstagefright/codecs/aacdec/SoftAAC2.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -147,7 +147,7 @@ status_t SoftAAC2::initDecoder() { mEndOfOutput = false; mOutputDelayCompensated = 0; mOutputDelayRingBufferSize = 2048 * MAX_CHANNEL_COUNT * kNumDelayBlocksMax; mOutputDelayRingBuffer = new short[mOutputDelayRingBufferSize]; mOutputDelayRingBuffer = new int16_t[mOutputDelayRingBufferSize]; mOutputDelayRingBufferWritePos = 0; mOutputDelayRingBufferReadPos = 0; mOutputDelayRingBufferFilled = 0; Loading
media/libstagefright/codecs/aacdec/SoftAAC2.h +1 −1 Original line number Diff line number Diff line Loading @@ -81,7 +81,7 @@ private: bool mEndOfOutput; int32_t mOutputDelayCompensated; int32_t mOutputDelayRingBufferSize; short *mOutputDelayRingBuffer; int16_t *mOutputDelayRingBuffer; int32_t mOutputDelayRingBufferWritePos; int32_t mOutputDelayRingBufferReadPos; int32_t mOutputDelayRingBufferFilled; Loading
media/libstagefright/codecs/amrwb/src/pvamrwbdecoder.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -455,7 +455,7 @@ int32 pvDecoder_AmrWb( &exc2[i_subfr], 0, &synth16k[i_subfr *5/4], (short) 1, 1, HfIsf, nb_bits, newDTXState, Loading
media/libstagefright/codecs/common/include/voType.h +14 −12 Original line number Diff line number Diff line Loading @@ -22,6 +22,8 @@ #ifndef __voType_H__ #define __voType_H__ #include <stdint.h> #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ Loading Loading @@ -62,28 +64,28 @@ extern "C" { typedef void VO_VOID; /** VO_U8 is an 8 bit unsigned quantity that is byte aligned */ typedef unsigned char VO_U8; typedef uint8_t VO_U8; /** VO_BYTE is an 8 bit unsigned quantity that is byte aligned */ typedef unsigned char VO_BYTE; typedef uint8_t VO_BYTE; /** VO_S8 is an 8 bit signed quantity that is byte aligned */ typedef signed char VO_S8; typedef int8_t VO_S8; /** VO_CHAR is an 8 bit signed quantity that is byte aligned */ typedef char VO_CHAR; typedef int8_t VO_CHAR; /** VO_U16 is a 16 bit unsigned quantity that is 16 bit word aligned */ typedef unsigned short VO_U16; typedef uint16_t VO_U16; /** VO_S16 is a 16 bit signed quantity that is 16 bit word aligned */ typedef signed short VO_S16; typedef int16_t VO_S16; /** VO_U32 is a 32 bit unsigned quantity that is 32 bit word aligned */ typedef unsigned long VO_U32; typedef uint32_t VO_U32; /** VO_S32 is a 32 bit signed quantity that is 32 bit word aligned */ typedef signed long VO_S32; typedef int32_t VO_S32; /* Users with compilers that cannot accept the "long long" designation should define the VO_SKIP64BIT macro. It should be noted that this may cause Loading @@ -94,14 +96,14 @@ typedef signed long VO_S32; #ifndef VO_SKIP64BIT #ifdef _MSC_VER /** VO_U64 is a 64 bit unsigned quantity that is 64 bit word aligned */ typedef unsigned __int64 VO_U64; typedef uint64_t VO_U64; /** VO_S64 is a 64 bit signed quantity that is 64 bit word aligned */ typedef signed __int64 VO_S64; typedef int64_t VO_S64; #else // WIN32 /** VO_U64 is a 64 bit unsigned quantity that is 64 bit word aligned */ typedef unsigned long long VO_U64; typedef uint64_t VO_U64; /** VO_S64 is a 64 bit signed quantity that is 64 bit word aligned */ typedef signed long long VO_S64; typedef int64_t VO_S64; #endif // WIN32 #endif // VO_SKIP64BIT Loading
media/libstagefright/codecs/flac/dec/SoftFlacDecoder.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -305,7 +305,7 @@ void SoftFlacDecoder::onQueueFilled(OMX_U32 /* portIndex */) { while ((!inQueue.empty() || mSawInputEOS) && !outQueue.empty() && !mFinishedDecoder) { BufferInfo *outInfo = *outQueue.begin(); OMX_BUFFERHEADERTYPE *outHeader = outInfo->mHeader; short *outBuffer = reinterpret_cast<short *>(outHeader->pBuffer + outHeader->nOffset); int16_t *outBuffer = reinterpret_cast<int16_t *>(outHeader->pBuffer + outHeader->nOffset); size_t outBufferSize = outHeader->nAllocLen - outHeader->nOffset; int64_t timeStamp = 0; Loading