Home
last modified time | relevance | path

Searched refs:outputBuffer (Results 1 – 22 of 22) sorted by relevance

/frameworks/av/media/libaaudio/src/flowgraph/
DRampLinear.cpp49 float *outputBuffer = output.getBlock(); in onProcess() local
71 *outputBuffer++ = *inputBuffer++ * currentLevel; in onProcess()
81 *outputBuffer++ = *inputBuffer++ * mLevelTo; in onProcess()
DMonoToMultiConverter.cpp35 float *outputBuffer = output.getBlock(); in onProcess() local
42 *outputBuffer++ = sample; in onProcess()
DClipToRange.cpp32 float *outputBuffer = output.getBlock(); in onProcess() local
36 *outputBuffer++ = std::min(mMaximum, std::max(mMinimum, *inputBuffer++)); in onProcess()
DSourceFloat.cpp30 float *outputBuffer = output.getBlock(); in onProcess() local
39 memcpy(outputBuffer, floatData, numSamples * sizeof(float)); in onProcess()
/frameworks/base/services/backup/java/com/android/server/backup/
DPackageManagerBackupAgent.java206 ByteArrayOutputStream outputBuffer = new ByteArrayOutputStream(); // we'll reuse these in onBackup() local
207 DataOutputStream outputBufferStream = new DataOutputStream(outputBuffer); in onBackup()
229 writeEntity(data, ANCESTRAL_RECORD_KEY, outputBuffer.toByteArray()); in onBackup()
279 outputBuffer.reset(); in onBackup()
284 writeEntity(data, DEFAULT_HOME_KEY, outputBuffer.toByteArray()); in onBackup()
299 outputBuffer.reset(); in onBackup()
304 writeEntity(data, GLOBAL_METADATA_KEY, outputBuffer.toByteArray()); in onBackup()
358 outputBuffer.reset(); in onBackup()
373 + " entityLen=" + outputBuffer.size()); in onBackup()
377 writeEntity(data, packName, outputBuffer.toByteArray()); in onBackup()
/frameworks/av/drm/mediadrm/plugins/clearkey/default/tests/
DAesCtrDecryptorUnittest.cpp50 uint8_t outputBuffer[totalSize] = {}; in attemptDecryptExpectingSuccess() local
52 ASSERT_EQ(android::OK, attemptDecrypt(key, iv, encrypted, outputBuffer, in attemptDecryptExpectingSuccess()
56 EXPECT_EQ(0, memcmp(outputBuffer, decrypted, totalSize)); in attemptDecryptExpectingSuccess()
/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/main/java/com/android/media/benchmark/library/
DEncoder.java250 ByteBuffer outputBuffer = mediaCodec.getOutputBuffer(outputBufferId); in onOutputAvailable() local
254 byte[] bytesOutput = new byte[outputBuffer.remaining()]; in onOutputAvailable()
255 outputBuffer.get(bytesOutput); in onOutputAvailable()
263 mStats.addFrameSize(outputBuffer.remaining()); in onOutputAvailable()
DDecoder.java297 ByteBuffer outputBuffer = mediaCodec.getOutputBuffer(outputBufferId); in onOutputAvailable() local
298 byte[] bytesOutput = new byte[outputBuffer.remaining()]; in onOutputAvailable()
299 outputBuffer.get(bytesOutput); in onOutputAvailable()
/frameworks/av/media/codec2/hidl/1.0/utils/include/codec2/hidl/1.0/
DClientBlockHelper.h49 status_t outputBuffer(
/frameworks/av/media/codec2/hidl/1.0/utils/
DClientBlockHelper.cpp258 status_t outputBuffer( in outputBuffer() function in android::hardware::media::c2::V1_0::utils::OutputBufferQueue::Impl
345 status_t OutputBufferQueue::outputBuffer( in outputBuffer() function in android::hardware::media::c2::V1_0::utils::OutputBufferQueue
350 return mImpl->outputBuffer(block, input, output); in outputBuffer()
/frameworks/av/media/codec2/components/gav1/
DC2SoftGav1Dec.h66 bool outputBuffer(const std::shared_ptr<C2BlockPool>& pool,
DC2SoftGav1Dec.cpp463 (void)outputBuffer(pool, work); in process()
603 bool C2SoftGav1Dec::outputBuffer(const std::shared_ptr<C2BlockPool> &pool, in outputBuffer() function in android::C2SoftGav1Dec
733 while (outputBuffer(pool, work)) { in drainInternal()
/frameworks/ml/nn/common/operations/
DQLSTM.cpp464 int8_t* outputBuffer = reinterpret_cast<int8_t*>(context->getOutputBuffer(kOutputTensor)); in execute() local
778 memset(outputBuffer, 0, batchSize * outputSize * sizeof(int8_t)); in execute()
782 outputSize, prevOutputShape.offset, outputBuffer); in execute()
784 CwiseClipping(outputBuffer, quantizedProjectionClip, batchSize, outputSize); in execute()
787 std::copy_n(buffer8.data(), batchSize * outputSize, outputBuffer); in execute()
792 outputStateBuffer[i] = outputBuffer[i]; in execute()
/frameworks/av/media/codec2/components/vpx/
DC2SoftVpxDec.h88 status_t outputBuffer(
DC2SoftVpxDec.cpp609 status_t err = outputBuffer(pool, work); in process()
756 status_t C2SoftVpxDec::outputBuffer( in outputBuffer() function in android::C2SoftVpxDec
896 while (outputBuffer(pool, work) == OK) { in drainInternal()
/frameworks/av/media/codec2/components/aom/
DC2SoftAomDec.h70 bool outputBuffer(const std::shared_ptr<C2BlockPool>& pool,
DC2SoftAomDec.cpp496 (void)outputBuffer(pool, work); in process()
630 bool C2SoftAomDec::outputBuffer( in outputBuffer() function in android::C2SoftAomDec
753 while ((outputBuffer(pool, work))) { in drainInternal()
/frameworks/base/core/java/android/util/apk/
DVerityBuilder.java369 ByteBuffer outputBuffer = slice(output, levelOffset[level], levelOffset[level + 1]); in generateVerityTreeInternal() local
372 BufferedDigester digester = new BufferedDigester(salt, outputBuffer); in generateVerityTreeInternal()
/frameworks/ml/nn/runtime/test/
DTestUnspecifiedDimensions.cpp381 const T* outputBuffer = mOperandLocation == OperandLocation::MEMORY in TestOne() local
387 ASSERT_EQ(outputBuffer[i], valueB == 1 ? expected_1x2[i] : expected_2x2[i]); in TestOne()
/frameworks/ml/nn/common/
DCpuExecutor.cpp1872 auto& outputBuffer = iteration % 2 == 0 ? tmp1 : tmp2; in executeWhileOperation() local
1878 if (outputBuffer[i] != nullptr) { in executeWhileOperation()
1879 delete[] outputBuffer[i]; in executeWhileOperation()
1880 outputBuffer[i] = nullptr; in executeWhileOperation()
1883 info.buffer = outputBuffer[i]; in executeWhileOperation()
1890 outputBuffer[i] = bodyOperands[bodySubgraph.outputIndexes[i]].buffer; in executeWhileOperation()
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
Dpvdec_api.cpp1564 uint8 *outputBuffer; in PVDecPostProcess() local
1565 outputBuffer = decCtrl->outputFrame; in PVDecPostProcess()
1567 decCtrl->outputFrame = outputBuffer; in PVDecPostProcess()
/frameworks/av/media/codec2/hidl/client/
Dclient.cpp1289 return mOutputBufferQueue.outputBuffer(block, input, output); in queueToOutputSurface()