Searched defs:size (Results 1 - 25 of 850) 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
/frameworks/wilhelm/src/android/
H A DAacBqToPcmCbRenderer.cpp26 // ADTS header size is 7, but frame size information ends on byte 6 (when counting from byte 1)
30 * Returns the size of an AAC ADTS frame.
31 * Note that if the returned value + offset > size, it means that a partial frame starts at that
32 * offset, but this function will still return the size of the full frame.
35 * @param size the size in bytes of the data block starting at data
36 * @return the size in bytes of the AAC ADTS frame starting at the given offset of the given
39 static size_t getAdtsFrameSize(const uint8_t *data, off64_t offset, size_t size) { argument
42 if (!(offset + ADTS_HEADER_SIZE_UP_TO_FRAMESIZE < (off64_t) size)) {
84 validateBufferStartEndOnFrameBoundaries(void* data, size_t size) argument
[all...]
H A DAudioPlayer_to_android.cpp108 static size_t adecoder_writeToBufferQueue(const uint8_t *data, size_t size, CAudioPlayer* ap) { argument
114 SL_LOGD("received %zu bytes from decoder", size);
128 if (ap->mBufferQueue.mSizeConsumed + size < oldFront->mSize) {
130 ap->mBufferQueue.mSizeConsumed += size;
132 memcpy(pDest, data, size);
133 sizeConsumed = size;
552 // such as the number of channels, or sample size are unknown to the player at this stage
979 // checkDataFormat() already checked bits per sample, container size, and representation
991 // we don't support container size != sample depth
993 SL_LOGE("Cannot create audio player: unsupported container size
1900 android_audioPlayer_metadata_getKey(CAudioPlayer *ap, SLuint32 index, SLuint32 size, SLMetadataInfo *pKey) argument
1973 android_audioPlayer_metadata_getValue(CAudioPlayer *ap, SLuint32 index, SLuint32 size, SLMetadataInfo *pValue) argument
[all...]
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 + (off64_t) 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 Dandroid_AudioSfDecoder.cpp139 bool AudioSfDecoder::getPcmFormatKeyValue(uint32_t index, uint32_t size, uint32_t* pValue) { argument
143 } else if (size != valueSize) {
144 // this ensures we are accessing mPcmFormatValues with a valid size for that index
145 SL_LOGE("Error retrieving metadata value at index %d: using size of %d, should be %d",
146 index, size, valueSize);
276 off64_t size; local
279 if (dataSource->getSize(&size) == OK
282 mBitrate = size * 8000000ll / durationUs; // in bits/sec
H A Dandroid_Effect.cpp57 uint32_t size; local
64 size = sizeof(int32_t);
71 size = 2 * sizeof(int32_t);
74 size = 2 * sizeof(int32_t);
78 return size;
83 uint32_t size; local
91 size = sizeof(int16_t);
94 size = 2 * sizeof(int16_t);
97 size = sizeof(int32_t);
100 size
119 uint32_t size; local
143 uint32_t size; local
167 uint32_t size; local
879 uint32_t size; local
911 uint32_t size; local
947 uint32_t size; local
[all...]
/frameworks/wilhelm/src/desktop/
H A DSndFile.c77 SLuint32 size = (SLuint32) (count * sizeof(short)); local
78 result = IBufferQueue_Enqueue(caller, pBuffer, size);
/frameworks/wilhelm/src/itf/
H A DIBufferQueue.c46 SLresult IBufferQueue_Enqueue(SLBufferQueueItf self, const void *pBuffer, SLuint32 size) argument
52 if (NULL == pBuffer || 0 == size) {
65 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);
/frameworks/wilhelm/tests/examples/
H A DslesTestDecodeToBuffQueue.cpp72 /* size of the struct to retrieve the PCM format metadata values: the values we're interested in
73 * are SLuint32, but it is saved in the data field of a SLMetadataInfo, hence the larger size.
74 * Nate that this size is queried and displayed at l.452 for demonstration/test purposes.
113 SLuint32 size; member in struct:CallbackCntxt_
194 /* Increase data pointer by buffer size */
250 // pcmMetaData->size == sizeof(SLuint32)
406 cntxt.size = sizeof(pcmData);
462 // can make assumptions about the size of the keys and their matching values (all SLuint32)
478 fprintf(stdout, "key[%d] size=%d, name=%s \tvalue size
[all...]
H A DslesTestPlayFdPath.cpp71 void TestPlayPathFromFD( SLObjectItf sl, const char* path, SLAint64 offset, SLAint64 size) argument
138 locatorFd.length = size;
251 fprintf(stdout, "no file size given, using SL_DATALOCATOR_ANDROIDFD_USE_FILE_SIZE\n");
H A DslesTestRecBuffQueue.cpp81 SLuint32 size; member in struct:CallbackCntxt_
139 /* Increase data pointer by buffer size */
359 cntxt.size = sizeof(pcmData);
H A DslesTestSawtoothBufferQueue.cpp54 /* Audio data buffer size in 16 bit words. 8 data segments are used in
76 SLuint32 size; member in struct:CallbackCntxt_
92 if(pCntxt->pData < (pCntxt->pDataBase + pCntxt->size))
98 /* Increase data pointer by buffer size */
192 cntxt.size = sizeof(pcmData) / 2;
/frameworks/wilhelm/tests/sandbox/
H A Dintbufq.c176 unsigned size; local
190 size = sizeof(sine);
194 size = sizeof(square);
198 size = sizeof(half);
214 size = sizeof(sawtooth);
217 result = (*playerBufferqueue)->Enqueue(playerBufferqueue, buffer, size);
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DArrayObjectAdapter.java50 public int size() { method in class:ArrayObjectAdapter
51 return mItems.size();
88 add(mItems.size(), item);
93 * If the index is >= {@link #size} an exception will be thrown.
105 * given index. If the index is >= {@link #size} an exception will be thrown.
111 int itemsCount = items.size();
155 int itemsToRemove = Math.min(count, mItems.size() - position);
171 int itemCount = mItems.size();
H A DCursorObjectAdapter.java129 public int size() { method in class:CursorObjectAdapter
H A DListRowPresenter.java456 * Sets the recycled pool size for the given presenter.
458 public void setRecycledPoolSize(Presenter presenter, int size) { argument
459 mRecycledPoolSize.put(presenter, size);
463 * Returns the recycled pool size for the given presenter.
H A DObjectAdapter.java76 for (int i = mObservers.size() - 1; i >= 0; i--) {
82 for (int i = mObservers.size() - 1; i >= 0; i--) {
88 for (int i = mObservers.size() - 1; i >= 0; i--) {
94 for (int i = mObservers.size() - 1; i >= 0; i--) {
237 public abstract int size(); method in class:ObjectAdapter
H A DResizingTextView.java26 * <p>A {@link android.widget.TextView} that adjusts text size automatically in response
110 * @return the resized text size
117 * Set the text size for resized text.
119 * @param size The text size for resized text
121 public void setResizedTextSize(int size) { argument
122 if (mResizedTextSize != size) {
123 mResizedTextSize = size;
233 // Check for other desired adjustments in addition to the text size
247 // Use default size, lin
[all...]
H A DSparseArrayObjectAdapter.java35 public int size() { method in class:SparseArrayObjectAdapter
36 return mItems.size();
112 final int itemCount = mItems.size();
H A DStaggeredGrid.java55 * size of the item.
57 public int size; field in class:StaggeredGrid.Location
59 public Location(int row, int offset, int size) { argument
62 this.size = size;
69 // <= mFirstIndex + mLocations.size() - 1
90 return mFirstIndex + mLocations.size() - 1;
94 * Returns the size of the saved {@link Location}s.
97 return mLocations.size();
102 if (mLocations.size()
[all...]
H A DWindowAlignment.java176 final public void setSize(int size) { argument
177 mSize = size;
233 // total children size is less than view port and we want to align
243 // scroll center is within half of view port size: align the start edge
253 // end edge of last children (plus expanded size) to view port's end
/frameworks/support/v17/tests/src/android/support/v17/leanback/widget/
H A DGridWidgetTest.java87 * Change size of the Adapter and notifyDataSetChanged.
89 private void changeArraySize(final int size) throws Throwable { argument
92 mActivity.changeArraySize(size);
243 if (mNumRows != rows.size()) {
244 assertEquals("Dump Views by rows "+rows, mNumRows, rows.size());
246 View[][] sorted = new View[rows.size()][];
247 for (int i = 0; i < rowLocations.size(); i++) {
250 View[] views = arr.toArray(new View[arr.size()]);
632 assertEquals("Staggerd cache should be kept as is when no item size change",
633 100, ((StaggeredGrid) mLayoutManager.mGrid).mLocations.size());
[all...]

Completed in 329 milliseconds

1234567891011>>