Home
last modified time | relevance | path

Searched refs:mFpInput (Results 1 – 4 of 4) sorted by relevance

/aosp12/frameworks/av/media/codecs/amrnb/dec/test/
H A DAmrnbDecoderTest.cpp45 AmrnbDecoderTest() : mFpInput(nullptr) {} in AmrnbDecoderTest()
48 if (mFpInput) { in ~AmrnbDecoderTest()
49 fclose(mFpInput); in ~AmrnbDecoderTest()
50 mFpInput = nullptr; in ~AmrnbDecoderTest()
54 FILE *mFpInput; member in AmrnbDecoderTest
75 int32_t bytesRead = fread(&mode, 1, 1, mFpInput); in DecodeFrames()
85 bytesRead = fread(inputBuf, 1, frameSize, mFpInput); in DecodeFrames()
110 mFpInput = fopen(inputFile.c_str(), "rb"); in TEST_P()
111 ASSERT_NE(mFpInput, nullptr) << "Error opening input file " << inputFile; in TEST_P()
133 mFpInput = fopen(inputFile.c_str(), "rb"); in TEST_P()
[all …]
/aosp12/frameworks/av/media/codecs/amrwb/dec/test/
H A DAmrwbDecoderTest.cpp48 AmrwbDecoderTest() : mFpInput(nullptr) {} in AmrwbDecoderTest()
51 if (mFpInput) { in ~AmrwbDecoderTest()
52 fclose(mFpInput); in ~AmrwbDecoderTest()
53 mFpInput = nullptr; in ~AmrwbDecoderTest()
57 FILE *mFpInput; member in AmrwbDecoderTest
81 int32_t bytesRead = fread(&modeByte, 1, 1, mFpInput); in DecodeFrames()
97 bytesRead = fread(inputBuf, 1, frameSize, mFpInput); in DecodeFrames()
154 mFpInput = fopen(inputFile.c_str(), "rb"); in TEST_P()
155 ASSERT_NE(mFpInput, nullptr) << "Error opening input file " << inputFile; in TEST_P()
184 mFpInput = fopen(inputFile.c_str(), "rb"); in TEST_P()
[all …]
/aosp12/frameworks/av/media/libstagefright/mpeg2ts/test/
H A DMpeg2tsUnitTest.cpp53 : mInputBuffer(nullptr), mSource(nullptr), mFpInput(nullptr), mParser(nullptr) {} in Mpeg2tsUnitTest()
57 if (mFpInput) fclose(mFpInput); in ~Mpeg2tsUnitTest()
72 mFpInput = fopen(inputFile.c_str(), "rb"); in SetUp()
73 ASSERT_NE(mFpInput, nullptr) << "Failed to open file: " << inputFile; in SetUp()
81 int32_t fd = fileno(mFpInput); in SetUp()
102 FILE *mFpInput; member in Mpeg2tsUnitTest
/aosp12/frameworks/av/media/codecs/m4v_h263/enc/test/
H A DMpeg4H263EncoderTest.cpp47 mFpInput(nullptr), in Mpeg4H263EncoderTest()
53 if(mFpInput) { in ~Mpeg4H263EncoderTest()
54 fclose(mFpInput); in ~Mpeg4H263EncoderTest()
104 FILE *mFpInput, *mFpOutput; member in Mpeg4H263EncoderTest
164 bytesRead = fread(mInputBuffer, 1, frameSize, mFpInput); in processEncoder()
204 mFpInput = fopen(mFileName.c_str(), "rb"); in TEST_P()
205 ASSERT_NE(mFpInput, nullptr) << "Failed to open the input file: " << mFileName; in TEST_P()