Home
last modified time | relevance | path

Searched refs:outputBuf (Results 1 – 14 of 14) sorted by relevance

/frameworks/av/media/module/codecs/m4v_h263/enc/test/
Dm4v_h263_enc_test.cpp107 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/
Damrnb_enc_test.cpp68 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()
DAmrnbEncoderTest.cpp62 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/
Damrwbdec_test.cpp108 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()
DAmrwbDecoderTest.cpp77 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/
Dmp3dec_test.cpp93 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()
DMp3DecoderTest.cpp69 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/
Damrnbdec_test.cpp102 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()
DAmrnbDecoderTest.cpp71 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/
Damrnb_dec_fuzzer.cpp65 int16_t outputBuf[kOutputBufferSize]; in decodeFrames() local
72 AMRDecode(mAmrHandle, frameType, inputBuf, outputBuf, bitsreamFormat); in decodeFrames()
/frameworks/av/media/module/codecs/amrnb/enc/fuzzer/
Damrnb_enc_fuzzer.cpp82 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/
Damrwb_dec_fuzzer.cpp88 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/
Damrwb_enc_fuzzer.cpp112 uint8_t outputBuf[kOutputBufferSize] = {}; in encodeFrames() local
118 outData.Buffer = outputBuf; in encodeFrames()
/frameworks/av/media/module/codecs/mp3dec/fuzzer/
Dmp3_dec_fuzzer.cpp194 int16_t outputBuf[outBufSize]; in decodeFrames() local
199 mConfig->pOutputBuffer = outputBuf; in decodeFrames()