Home
last modified time | relevance | path

Searched refs:outPtr (Results 1 – 25 of 32) sorted by relevance

12

/frameworks/ml/nn/common/operations/
DGroupedConv2D.cpp59 float* outPtr = outputData; in groupedConvFloat32() local
90 outPtr[d] = sum; in groupedConvFloat32()
93 outPtr += outputGroupDepth; in groupedConvFloat32()
131 T* outPtr = outputData; in groupedConvQuant8() local
168 outPtr[d] = static_cast<T>(sum); in groupedConvQuant8()
171 outPtr += outputGroupDepth; in groupedConvQuant8()
235 T* outPtr = outputData; in groupedConvQuant8PerChannel() local
272 outPtr[d] = static_cast<T>(sum); in groupedConvQuant8PerChannel()
275 outPtr += outputGroupDepth; in groupedConvQuant8PerChannel()
DTransposeConv2D.cpp170 float* outPtr = outputData; in transposeConvNhwc() local
172 for (uint32_t d = 0; d < outputDepth; d++, outPtr++) { in transposeConvNhwc()
173 *outPtr += biasData[d]; in transposeConvNhwc()
174 *outPtr = std::max(std::min(*outPtr, outputActivationMax), outputActivationMin); in transposeConvNhwc()
262 T* outPtr = outputData; in transposeConvNhwc() local
264 for (uint32_t d = 0; d < outputDepth; d++, bufferPtr++, outPtr++) { in transposeConvNhwc()
269 *outPtr = static_cast<T>(outVal); in transposeConvNhwc()
403 T* outPtr = outputData; in transposeConvQuant8PerChannelNhwc() local
405 for (uint32_t d = 0; d < outputDepth; d++, bufferPtr++, outPtr++) { in transposeConvQuant8PerChannelNhwc()
411 *outPtr = static_cast<T>(outVal); in transposeConvQuant8PerChannelNhwc()
DRoiAlign.cpp77 T_Input* outPtr = outputData; in roiAlignNhwc() local
128 for (uint32_t k = 0; k < inDepth; k++) outPtr[k] = 0; in roiAlignNhwc()
166 outPtr[k] += interpolation; in roiAlignNhwc()
173 outPtr[k] /= static_cast<T_Input>(numSamplingPoints); in roiAlignNhwc()
174 outPtr += inDepth; in roiAlignNhwc()
204 T_Input* outPtr = outputData; in roiAlignQuantNhwc() local
305 outPtr[k] = saturateCast<T_Input>(raw_out); in roiAlignQuantNhwc()
307 outPtr += inDepth; in roiAlignQuantNhwc()
DRoiPooling.cpp73 T_Input* outPtr = outputData; in roiPoolingNhwc() local
133 outPtr[k] = maxValue; in roiPoolingNhwc()
135 outPtr += inDepth; in roiPoolingNhwc()
/frameworks/rs/cpu_ref/
DrsCpuScriptGroup.cpp93 mkinfo->outPtr[0] = in scriptGroupRoot()
99 mkinfo->outPtr[0] = in scriptGroupRoot()
100 mkinfo->outPtr[0] + in scriptGroupRoot()
104 mkinfo->outPtr[0] = in scriptGroupRoot()
105 mkinfo->outPtr[0] + in scriptGroupRoot()
109 mkinfo->outPtr[0] = nullptr; in scriptGroupRoot()
DrsCpuIntrinsicYuvToRGB.cpp120 uchar4 *out = (uchar4 *)info->outPtr[0] + xstart; in kernel()
163 rsdIntrinsicYuv2_K(info->outPtr[0], Y, u, v, x1, x2); in kernel()
172 rsdIntrinsicYuv_K(info->outPtr[0], Y, v, x1, x2); in kernel()
176 rsdIntrinsicYuvR_K(info->outPtr[0], Y, u, x1, x2); in kernel()
DrsCpuCoreRuntime.h47 uint8_t *outPtr[RS_KERNEL_INPUT_LIMIT]; member
DrsCpuIntrinsicConvolve3x3.cpp197 uchar4 *out = (uchar4 *)info->outPtr[0]; in kernelU4()
244 uchar2 *out = (uchar2 *)info->outPtr[0]; in kernelU2()
289 uchar *out = (uchar *)info->outPtr[0]; in kernelU1()
334 float4 *out = (float4 *)info->outPtr[0]; in kernelF4()
379 float2 *out = (float2 *)info->outPtr[0]; in kernelF2()
423 float *out = (float *)info->outPtr[0]; in kernelF1()
DrsCpuCore.cpp346 …fep->outPtr[0] = (uint8_t *)mtls->aout[0]->getPointerUnchecked(x, y, z, lod, face, a1, a2, a3, a4); in FepPtrSetup()
518 accumPtr = mtls->redp.outPtr[0]; in reduce_get_accumulator()
682 : mtls->redp.outPtr[0]); in launchReduceSerial()
705 mtls->outFunc(mtls->redp.outPtr[0], accumPtr); in launchReduceSerial()
776 uint8_t *finalAccumPtr = (mtls->outFunc ? nullptr : mtls->redp.outPtr[0]); in launchReduceParallel()
811 mtls->outFunc(mtls->redp.outPtr[0], finalAccumPtr); in launchReduceParallel()
816 format_bytes(&fmt, mtls->redp.outPtr[0], mtls->redp.outStride[0])); in launchReduceParallel()
DrsCpuIntrinsicLUT.cpp55 uchar *out = (uchar *)info->outPtr[0]; in kernel()
DrsCpuIntrinsicConvolve5x5.cpp366 uchar4 *out = (uchar4 *)info->outPtr[0]; in kernelU4()
426 uchar2 *out = (uchar2 *)info->outPtr[0]; in kernelU2()
475 uchar *out = (uchar *)info->outPtr[0]; in kernelU1()
524 float4 *out = (float4 *)info->outPtr[0]; in kernelF4()
573 float2 *out = (float2 *)info->outPtr[0]; in kernelF2()
622 float *out = (float *)info->outPtr[0]; in kernelF1()
DrsCpuIntrinsicResize.cpp356 uchar4 *out = ((uchar4 *)info->outPtr[0]) + xstart; in kernelU4()
433 uchar2 *out = ((uchar2 *)info->outPtr[0]) + xstart; in kernelU2()
511 uchar *out = ((uchar *)info->outPtr[0]) + xstart; in kernelU1()
589 float4 *out = ((float4 *)info->outPtr[0]) + xstart; in kernelF4()
641 float2 *out = ((float2 *)info->outPtr[0]) + xstart; in kernelF2()
693 float *out = ((float *)info->outPtr[0]) + xstart; in kernelF1()
DrsCpuIntrinsicBlur.cpp303 uchar4 *out = (uchar4 *)info->outPtr[0]; in kernelU4()
374 uchar *out = (uchar *)info->outPtr[0]; in kernelU1()
DrsCpuIntrinsic3DLUT.cpp59 uchar4 *out = (uchar4 *)info->outPtr[0]; in kernel()
/frameworks/av/media/codec2/components/aac/
DC2SoftAacEnc.cpp414 uint8_t *outPtr = temp; in process() local
437 void* outBuffer[] = { outPtr }; in process()
516 outPtr = wView->data(); in process()
523 outBuffer[0] = outPtr; in process()
544 hexdump(outPtr, std::min(outargs.numOutBytes, 256)); in process()
546 outPtr = temp; in process()
581 outPtr = wView->data(); in process()
588 outBuffer[0] = outPtr; in process()
/frameworks/av/media/libstagefright/codecs/amrnb/enc/
DSoftAMRNBEncoder.cpp379 uint8_t *outPtr = outHeader->pBuffer + outHeader->nOffset; in onQueueFilled() local
385 mInputFrame, outPtr, &frameType, AMR_TX_WMF); in onQueueFilled()
391 outPtr[0] = ((outPtr[0] << 3) | 4) & 0x7c; in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/amrnb/dec/
DSoftAMR.cpp462 int16_t *outPtr = (int16_t *)outHeader->pBuffer; in onQueueFilled() local
467 memset(outPtr, 0, kNumSamplesPerFrameWB * sizeof(int16_t)); in onQueueFilled()
478 outPtr, in onQueueFilled()
486 outPtr[i] &= 0xfffC; in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/aacenc/
DSoftAACEncoder2.cpp626 uint8_t *outPtr = (uint8_t *)outHeader->pBuffer + outHeader->nOffset; in onQueueFilled() local
647 void* outBuffer[] = { outPtr }; in onQueueFilled()
666 outBuffer[0] = outPtr; in onQueueFilled()
676 outPtr += outargs.numOutBytes; in onQueueFilled()
/frameworks/av/media/codec2/components/opus/
DC2SoftOpusEnc.h83 int drainEncoder(uint8_t* outPtr);
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/
DSoftMPEG4Encoder.cpp405 uint8_t *outPtr = (uint8_t *) outHeader->pBuffer; in onQueueFilled() local
409 if (!PVGetVolHeader(mHandle, outPtr, &dataLength, 0)) { in onQueueFilled()
483 &modTimeMs, outPtr, &dataLength, &nLayer) || in onQueueFilled()
/frameworks/av/media/codec2/components/mpeg4_h263/
DC2SoftMpeg4Enc.cpp425 uint8_t *outPtr = (uint8_t *)wView.data(); in process() local
429 if (!PVGetVolHeader(mHandle, outPtr, &outputSize, 0)) { in process()
447 memcpy(csd->m.value, outPtr, outputSize); in process()
573 if (!PVEncodeVideoFrame(mHandle, &vin, &vout, &modTimeMs, outPtr, &outputSize, &nLayer) || in process()
/frameworks/av/media/libstagefright/codecs/amrwbenc/
DSoftAMRWBEncoder.cpp426 uint8_t *outPtr = outHeader->pBuffer + outHeader->nOffset; in onQueueFilled() local
442 outputData.Buffer = outPtr; in onQueueFilled()
/frameworks/base/media/jni/
Dandroid_media_MediaDescrambler.cpp108 void **outPtr, jbyteArray *outByteArray) { in getBufferAndSize() argument
140 *outPtr = ptr; in getBufferAndSize()
/frameworks/native/libs/renderengine/tests/
DRenderEngineTest.cpp109 auto outPtr = reinterpret_cast<uint8_t*>(outBuffer.data()); in writeBufferToFile() local
115 outPtr[0] = src[0]; in writeBufferToFile()
116 outPtr[1] = src[1]; in writeBufferToFile()
117 outPtr[2] = src[2]; in writeBufferToFile()
118 outPtr += 3; in writeBufferToFile()
/frameworks/native/libs/renderengine/gl/
DGLESRenderEngine.cpp99 auto outPtr = reinterpret_cast<char*>(outBuffer.data()); in writePPM() local
105 outPtr[0] = data[0]; in writePPM()
106 outPtr[1] = data[1]; in writePPM()
107 outPtr[2] = data[2]; in writePPM()
109 outPtr += 3; in writePPM()

12