/frameworks/av/media/module/codecs/m4v_h263/enc/test/ |
D | m4v_h263_enc_test.cpp | 107 uint8_t *outputBuf = (uint8_t *)malloc(kOutputBufferSize); in main() local 108 assert(outputBuf != NULL); in main() 115 free(outputBuf); in main() 124 free(outputBuf); in main() 135 free(outputBuf); in main() 189 free(outputBuf); in main() 195 if (!PVGetVolHeader(&handle, outputBuf, &headerLength, 0)) { in main() 200 free(outputBuf); in main() 203 fwrite(outputBuf, 1, headerLength, fpOutput); in main() 234 &modTimeMs, outputBuf, &dataLength, &nLayer) || in main() [all …]
|
/frameworks/av/media/module/codecs/amrnb/enc/test/ |
D | amrnb_enc_test.cpp | 68 uint8_t *outputBuf = NULL; in encode() local 95 outputBuf = (uint8_t*) malloc(kOutputSize); in encode() 96 assert(outputBuf != NULL); in encode() 124 (Word16*)inputBuf, outputBuf, &frame_type, in encode() 129 outputBuf[0] = ((outputBuf[0] << 3) | 4) & 0x7c; in encode() 145 fwrite(outputBuf, 1, bytesGenerated, fDst); in encode() 161 free(outputBuf); in encode()
|
D | AmrnbEncoderTest.cpp | 62 uint8_t outputBuf[kOutputBufferSize]; in EncodeFrames() local 74 (Word16 *)inputBuf, outputBuf, &frame_type, AMR_TX_WMF); in EncodeFrames() 83 outputBuf[0] = ((outputBuf[0] << 3) | 4) & 0x7c; in EncodeFrames() 85 fwrite(outputBuf, 1, bytesGenerated, mFpOutput); in EncodeFrames()
|
/frameworks/av/media/module/codecs/amrwb/dec/test/ |
D | amrwbdec_test.cpp | 108 int16_t *outputBuf = (int16_t*) malloc(kOutputBufferSize); in main() local 109 assert(outputBuf != NULL); in main() 130 memset(outputBuf, 0, kOutputBufferSize); in main() 147 outputBuf, in main() 158 outputBuf[i] &= 0xfffC; in main() 163 sf_writef_short(handle, outputBuf, kSamplesPerFrame / kChannels); in main() 173 free(outputBuf); in main()
|
D | AmrwbDecoderTest.cpp | 77 int16_t outputBuf[kOutputBufferSize]; in DecodeFrames() local 89 memset(outputBuf, 0, outputBufferSize); in DecodeFrames() 106 pvDecoder_AmrWb(frameMode, inputSampleBuf, outputBuf, &numSamplesOutput, decoderBuf, in DecodeFrames() 114 outputBuf[count] &= 0xfffc; in DecodeFrames() 117 sf_writef_short(outFileHandle, outputBuf, kSamplesPerFrame / kChannels); in DecodeFrames()
|
/frameworks/av/media/module/codecs/mp3dec/test/ |
D | mp3dec_test.cpp | 93 int16_t *outputBuf = static_cast<int16_t*>(malloc(kOutputBufferSize)); in main() local 94 assert(outputBuf != NULL); in main() 109 config.pOutputBuffer = outputBuf; in main() 119 sf_writef_short(handle, outputBuf, in main() 129 free(outputBuf); in main()
|
D | Mp3DecoderTest.cpp | 69 int16_t outputBuf[kOutputBufferSize]; in DecodeFrames() local 81 mConfig->pOutputBuffer = outputBuf; in DecodeFrames() 85 sf_writef_short(outFileHandle, outputBuf, mConfig->outputFrameSize / sfInfo.channels); in DecodeFrames()
|
/frameworks/av/media/module/codecs/amrnb/dec/test/ |
D | amrnbdec_test.cpp | 102 void *outputBuf = malloc(kOutputBufferSize); in main() local 103 assert(outputBuf != NULL); in main() 130 (int16_t*)outputBuf, MIME_IETF); in main() 138 sf_writef_short(handle, (int16_t*)outputBuf, kSamplesPerFrame); in main() 148 free(outputBuf); in main()
|
D | AmrnbDecoderTest.cpp | 71 int16_t outputBuf[kOutputBufferSize]; in DecodeFrames() local 88 int32_t bytesDecoded = AMRDecode(amrHandle, frameType, inputBuf, outputBuf, MIME_IETF); in DecodeFrames() 94 sf_writef_short(outFileHandle, outputBuf, kSamplesPerFrame); in DecodeFrames()
|
/frameworks/av/media/module/codecs/amrnb/fuzzer/ |
D | amrnb_dec_fuzzer.cpp | 65 int16_t outputBuf[kOutputBufferSize]; in decodeFrames() local 72 AMRDecode(mAmrHandle, frameType, inputBuf, outputBuf, bitsreamFormat); in decodeFrames()
|
/frameworks/av/media/module/codecs/amrnb/enc/fuzzer/ |
D | amrnb_enc_fuzzer.cpp | 82 uint8_t outputBuf[kOutputBufferSize] = {}; in encodeFrames() local 85 AMREncode(mEncState, mSidState, mode, inputBuf, outputBuf, &frameType, outputFormat); in encodeFrames()
|
/frameworks/av/media/module/codecs/amrwb/dec/fuzzer/ |
D | amrwb_dec_fuzzer.cpp | 88 int16_t outputBuf[kOutputBufferSize]; in decodeFrames() local 89 pvDecoder_AmrWb(frameMode, inputSampleBuf, outputBuf, &numSamplesOutput, mDecoderBuffer, in decodeFrames()
|
/frameworks/av/media/module/codecs/amrwb/enc/fuzzer/ |
D | amrwb_enc_fuzzer.cpp | 112 uint8_t outputBuf[kOutputBufferSize] = {}; in encodeFrames() local 118 outData.Buffer = outputBuf; in encodeFrames()
|
/frameworks/av/media/module/codecs/mp3dec/fuzzer/ |
D | mp3_dec_fuzzer.cpp | 194 int16_t outputBuf[outBufSize]; in decodeFrames() local 199 mConfig->pOutputBuffer = outputBuf; in decodeFrames()
|