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.cpp192 uint32_t cIdx, size_t sizeBytes) { in elementData() argument
195 if (cIdx >= mHal.state.type->getElement()->getFieldCount()) { in elementData()
205 const Element * e = mHal.state.type->getElement()->getField(cIdx); in elementData()
206 uint32_t elemArraySize = mHal.state.type->getElement()->getFieldArraySize(cIdx); in elementData()
212 rsc->mHal.funcs.allocation.elementData1D(rsc, this, x, data, cIdx, sizeBytes); in elementData()
217 const void *data, uint32_t cIdx, size_t sizeBytes) { in elementData() argument
230 if (cIdx >= mHal.state.type->getElement()->getFieldCount()) { in elementData()
235 const Element * e = mHal.state.type->getElement()->getField(cIdx); in elementData()
236 uint32_t elemArraySize = mHal.state.type->getElement()->getFieldArraySize(cIdx); in elementData()
242 rsc->mHal.funcs.allocation.elementData2D(rsc, this, x, y, data, cIdx, sizeBytes); in elementData()
/frameworks/rs/driver/
DrsdAllocation.cpp1079 const void *data, uint32_t cIdx, size_t sizeBytes) { in rsdAllocationElementData1D() argument
1085 const Element * e = alloc->mHal.state.type->getElement()->getField(cIdx); in rsdAllocationElementData1D()
1086 ptr += alloc->mHal.state.type->getElement()->getFieldOffsetBytes(cIdx); in rsdAllocationElementData1D()
1099 const void *data, uint32_t cIdx, size_t sizeBytes) { in rsdAllocationElementData2D() argument
1105 const Element * e = alloc->mHal.state.type->getElement()->getField(cIdx); in rsdAllocationElementData2D()
1106 ptr += alloc->mHal.state.type->getElement()->getFieldOffsetBytes(cIdx); in rsdAllocationElementData2D()