/hardware/ti/omap3/omx/audio/src/openmax_il/g711_enc/src/ |
D | OMX_G711Enc_Utils.c | 110 G711ENC_LCML_BUFHEADERTYPE *pTemp_lcml = NULL; in G711ENC_FillLCMLInitParams() local 233 G711ENC_OMX_MALLOC_SIZE(pTemp_lcml,size_lcml,G711ENC_LCML_BUFHEADERTYPE); in G711ENC_FillLCMLInitParams() 235 pComponentPrivate->pLcmlBufHeader[G711ENC_INPUT_PORT] = pTemp_lcml; in G711ENC_FillLCMLInitParams() 246 pTemp_lcml->buffer = pTemp; in G711ENC_FillLCMLInitParams() 247 … G711ENC_DPRINT("%d :: pTemp_lcml->buffer->pBuffer = %p \n",__LINE__,pTemp_lcml->buffer->pBuffer); in G711ENC_FillLCMLInitParams() 248 pTemp_lcml->eDir = OMX_DirInput; in G711ENC_FillLCMLInitParams() 250 G711ENC_OMX_MALLOC_STRUCT(pTemp_lcml->pIpParam, G711ENC_ParamStruct); in G711ENC_FillLCMLInitParams() 254 pTemp_lcml->pBufferParam = (G711ENC_ParamStruct*)(pBufferParamTemp + EXTRA_BYTES); in G711ENC_FillLCMLInitParams() 255 pTemp_lcml->pBufferParam->usNbFrames=0; in G711ENC_FillLCMLInitParams() 256 pTemp_lcml->pBufferParam->pParamElem=NULL; in G711ENC_FillLCMLInitParams() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g722_enc/src/ |
D | OMX_G722Enc_Utils.c | 252 G722ENC_LCML_BUFHEADERTYPE *pTemp_lcml = NULL; in G722ENC_Fill_LCMLInitParams() local 391 pTemp_lcml = (G722ENC_LCML_BUFHEADERTYPE *)malloc(size_lcml); in G722ENC_Fill_LCMLInitParams() 392 G722ENC_MEMPRINT("%d:::[ALLOC] %p\n",__LINE__,pTemp_lcml); in G722ENC_Fill_LCMLInitParams() 393 if(pTemp_lcml == NULL) { in G722ENC_Fill_LCMLInitParams() 409 memset (pTemp_lcml, 0, size_lcml); in G722ENC_Fill_LCMLInitParams() 410 pComponentPrivate->pLcmlBufHeader[G722ENC_INPUT_PORT] = pTemp_lcml; in G722ENC_Fill_LCMLInitParams() 422 pTemp_lcml->pBufHdr = pTemp; in G722ENC_Fill_LCMLInitParams() 423 pTemp_lcml->eDir = OMX_DirInput; in G722ENC_Fill_LCMLInitParams() 424 pTemp_lcml->pOtherParams[i] = NULL; in G722ENC_Fill_LCMLInitParams() 428 OMX_G722MALLOC_STRUCT (pTemp_lcml->pIpParam, G722ENC_UAlgInBufParamStruct); in G722ENC_Fill_LCMLInitParams() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g729_dec/src/ |
D | OMX_G729Dec_Utils.c | 135 LCML_G729DEC_BUFHEADERTYPE *pTemp_lcml = NULL; in G729DECFill_LCMLInitParams() local 270 pTemp_lcml = (LCML_G729DEC_BUFHEADERTYPE *)malloc(size_lcml); in G729DECFill_LCMLInitParams() 271 G729DEC_MEMPRINT("%d:[ALLOC] %p\n",__LINE__,pTemp_lcml); in G729DECFill_LCMLInitParams() 272 if(pTemp_lcml == NULL) { in G729DECFill_LCMLInitParams() 282 pComponentPrivate->pLcmlBufHeader[G729DEC_INPUT_PORT] = pTemp_lcml; in G729DECFill_LCMLInitParams() 292 pTemp_lcml->buffer = pTemp; in G729DECFill_LCMLInitParams() 293 pTemp_lcml->eDir = OMX_DirInput; in G729DECFill_LCMLInitParams() 294 OMX_G729MALLOC_STRUCT(pTemp_lcml->pIpParam, G729DEC_UAlgBufParamStruct); in G729DECFill_LCMLInitParams() 295 pTemp_lcml->pIpParam->usFrameLost = 0; in G729DECFill_LCMLInitParams() 296 pTemp_lcml->pIpParam->usLastFrame = 0; in G729DECFill_LCMLInitParams() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g729_enc/src/ |
D | OMX_G729Enc_Utils.c | 127 G729ENC_LCML_BUFHEADERTYPE *pTemp_lcml = NULL; in G729ENC_FillLCMLInitParams() local 241 pTemp_lcml = (G729ENC_LCML_BUFHEADERTYPE *)malloc(size_lcml); in G729ENC_FillLCMLInitParams() 242 G729ENC_MEMPRINT("%d :: [ALLOC] %p\n",__LINE__,pTemp_lcml); in G729ENC_FillLCMLInitParams() 243 if(pTemp_lcml == NULL) in G729ENC_FillLCMLInitParams() 249 memset(pTemp_lcml, 0x0, size_lcml); in G729ENC_FillLCMLInitParams() 250 pComponentPrivate->pLcmlBufHeader[G729ENC_INPUT_PORT] = pTemp_lcml; in G729ENC_FillLCMLInitParams() 264 pTemp_lcml->buffer = pTemp; in G729ENC_FillLCMLInitParams() 265 pTemp_lcml->eDir = OMX_DirInput; in G729ENC_FillLCMLInitParams() 266 OMX_G729MALLOC_STRUCT(pTemp_lcml->pIpParam, G729ENC_UAlgInBufParamStruct); in G729ENC_FillLCMLInitParams() 267 pTemp_lcml->pIpParam->usEndOfFile = 0; in G729ENC_FillLCMLInitParams() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_enc/src/ |
D | OMX_WbAmrEnc_Utils.c | 113 WBAMRENC_LCML_BUFHEADERTYPE *pTemp_lcml = NULL; in WBAMRENC_FillLCMLInitParams() local 249 OMX_MALLOC_SIZE(pTemp_lcml, size_lcml, WBAMRENC_LCML_BUFHEADERTYPE); in WBAMRENC_FillLCMLInitParams() 251 pComponentPrivate->pLcmlBufHeader[WBAMRENC_INPUT_PORT] = pTemp_lcml; in WBAMRENC_FillLCMLInitParams() 262 pTemp_lcml->buffer = pTemp; in WBAMRENC_FillLCMLInitParams() 265 pTemp_lcml->buffer->pBuffer); in WBAMRENC_FillLCMLInitParams() 266 pTemp_lcml->eDir = OMX_DirInput; in WBAMRENC_FillLCMLInitParams() 268 OMX_MALLOC_SIZE_DSPALIGN(pTemp_lcml->pBufferParam , in WBAMRENC_FillLCMLInitParams() 272 pTemp_lcml->pBufferParam->usNbFrames = 0; in WBAMRENC_FillLCMLInitParams() 273 pTemp_lcml->pBufferParam->pParamElem = NULL; in WBAMRENC_FillLCMLInitParams() 274 pTemp_lcml->pFrameParam = NULL; in WBAMRENC_FillLCMLInitParams() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_enc/src/ |
D | OMX_G726Enc_Utils.c | 170 G726ENC_LCML_BUFHEADERTYPE *pTemp_lcml = NULL; in G726ENC_FillLCMLInitParams() local 298 pTemp_lcml = (G726ENC_LCML_BUFHEADERTYPE *)SafeMalloc(size_lcml); in G726ENC_FillLCMLInitParams() 300 G726ENC_MEMPRINT("%d :: ALLOCATING MEMORY = %p\n",__LINE__,pTemp_lcml); in G726ENC_FillLCMLInitParams() 301 if(pTemp_lcml == NULL) { in G726ENC_FillLCMLInitParams() 306 pComponentPrivate->pLcmlBufHeader[G726ENC_INPUT_PORT] = pTemp_lcml; in G726ENC_FillLCMLInitParams() 316 pTemp_lcml->buffer = pTemp; in G726ENC_FillLCMLInitParams() 317 … G726ENC_DPRINT("%d :: pTemp_lcml->buffer->pBuffer = %p \n",__LINE__,pTemp_lcml->buffer->pBuffer); in G726ENC_FillLCMLInitParams() 318 pTemp_lcml->eDir = OMX_DirInput; in G726ENC_FillLCMLInitParams() 327 pTemp_lcml->pIpParam = (G726ENC_ParamStruct*)(pBufferParamTemp + 128); in G726ENC_FillLCMLInitParams() 329 pTemp_lcml->pIpParam->bLastBuffer = 0; in G726ENC_FillLCMLInitParams() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g722_dec/src/ |
D | OMX_G722Dec_Utils.c | 228 G722D_LCML_BUFHEADERTYPE *pTemp_lcml = NULL; in G722DEC_Fill_LCMLInitParams() local 381 G722D_OMX_MALLOC_SIZE(pTemp_lcml,size_lcml,G722D_LCML_BUFHEADERTYPE); in G722DEC_Fill_LCMLInitParams() 383 pComponentPrivate->pLcmlBufHeader[G722D_INPUT_PORT] = pTemp_lcml; in G722DEC_Fill_LCMLInitParams() 399 pTemp_lcml->pBufHdr = pTemp; in G722DEC_Fill_LCMLInitParams() 400 pTemp_lcml->eDir = OMX_DirInput; in G722DEC_Fill_LCMLInitParams() 401 pTemp_lcml->pOtherParams[i] = NULL; in G722DEC_Fill_LCMLInitParams() 403 G722D_OMX_MALLOC(pTemp_lcml->pIpParam,G722DEC_ParamStruct); in G722DEC_Fill_LCMLInitParams() 404 pTemp_lcml->pIpParam->usLastFrame = 0; in G722DEC_Fill_LCMLInitParams() 411 G722DEC_DPRINT("::Comp: Ip : pTemp_lcml[%ld] = %p\n", i, pTemp_lcml); in G722DEC_Fill_LCMLInitParams() 413 pTemp_lcml++; in G722DEC_Fill_LCMLInitParams() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/nbamr_enc/src/ |
D | OMX_AmrEnc_Utils.c | 122 NBAMRENC_LCML_BUFHEADERTYPE *pTemp_lcml = NULL; in NBAMRENC_FillLCMLInitParams() local 257 OMX_MALLOC_SIZE(pTemp_lcml, size_lcml,NBAMRENC_LCML_BUFHEADERTYPE); in NBAMRENC_FillLCMLInitParams() 259 pComponentPrivate->pLcmlBufHeader[NBAMRENC_INPUT_PORT] = pTemp_lcml; in NBAMRENC_FillLCMLInitParams() 269 pTemp_lcml->buffer = pTemp; in NBAMRENC_FillLCMLInitParams() 270 …nentPrivate->dbg, "%d :: pTemp_lcml->buffer->pBuffer = %p \n",__LINE__,pTemp_lcml->buffer->pBuffer… in NBAMRENC_FillLCMLInitParams() 271 pTemp_lcml->eDir = OMX_DirInput; in NBAMRENC_FillLCMLInitParams() 273 OMX_MALLOC_SIZE_DSPALIGN(pTemp_lcml->pBufferParam, sizeof(NBAMRENC_ParamStruct),OMX_U8); in NBAMRENC_FillLCMLInitParams() 275 pTemp_lcml->pBufferParam->usNbFrames=0; in NBAMRENC_FillLCMLInitParams() 276 pTemp_lcml->pBufferParam->pParamElem=NULL; in NBAMRENC_FillLCMLInitParams() 277 pTemp_lcml->pFrameParam=NULL; in NBAMRENC_FillLCMLInitParams() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_dec/src/ |
D | OMX_WbAmrDec_Utils.c | 118 LCML_WBAMR_DEC_BUFHEADERTYPE *pTemp_lcml; in WBAMR_DEC_Fill_LCMLInitParams() local 284 OMX_MALLOC_SIZE(pTemp_lcml, size_lcml,LCML_WBAMR_DEC_BUFHEADERTYPE); in WBAMR_DEC_Fill_LCMLInitParams() 286 pComponentPrivate->pLcmlBufHeader[WBAMR_DEC_INPUT_PORT] = pTemp_lcml; in WBAMR_DEC_Fill_LCMLInitParams() 296 pTemp_lcml->buffer = pTemp; in WBAMR_DEC_Fill_LCMLInitParams() 297 pTemp_lcml->eDir = OMX_DirInput; in WBAMR_DEC_Fill_LCMLInitParams() 299 OMX_MALLOC_SIZE_DSPALIGN(pTemp_lcml->pBufferParam, in WBAMR_DEC_Fill_LCMLInitParams() 302 pTemp_lcml->pBufferParam->usNbFrames =0; in WBAMR_DEC_Fill_LCMLInitParams() 303 pTemp_lcml->pBufferParam->pParamElem = NULL; in WBAMR_DEC_Fill_LCMLInitParams() 304 pTemp_lcml->pFrameParam = NULL; in WBAMR_DEC_Fill_LCMLInitParams() 306 OMX_MALLOC_GENERIC(pTemp_lcml->pDmmBuf, DMM_BUFFER_OBJ); in WBAMR_DEC_Fill_LCMLInitParams() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_dec/src/ |
D | OMX_G711Dec_Utils.c | 132 LCML_G711DEC_BUFHEADERTYPE *pTemp_lcml = NULL; in G711DECFill_LCMLInitParams() local 257 G711D_OMX_MALLOC_SIZE(pTemp_lcml, size_lcml, LCML_G711DEC_BUFHEADERTYPE); in G711DECFill_LCMLInitParams() 259 pComponentPrivate->pLcmlBufHeader[G711DEC_INPUT_PORT] = pTemp_lcml; in G711DECFill_LCMLInitParams() 270 pTemp_lcml->buffer = pTemp; in G711DECFill_LCMLInitParams() 271 pTemp_lcml->eDir = OMX_DirInput; in G711DECFill_LCMLInitParams() 273 G711D_OMX_MALLOC(pTemp_lcml->pIpParam, G711DEC_UAlgInBufParamStruct); in G711DECFill_LCMLInitParams() 275 pTemp_lcml->pIpParam->usFrameLost = 0; in G711DECFill_LCMLInitParams() 276 pTemp_lcml->pIpParam->usEndOfFile = 0; in G711DECFill_LCMLInitParams() 278 G711D_OMX_MALLOC(pTemp_lcml->pBufferParam,G711DEC_ParamStruct); in G711DECFill_LCMLInitParams() 279 G711D_OMX_MALLOC(pTemp_lcml->pDmmBuf,DMM_BUFFER_OBJ); in G711DECFill_LCMLInitParams() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_dec/src/ |
D | OMX_G726Dec_Utils.c | 121 G726D_LCML_BUFHEADERTYPE *pTemp_lcml = NULL; in G726DEC_Fill_LCMLInitParams() local 278 G726D_OMX_MALLOC_SIZE(pTemp_lcml,size_lcml,G726D_LCML_BUFHEADERTYPE); in G726DEC_Fill_LCMLInitParams() 279 pComponentPrivate->pLcmlBufHeader[G726D_INPUT_PORT] = pTemp_lcml; in G726DEC_Fill_LCMLInitParams() 296 pTemp_lcml->pBufHdr = pTemp; in G726DEC_Fill_LCMLInitParams() 297 pTemp_lcml->eDir = OMX_DirInput; in G726DEC_Fill_LCMLInitParams() 298 pTemp_lcml->pOtherParams[i] = NULL; in G726DEC_Fill_LCMLInitParams() 300 G726D_OMX_MALLOC(pTemp_lcml->pFrameParam,G726DEC_UAlgInBufParamStruct); in G726DEC_Fill_LCMLInitParams() 309 G726DEC_DPRINT("::Comp: Ip : pTemp_lcml[%ld] = %p\n", i, pTemp_lcml); in G726DEC_Fill_LCMLInitParams() 310 pTemp_lcml++; in G726DEC_Fill_LCMLInitParams() 314 G726D_OMX_MALLOC_SIZE(pTemp_lcml,size_lcml,G726D_LCML_BUFHEADERTYPE); in G726DEC_Fill_LCMLInitParams() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/nbamr_dec/src/ |
D | OMX_AmrDec_Utils.c | 125 LCML_NBAMRDEC_BUFHEADERTYPE *pTemp_lcml; in NBAMRDECFill_LCMLInitParams() local 294 pTemp_lcml = (LCML_NBAMRDEC_BUFHEADERTYPE *)ptr; in NBAMRDECFill_LCMLInitParams() 295 pComponentPrivate->pLcmlBufHeader[NBAMRDEC_INPUT_PORT] = pTemp_lcml; in NBAMRDECFill_LCMLInitParams() 306 pTemp_lcml->buffer = pTemp; in NBAMRDECFill_LCMLInitParams() 307 pTemp_lcml->eDir = OMX_DirInput; in NBAMRDECFill_LCMLInitParams() 309 OMX_MALLOC_SIZE_DSPALIGN(pTemp_lcml->pBufferParam, in NBAMRDECFill_LCMLInitParams() 313 pTemp_lcml->pBufferParam->usNbFrames =0; in NBAMRDECFill_LCMLInitParams() 314 pTemp_lcml->pBufferParam->pParamElem = NULL; in NBAMRDECFill_LCMLInitParams() 315 pTemp_lcml->pFrameParam = NULL; in NBAMRDECFill_LCMLInitParams() 316 OMX_MALLOC_GENERIC(pTemp_lcml->pDmmBuf, DMM_BUFFER_OBJ); in NBAMRDECFill_LCMLInitParams() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/mp3_dec/src/ |
D | OMX_Mp3Dec_Utils.c | 125 MP3D_LCML_BUFHEADERTYPE *pTemp_lcml; in MP3DEC_Fill_LCMLInitParams() local 275 pTemp_lcml = (MP3D_LCML_BUFHEADERTYPE *)ptr; in MP3DEC_Fill_LCMLInitParams() 277 pComponentPrivate->pLcmlBufHeader[MP3D_INPUT_PORT] = pTemp_lcml; in MP3DEC_Fill_LCMLInitParams() 291 pTemp_lcml->pBufHdr = pTemp; in MP3DEC_Fill_LCMLInitParams() 292 pTemp_lcml->eDir = OMX_DirInput; in MP3DEC_Fill_LCMLInitParams() 293 pTemp_lcml->pOtherParams[i] = NULL; in MP3DEC_Fill_LCMLInitParams() 294 OMX_MALLOC_SIZE_DSPALIGN(pTemp_lcml->pIpParam, in MP3DEC_Fill_LCMLInitParams() 297 pTemp_lcml->pIpParam->bLastBuffer = 0; in MP3DEC_Fill_LCMLInitParams() 304 OMX_PRDSP2(pComponentPrivate->dbg, "::Comp: Ip : pTemp_lcml[%ld] = %p\n", i, pTemp_lcml); in MP3DEC_Fill_LCMLInitParams() 306 pTemp_lcml++; in MP3DEC_Fill_LCMLInitParams() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/aac_dec/src/ |
D | OMX_AacDec_Utils.c | 121 AACD_LCML_BUFHEADERTYPE *pTemp_lcml; in AACDEC_Fill_LCMLInitParams() local 252 pTemp_lcml = (AACD_LCML_BUFHEADERTYPE *)ptr; in AACDEC_Fill_LCMLInitParams() 254 pComponentPrivate->pLcmlBufHeader[INPUT_PORT_AACDEC] = pTemp_lcml; in AACDEC_Fill_LCMLInitParams() 269 pTemp_lcml->pBufHdr = pTemp; in AACDEC_Fill_LCMLInitParams() 270 pTemp_lcml->eDir = OMX_DirInput; in AACDEC_Fill_LCMLInitParams() 271 pTemp_lcml->pOtherParams[i] = NULL; in AACDEC_Fill_LCMLInitParams() 273 OMX_MALLOC_SIZE_DSPALIGN(pTemp_lcml->pIpParam, in AACDEC_Fill_LCMLInitParams() 276 pTemp_lcml->pIpParam->bLastBuffer = 0; in AACDEC_Fill_LCMLInitParams() 277 pTemp_lcml->pIpParam->bConcealBuffer = 0; in AACDEC_Fill_LCMLInitParams() 285 …X_PRDSP2(pComponentPrivate->dbg, "%d ::Comp: Ip : pTemp_lcml[%d] = %p\n", __LINE__, i, pTemp_lcml); in AACDEC_Fill_LCMLInitParams() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/aac_enc/src/ |
D | OMX_AacEnc_Utils.c | 117 LCML_AACENC_BUFHEADERTYPE *pTemp_lcml = NULL; in AACENCFill_LCMLInitParams() local 309 pTemp_lcml = (LCML_AACENC_BUFHEADERTYPE *)ptr; in AACENCFill_LCMLInitParams() 310 pComponentPrivate->pLcmlBufHeader[INPUT_PORT] = pTemp_lcml; in AACENCFill_LCMLInitParams() 321 pTemp_lcml->buffer = pTemp; in AACENCFill_LCMLInitParams() 322 pTemp_lcml->eDir = OMX_DirInput; in AACENCFill_LCMLInitParams() 324 OMX_MALLOC_SIZE_DSPALIGN(pTemp_lcml->pIpParam, in AACENCFill_LCMLInitParams() 327 OMX_PRDSP2(pComponentPrivate->dbg, "pTemp_lcml->pIpParam %p \n",pTemp_lcml->pIpParam); in AACENCFill_LCMLInitParams() 329 pTemp_lcml->pIpParam->bLastBuffer = 0; in AACENCFill_LCMLInitParams() 333 pTemp_lcml++; in AACENCFill_LCMLInitParams() 340 pTemp_lcml = (LCML_AACENC_BUFHEADERTYPE *)ptr; in AACENCFill_LCMLInitParams() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/wma_dec/src/ |
D | OMX_WmaDec_Utils.c | 118 LCML_WMADEC_BUFHEADERTYPE *pTemp_lcml = NULL; in WMADECFill_LCMLInitParams() local 280 OMX_MALLOC_SIZE(pTemp_lcml, size_lcml, LCML_WMADEC_BUFHEADERTYPE); in WMADECFill_LCMLInitParams() 281 OMX_PRBUFFER2(pComponentPrivate->dbg, "%d:[ALLOC] %p",__LINE__,pTemp_lcml); in WMADECFill_LCMLInitParams() 282 OMX_PRDSP2(pComponentPrivate->dbg, "Line %d::pTemp_lcml = %p",__LINE__,pTemp_lcml); in WMADECFill_LCMLInitParams() 283 if(pTemp_lcml == NULL) in WMADECFill_LCMLInitParams() 290 pComponentPrivate_CC->pLcmlBufHeader[INPUT_PORT] = pTemp_lcml; in WMADECFill_LCMLInitParams() 310 pTemp_lcml->buffer = pTemp; in WMADECFill_LCMLInitParams() 311 pTemp_lcml->eDir = OMX_DirInput; in WMADECFill_LCMLInitParams() 312 OMX_MALLOC_SIZE_DSPALIGN(pTemp_lcml->pIpParam, in WMADECFill_LCMLInitParams() 315 if (pTemp_lcml->pIpParam == NULL) in WMADECFill_LCMLInitParams() [all …]
|