Home
last modified time | relevance | path

Searched refs:fpOutput (Results 1 – 3 of 3) sorted by relevance

/frameworks/av/media/libstagefright/codecs/amrnb/enc/test/
DAmrnbEncoderTest.cpp118 FILE *fpOutput = fopen(OUTPUT_FILE, "wb"); in TEST_P() local
119 ASSERT_NE(fpOutput, nullptr) << "Error opening output file " << OUTPUT_FILE; in TEST_P()
122 fwrite("#!AMR\n", 1, 6, fpOutput); in TEST_P()
125 int32_t encodeErr = EncodeFrames(mode, fpInput, fpOutput); in TEST_P()
128 fclose(fpOutput); in TEST_P()
149 FILE *fpOutput = fopen(OUTPUT_FILE, "wb"); in TEST_P() local
150 ASSERT_NE(fpOutput, nullptr) << "Error opening output file " << OUTPUT_FILE; in TEST_P()
153 fwrite("#!AMR\n", 1, 6, fpOutput); in TEST_P()
157 int32_t encodeErr = EncodeFrames(mode, fpInput, fpOutput, kNumFrameReset); in TEST_P()
164 encodeErr = EncodeFrames(mode, fpInput, fpOutput); in TEST_P()
[all …]
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/test/
Dm4v_h263_enc_test.cpp120 FILE *fpOutput = fopen(argv[2], "wb"); in main() local
121 if (fpOutput == NULL) { in main()
137 fclose(fpOutput); in main()
187 fclose(fpOutput); in main()
198 fclose(fpOutput); in main()
203 fwrite(outputBuf, 1, headerLength, fpOutput); in main()
245 fwrite(outputBuf, 1, dataLength, fpOutput); in main()
250 fclose(fpOutput); in main()
/frameworks/av/media/libstagefright/codecs/amrwbenc/test/
DAmrwbEncoderTest.cpp98 FILE *fpOutput = fopen(OUTPUT_FILE, "wb"); in TEST_P() local
99 ASSERT_NE(fpOutput, nullptr) << "Error opening output file " << OUTPUT_FILE; in TEST_P()
117 fwrite(mOutputBuf, 1, size, fpOutput); in TEST_P()
139 fwrite(outData.Buffer, 1, outData.Length, fpOutput); in TEST_P()
140 fflush(fpOutput); in TEST_P()
152 if (fpOutput) { in TEST_P()
153 fclose(fpOutput); in TEST_P()