Searched refs:size (Results 1 - 25 of 1920) sorted by last modified time

1234567891011>>

/frameworks/wilhelm/include/OMXAL/
H A DOpenMAXAL.h1299 XAuint32 size; member in struct:XAMetadataInfo_
1442 XAuint32 size,
/frameworks/wilhelm/include/SLES/
H A DOpenSLES.h753 SLuint32 size; member in struct:SLMetadataInfo_
846 SLuint32 size,
1390 SLuint32 size
H A DOpenSLES_Android.h193 SLuint32 size
/frameworks/wilhelm/src/
H A DAndroid.mk67 # Reduce size of .so and hide internal global symbols
H A Dsles_allinclusive.h403 extern SLresult IBufferQueue_Enqueue(SLBufferQueueItf self, const void *pBuffer, SLuint32 size);
/frameworks/wilhelm/src/android/
H A DAacBqToPcmCbRenderer.cpp25 // ADTS header size is 7, but frame size information ends on byte 6 (when counting from byte 1)
29 * Returns the size of an AAC ADTS frame.
30 * Note that if the returned value + offset > size, it means that a partial frame starts at that
31 * offset, but this function will still return the size of the full frame.
34 * @param size the size in bytes of the data block starting at data
35 * @return the size in bytes of the AAC ADTS frame starting at the given offset of the given
38 static size_t getAdtsFrameSize(const uint8_t *data, off64_t offset, size_t size) { argument
41 if (!(offset + ADTS_HEADER_SIZE_UP_TO_FRAMESIZE < size)) {
83 validateBufferStartEndOnFrameBoundaries(void* data, size_t size) argument
[all...]
H A DAudioPlayer_to_android.cpp103 static size_t adecoder_writeToBufferQueue(const uint8_t *data, size_t size, CAudioPlayer* ap) { argument
109 SL_LOGD("received %d bytes from decoder", size);
123 if (ap->mBufferQueue.mSizeConsumed + size < oldFront->mSize) {
125 ap->mBufferQueue.mSizeConsumed += size;
127 memcpy (pDest, data, size);
128 sizeConsumed = size;
183 // minimum nb of buffers to cover output latency, given the size of each hardware audio buffer
571 // such as the number of channels, or sample size are unknown to the player at this stage
960 SL_LOGE("Cannot create audio player: unsupported container size %u",
1144 if (ap->mBufferQueue.mSizeConsumed + pBuff->size < oldFron
1836 android_audioPlayer_metadata_getKey(CAudioPlayer *ap, SLuint32 index, SLuint32 size, SLMetadataInfo *pKey) argument
1909 android_audioPlayer_metadata_getValue(CAudioPlayer *ap, SLuint32 index, SLuint32 size, SLMetadataInfo *pValue) argument
[all...]
H A DAudioPlayer_to_android.h56 * if pConfigValue is NULL, pValueSize contains the size required for the given key
104 SLuint32 index, SLuint32 size, SLMetadataInfo *pKey);
110 SLuint32 index, SLuint32 size, SLMetadataInfo *pValue);
H A DAudioRecorder_to_android.cpp233 if (ar->mBufferQueue.mSizeConsumed + pBuff->size < oldFront->mSize) {
235 ar->mBufferQueue.mSizeConsumed += pBuff->size;
236 // leave pBuff->size untouched
239 memcpy (pDest, pBuff->i16, pBuff->size);
241 if (NULL != gMonitorFp) { fwrite(pBuff->i16, pBuff->size, 1, gMonitorFp); }
245 pBuff->size = oldFront->mSize - ar->mBufferQueue.mSizeConsumed;
256 memcpy (pDest, pBuff->i16, pBuff->size);
258 if (NULL != gMonitorFp) { fwrite(pBuff->i16, pBuff->size, 1, gMonitorFp); }
268 pBuff->size = 0;
H A DBufferQueueSource.cpp34 sizeof(SLuint32), // item size
57 ssize_t BufferQueueSource::readAt(off64_t offset, void *data, size_t size) { argument
58 SL_LOGD("BufferQueueSource::readAt(offset=%lld, data=%p, size=%d)", offset, data, size);
99 if (offset + size <= mStreamToBqOffset + oldFront->mDataSize) {
102 if (offset - mStreamToBqOffset + size == oldFront->mDataSize) {
124 memcpy(data, pSrc, size);
125 readSize = size;
165 status_t BufferQueueSource::getSize(off64_t *size) { argument
168 *size
[all...]
H A DBufferQueueSource.h23 // to the item key (SLuint32), the item size (SLuint32), and the item data (mask on SLuint32)
40 virtual ssize_t readAt(off64_t offset, void *data, size_t size);
42 virtual status_t getSize(off64_t *size);
H A DMediaPlayer_to_android.cpp108 for(size_t i=0 ; i < mp->mStreamInfo.mStreamInfoTable.size() ; i++) {
H A DVideoCodec_to_android.cpp88 for (size_t i = 0, size = profileLevels.size(); i < size; ) {
91 // either skip past this item and don't change vector size
94 // or remove this item, decrement the vector size,
97 --size;
102 if ((VideoDecoderNbProfLevel[m] = profileLevels.size()) > 0) {
175 if (!(plIndex < VideoDecoderCapabilities[decoderIndex].itemAt(0).mProfileLevels.size()))
H A Dandroid_AudioSfDecoder.cpp135 bool AudioSfDecoder::getPcmFormatKeyValue(uint32_t index, uint32_t size, uint32_t* pValue) { argument
139 } else if (size != valueSize) {
140 // this ensures we are accessing mPcmFormatValues with a valid size for that index
141 SL_LOGE("Error retrieving metadata value at index %d: using size of %d, should be %d",
142 index, size, valueSize);
271 off64_t size; local
274 if (dataSource->getSize(&size) == OK
277 mBitrate = size * 8000000ll / durationUs; // in bits/sec
H A Dandroid_AudioSfDecoder.h69 bool getPcmFormatKeyValue(uint32_t index, uint32_t size, uint32_t* pValue);
H A Dandroid_Effect.cpp50 uint32_t size; local
57 size = sizeof(int32_t);
64 size = 2 * sizeof(int32_t);
67 size = 2 * sizeof(int32_t);
71 return size;
75 uint32_t size; local
83 size = sizeof(int16_t);
86 size = 2 * sizeof(int16_t);
89 size = sizeof(int32_t);
92 size
110 uint32_t size; local
133 uint32_t size; local
156 uint32_t size; local
[all...]
H A Dandroid_StreamPlayer.cpp55 sizeof(SLuint32), // item size
84 CHECK_LT(index, mBuffers.size());
87 SLAint64 length = (SLAint64) mem->size();
91 // mAvailableBuffers.size());
200 CHECK_LT(bufferId, mBuffers.size());
203 buffSize = mem->size();
261 //SL_LOGD("%d buffers available after reading from queue", mAvailableBuffers.size());
H A Dandroid_defs.h104 typedef size_t (*data_push_cbf_t)(const uint8_t *data, size_t size, CAudioPlayer* ap);
/frameworks/wilhelm/src/android/include/
H A DAacBqToPcmCbRenderer.h44 static SLresult validateBufferStartEndOnFrameBoundaries(void* data, size_t size);
/frameworks/wilhelm/src/desktop/
H A DOutputMixExt.h32 void (*FillBuffer)(SLOutputMixExtItf self, void *pBuffer, SLuint32 size);
48 extern void IOutputMixExt_FillBuffer(SLOutputMixExtItf self, void *pBuffer, SLuint32 size);
H A DSndFile.c77 SLuint32 size = (SLuint32) (count * sizeof(short)); local
78 result = IBufferQueue_Enqueue(caller, pBuffer, size);
/frameworks/wilhelm/src/itf/
H A DIAndroidEffect.cpp119 for (size_t i = 0 ; i < thiz->mEffects->size() ; i++) {
H A DIBufferQueue.c46 SLresult IBufferQueue_Enqueue(SLBufferQueueItf self, const void *pBuffer, SLuint32 size) argument
49 //SL_LOGV("IBufferQueue_Enqueue(%p, %p, %u)", self, pBuffer, size);
53 if (NULL == pBuffer || 0 == size) {
66 oldRear->mSize = size;
H A DIMetadataTraversal.c75 SLuint32 size = thiz->mSize; local
77 *pSize = size;
86 SLint32 *pNodeID, SLuint32 *pType, SLuint32 size, SLchar *pMimeType)
85 IMetadataTraversal_GetChildInfo(SLMetadataTraversalItf self, SLuint32 index, SLint32 *pNodeID, SLuint32 *pType, SLuint32 size, SLchar *pMimeType) argument
H A DIOutputMixExt.c169 void IOutputMixExt_FillBuffer(SLOutputMixExtItf self, void *pBuffer, SLuint32 size) argument
174 size &= ~3; local
210 unsigned desired = size;
328 memset(pBuffer, 0, size);

Completed in 2775 milliseconds

1234567891011>>