Home
last modified time | relevance | path

Searched refs:buffers (Results 1 – 12 of 12) 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.java97 private void generateRandomBufers(byte[][] buffers, long timestamps[], int numMessages) { in generateRandomBufers() argument
102 buffers[buffIndex] = generateRandomMessage(messageLen); in generateRandomBufers()
311 byte[][] buffers = new byte[numMessages][]; in test_D_EchoNMessages()
313 generateRandomBufers(buffers, timestamps, numMessages); in test_D_EchoNMessages()
316 writeMidiWithTimestamp(mTestContext, buffers[msgIndex], 0, buffers[msgIndex].length, in test_D_EchoNMessages()
331 compareMessages(buffers[msgIndex], timestamps[msgIndex], message); in test_D_EchoNMessages()
341 byte[][] buffers = new byte[numMessages][]; in test_E_FlushMessages()
343 generateRandomBufers(buffers, timestamps, numMessages); in test_E_FlushMessages()
346 writeMidiWithTimestamp(mTestContext, buffers[msgIndex], 0, buffers[msgIndex].length, in test_E_FlushMessages()
364 compareMessages(buffers[msgIndex], timestamps[msgIndex], message); in test_E_FlushMessages()
[all …]
/cts/suite/audio_quality/lib/src/task/
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()
DTaskSave.cpp79 std::unique_ptr<std::list<TaskCase::BufferPair> > buffers( in handleFile() local
81 std::list<TaskCase::BufferPair>* buffersp = buffers.get(); in handleFile()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-0333/
Dlocal_poc.h111 uint64_t buffers; member
132 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.java283 ByteBuffer[] buffers = codec.getInputBuffers(); in verifyException() local
293 ByteBuffer[] buffers = codec.getInputBuffers(); in verifyException() local
294 if (buffers == null) { in verifyException()
297 if (isVideoEncoder && buffers.length > 0) { in verifyException()
DAudioTrackTest.java1794 final int buffers = 2; // double buffering mode in playOnceStreamData() local
1796 (track.getBufferSizeInFrames() / buffers) * channelCount; in playOnceStreamData()
/cts/tests/tests/security/jni/
Dandroid_security_cts_cve_2019_2213_Test.c1533 void set_pipe_buffers(u32 buffers) { in set_pipe_buffers() argument
1534 winfo32(0x48, buffers); in set_pipe_buffers()