Home
last modified time | relevance | path

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

/frameworks/av/media/codec2/core/include/
DC2ParamDef.h732 static void init(T(&array)[], size_t arrayLen, const C2MemoryBlock<T> &block) {
734 if (arrayLen && std::is_same<T, char>::value) {
735 --arrayLen;
738 memcpy(array, block.data(), std::min(arrayLen, block.size()) * sizeof(T));
744 static void init(T(&array)[], size_t arrayLen, const std::initializer_list<T> &init) {
747 if (arrayLen && std::is_same<T, char>::value) {
748 --arrayLen;
751 if (ix == arrayLen) {
760 static void init(T(&array)[], size_t arrayLen, const std::vector<T> &init) {
763 if (arrayLen && std::is_same<T, char>::value) {
[all …]
/frameworks/rs/support/java/src/androidx/renderscript/
DAllocation.java673 private void copyFromUnchecked(Object array, Element.DataType dt, int arrayLen) { in copyFromUnchecked() argument
676 … copy3DRangeFromUnchecked(0, 0, 0, mCurrentDimX, mCurrentDimY, mCurrentDimZ, array, dt, arrayLen); in copyFromUnchecked()
678 copy2DRangeFromUnchecked(0, 0, mCurrentDimX, mCurrentDimY, array, dt, arrayLen); in copyFromUnchecked()
680 copy1DRangeFromUnchecked(0, mCurrentCount, array, dt, arrayLen); in copyFromUnchecked()
1120 Element.DataType dt, int arrayLen) { in copy1DRangeFromUnchecked() argument
1127 data1DChecks(off, count, arrayLen * dt.mSize, dataSize, usePadding); in copy1DRangeFromUnchecked()
1445 Element.DataType dt, int arrayLen) { in copy2DRangeFromUnchecked() argument
1451 int sizeBytes = arrayLen * dt.mSize; in copy2DRangeFromUnchecked()
1702 Object array, Element.DataType dt, int arrayLen) { in copy3DRangeFromUnchecked() argument
1708 int sizeBytes = arrayLen * dt.mSize; in copy3DRangeFromUnchecked()
[all …]
/frameworks/base/rs/java/android/renderscript/
DAllocation.java687 private void copyFromUnchecked(Object array, Element.DataType dt, int arrayLen) { in copyFromUnchecked() argument
692 … copy3DRangeFromUnchecked(0, 0, 0, mCurrentDimX, mCurrentDimY, mCurrentDimZ, array, dt, arrayLen); in copyFromUnchecked()
694 copy2DRangeFromUnchecked(0, 0, mCurrentDimX, mCurrentDimY, array, dt, arrayLen); in copyFromUnchecked()
696 copy1DRangeFromUnchecked(0, mCurrentCount, array, dt, arrayLen); in copyFromUnchecked()
1138 Element.DataType dt, int arrayLen) { in copy1DRangeFromUnchecked() argument
1147 data1DChecks(off, count, arrayLen * dt.mSize, dataSize, usePadding); in copy1DRangeFromUnchecked()
1470 Element.DataType dt, int arrayLen) { in copy2DRangeFromUnchecked() argument
1478 int sizeBytes = arrayLen * dt.mSize; in copy2DRangeFromUnchecked()
1747 Object array, Element.DataType dt, int arrayLen) { in copy3DRangeFromUnchecked() argument
1755 int sizeBytes = arrayLen * dt.mSize; in copy3DRangeFromUnchecked()
[all …]