Home
last modified time | relevance | path

Searched refs:outBuf (Results 1 – 14 of 14) sorted by relevance

/frameworks/native/libs/ui/tests/
DGraphicBufferOverBinder_test.cpp96 status_t GetGraphicBuffer(sp<GraphicBuffer>* outBuf, uint32_t opCode) { in GetGraphicBuffer() argument
105 *outBuf = new GraphicBuffer(); in GetGraphicBuffer()
106 return reply.read(**outBuf); in GetGraphicBuffer()
/frameworks/av/media/module/codecs/amrwb/enc/SampleCode/
DAMRWB_E_SAMPLE.c99 unsigned char *outBuf = OutputBuf; in encode() local
195 memcpy(outBuf, VOAMRWB_RFC3267_HEADER_INFO, size1); in encode()
196 outBuf += size1; in encode()
205 outData.Buffer = outBuf; in encode()
/frameworks/base/tools/aapt/
DZipFile.cpp746 unsigned char* outBuf = NULL; in compressFpToFp() local
756 outBuf = new unsigned char[kBufSize]; in compressFpToFp()
757 if (inBuf == NULL || outBuf == NULL) { in compressFpToFp()
771 zstream.next_out = outBuf; in compressFpToFp()
840 ALOGV("+++ writing %d bytes\n", (int) (zstream.next_out - outBuf)); in compressFpToFp()
841 if (fwrite(outBuf, 1, zstream.next_out - outBuf, dstFp) != in compressFpToFp()
842 (size_t)(zstream.next_out - outBuf)) in compressFpToFp()
845 (int) (zstream.next_out - outBuf)); in compressFpToFp()
849 zstream.next_out = outBuf; in compressFpToFp()
863 delete[] outBuf; in compressFpToFp()
/frameworks/base/libs/androidfw/
DStreamingZipInflater.cpp136 ssize_t StreamingZipInflater::read(void* outBuf, size_t count) { in read() argument
137 uint8_t* dest = (uint8_t*) outBuf; in read()
144 if (outBuf != NULL) memcpy(dest, mOutBuf + mOutDeliverable, deliverable); in read()
/frameworks/base/services/core/jni/
Dcom_android_server_am_BatteryStatsService.cpp127 static jint nativeWaitWakeup(JNIEnv *env, jobject clazz, jobject outBuf) in nativeWaitWakeup() argument
129 if (outBuf == NULL) { in nativeWaitWakeup()
165 char* mergedreason = (char*)env->GetDirectBufferAddress(outBuf); in nativeWaitWakeup()
166 int remainreasonlen = (int)env->GetDirectBufferCapacity(outBuf); in nativeWaitWakeup()
/frameworks/base/libs/androidfw/include/androidfw/
DStreamingZipInflater.h45 ssize_t read(void* outBuf, size_t count);
/frameworks/base/core/jni/
Dandroid_hardware_camera2_impl_CameraExtensionJpegProcessor.cpp518 unsigned char* outBuf, size_t outBufCapacity, in compress() argument
564 return compress(finalWidth, finalHeight, yIter, cbIter, crIter, outBuf, outBufCapacity, flush, in compress()
581 jobject outBuf, jint outBufCapacity, in CameraExtensionJpegProcessor_compressJpegFromYUV420p() argument
592 jbyte* out = (jbyte*)env->GetDirectBufferAddress(outBuf); in CameraExtensionJpegProcessor_compressJpegFromYUV420p()
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
DBitwiseStreamsTest.java43 byte[] outBuf = outStream.toByteArray(); in testOne()
44 BitwiseInputStream inStream = new BitwiseInputStream(outBuf); in testOne()
/frameworks/ex/camera2/extensions/advancedSample/src/java/androidx/camera/extensions/impl/advanced/
DJpegEncoder.java95 ByteBuffer outBuf, int outBufCapacity, in compressJpegFromYUV420pNative() argument
/frameworks/ex/camera2/extensions/jni/
DJpegEncoder.cpp516 unsigned char* outBuf, size_t outBufCapacity, in compress() argument
562 return compress(finalWidth, finalHeight, yIter, cbIter, crIter, outBuf, outBufCapacity, flush, in compress()
579 jobject outBuf, jint outBufCapacity, in JpegEncoder_compressJpegFromYUV420p() argument
591 jbyte* out = (jbyte*)env->GetDirectBufferAddress(outBuf); in JpegEncoder_compressJpegFromYUV420p()
/frameworks/rs/cpu_ref/
DrsCpuCore.cpp492 static const char *format_bytes(FormatBuf *outBuf, const uint8_t *inBuf, const int inBytes) { in format_bytes() argument
493 strlcpy(*outBuf, ": ", sizeof(*outBuf)); in format_bytes()
498 sprintf(*outBuf + pos, (i % 4 ? "." : "|")); in format_bytes()
501 sprintf(*outBuf + pos, "%02x", inBuf[i]); in format_bytes()
505 strlcpy(*outBuf + pos, "...", sizeof(FormatBuf) - pos); in format_bytes()
506 return *outBuf; in format_bytes()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DVirtualDisplaySurface.cpp296 sp<GraphicBuffer>* outBuf) { in requestBuffer() argument
298 return mSource[SOURCE_SINK]->requestBuffer(pslot, outBuf); in requestBuffer()
304 *outBuf = mProducerBuffers[pslot]; in requestBuffer()
DVirtualDisplaySurface.h110 virtual status_t requestBuffer(int pslot, sp<GraphicBuffer>* outBuf);
/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraExtensionJpegProcessor.java191 ByteBuffer outBuf, int outBufCapacity, in compressJpegFromYUV420pNative() argument