Home
last modified time | relevance | path

Searched refs:buffers (Results 1 – 11 of 11) sorted by relevance

/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/d1new/
DRefocusFilterd1new.java50 ImageBuffersForRenderScriptd1new buffers; field in RefocusFilterd1new
58 buffers.destroy(); in destroy()
74 buffers = new ImageBuffersForRenderScriptd1new(inputImage, margin, in initializeScriptAndBuffers()
76 buffers.initializeRenderScript(focalLayer, scriptC); in initializeScriptAndBuffers()
85 scriptC.forEach_PackOutputImage(buffers.outAllocation); in extractResultImage()
89 buffers.outAllocation.copyTo(buffers.outputImage); in extractResultImage()
90 return buffers.outputImage; in extractResultImage()
98 Bitmap mBitmap = Bitmap.createBitmap(buffers.inputImage.getWidth(), in extractSharpImage()
99 buffers.inputImage.getHeight(), Bitmap.Config.ARGB_8888); in extractSharpImage()
112 Bitmap mBitmap = Bitmap.createBitmap(buffers.inputImage.getWidth(), in extractFuzzyImage()
[all …]
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/f32/
DRefocusFilterF32.java53 ImageBuffersForRenderScriptF32 buffers; field in RefocusFilterF32
60 buffers.destroy(); in destroy()
74 buffers = new ImageBuffersForRenderScriptF32(inputImage, margin, in initializeScriptAndBuffers()
76 buffers.initializeRenderScript(focalLayer, scriptC); in initializeScriptAndBuffers()
85 scriptC.forEach_PackOutputImage(buffers.outAllocation); in extractResultImage()
89 buffers.outAllocation.copyTo(buffers.outputImage); in extractResultImage()
90 return buffers.outputImage; in extractResultImage()
98 Bitmap mBitmap = Bitmap.createBitmap(buffers.inputImage.getWidth(), in extractSharpImage()
99 buffers.inputImage.getHeight(), Bitmap.Config.ARGB_8888); in extractSharpImage()
113 Bitmap mBitmap = Bitmap.createBitmap(buffers.inputImage.getWidth(), in extractFuzzyImage()
[all …]
/cts/tests/tests/nativemidi/java/android/nativemidi/cts/
DNativeMidiEchoTest.java87 private void generateRandomBufers(byte[][] buffers, long timestamps[], int numMessages) { in generateRandomBufers() argument
92 buffers[buffIndex] = generateRandomMessage(messageLen); in generateRandomBufers()
306 byte[][] buffers = new byte[numMessages][]; in test_D_EchoNMessages()
308 generateRandomBufers(buffers, timestamps, numMessages); in test_D_EchoNMessages()
311 writeMidiWithTimestamp(mTestContext, buffers[msgIndex], 0, buffers[msgIndex].length, in test_D_EchoNMessages()
326 compareMessages(buffers[msgIndex], timestamps[msgIndex], message); in test_D_EchoNMessages()
340 byte[][] buffers = new byte[numMessages][]; in test_E_FlushMessages()
342 generateRandomBufers(buffers, timestamps, numMessages); in test_E_FlushMessages()
345 writeMidiWithTimestamp(mTestContext, buffers[msgIndex], 0, buffers[msgIndex].length, in test_E_FlushMessages()
363 compareMessages(buffers[msgIndex], timestamps[msgIndex], message); in test_E_FlushMessages()
[all …]
/cts/suite/audio_quality/lib/src/task/
DTaskSave.cpp79 std::unique_ptr<std::list<TaskCase::BufferPair> > buffers( in handleFile() local
81 std::list<TaskCase::BufferPair>* buffersp = buffers.get(); in handleFile()
DTaskProcess.cpp58 std::unique_ptr<UniqueBuffer[]>& buffers, in prepareParams() argument
76 buffers.reset(new UniqueBuffer[N]); in prepareParams()
77 if (buffers.get() == NULL) { in prepareParams()
84 UniqueBuffer* buffersPtr = buffers.get(); in prepareParams()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-0333/
Dlocal_poc.h95 uint64_t buffers; member
116 uint64_t buffers; /* ptr to drm_nouveau_gem_pushbuf_bo */ member
/cts/suite/audio_quality/lib/include/task/
DTaskProcess.h53 std::unique_ptr<UniqueBuffer[]>& buffers,
/cts/tests/tests/media/libaudiojni/
Daudio-track-native.cpp401 size_t buffers; in Java_android_media_cts_AudioTrackNative_nativeTest() local
402 while ((buffers = track.getBuffersPending()) > 0) { in Java_android_media_cts_AudioTrackNative_nativeTest()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-6262/
Dlocal_poc.h137 uint64_t buffers; member
/cts/tests/tests/media/src/android/media/cts/
DMediaCodecTest.java282 ByteBuffer[] buffers = codec.getInputBuffers(); in verifyException() local
292 ByteBuffer[] buffers = codec.getInputBuffers(); in verifyException() local
293 if (buffers == null) { in verifyException()
296 if (isVideoEncoder && buffers.length > 0) { in verifyException()
DAudioTrackTest.java1793 final int buffers = 2; // double buffering mode in playOnceStreamData() local
1795 (track.getBufferSizeInFrames() / buffers) * channelCount; in playOnceStreamData()