Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/codecs/amrwbenc/test/
DAmrwbEncoderTest.cpp39 AmrwbEncoderTest() : mEncoderHandle(nullptr) { in AmrwbEncoderTest()
55 if (mEncoderHandle) { in ~AmrwbEncoderTest()
56 mEncoderHandle = nullptr; in ~AmrwbEncoderTest()
67 VO_HANDLE mEncoderHandle; member in AmrwbEncoderTest
75 status = mApiHandle.Init(&mEncoderHandle, VO_AUDIO_CodingAMRWB, &mUserData); in TEST_P()
78 status = mApiHandle.SetParam(mEncoderHandle, VO_PID_AMRWB_FRAMETYPE, &mFrameType); in TEST_P()
81 status = mApiHandle.SetParam(mEncoderHandle, VO_PID_AMRWB_MODE, &mMode); in TEST_P()
85 status = mApiHandle.Uninit(mEncoderHandle); in TEST_P()
104 status = mApiHandle.Init(&mEncoderHandle, VO_AUDIO_CodingAMRWB, &mUserData); in TEST_P()
107 status = mApiHandle.SetParam(mEncoderHandle, VO_PID_AMRWB_FRAMETYPE, &mFrameType); in TEST_P()
[all …]
/frameworks/av/media/libstagefright/codecs/amrwbenc/
DSoftAMRWBEncoder.cpp47 mEncoderHandle(NULL), in SoftAMRWBEncoder()
61 if (mEncoderHandle != NULL) { in ~SoftAMRWBEncoder()
62 CHECK_EQ((VO_U32)VO_ERR_NONE, mApiHandle->Uninit(mEncoderHandle)); in ~SoftAMRWBEncoder()
63 mEncoderHandle = NULL; in ~SoftAMRWBEncoder()
135 &mEncoderHandle, VO_AUDIO_CodingAMRWB, &userData)) { in initEncoder()
142 mEncoderHandle, VO_PID_AMRWB_FRAMETYPE, &type)) { in initEncoder()
309 mEncoderHandle, VO_PID_AMRWB_MODE, &mMode)) { in internalSetParameter()
435 mApiHandle->SetInputData(mEncoderHandle, &inputData)); in onQueueFilled()
445 mEncoderHandle, &outputData, &outputInfo); in onQueueFilled()
DSoftAMRWBEncoder.h54 void *mEncoderHandle; member
/frameworks/av/media/codec2/components/amr_nb_wb/
DC2SoftAmrWbEnc.cpp104 mEncoderHandle(nullptr), in C2SoftAmrWbEnc()
148 if (mEncoderHandle) { in onRelease()
149 CHECK_EQ((VO_U32)VO_ERR_NONE, mApiHandle->Uninit(mEncoderHandle)); in onRelease()
150 mEncoderHandle = nullptr; in onRelease()
210 &mEncoderHandle, VO_AUDIO_CodingAMRWB, &userData)) { in initEncoder()
217 mEncoderHandle, VO_PID_AMRWB_FRAMETYPE, &type)) { in initEncoder()
224 mEncoderHandle, VO_PID_AMRWB_MODE, &mMode)) { in initEncoder()
239 mApiHandle->SetInputData(mEncoderHandle, &inputData)); in encodeInput()
248 mEncoderHandle, &outputData, &outputInfo); in encodeInput()
DC2SoftAmrWbEnc.h51 void *mEncoderHandle; variable