Searched refs:inBuf (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/core/tests/coretests/src/com/android/internal/util/ |
D | BitwiseStreamsTest.java | 36 byte[] inBuf = HexDump.hexStringToByteArray("FFDD"); in testOne() 39 for (int i = 0; i < inBuf.length; i++) outStream.write(8, inBuf[i]); in testOne() 42 byte[] inBufDup = new byte[inBuf.length]; in testOne() 45 assertEquals(HexDump.toHexString(inBuf), HexDump.toHexString(inBufDup)); in testOne() 51 byte[] inBuf = HexDump.hexStringToByteArray("11d4f29c0e9ad3c36e72584e064d9b53"); in testTwo() 54 for (int i = 0; i < inBuf.length; i++) outStream.write(8, inBuf[i]); in testTwo() 57 byte[] inBufDup = new byte[inBuf.length]; in testTwo() 59 assertEquals(HexDump.toHexString(inBuf), HexDump.toHexString(inBufDup)); in testTwo() 65 byte[] inBuf = HexDump.hexStringToByteArray("00031040900112488ea794e0"); in testThree() 68 for (int i = 0; i < inBuf.length; i++) outStream.write(8, inBuf[i]); in testThree() [all …]
|
/frameworks/base/media/jni/ |
D | android_media_AmrInputStream.cpp | 75 jbyte inBuf[BYTES_PER_FRAME]; in android_media_AmrInputStream_GsmAmrEncoderEncode() local 78 env->GetByteArrayRegion(pcm, pcmOffset, sizeof(inBuf), inBuf); in android_media_AmrInputStream_GsmAmrEncoderEncode() 82 (int16_t *) inBuf, in android_media_AmrInputStream_GsmAmrEncoderEncode()
|
/frameworks/av/media/libstagefright/codecs/aacenc/SampleCode/ |
D | AAC_E_SAMPLES.c | 34 unsigned char inBuf[READ_SIZE]; variable 146 int *info=(int*)inBuf; in main() 220 inData.Buffer = inBuf; in main() 261 nRead = ReadFile2Buf(infile, inBuf,READ_SIZE); in main() 263 inData.Buffer = inBuf; in main()
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/SampleCode/ |
D | AMRWB_E_SAMPLE.c | 97 unsigned char *inBuf = InputBuf; in encode() local 199 inData.Buffer = (unsigned char *)inBuf; in encode() 237 inBuf = InputBuf; in encode()
|
/frameworks/base/tools/aapt/ |
D | ZipFile.cpp | 748 unsigned char* inBuf = NULL; in compressFpToFp() local 758 inBuf = new unsigned char[kBufSize]; in compressFpToFp() 760 if (inBuf == NULL || outBuf == NULL) { in compressFpToFp() 805 memcpy(inBuf, data, getSize); in compressFpToFp() 809 getSize = fread(inBuf, 1, kBufSize, srcFp); in compressFpToFp() 821 crc = crc32(crc, inBuf, getSize); in compressFpToFp() 823 zstream.next_in = inBuf; in compressFpToFp() 865 delete[] inBuf; in compressFpToFp()
|
/frameworks/av/media/libeffects/preprocessing/ |
D | PreProcessing.cpp | 116 int16_t *inBuf; // input buffer used when resampling member 812 session->inBuf = NULL; in Session_CreateEffect() 865 delete session->inBuf; in Session_ReleaseEffect() 866 session->inBuf = NULL; in Session_ReleaseEffect() 1216 session->inBuf = (int16_t *)realloc(session->inBuf, in PreProcessingFx_Process() 1219 memcpy(session->inBuf + session->framesIn * session->inChannelCount, in PreProcessingFx_Process() 1241 session->inBuf, in PreProcessingFx_Process() 1247 session->inBuf, in PreProcessingFx_Process() 1252 memcpy(session->inBuf, in PreProcessingFx_Process() 1253 session->inBuf + frIn * session->inChannelCount, in PreProcessingFx_Process()
|
/frameworks/base/core/jni/ |
D | android_hardware_camera2_DngCreator.cpp | 329 JniInputByteBuffer(JNIEnv* env, jobject inBuf); 347 JniInputByteBuffer::JniInputByteBuffer(JNIEnv* env, jobject inBuf) : mInBuf(inBuf), mEnv(env) { in JniInputByteBuffer() argument 1834 sp<JniInputByteBuffer> inBuf; in DngCreator_nativeWriteImage() local 1885 inBuf = new JniInputByteBuffer(env, inBuffer); in DngCreator_nativeWriteImage() 1888 InputStripSource stripSource(env, *inBuf, targetIfd, uWidth, uHeight, pStride, in DngCreator_nativeWriteImage()
|