/hardware/ti/omap3/omx/audio/src/openmax_il/g711_dec/src/ |
D | OMX_G711Decoder.c | 204 OMX_PARAM_PORTDEFINITIONTYPE *pPortDef_ip = NULL, *pPortDef_op = NULL; in OMX_ComponentInit() local 352 G711D_OMX_MALLOC(pPortDef_op, OMX_PARAM_PORTDEFINITIONTYPE); in OMX_ComponentInit() 355 G711DEC_DPRINT ("%d ::pPortDef_op = 0x%x\n", __LINE__,(unsigned int)pPortDef_op); in OMX_ComponentInit() 358 pComponentPrivate->pPortDef[G711DEC_OUTPUT_PORT] = pPortDef_op; in OMX_ComponentInit() 375 pPortDef_op->nSize = sizeof(OMX_PARAM_PORTDEFINITIONTYPE); in OMX_ComponentInit() 376 pPortDef_op->nPortIndex = 0x1; in OMX_ComponentInit() 377 pPortDef_op->nBufferCountActual = NUM_G711DEC_OUTPUT_BUFFERS; in OMX_ComponentInit() 378 pPortDef_op->nBufferCountMin = NUM_G711DEC_OUTPUT_BUFFERS; in OMX_ComponentInit() 379 pPortDef_op->eDir = OMX_DirOutput; in OMX_ComponentInit() 380 pPortDef_op->bEnabled = OMX_TRUE; in OMX_ComponentInit() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_dec/src/ |
D | OMX_G726Decoder.c | 204 OMX_PARAM_PORTDEFINITIONTYPE *pPortDef_ip = NULL, *pPortDef_op = NULL; in OMX_ComponentInit() local 347 G726D_OMX_MALLOC(pPortDef_op, OMX_PARAM_PORTDEFINITIONTYPE); in OMX_ComponentInit() 350 pComponentPrivate->pPortDef[G726D_OUTPUT_PORT] = pPortDef_op; in OMX_ComponentInit() 368 pPortDef_op->nSize = sizeof (OMX_PARAM_PORTDEFINITIONTYPE); in OMX_ComponentInit() 369 pPortDef_op->nPortIndex = G726D_OUTPUT_PORT; in OMX_ComponentInit() 370 pPortDef_op->eDir = OMX_DirOutput; in OMX_ComponentInit() 371 pPortDef_op->nBufferCountMin = G726D_NUM_OUTPUT_BUFFERS; in OMX_ComponentInit() 372 pPortDef_op->nBufferCountActual = G726D_NUM_OUTPUT_BUFFERS; in OMX_ComponentInit() 373 pPortDef_op->nBufferSize = G726D_OUTPUT_BUFFER_SIZE; in OMX_ComponentInit() 374 pPortDef_op->bEnabled = OMX_TRUE; in OMX_ComponentInit() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g722_dec/src/ |
D | OMX_G722Decoder.c | 202 OMX_PARAM_PORTDEFINITIONTYPE *pPortDef_ip = NULL, *pPortDef_op = NULL; in OMX_ComponentInit() local 344 G722D_OMX_MALLOC(pPortDef_op, OMX_PARAM_PORTDEFINITIONTYPE); in OMX_ComponentInit() 347 pComponentPrivate->pPortDef[G722D_OUTPUT_PORT] = pPortDef_op; in OMX_ComponentInit() 365 pPortDef_op->nSize = sizeof (OMX_PARAM_PORTDEFINITIONTYPE); in OMX_ComponentInit() 366 pPortDef_op->nPortIndex = G722D_OUTPUT_PORT; in OMX_ComponentInit() 367 pPortDef_op->eDir = OMX_DirOutput; in OMX_ComponentInit() 368 pPortDef_op->nBufferCountMin = G722D_NUM_OUTPUT_BUFFERS; in OMX_ComponentInit() 369 pPortDef_op->nBufferCountActual = G722D_NUM_OUTPUT_BUFFERS; in OMX_ComponentInit() 370 pPortDef_op->nBufferSize = G722D_OUTPUT_BUFFER_SIZE; in OMX_ComponentInit() 371 pPortDef_op->bEnabled = OMX_TRUE; in OMX_ComponentInit() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_enc/src/ |
D | OMX_G726Encoder.c | 186 OMX_PARAM_PORTDEFINITIONTYPE *pPortDef_ip = NULL, *pPortDef_op = NULL; in OMX_ComponentInit() local 289 OMX_NBMALLOC_STRUCT(pPortDef_op, OMX_PARAM_PORTDEFINITIONTYPE); in OMX_ComponentInit() 290 OMX_NBCONF_INIT_STRUCT(pPortDef_op, OMX_PARAM_PORTDEFINITIONTYPE); in OMX_ComponentInit() 291 pComponentPrivate->pPortDef[G726ENC_OUTPUT_PORT] = pPortDef_op; in OMX_ComponentInit() 293 pPortDef_op->nPortIndex = G726ENC_OUTPUT_PORT; in OMX_ComponentInit() 294 pPortDef_op->eDir = OMX_DirOutput; in OMX_ComponentInit() 295 pPortDef_op->nBufferCountMin = G726ENC_NUM_OUTPUT_BUFFERS; in OMX_ComponentInit() 296 pPortDef_op->nBufferCountActual = G726ENC_NUM_OUTPUT_BUFFERS; in OMX_ComponentInit() 297 pPortDef_op->nBufferSize = G726ENC_OUTPUT_BUFFER_SIZE; in OMX_ComponentInit() 298 pPortDef_op->bEnabled = OMX_TRUE; in OMX_ComponentInit() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g729_dec/src/ |
D | OMX_G729Decoder.c | 213 OMX_PARAM_PORTDEFINITIONTYPE* pPortDef_op = NULL; in OMX_ComponentInit() local 370 OMX_G729MALLOC_STRUCT(pPortDef_op, OMX_PARAM_PORTDEFINITIONTYPE); in OMX_ComponentInit() 371 OMX_G729CONF_INIT_STRUCT(pPortDef_op, OMX_PARAM_PORTDEFINITIONTYPE); in OMX_ComponentInit() 372 pComponentPrivate->pPortDef[G729DEC_OUTPUT_PORT] = pPortDef_op; in OMX_ComponentInit() 375 G729DEC_MEMPRINT("%d:[ALLOC] %p\n",__LINE__,pPortDef_op); in OMX_ComponentInit() 378 memset(pPortDef_op,0,sizeof(OMX_PARAM_PORTDEFINITIONTYPE)); in OMX_ComponentInit() 382 G729DEC_DPRINT ("%d ::pPortDef_op = 0x%x\n", __LINE__,pPortDef_op); in OMX_ComponentInit() 394 pPortDef_op->nPortIndex = 0x1; in OMX_ComponentInit() 395 pPortDef_op->nBufferCountActual = NUM_G729DEC_OUTPUT_BUFFERS; in OMX_ComponentInit() 396 pPortDef_op->nBufferCountMin = NUM_G729DEC_OUTPUT_BUFFERS; in OMX_ComponentInit() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_enc/src/ |
D | OMX_G711Encoder.c | 180 OMX_PARAM_PORTDEFINITIONTYPE *pPortDef_ip=NULL, *pPortDef_op=NULL; in OMX_ComponentInit() local 295 G711ENC_OMX_MALLOC_STRUCT(pPortDef_op, OMX_PARAM_PORTDEFINITIONTYPE); in OMX_ComponentInit() 296 OMX_G711ENC_INIT_STRUCT(pPortDef_op, OMX_PARAM_PORTDEFINITIONTYPE); in OMX_ComponentInit() 297 pComponentPrivate->pPortDef[G711ENC_OUTPUT_PORT] = pPortDef_op; in OMX_ComponentInit() 299 pPortDef_op->nPortIndex = G711ENC_OUTPUT_PORT; in OMX_ComponentInit() 300 pPortDef_op->eDir = OMX_DirOutput; in OMX_ComponentInit() 301 pPortDef_op->nBufferCountMin = G711ENC_NUM_OUTPUT_BUFFERS; in OMX_ComponentInit() 302 pPortDef_op->nBufferCountActual = G711ENC_NUM_OUTPUT_BUFFERS; in OMX_ComponentInit() 303 pPortDef_op->nBufferSize = G711ENC_OUTPUT_BUFFER_SIZE; in OMX_ComponentInit() 304 pPortDef_op->bEnabled = OMX_TRUE; in OMX_ComponentInit() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g729_enc/src/ |
D | OMX_G729Encoder.c | 194 OMX_PARAM_PORTDEFINITIONTYPE *pPortDef_ip = NULL, *pPortDef_op = NULL; in OMX_ComponentInit() local 308 OMX_G729MALLOC_STRUCT(pPortDef_op, OMX_PARAM_PORTDEFINITIONTYPE); in OMX_ComponentInit() 309 OMX_G729CONF_INIT_STRUCT(pPortDef_op, OMX_PARAM_PORTDEFINITIONTYPE); in OMX_ComponentInit() 310 pComponentPrivate->pPortDef[G729ENC_OUTPUT_PORT] = pPortDef_op; in OMX_ComponentInit() 312 pPortDef_op->nPortIndex = G729ENC_OUTPUT_PORT; in OMX_ComponentInit() 313 pPortDef_op->eDir = OMX_DirOutput; in OMX_ComponentInit() 314 pPortDef_op->nBufferCountMin = G729ENC_NUM_OUTPUT_BUFFERS; in OMX_ComponentInit() 315 pPortDef_op->nBufferCountActual = G729ENC_NUM_OUTPUT_BUFFERS; in OMX_ComponentInit() 316 pPortDef_op->nBufferSize = G729ENC_OUTPUT_FRAME_SIZE; in OMX_ComponentInit() 317 pPortDef_op->bEnabled = OMX_TRUE; in OMX_ComponentInit() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/mp3_dec/src/ |
D | OMX_Mp3Decoder.c | 207 OMX_PARAM_PORTDEFINITIONTYPE *pPortDef_ip = NULL, *pPortDef_op = NULL; in OMX_ComponentInit() local 394 OMX_MALLOC_GENERIC(pPortDef_op, OMX_PARAM_PORTDEFINITIONTYPE); in OMX_ComponentInit() 397 pComponentPrivate->pPortDef[MP3D_OUTPUT_PORT] = pPortDef_op; in OMX_ComponentInit() 417 pPortDef_op->nSize = sizeof(OMX_PARAM_PORTDEFINITIONTYPE); in OMX_ComponentInit() 418 pPortDef_op->nPortIndex = MP3D_OUTPUT_PORT; in OMX_ComponentInit() 419 pPortDef_op->eDir = OMX_DirOutput; in OMX_ComponentInit() 420 pPortDef_op->nBufferCountMin = MP3D_NUM_OUTPUT_BUFFERS; in OMX_ComponentInit() 421 pPortDef_op->nBufferCountActual = MP3D_NUM_OUTPUT_BUFFERS; in OMX_ComponentInit() 422 pPortDef_op->nBufferSize = MP3D_OUTPUT_BUFFER_SIZE; in OMX_ComponentInit() 423 pPortDef_op->nBufferAlignment = DSP_CACHE_ALIGNMENT; in OMX_ComponentInit() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/wma_dec/src/ |
D | OMX_WmaDecoder.c | 185 OMX_PARAM_PORTDEFINITIONTYPE *pPortDef_ip = NULL, *pPortDef_op = NULL; in OMX_ComponentInit() local 408 OMX_MALLOC_GENERIC(pPortDef_op,OMX_PARAM_PORTDEFINITIONTYPE ); in OMX_ComponentInit() 411 OMX_PRCOMM2(pComponentPrivate->dbg, "%d ::pPortDef_op = %p\n", __LINE__,pPortDef_op); in OMX_ComponentInit() 417 = pPortDef_op; in OMX_ComponentInit() 430 pPortDef_op->nPortIndex = 0x1; in OMX_ComponentInit() 431 pPortDef_op->nBufferCountActual = NUM_WMADEC_OUTPUT_BUFFERS; in OMX_ComponentInit() 432 pPortDef_op->nBufferCountMin = NUM_WMADEC_OUTPUT_BUFFERS; in OMX_ComponentInit() 433 pPortDef_op->nBufferAlignment = DSP_CACHE_ALIGNMENT; in OMX_ComponentInit() 434 pPortDef_op->eDir = OMX_DirOutput; in OMX_ComponentInit() 435 pPortDef_op->bEnabled = OMX_TRUE; in OMX_ComponentInit() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_enc/src/ |
D | OMX_WbAmrEncoder.c | 190 OMX_PARAM_PORTDEFINITIONTYPE *pPortDef_ip, *pPortDef_op; in OMX_ComponentInit() local 317 OMX_MALLOC_GENERIC(pPortDef_op, OMX_PARAM_PORTDEFINITIONTYPE); in OMX_ComponentInit() 318 OMX_WBCONF_INIT_STRUCT(pPortDef_op, OMX_PARAM_PORTDEFINITIONTYPE); in OMX_ComponentInit() 319 pComponentPrivate->pPortDef[WBAMRENC_OUTPUT_PORT] = pPortDef_op; in OMX_ComponentInit() 321 pPortDef_op->nPortIndex = WBAMRENC_OUTPUT_PORT; in OMX_ComponentInit() 322 pPortDef_op->eDir = OMX_DirOutput; in OMX_ComponentInit() 323 pPortDef_op->nBufferCountMin = WBAMRENC_NUM_OUTPUT_BUFFERS; in OMX_ComponentInit() 324 pPortDef_op->nBufferCountActual = WBAMRENC_NUM_OUTPUT_BUFFERS; in OMX_ComponentInit() 325 pPortDef_op->nBufferAlignment = DSP_CACHE_ALIGNMENT; in OMX_ComponentInit() 326 pPortDef_op->nBufferSize = 640; //WBAMRENC_OUTPUT_FRAME_SIZE; in OMX_ComponentInit() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/aac_dec/src/ |
D | OMX_AacDecoder.c | 201 OMX_PARAM_PORTDEFINITIONTYPE *pPortDef_ip = NULL, *pPortDef_op = NULL; in OMX_ComponentInit() local 359 OMX_MALLOC_GENERIC(pPortDef_op, OMX_PARAM_PORTDEFINITIONTYPE); in OMX_ComponentInit() 362 pComponentPrivate->pPortDef[OUTPUT_PORT_AACDEC] = pPortDef_op; in OMX_ComponentInit() 413 pPortDef_op->nSize = sizeof (OMX_PARAM_PORTDEFINITIONTYPE); in OMX_ComponentInit() 414 pPortDef_op->nPortIndex = OUTPUT_PORT_AACDEC; in OMX_ComponentInit() 415 pPortDef_op->eDir = OMX_DirOutput; in OMX_ComponentInit() 416 pPortDef_op->nBufferCountMin = AACD_NUM_OUTPUT_BUFFERS; in OMX_ComponentInit() 417 pPortDef_op->nBufferCountActual = AACD_NUM_OUTPUT_BUFFERS; in OMX_ComponentInit() 418 pPortDef_op->nBufferSize = AACD_OUTPUT_BUFFER_SIZE; in OMX_ComponentInit() 419 pPortDef_op->nBufferAlignment = DSP_CACHE_ALIGNMENT; in OMX_ComponentInit() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g722_enc/src/ |
D | OMX_G722Encoder.c | 196 OMX_PARAM_PORTDEFINITIONTYPE *pPortDef_ip, *pPortDef_op; in OMX_ComponentInit() local 507 pPortDef_op = (OMX_PARAM_PORTDEFINITIONTYPE *) in OMX_ComponentInit() 509 G722ENC_MEMPRINT("%d:::[ALLOC] %p\n",__LINE__,pPortDef_op); in OMX_ComponentInit() 510 if (pPortDef_op == NULL) { in OMX_ComponentInit() 558 = pPortDef_op; in OMX_ComponentInit() 570 pPortDef_op->nPortIndex = 0x1; in OMX_ComponentInit() 571 pPortDef_op->nBufferCountActual = G722ENC_NUM_OUTPUT_BUFFERS; in OMX_ComponentInit() 572 pPortDef_op->nBufferCountMin = G722ENC_NUM_OUTPUT_BUFFERS; in OMX_ComponentInit() 573 pPortDef_op->eDir = OMX_DirOutput; in OMX_ComponentInit() 574 pPortDef_op->bEnabled = OMX_TRUE; in OMX_ComponentInit() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_dec/src/ |
D | OMX_WbAmrDecoder.c | 196 OMX_PARAM_PORTDEFINITIONTYPE *pPortDef_ip, *pPortDef_op; in OMX_ComponentInit() local 416 OMX_MALLOC_GENERIC(pPortDef_op, OMX_PARAM_PORTDEFINITIONTYPE); in OMX_ComponentInit() 418 OMX_PRBUFFER2(pComponentPrivate->dbg, "[ALLOC] %p\n",pPortDef_op); in OMX_ComponentInit() 420 OMX_PRINT1(pComponentPrivate->dbg, "pPortDef_op = %p\n",pPortDef_op); in OMX_ComponentInit() 426 = pPortDef_op; in OMX_ComponentInit() 439 pPortDef_op->nSize = sizeof (OMX_PARAM_PORTDEFINITIONTYPE); in OMX_ComponentInit() 440 pPortDef_op->nPortIndex = 0x1; in OMX_ComponentInit() 441 pPortDef_op->nBufferCountActual = NUM_WBAMRDEC_OUTPUT_BUFFERS; in OMX_ComponentInit() 442 pPortDef_op->nBufferCountMin = NUM_WBAMRDEC_OUTPUT_BUFFERS; in OMX_ComponentInit() 443 pPortDef_op->nBufferAlignment = DSP_CACHE_ALIGNMENT; in OMX_ComponentInit() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/aac_enc/src/ |
D | OMX_AacEncoder.c | 166 OMX_PARAM_PORTDEFINITIONTYPE *pPortDef_op = NULL; in OMX_ComponentInit() local 395 OMX_MALLOC_GENERIC(pPortDef_op, OMX_PARAM_PORTDEFINITIONTYPE); in OMX_ComponentInit() 396 …OMX_PRCOMM2(pComponentPrivate->dbg, "AACENC: pPortDef_op %p, size: %x \n",pPortDef_op, sizeof(OMX… in OMX_ComponentInit() 400 ((AACENC_COMPONENT_PRIVATE*) pHandle->pComponentPrivate)->pPortDef[OUTPUT_PORT] = pPortDef_op; in OMX_ComponentInit() 415 pPortDef_op->nSize = sizeof(OMX_PARAM_PORTDEFINITIONTYPE); in OMX_ComponentInit() 416 pPortDef_op->nPortIndex = 0x1; in OMX_ComponentInit() 417 pPortDef_op->nBufferCountActual = NUM_AACENC_OUTPUT_BUFFERS; in OMX_ComponentInit() 418 pPortDef_op->nBufferCountMin = NUM_AACENC_OUTPUT_BUFFERS; in OMX_ComponentInit() 419 pPortDef_op->eDir = OMX_DirOutput; in OMX_ComponentInit() 420 pPortDef_op->bEnabled = OMX_TRUE; in OMX_ComponentInit() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/nbamr_enc/src/ |
D | OMX_AmrEncoder.c | 206 OMX_PARAM_PORTDEFINITIONTYPE *pPortDef_ip, *pPortDef_op; in OMX_ComponentInit() local 327 OMX_MALLOC_GENERIC(pPortDef_op, OMX_PARAM_PORTDEFINITIONTYPE); in OMX_ComponentInit() 328 OMX_NBCONF_INIT_STRUCT(pPortDef_op, OMX_PARAM_PORTDEFINITIONTYPE); in OMX_ComponentInit() 329 pComponentPrivate->pPortDef[NBAMRENC_OUTPUT_PORT] = pPortDef_op; in OMX_ComponentInit() 331 pPortDef_op->nPortIndex = NBAMRENC_OUTPUT_PORT; in OMX_ComponentInit() 332 pPortDef_op->eDir = OMX_DirOutput; in OMX_ComponentInit() 333 pPortDef_op->nBufferCountMin = 9; //NBAMRENC_NUM_OUTPUT_BUFFERS; in OMX_ComponentInit() 334 pPortDef_op->nBufferCountActual = 9; //NBAMRENC_NUM_OUTPUT_BUFFERS; in OMX_ComponentInit() 335 pPortDef_op->nBufferSize = 320; //NBAMRENC_OUTPUT_FRAME_SIZE; in OMX_ComponentInit() 337 pPortDef_op->bEnabled = OMX_TRUE; in OMX_ComponentInit() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/nbamr_dec/src/ |
D | OMX_AmrDecoder.c | 200 OMX_PARAM_PORTDEFINITIONTYPE *pPortDef_ip, *pPortDef_op; in OMX_ComponentInit() local 438 OMX_MALLOC_GENERIC(pPortDef_op, OMX_PARAM_PORTDEFINITIONTYPE); in OMX_ComponentInit() 444 = pPortDef_op; in OMX_ComponentInit() 459 pPortDef_op->eDomain = OMX_PortDomainAudio; in OMX_ComponentInit() 460 pPortDef_op->nSize = sizeof (OMX_PARAM_PORTDEFINITIONTYPE); in OMX_ComponentInit() 461 pPortDef_op->nPortIndex = 0x1; in OMX_ComponentInit() 462 pPortDef_op->nBufferCountActual = NUM_NBAMRDEC_OUTPUT_BUFFERS; in OMX_ComponentInit() 463 pPortDef_op->nBufferCountMin = NUM_NBAMRDEC_OUTPUT_BUFFERS; in OMX_ComponentInit() 464 pPortDef_op->nBufferAlignment = CACHE_ALIGNMENT; in OMX_ComponentInit() 465 pPortDef_op->eDir = OMX_DirOutput; in OMX_ComponentInit() [all …]
|