Home
last modified time | relevance | path

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

/frameworks/av/media/module/codecs/amrnb/dec/test/
Damrnbdec_test.cpp59 FILE* fpInput = fopen(argv[1], "rb"); in main() local
60 if (!fpInput) { in main()
67 int bytesRead = fread(header, 1, kFileHeaderSize, fpInput); in main()
70 fclose(fpInput); in main()
83 fclose(fpInput); in main()
92 fclose(fpInput); in main()
111 bytesRead = fread(&mode, 1, 1, fpInput); in main()
124 bytesRead = fread(inputBuf, 1, frameSize, fpInput); in main()
143 fclose(fpInput); in main()
/frameworks/av/media/module/codecs/amrnb/enc/test/
DAmrnbEncoderTest.cpp54 int32_t EncodeFrames(int32_t mode, FILE *fpInput, FILE *mFpOutput,
58 int32_t AmrnbEncoderTest::EncodeFrames(int32_t mode, FILE *fpInput, FILE *mFpOutput, in EncodeFrames() argument
64 int32_t bytesRead = fread(inputBuf, 1, kInputBufferSize, fpInput); in EncodeFrames()
65 if (bytesRead != kInputBufferSize && !feof(fpInput)) { in EncodeFrames()
68 } else if (feof(fpInput) && bytesRead == 0) { in EncodeFrames()
115 FILE *fpInput = fopen(inputFile.c_str(), "rb"); in TEST_P() local
116 ASSERT_NE(fpInput, nullptr) << "Error opening input file " << inputFile; in TEST_P()
125 int32_t encodeErr = EncodeFrames(mode, fpInput, fpOutput); in TEST_P()
129 fclose(fpInput); in TEST_P()
146 FILE *fpInput = fopen(inputFile.c_str(), "rb"); in TEST_P() local
[all …]
/frameworks/av/media/module/codecs/amrwb/dec/test/
Damrwbdec_test.cpp60 FILE* fpInput = fopen(argv[1], "rb"); in main() local
61 if (fpInput == NULL) { in main()
68 int bytesRead = fread(header, 1, kFileHeaderSize, fpInput); in main()
72 fclose(fpInput); in main()
85 fclose(fpInput); in main()
117 bytesRead = fread(&modeByte, 1, 1, fpInput); in main()
134 bytesRead = fread(inputBuf, 1, frameSize, fpInput); in main()
167 fclose(fpInput); in main()
/frameworks/av/media/module/codecs/m4v_h263/enc/test/
Dm4v_h263_enc_test.cpp111 FILE *fpInput = fopen(argv[1], "rb"); in main() local
112 if (fpInput == NULL) { in main()
125 fclose(fpInput); in main()
136 fclose(fpInput); in main()
186 fclose(fpInput); in main()
197 fclose(fpInput); in main()
213 bytesRead = fread(inputBuf, 1, frameSize, fpInput); in main()
249 fclose(fpInput); in main()
/frameworks/av/media/module/codecs/amrwb/enc/test/
DAmrwbEncoderTest.cpp95 FILE *fpInput = fopen(mInputFile.c_str(), "rb"); in TEST_P() local
96 ASSERT_NE(fpInput, nullptr) << "Error opening input file " << mInputFile; in TEST_P()
123 (int32_t)fread(mInputBuf, sizeof(signed char), kInputBufferSize, fpInput); in TEST_P()
125 if (buffLength == 0 || feof(fpInput)) break; in TEST_P()
149 if (fpInput) { in TEST_P()
150 fclose(fpInput); in TEST_P()
/frameworks/av/media/libeffects/preprocessing/tests/
DEffectPreprocessingTest.cpp287 auto* fpInput = &testInput[i * channelCount]; in TEST_P() local
288 std::fill(fpInput, fpInput + channelCount, monoInput[i]); in TEST_P()