Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/codecs/amrwbenc/test/
DAmrwbEncoderTest.cpp64 VO_AUDIO_CODECAPI mApiHandle; member in AmrwbEncoderTest
72 int32_t status = voGetAMRWBEncAPI(&mApiHandle); in TEST_P()
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()
101 uint32_t status = voGetAMRWBEncAPI(&mApiHandle); 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()
110 status = mApiHandle.SetParam(mEncoderHandle, VO_PID_AMRWB_MODE, &mMode); in TEST_P()
[all …]
/frameworks/av/media/codec2/components/amr_nb_wb/
DC2SoftAmrWbEnc.cpp105 mApiHandle(nullptr), in C2SoftAmrWbEnc()
149 CHECK_EQ((VO_U32)VO_ERR_NONE, mApiHandle->Uninit(mEncoderHandle)); in onRelease()
152 if (mApiHandle) { in onRelease()
153 delete mApiHandle; in onRelease()
154 mApiHandle = nullptr; in onRelease()
187 mApiHandle = new VO_AUDIO_CODECAPI; in initEncoder()
188 if (!mApiHandle) return NO_MEMORY; in initEncoder()
190 if (VO_ERR_NONE != voGetAMRWBEncAPI(mApiHandle)) { in initEncoder()
209 if (VO_ERR_NONE != mApiHandle->Init( in initEncoder()
216 if (VO_ERR_NONE != mApiHandle->SetParam( in initEncoder()
[all …]
DC2SoftAmrWbEnc.h52 VO_AUDIO_CODECAPI *mApiHandle; variable
/frameworks/av/media/libstagefright/codecs/amrwbenc/
DSoftAMRWBEncoder.cpp48 mApiHandle(NULL), in SoftAMRWBEncoder()
62 CHECK_EQ((VO_U32)VO_ERR_NONE, mApiHandle->Uninit(mEncoderHandle)); in ~SoftAMRWBEncoder()
66 delete mApiHandle; in ~SoftAMRWBEncoder()
67 mApiHandle = NULL; in ~SoftAMRWBEncoder()
115 mApiHandle = new VO_AUDIO_CODECAPI; in initEncoder()
117 if (VO_ERR_NONE != voGetAMRWBEncAPI(mApiHandle)) { in initEncoder()
134 if (VO_ERR_NONE != mApiHandle->Init( in initEncoder()
141 if (VO_ERR_NONE != mApiHandle->SetParam( in initEncoder()
308 mApiHandle->SetParam( in internalSetParameter()
435 mApiHandle->SetInputData(mEncoderHandle, &inputData)); in onQueueFilled()
[all …]
DSoftAMRWBEncoder.h55 VO_AUDIO_CODECAPI *mApiHandle; member