Home
last modified time | relevance | path

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

/frameworks/base/services/core/jni/
Dcom_android_server_am_BatteryStatsService.cpp65 static jint nativeWaitWakeup(JNIEnv *env, jobject clazz, jobject outBuf) in nativeWaitWakeup() argument
67 if (outBuf == NULL) { in nativeWaitWakeup()
105 char* mergedreason = (char*)env->GetDirectBufferAddress(outBuf); in nativeWaitWakeup()
106 int remainreasonlen = (int)env->GetDirectBufferCapacity(outBuf); in nativeWaitWakeup()
176 static jint getPlatformLowPowerStats(JNIEnv* env, jobject /* clazz */, jobject outBuf) { in getPlatformLowPowerStats() argument
178 char *output = (char*)env->GetDirectBufferAddress(outBuf), *offset = output; in getPlatformLowPowerStats()
179 int remaining = (int)env->GetDirectBufferCapacity(outBuf); in getPlatformLowPowerStats()
184 if (outBuf == NULL) { in getPlatformLowPowerStats()
/frameworks/base/media/jni/
Dandroid_media_AmrInputStream.cpp76 jbyte outBuf[MAX_OUTPUT_BUFFER_SIZE]; in android_media_AmrInputStream_GsmAmrEncoderEncode() local
83 (unsigned char *) outBuf, in android_media_AmrInputStream_GsmAmrEncoderEncode()
99 outBuf[0] = (outBuf[0] << 3) | 0x4; in android_media_AmrInputStream_GsmAmrEncoderEncode()
102 env->SetByteArrayRegion(amr, amrOffset, length, outBuf); in android_media_AmrInputStream_GsmAmrEncoderEncode()
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
Dh264bsd_dpb.c810 dpb->outBuf[dpb->numOut].data = dpb->currentOut->data; in h264bsdMarkDecRefPic()
811 dpb->outBuf[dpb->numOut].isIdr = dpb->currentOut->isIdr; in h264bsdMarkDecRefPic()
812 dpb->outBuf[dpb->numOut].picId = dpb->currentOut->picId; in h264bsdMarkDecRefPic()
813 dpb->outBuf[dpb->numOut].numErrMbs = dpb->currentOut->numErrMbs; in h264bsdMarkDecRefPic()
1041 ALLOCATE(dpb->outBuf, dpb->dpbSize+1, dpbOutPicture_t); in h264bsdInitDpb()
1043 if (dpb->list == NULL || dpb->outBuf == NULL) in h264bsdInitDpb()
1333 if (dpb->outBuf[i].data == dpb->buffer[dpb->dpbSize].data) in h264bsdCheckGapsInFrameNum()
1451 dpb->outBuf[dpb->numOut].data = tmp->data; in OutputPicture()
1452 dpb->outBuf[dpb->numOut].isIdr = tmp->isIdr; in OutputPicture()
1453 dpb->outBuf[dpb->numOut].picId = tmp->picId; in OutputPicture()
[all …]
Dh264bsd_dpb.h82 dpbOutPicture_t *outBuf; member
/frameworks/av/media/libstagefright/codecs/amrwbenc/SampleCode/
DAMRWB_E_SAMPLE.c99 unsigned char *outBuf = OutputBuf; in encode() local
192 memcpy(outBuf, VOAMRWB_RFC3267_HEADER_INFO, size1); in encode()
193 outBuf += size1; in encode()
202 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/av/media/libstagefright/codecs/aacenc/SampleCode/
DAAC_E_SAMPLES.c33 unsigned char outBuf[1024*8]; variable
228 outData.Buffer = outBuf; in main()
236 outData.Buffer = outBuf; in main()
/frameworks/av/media/libeffects/preprocessing/
DPreProcessing.cpp121 int16_t *outBuf; // output buffer used when resampling member
870 session->outBuf = NULL; in Session_CreateEffect()
922 delete session->outBuf; in Session_ReleaseEffect()
923 session->outBuf = NULL; in Session_ReleaseEffect()
1242 session->outBuf, in PreProcessingFx_Process()
1244 memcpy(session->outBuf, in PreProcessingFx_Process()
1245 session->outBuf + fr * session->outChannelCount, in PreProcessingFx_Process()
1343 buf = (int16_t *)realloc(session->outBuf, in PreProcessingFx_Process()
1347 free(session->outBuf); in PreProcessingFx_Process()
1348 session->outBuf = NULL; in PreProcessingFx_Process()
[all …]
/frameworks/base/include/androidfw/
DStreamingZipInflater.h43 ssize_t read(void* outBuf, size_t count);
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
DBitwiseStreamsTest.java40 byte[] outBuf = outStream.toByteArray(); in testOne()
41 BitwiseInputStream inStream = new BitwiseInputStream(outBuf); in testOne()
/frameworks/rs/cpu_ref/
DrsCpuCore.cpp494 static const char *format_bytes(FormatBuf *outBuf, const uint8_t *inBuf, const int inBytes) { in format_bytes() argument
495 strcpy(*outBuf, ": "); in format_bytes()
500 sprintf(*outBuf + pos, (i % 4 ? "." : "|")); in format_bytes()
503 sprintf(*outBuf + pos, "%02x", inBuf[i]); in format_bytes()
507 strcpy(*outBuf + pos, "..."); in format_bytes()
508 return *outBuf; in format_bytes()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DVirtualDisplaySurface.cpp319 sp<GraphicBuffer>* outBuf) { in requestBuffer() argument
321 return mSource[SOURCE_SINK]->requestBuffer(pslot, outBuf); in requestBuffer()
327 *outBuf = mProducerBuffers[pslot]; in requestBuffer()
DVirtualDisplaySurface.h103 virtual status_t requestBuffer(int pslot, sp<GraphicBuffer>* outBuf);