Home
last modified time | relevance | path

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

/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/amrwbenc/SampleCode/
DAMRWB_E_SAMPLE.c98 unsigned char *outBuf = OutputBuf; in encode() local
191 memcpy(outBuf, VOAMRWB_RFC3267_HEADER_INFO, size1); in encode()
192 outBuf += size1; in encode()
201 outData.Buffer = outBuf; in encode()
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
Dh264bsd_dpb.c809 dpb->outBuf[dpb->numOut].data = dpb->currentOut->data; in h264bsdMarkDecRefPic()
810 dpb->outBuf[dpb->numOut].isIdr = dpb->currentOut->isIdr; in h264bsdMarkDecRefPic()
811 dpb->outBuf[dpb->numOut].picId = dpb->currentOut->picId; in h264bsdMarkDecRefPic()
812 dpb->outBuf[dpb->numOut].numErrMbs = dpb->currentOut->numErrMbs; in h264bsdMarkDecRefPic()
1033 ALLOCATE(dpb->outBuf, dpb->dpbSize+1, dpbOutPicture_t); in h264bsdInitDpb()
1035 if (dpb->list == NULL || dpb->outBuf == NULL) in h264bsdInitDpb()
1325 if (dpb->outBuf[i].data == dpb->buffer[dpb->dpbSize].data) in h264bsdCheckGapsInFrameNum()
1443 dpb->outBuf[dpb->numOut].data = tmp->data; in OutputPicture()
1444 dpb->outBuf[dpb->numOut].isIdr = tmp->isIdr; in OutputPicture()
1445 dpb->outBuf[dpb->numOut].picId = tmp->picId; in OutputPicture()
[all …]
Dh264bsd_dpb.h82 dpbOutPicture_t *outBuf; member
/frameworks/base/tools/aapt/
DZipFile.cpp749 unsigned char* outBuf = NULL; in compressFpToFp() local
759 outBuf = new unsigned char[kBufSize]; in compressFpToFp()
760 if (inBuf == NULL || outBuf == NULL) { in compressFpToFp()
774 zstream.next_out = outBuf; in compressFpToFp()
843 ALOGV("+++ writing %d bytes\n", (int) (zstream.next_out - outBuf)); in compressFpToFp()
844 if (fwrite(outBuf, 1, zstream.next_out - outBuf, dstFp) != in compressFpToFp()
845 (size_t)(zstream.next_out - outBuf)) in compressFpToFp()
848 (int) (zstream.next_out - outBuf)); in compressFpToFp()
852 zstream.next_out = outBuf; in compressFpToFp()
866 delete[] outBuf; in compressFpToFp()
/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/base/libs/androidfw/
DStreamingZipInflater.cpp134 ssize_t StreamingZipInflater::read(void* outBuf, size_t count) { in read() argument
135 uint8_t* dest = (uint8_t*) outBuf; in read()
142 if (outBuf != NULL) memcpy(dest, mOutBuf + mOutDeliverable, deliverable); in read()
/frameworks/av/media/libeffects/preprocessing/
DPreProcessing.cpp120 int16_t *outBuf; // output buffer used when resampling member
815 session->outBuf = NULL; in Session_CreateEffect()
867 delete session->outBuf; in Session_ReleaseEffect()
868 session->outBuf = NULL; in Session_ReleaseEffect()
1195 session->outBuf, in PreProcessingFx_Process()
1197 memcpy(session->outBuf, in PreProcessingFx_Process()
1198 session->outBuf + fr * session->outChannelCount, in PreProcessingFx_Process()
1288 session->outBuf = (int16_t *)realloc(session->outBuf, in PreProcessingFx_Process()
1300 session->outBuf + session->framesOut * session->outChannelCount, in PreProcessingFx_Process()
1306 session->outBuf + session->framesOut * session->outChannelCount, in PreProcessingFx_Process()
[all …]
/frameworks/base/include/androidfw/
DStreamingZipInflater.h43 ssize_t read(void* outBuf, size_t count);
/frameworks/base/core/tests/coretests/src/com/android/internal/util/
DBitwiseStreamsTest.java40 byte[] outBuf = outStream.toByteArray(); in testOne()
41 BitwiseInputStream inStream = new BitwiseInputStream(outBuf); in testOne()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DVirtualDisplaySurface.cpp270 sp<GraphicBuffer>* outBuf) { in requestBuffer() argument
272 return mSource[SOURCE_SINK]->requestBuffer(pslot, outBuf); in requestBuffer()
278 *outBuf = mProducerBuffers[pslot]; in requestBuffer()
DVirtualDisplaySurface.h100 virtual status_t requestBuffer(int pslot, sp<GraphicBuffer>* outBuf);