• Home
  • Raw
  • Download

Lines Matching refs:out_port_params

392     OMX_PARAM_PORTDEFINITIONTYPE in_port_params = { 0 }, out_port_params = { 0 };  in omx_component_init()  local
433 out_port_params = port_params; in omx_component_init()
488 err = OMX_GetParameter(s->handle, OMX_IndexParamPortDefinition, &out_port_params); in omx_component_init()
489 out_port_params.bEnabled = OMX_TRUE; in omx_component_init()
490 out_port_params.bPopulated = OMX_FALSE; in omx_component_init()
491 out_port_params.eDomain = OMX_PortDomainVideo; in omx_component_init()
492 out_port_params.format.video.pNativeRender = NULL; in omx_component_init()
493 out_port_params.format.video.nFrameWidth = avctx->width; in omx_component_init()
494 out_port_params.format.video.nFrameHeight = avctx->height; in omx_component_init()
495 out_port_params.format.video.nStride = 0; in omx_component_init()
496 out_port_params.format.video.nSliceHeight = 0; in omx_component_init()
497 out_port_params.format.video.nBitrate = avctx->bit_rate; in omx_component_init()
498 out_port_params.format.video.xFramerate = in_port_params.format.video.xFramerate; in omx_component_init()
499 out_port_params.format.video.bFlagErrorConcealment = OMX_FALSE; in omx_component_init()
501 out_port_params.format.video.eCompressionFormat = OMX_VIDEO_CodingMPEG4; in omx_component_init()
503 out_port_params.format.video.eCompressionFormat = OMX_VIDEO_CodingAVC; in omx_component_init()
505 err = OMX_SetParameter(s->handle, OMX_IndexParamPortDefinition, &out_port_params); in omx_component_init()
507 err = OMX_GetParameter(s->handle, OMX_IndexParamPortDefinition, &out_port_params); in omx_component_init()
509 s->num_out_buffers = out_port_params.nBufferCountActual; in omx_component_init()
564 …_AllocateBuffer(s->handle, &s->out_buffer_headers[i], s->out_port, s, out_port_params.nBufferSize); in omx_component_init()