Home
last modified time | relevance | path

Searched refs:pBuff (Results 1 – 8 of 8) sorted by relevance

/frameworks/wilhelm/src/itf/
DIAndroidBufferQueue.c56 SLuint16 bufferType, AdvancedBufferHeader *pBuff, bool *pEOS) in setItems() argument
61 pBuff->mItems.mTsCmdData.mTsCmdCode = ANDROID_MP2TSEVENT_NONE; in setItems()
62 pBuff->mItems.mTsCmdData.mPts = 0; in setItems()
65 pBuff->mItems.mAdtsCmdData.mAdtsCmdCode = ANDROID_ADTSEVENT_NONE; in setItems()
70 memset(&pBuff->mItems, 0, sizeof(AdvancedBufferItems)); in setItems()
99 pBuff->mItems.mTsCmdData.mTsCmdCode |= ANDROID_MP2TSEVENT_EOS; in setItems()
109 pBuff->mItems.mTsCmdData.mTsCmdCode |= ANDROID_MP2TSEVENT_DISCONTINUITY; in setItems()
112 pBuff->mItems.mTsCmdData.mTsCmdCode |= ANDROID_MP2TSEVENT_DISCON_NEWPTS; in setItems()
113 pBuff->mItems.mTsCmdData.mPts = *((SLAuint64*)pItems->itemData); in setItems()
125 pBuff->mItems.mTsCmdData.mTsCmdCode |= ANDROID_MP2TSEVENT_FORMAT_CHANGE_FULL; in setItems()
[all …]
/frameworks/wilhelm/src/android/
DAudioRecorder_to_android.cpp220 android::AudioRecord::Buffer* pBuff = (android::AudioRecord::Buffer*)info; in audioRecorder_callback() local
233 if (ar->mBufferQueue.mSizeConsumed + pBuff->size < oldFront->mSize) { in audioRecorder_callback()
235 ar->mBufferQueue.mSizeConsumed += pBuff->size; in audioRecorder_callback()
239 memcpy (pDest, pBuff->i16, pBuff->size); in audioRecorder_callback()
241 if (NULL != gMonitorFp) { fwrite(pBuff->i16, pBuff->size, 1, gMonitorFp); } in audioRecorder_callback()
245 pBuff->size = oldFront->mSize - ar->mBufferQueue.mSizeConsumed; in audioRecorder_callback()
256 memcpy (pDest, pBuff->i16, pBuff->size); in audioRecorder_callback()
258 if (NULL != gMonitorFp) { fwrite(pBuff->i16, pBuff->size, 1, gMonitorFp); } in audioRecorder_callback()
268 pBuff->size = 0; in audioRecorder_callback()
DAudioPlayer_to_android.cpp1130 android::AudioTrack::Buffer* pBuff = (android::AudioTrack::Buffer*)info; in audioTrack_callBack_pullFromBuffQueue() local
1144 if (ap->mBufferQueue.mSizeConsumed + pBuff->size < oldFront->mSize) { in audioTrack_callBack_pullFromBuffQueue()
1146 ap->mBufferQueue.mSizeConsumed += pBuff->size; in audioTrack_callBack_pullFromBuffQueue()
1150 memcpy (pBuff->raw, pSrc, pBuff->size); in audioTrack_callBack_pullFromBuffQueue()
1153 pBuff->size = oldFront->mSize - ap->mBufferQueue.mSizeConsumed; in audioTrack_callBack_pullFromBuffQueue()
1169 memcpy (pBuff->raw, pSrc, pBuff->size); in audioTrack_callBack_pullFromBuffQueue()
1179 pBuff->size = 0; in audioTrack_callBack_pullFromBuffQueue()
/frameworks/av/media/libstagefright/codecs/common/include/
DvoMem.h44 VO_U32 (VO_API * Free) (VO_S32 uID, VO_PTR pBuff);
45 VO_U32 (VO_API * Set) (VO_S32 uID, VO_PTR pBuff, VO_U8 uValue, VO_U32 uSize);
52 #define voMemAlloc(pBuff, pMemOP, ID, nSize) \ argument
57 pBuff=(VO_PBYTE)voMemInfo.VBuffer; \
DcmnMemory.h58 VO_U32 cmnMemSet (VO_S32 uID, VO_PTR pBuff, VO_U8 uValue, VO_U32 uSize);
/frameworks/av/media/libstagefright/codecs/common/
DcmnMemory.c44 VO_U32 cmnMemSet (VO_S32 uID, VO_PTR pBuff, VO_U8 uValue, VO_U32 uSize) in cmnMemSet() argument
46 memset (pBuff, uValue, uSize); in cmnMemSet()
/frameworks/base/core/jni/
Dandroid_media_AudioRecord.cpp106 AudioRecord::Buffer* pBuff = (AudioRecord::Buffer*)info; in recorderCallback() local
107 pBuff->size = 0; in recorderCallback()
Dandroid_media_AudioTrack.cpp140 AudioTrack::Buffer* pBuff = (AudioTrack::Buffer*)info; in audioCallback() local
141 pBuff->size = 0; in audioCallback()