Home
last modified time | relevance | path

Searched refs:cIdx (Results 1 – 5 of 5) 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/support/renderscript/v8/rs_support/
DrsAllocation.cpp142 uint32_t cIdx, size_t sizeBytes) { in elementData() argument
145 if (cIdx >= mHal.state.type->getElement()->getFieldCount()) { in elementData()
146 ALOGE("Error Allocation::subElementData component %i out of range.", cIdx); in elementData()
157 const Element * e = mHal.state.type->getElement()->getField(cIdx); in elementData()
158 uint32_t elemArraySize = mHal.state.type->getElement()->getFieldArraySize(cIdx); in elementData()
165 rsc->mHal.funcs.allocation.elementData1D(rsc, this, x, data, cIdx, sizeBytes); in elementData()
170 const void *data, uint32_t cIdx, size_t sizeBytes) { in elementData() argument
185 if (cIdx >= mHal.state.type->getElement()->getFieldCount()) { in elementData()
186 ALOGE("Error Allocation::subElementData component %i out of range.", cIdx); in elementData()
191 const Element * e = mHal.state.type->getElement()->getField(cIdx); in elementData()
[all …]
/frameworks/rs/
DrsAllocation.cpp147 uint32_t cIdx, size_t sizeBytes) { in elementData() argument
150 if (cIdx >= mHal.state.type->getElement()->getFieldCount()) { in elementData()
151 ALOGE("Error Allocation::subElementData component %i out of range.", cIdx); in elementData()
162 const Element * e = mHal.state.type->getElement()->getField(cIdx); in elementData()
163 uint32_t elemArraySize = mHal.state.type->getElement()->getFieldArraySize(cIdx); in elementData()
170 rsc->mHal.funcs.allocation.elementData1D(rsc, this, x, data, cIdx, sizeBytes); in elementData()
175 const void *data, uint32_t cIdx, size_t sizeBytes) { in elementData() argument
190 if (cIdx >= mHal.state.type->getElement()->getFieldCount()) { in elementData()
191 ALOGE("Error Allocation::subElementData component %i out of range.", cIdx); in elementData()
196 const Element * e = mHal.state.type->getElement()->getField(cIdx); in elementData()
[all …]
/frameworks/support/renderscript/v8/rs_support/driver/
DrsdAllocation.cpp424 const void *data, uint32_t cIdx, uint32_t sizeBytes) { in rsdAllocationElementData1D() argument
430 const Element * e = alloc->mHal.state.type->getElement()->getField(cIdx); in rsdAllocationElementData1D()
431 ptr += alloc->mHal.state.type->getElement()->getFieldOffsetBytes(cIdx); in rsdAllocationElementData1D()
444 const void *data, uint32_t cIdx, uint32_t sizeBytes) { in rsdAllocationElementData2D() argument
450 const Element * e = alloc->mHal.state.type->getElement()->getField(cIdx); in rsdAllocationElementData2D()
451 ptr += alloc->mHal.state.type->getElement()->getFieldOffsetBytes(cIdx); in rsdAllocationElementData2D()
/frameworks/rs/driver/
DrsdAllocation.cpp731 const void *data, uint32_t cIdx, uint32_t sizeBytes) { in rsdAllocationElementData1D() argument
737 const Element * e = alloc->mHal.state.type->getElement()->getField(cIdx); in rsdAllocationElementData1D()
738 ptr += alloc->mHal.state.type->getElement()->getFieldOffsetBytes(cIdx); in rsdAllocationElementData1D()
751 const void *data, uint32_t cIdx, uint32_t sizeBytes) { in rsdAllocationElementData2D() argument
757 const Element * e = alloc->mHal.state.type->getElement()->getField(cIdx); in rsdAllocationElementData2D()
758 ptr += alloc->mHal.state.type->getElement()->getFieldOffsetBytes(cIdx); in rsdAllocationElementData2D()