/frameworks/av/media/codecs/m4v_h263/enc/test/ |
D | m4v_h263_enc_test.cpp | 103 uint8_t *inputBuf = (uint8_t *)malloc((width * height * 3) / 2); in main() local 104 assert(inputBuf != NULL); in main() 114 free(inputBuf); in main() 123 free(inputBuf); in main() 134 free(inputBuf); in main() 188 free(inputBuf); in main() 199 free(inputBuf); in main() 213 bytesRead = fread(inputBuf, 1, frameSize, fpInput); in main() 225 vin.yChan = inputBuf; in main() 253 free(inputBuf); in main()
|
/frameworks/av/media/codecs/amrnb/fuzzer/ |
D | amrnb_dec_fuzzer.cpp | 66 uint8_t *inputBuf = new uint8_t[frameSize]; in decodeFrames() local 67 if (!inputBuf) { in decodeFrames() 71 memcpy(inputBuf, data, minSize); in decodeFrames() 72 AMRDecode(mAmrHandle, frameType, inputBuf, outputBuf, bitsreamFormat); in decodeFrames() 79 delete[] inputBuf; in decodeFrames()
|
/frameworks/av/media/codecs/amrwb/dec/fuzzer/ |
D | amrwb_dec_fuzzer.cpp | 77 uint8_t *inputBuf = new uint8_t[frameSize]; in decodeFrames() local 78 if (!inputBuf) { in decodeFrames() 82 memcpy(inputBuf, data, minSize); in decodeFrames() 85 mime_unsorting(inputBuf, inputSampleBuf, &frameType, &frameMode, quality, &rx_state); in decodeFrames() 93 delete[] inputBuf; in decodeFrames()
|
/frameworks/av/media/codecs/mp3dec/test/ |
D | mp3dec_test.cpp | 89 uint8_t *inputBuf = static_cast<uint8_t*>(malloc(kInputBufferSize)); in main() local 90 assert(inputBuf != NULL); in main() 101 bool success = mp3Reader.getFrame(inputBuf, &bytesRead); in main() 108 config.pInputBuffer = inputBuf; in main() 128 free(inputBuf); in main()
|
D | Mp3DecoderTest.cpp | 67 uint8_t inputBuf[kInputBufferSize]; in DecodeFrames() local 72 bool success = mMp3Reader.getFrame(inputBuf, &bytesRead); in DecodeFrames() 79 mConfig->pInputBuffer = inputBuf; in DecodeFrames()
|
/frameworks/av/media/codecs/amrnb/dec/test/ |
D | amrnbdec_test.cpp | 98 void *inputBuf = malloc(kInputBufferSize); in main() local 99 assert(inputBuf != NULL); in main() 124 bytesRead = fread(inputBuf, 1, frameSize, fpInput); in main() 129 decodeStatus = AMRDecode(amrHandle, frameType, (uint8_t*)inputBuf, in main() 147 free(inputBuf); in main()
|
D | AmrnbDecoderTest.cpp | 70 uint8_t inputBuf[kInputBufferSize]; in DecodeFrames() local 85 bytesRead = fread(inputBuf, 1, frameSize, mFpInput); in DecodeFrames() 88 int32_t bytesDecoded = AMRDecode(amrHandle, frameType, inputBuf, outputBuf, MIME_IETF); in DecodeFrames()
|
/frameworks/av/media/codecs/amrnb/enc/test/ |
D | amrnb_enc_test.cpp | 67 uint16_t *inputBuf = NULL; in encode() local 91 inputBuf = (uint16_t*) malloc(kInputSize); in encode() 92 assert(inputBuf != NULL); in encode() 108 bytesRead = fread(inputBuf, 1, kInputSize, fSrc); in encode() 124 (Word16*)inputBuf, outputBuf, &frame_type, in encode() 160 free(inputBuf); in encode()
|
D | AmrnbEncoderTest.cpp | 61 uint16_t inputBuf[kInputBufferSize]; in EncodeFrames() local 64 int32_t bytesRead = fread(inputBuf, 1, kInputBufferSize, fpInput); in EncodeFrames() 74 (Word16 *)inputBuf, outputBuf, &frame_type, AMR_TX_WMF); in EncodeFrames()
|
/frameworks/av/media/codecs/amrwb/dec/test/ |
D | amrwbdec_test.cpp | 100 uint8_t *inputBuf = (uint8_t*) malloc(kInputBufferSize); in main() local 101 assert(inputBuf != NULL); in main() 134 bytesRead = fread(inputBuf, 1, frameSize, fpInput); in main() 140 (uint8_t *)inputBuf, in main() 171 free(inputBuf); in main()
|
D | AmrwbDecoderTest.cpp | 74 uint8_t inputBuf[kInputBufferSize]; in DecodeFrames() local 97 bytesRead = fread(inputBuf, 1, frameSize, mFpInput); in DecodeFrames() 102 mime_unsorting(inputBuf, inputSampleBuf, &frameType, &frameMode, 1, &rx_state); in DecodeFrames()
|
/frameworks/av/media/codecs/amrnb/enc/fuzzer/ |
D | amrnb_enc_fuzzer.cpp | 79 Word16 inputBuf[kNumInputSamples] = {}; in encodeFrames() local 80 int32_t minSize = std::min(size, sizeof(inputBuf)); in encodeFrames() 83 memcpy(inputBuf, data, minSize); in encodeFrames() 85 AMREncode(mEncState, mSidState, mode, inputBuf, outputBuf, &frameType, outputFormat); in encodeFrames()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/wear/ |
D | InstallTask.java | 138 byte[] inputBuf = new byte[DEFAULT_BUFFER_SIZE]; in writeToOutputStreamFromAsset() 142 while ((bytesRead = inputStream.read(inputBuf)) > -1) { in writeToOutputStreamFromAsset() 144 outputStream.write(inputBuf, 0, bytesRead); in writeToOutputStreamFromAsset()
|