Home
last modified time | relevance | path

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

/frameworks/base/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/base/libs/rs/
DrsAllocation.cpp111 uint32_t cIdx, uint32_t sizeBytes) { in elementData() argument
114 if (cIdx >= mHal.state.type->getElement()->getFieldCount()) { in elementData()
115 LOGE("Error Allocation::subElementData component %i out of range.", cIdx); in elementData()
126 const Element * e = mHal.state.type->getElement()->getField(cIdx); in elementData()
133 rsc->mHal.funcs.allocation.elementData1D(rsc, this, x, data, cIdx, sizeBytes); in elementData()
138 const void *data, uint32_t cIdx, uint32_t sizeBytes) { in elementData() argument
153 if (cIdx >= mHal.state.type->getElement()->getFieldCount()) { in elementData()
154 LOGE("Error Allocation::subElementData component %i out of range.", cIdx); in elementData()
159 const Element * e = mHal.state.type->getElement()->getField(cIdx); in elementData()
167 rsc->mHal.funcs.allocation.elementData2D(rsc, this, x, y, data, cIdx, sizeBytes); in elementData()
/frameworks/base/libs/rs/driver/
DrsdAllocation.cpp497 const void *data, uint32_t cIdx, uint32_t sizeBytes) { in rsdAllocationElementData1D() argument
504 const Element * e = alloc->mHal.state.type->getElement()->getField(cIdx); in rsdAllocationElementData1D()
505 ptr += alloc->mHal.state.type->getElement()->getFieldOffsetBytes(cIdx); in rsdAllocationElementData1D()
518 const void *data, uint32_t cIdx, uint32_t sizeBytes) { in rsdAllocationElementData2D() argument
525 const Element * e = alloc->mHal.state.type->getElement()->getField(cIdx); in rsdAllocationElementData2D()
526 ptr += alloc->mHal.state.type->getElement()->getFieldOffsetBytes(cIdx); in rsdAllocationElementData2D()