Home
last modified time | relevance | path

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

/frameworks/av/media/module/codecs/amrnb/dec/test/
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 …]
/frameworks/av/media/module/codecs/amrwb/dec/test/
DAmrwbDecoderTest.cpp49 AmrwbDecoderTest() : mFpInput(nullptr) {} in AmrwbDecoderTest()
52 if (mFpInput) { in ~AmrwbDecoderTest()
53 fclose(mFpInput); in ~AmrwbDecoderTest()
54 mFpInput = nullptr; in ~AmrwbDecoderTest()
58 FILE *mFpInput; member in AmrwbDecoderTest
82 int32_t bytesRead = fread(&modeByte, 1, 1, mFpInput); in DecodeFrames()
98 bytesRead = fread(inputBuf, 1, frameSize, mFpInput); in DecodeFrames()
151 mFpInput = fopen(inputFile.c_str(), "rb"); in TEST_P()
152 ASSERT_NE(mFpInput, nullptr) << "Error opening input file " << inputFile; in TEST_P()
177 mFpInput = fopen(inputFile.c_str(), "rb"); in TEST_P()
[all …]
/frameworks/av/media/module/mpeg2ts/test/
DMpeg2tsUnitTest.cpp52 : mInputBuffer(nullptr), mSource(nullptr), mFpInput(nullptr), mParser(nullptr) {} in Mpeg2tsUnitTest()
56 if (mFpInput) fclose(mFpInput); in ~Mpeg2tsUnitTest()
71 mFpInput = fopen(inputFile.c_str(), "rb"); in SetUp()
72 ASSERT_NE(mFpInput, nullptr) << "Failed to open file: " << inputFile; in SetUp()
80 int32_t fd = fileno(mFpInput); in SetUp()
101 FILE *mFpInput; member in Mpeg2tsUnitTest
/frameworks/av/media/module/codecs/m4v_h263/enc/test/
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()