Lines Matching refs:pItems
55 const SLAndroidBufferItem *pItems, SLuint32 itemsLength,
85 SLuint32 itemDataSizeWithAlignmentPadding = (pItems->itemSize + 3) & ~3;
96 switch (pItems->itemKey) {
101 if (pItems->itemSize != 0) {
102 SL_LOGE("Invalid item parameter size %u for EOS", pItems->itemSize);
108 if (pItems->itemSize == 0) {
111 } else if (pItems->itemSize == sizeof(SLAuint64)) {
113 pBuff->mItems.mTsCmdData.mPts = *((SLAuint64*)pItems->itemData);
116 SL_LOGE("Invalid item parameter size %u for MPEG-2 PTS", pItems->itemSize);
123 if (pItems->itemSize == 0) {
126 } else if (pItems->itemSize == sizeof(SLuint32)) {
127 XAuint32 formatData = *((XAuint32*)pItems->itemData);
150 SL_LOGE("Unknown item key %u with size %u", pItems->itemKey, pItems->itemSize);
153 }// switch (pItems->itemKey)
157 switch (pItems->itemKey) {
161 if (pItems->itemSize != 0) {
162 SL_LOGE("Invalid item parameter size %u for EOS", pItems->itemSize);
169 SL_LOGE("Unknown item key %u with size %u", pItems->itemKey, pItems->itemSize);
172 }// switch (pItems->itemKey)
183 pItems = (SLAndroidBufferItem *) ((char *) pItems +
298 const SLAndroidBufferItem *pItems,
307 } else if ((itemsLength > 0) && (NULL == pItems)) {
371 result = setItems(dataLength, pItems, itemsLength, thiz->mBufferType, oldRear,