Home
last modified time | relevance | path

Searched refs:inputPtr (Results 1 – 5 of 5) sorted by relevance

/frameworks/rs/tests/java_api/HelloComputeNDK/libhellocomputendk/
DhelloComputeNDK.cpp30 void* inputPtr = nullptr; in Java_com_example_android_rs_hellocomputendk_HelloComputeNDK_nativeMono() local
33 AndroidBitmap_lockPixels(env, jbitmapIn, &inputPtr); in Java_com_example_android_rs_hellocomputendk_HelloComputeNDK_nativeMono()
47 inputPtr); in Java_com_example_android_rs_hellocomputendk_HelloComputeNDK_nativeMono()
53 inputAlloc->copy2DRangeFrom(0, 0, X, Y, inputPtr); in Java_com_example_android_rs_hellocomputendk_HelloComputeNDK_nativeMono()
/frameworks/ml/nn/common/operations/
DSplit.cpp44 const Scalar* inputPtr = inputData; in splitGeneric() local
48 memcpy(outputDataPtrs->at(i) + k * copySize, inputPtr, copySize * sizeof(Scalar)); in splitGeneric()
49 inputPtr += copySize; in splitGeneric()
DTransposeConv2D.cpp223 const T* inputPtr = inputData; in transposeConvNhwc() local
245 (static_cast<int32_t>(*inputPtr) + inputOffset) * in transposeConvNhwc()
253 inputPtr++; in transposeConvNhwc()
365 const T* inputPtr = inputData; in transposeConvQuant8PerChannelNhwc() local
387 (static_cast<int32_t>(*inputPtr) + inputOffset) * in transposeConvQuant8PerChannelNhwc()
394 inputPtr++; in transposeConvQuant8PerChannelNhwc()
/frameworks/av/media/libstagefright/codecs/amrnb/dec/
DSoftAMR.cpp385 const uint8_t *inputPtr = inHeader->pBuffer + inHeader->nOffset; in onQueueFilled() local
398 int16 mode = ((inputPtr[0] >> 3) & 0x0f); in onQueueFilled()
411 (Frame_Type_3GPP)((inputPtr[0] >> 3) & 0x0f), in onQueueFilled()
412 (UWord8 *)&inputPtr[1], in onQueueFilled()
445 int16 mode = ((inputPtr[0] >> 3) & 0x0f); in onQueueFilled()
475 const_cast<uint8_t *>(&inputPtr[1]), in onQueueFilled()
/frameworks/ml/nn/runtime/test/android_fuzzing/
DDriverFuzzTest.cpp234 uint8_t* const inputPtr = static_cast<uint8_t*>(static_cast<void*>(mappedInput->getPointer())); in createRequest() local
235 CHECK(inputPtr != nullptr); in createRequest()
243 std::copy(begin, end, inputPtr + inputs[i].location.offset); in createRequest()