Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/codecs/common/include/
DvoAudio.h129 VO_U32 (VO_API * SetInputData) (VO_HANDLE hCodec, VO_CODECBUFFER * pInput);
141 …VO_U32 (VO_API * GetOutputData) (VO_HANDLE hCodec, VO_CODECBUFFER * pOutBuffer, VO_AUDIO_OUTPUTINF…
150 VO_U32 (VO_API * SetParam) (VO_HANDLE hCodec, VO_S32 uParamID, VO_PTR pData);
159 VO_U32 (VO_API * GetParam) (VO_HANDLE hCodec, VO_S32 uParamID, VO_PTR pData);
166 VO_U32 (VO_API * Uninit) (VO_HANDLE hCodec);
/frameworks/av/media/libstagefright/codecs/amrwbenc/SampleCode/
DAMRWB_E_SAMPLE.c93 VO_HANDLE hCodec = NULL; in encode() local
166 ret = AudioAPI.Init(&hCodec, VO_AUDIO_CodingAMRWB, &useData); in encode()
184 ret = AudioAPI.SetParam(hCodec, VO_PID_AMRWB_FRAMETYPE, &frameType); in encode()
185 ret = AudioAPI.SetParam(hCodec, VO_PID_AMRWB_MODE, &mode); in encode()
186 ret = AudioAPI.SetParam(hCodec, VO_PID_AMRWB_DTX, &allow_dtx); in encode()
207 returnCode = AudioAPI.SetInputData(hCodec,&inData); in encode()
210 returnCode = AudioAPI.GetOutputData(hCodec,&outData, &outFormat); in encode()
246 returnCode = AudioAPI.Uninit(hCodec); in encode()
/frameworks/av/media/libstagefright/codecs/aacenc/SampleCode/
DAAC_E_SAMPLES.c140 VO_HANDLE hCodec; in main() local
211 returnCode = AudioAPI.Init(&hCodec, VO_AUDIO_CodingAAC, &useData); in main()
218 returnCode = AudioAPI.SetParam(hCodec, VO_PID_AAC_ENCPARAM, &aacpara); in main()
233 returnCode = AudioAPI.SetInputData(hCodec,&inData); in main()
239 returnCode = AudioAPI.GetOutputData(hCodec,&outData, &outInfo); in main()
272 returnCode = AudioAPI.Uninit(hCodec); in main()
/frameworks/av/media/libstagefright/codecs/aacenc/src/
Daacenc.c168 VO_U32 VO_API voAACEncSetInputData(VO_HANDLE hCodec, VO_CODECBUFFER * pInput) in voAACEncSetInputData() argument
173 if(NULL == hCodec || NULL == pInput || NULL == pInput->Buffer) in voAACEncSetInputData()
178 hAacEnc = (AAC_ENCODER *)hCodec; in voAACEncSetInputData()
214 VO_U32 VO_API voAACEncGetOutputData(VO_HANDLE hCodec, VO_CODECBUFFER * pOutput, VO_AUDIO_OUTPUTINFO… in voAACEncGetOutputData() argument
216 AAC_ENCODER* hAacEnc = (AAC_ENCODER*)hCodec; in voAACEncGetOutputData()
293 VO_U32 VO_API voAACEncUninit(VO_HANDLE hCodec) in voAACEncUninit() argument
295 AAC_ENCODER* hAacEnc = (AAC_ENCODER*)hCodec; in voAACEncUninit()
317 VO_U32 VO_API voAACEncSetParam(VO_HANDLE hCodec, VO_S32 uParamID, VO_PTR pData) in voAACEncSetParam() argument
322 AAC_ENCODER* hAacEnc = (AAC_ENCODER*)hCodec; in voAACEncSetParam()
478 VO_U32 VO_API voAACEncGetParam(VO_HANDLE hCodec, VO_S32 uParamID, VO_PTR pData) in voAACEncGetParam() argument
[all …]
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
DvoAMRWBEnc.c1563 int AMR_Enc_Encode(HAMRENC hCodec) in AMR_Enc_Encode() argument
1566 Coder_State *gData = (Coder_State*)hCodec; in AMR_Enc_Encode()
1698 … VO_HANDLE hCodec, /* i/o: The codec handle which was created by Init function */ in voAMRWB_SetInputData() argument
1705 if(NULL == hCodec) in voAMRWB_SetInputData()
1710 gData = (Coder_State *)hCodec; in voAMRWB_SetInputData()
1733 … VO_HANDLE hCodec, /* i: The Codec Handle which was created by Init function*/ in voAMRWB_GetOutputData() argument
1738 Coder_State* gData = (Coder_State*)hCodec; in voAMRWB_GetOutputData()
1789 VO_HANDLE hCodec, /* i/o: The Codec Handle which was created by Init function */ in voAMRWB_SetParam() argument
1794 Coder_State* gData = (Coder_State*)hCodec; in voAMRWB_SetParam()
1842 VO_HANDLE hCodec, /* i: The Codec Handle which was created by Init function */ in voAMRWB_GetParam() argument
[all …]