Home
last modified time | relevance | path

Searched refs:cIdx (Results 1 – 3 of 3) sorted by relevance

/frameworks/av/media/libstagefright/codecs/avc/common/src/
Dreflist.cpp256 int cIdx, nIdx; in ReorderShortTerm() local
284 for (cIdx = num_ref_idx_lX_active_minus1 + 1; cIdx > *refIdxLX; cIdx--) in ReorderShortTerm()
286 RefPicListX[ cIdx ] = RefPicListX[ cIdx - 1]; in ReorderShortTerm()
293 for (cIdx = *refIdxLX; cIdx <= num_ref_idx_lX_active_minus1 + 1; cIdx++) in ReorderShortTerm()
295 if (RefPicListX[ cIdx ]) in ReorderShortTerm()
297 if ((RefPicListX[ cIdx ]->isLongTerm) || ((int)RefPicListX[ cIdx ]->PicNum != picNumLX)) in ReorderShortTerm()
299 RefPicListX[ nIdx++ ] = RefPicListX[ cIdx ]; in ReorderShortTerm()
311 int cIdx, nIdx; in ReorderLongTerm() local
336 for (cIdx = num_ref_idx_lX_active_minus1 + 1; cIdx > *refIdxLX; cIdx--) in ReorderLongTerm()
337 RefPicListX[ cIdx ] = RefPicListX[ cIdx - 1]; in ReorderLongTerm()
[all …]
/frameworks/rs/
DrsAllocation.cpp269 const void *data, uint32_t cIdx, size_t sizeBytes) { in elementData() argument
287 if (cIdx >= mHal.state.type->getElement()->getFieldCount()) { in elementData()
292 const Element * e = mHal.state.type->getElement()->getField(cIdx); in elementData()
293 uint32_t elemArraySize = mHal.state.type->getElement()->getFieldArraySize(cIdx); in elementData()
299 rsc->mHal.funcs.allocation.elementData(rsc, this, x, y, z, data, cIdx, sizeBytes); in elementData()
304 void *data, uint32_t cIdx, size_t sizeBytes) { in elementRead() argument
322 if (cIdx >= mHal.state.type->getElement()->getFieldCount()) { in elementRead()
327 const Element * e = mHal.state.type->getElement()->getField(cIdx); in elementRead()
328 uint32_t elemArraySize = mHal.state.type->getElement()->getFieldArraySize(cIdx); in elementRead()
334 rsc->mHal.funcs.allocation.elementRead(rsc, this, x, y, z, data, cIdx, sizeBytes); in elementRead()
/frameworks/rs/driver/
DrsdAllocation.cpp1156 const void *data, uint32_t cIdx, size_t sizeBytes) { in rsdAllocationElementData() argument
1161 const Element * e = alloc->mHal.state.type->getElement()->getField(cIdx); in rsdAllocationElementData()
1162 ptr += alloc->mHal.state.type->getElement()->getFieldOffsetBytes(cIdx); in rsdAllocationElementData()
1175 void *data, uint32_t cIdx, size_t sizeBytes) { in rsdAllocationElementRead() argument
1180 const Element * e = alloc->mHal.state.type->getElement()->getField(cIdx); in rsdAllocationElementRead()
1181 ptr += alloc->mHal.state.type->getElement()->getFieldOffsetBytes(cIdx); in rsdAllocationElementRead()