Home
last modified time | relevance | path

Searched refs:inBuf (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
DBitwiseStreamsTest.java36 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/av/media/libstagefright/codecs/amrwbenc/SampleCode/
DAMRWB_E_SAMPLE.c98 unsigned char *inBuf = InputBuf; in encode() local
203 inData.Buffer = (unsigned char *)inBuf; in encode()
241 inBuf = InputBuf; in encode()
/frameworks/base/tools/aapt/
DZipFile.cpp745 unsigned char* inBuf = NULL; in compressFpToFp() local
755 inBuf = new unsigned char[kBufSize]; in compressFpToFp()
757 if (inBuf == NULL || outBuf == NULL) { in compressFpToFp()
802 memcpy(inBuf, data, getSize); in compressFpToFp()
806 getSize = fread(inBuf, 1, kBufSize, srcFp); in compressFpToFp()
818 crc = crc32(crc, inBuf, getSize); in compressFpToFp()
820 zstream.next_in = inBuf; in compressFpToFp()
862 delete[] inBuf; in compressFpToFp()
/frameworks/av/media/libeffects/preprocessing/
DPreProcessing.cpp117 int16_t *inBuf; // input buffer used when resampling member
869 session->inBuf = NULL; in Session_CreateEffect()
922 delete session->inBuf; in Session_ReleaseEffect()
923 session->inBuf = NULL; in Session_ReleaseEffect()
1263 buf = (int16_t *)realloc(session->inBuf, in PreProcessingFx_Process()
1267 free(session->inBuf); in PreProcessingFx_Process()
1268 session->inBuf = NULL; in PreProcessingFx_Process()
1271 session->inBuf = buf; in PreProcessingFx_Process()
1273 memcpy(session->inBuf + session->framesIn * session->inChannelCount, in PreProcessingFx_Process()
1295 session->inBuf, in PreProcessingFx_Process()
[all …]
/frameworks/base/core/jni/
Dandroid_hardware_camera2_DngCreator.cpp476 JniInputByteBuffer(JNIEnv* env, jobject inBuf);
494 JniInputByteBuffer::JniInputByteBuffer(JNIEnv* env, jobject inBuf) : mInBuf(inBuf), mEnv(env) { in JniInputByteBuffer() argument
2447 sp<JniInputByteBuffer> inBuf; in DngCreator_nativeWriteImage() local
2498 inBuf = new JniInputByteBuffer(env, inBuffer); in DngCreator_nativeWriteImage()
2501 InputStripSource stripSource(env, *inBuf, targetIfd, uWidth, uHeight, pStride, in DngCreator_nativeWriteImage()
/frameworks/rs/cpu_ref/
DrsCpuCore.cpp492 static const char *format_bytes(FormatBuf *outBuf, const uint8_t *inBuf, const int inBytes) { in format_bytes() argument
501 sprintf(*outBuf + pos, "%02x", inBuf[i]); in format_bytes()