Home
last modified time | relevance | path

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

/frameworks/av/media/module/codecs/amrnb/enc/test/
DAmrnbEncoderTest.cpp44 AmrnbEncoderTest() : mAmrEncHandle(nullptr) {} in AmrnbEncoderTest()
47 if (mAmrEncHandle) { in ~AmrnbEncoderTest()
48 free(mAmrEncHandle); in ~AmrnbEncoderTest()
49 mAmrEncHandle = nullptr; in ~AmrnbEncoderTest()
53 AmrNbEncState *mAmrEncHandle; member in AmrnbEncoderTest
73 AMREncode(mAmrEncHandle->encCtx, mAmrEncHandle->pidSyncCtx, (Mode)mode, in EncodeFrames()
91 mAmrEncHandle = (AmrNbEncState *)malloc(sizeof(AmrNbEncState)); in TEST_F()
92 ASSERT_NE(mAmrEncHandle, nullptr) << "Error in allocating memory to Codec handle"; in TEST_F()
94 int32_t status = AMREncodeInit(&mAmrEncHandle->encCtx, &mAmrEncHandle->pidSyncCtx, 0); in TEST_F()
98 if (mAmrEncHandle) { in TEST_F()
[all …]