Lines Matching refs:portDefn
2676 OMX_PARAM_PORTDEFINITIONTYPE *portDefn = in get_parameter() local
2679 eRet = update_portdef(portDefn); in get_parameter()
2681 m_port_def = *portDefn; in get_parameter()
2952 OMX_PARAM_PORTDEFINITIONTYPE *portDefn; in set_parameter() local
2953 portDefn = (OMX_PARAM_PORTDEFINITIONTYPE *) paramData; in set_parameter()
2956 (int)portDefn->format.video.nFrameHeight, in set_parameter()
2957 (int)portDefn->format.video.nFrameWidth); in set_parameter()
2959 if(OMX_CORE_OUTPUT_PORT_INDEX == portDefn->nPortIndex) in set_parameter()
2970 portDefn->format.video.nFrameWidth, in set_parameter()
2971 portDefn->format.video.nFrameHeight); in set_parameter()
2972 if (portDefn->format.video.nFrameHeight != 0x0 && in set_parameter()
2973 portDefn->format.video.nFrameWidth != 0x0) in set_parameter()
2975 drv_ctx.video_resolution_output.frame_height = portDefn->format.video.nFrameHeight; in set_parameter()
2976 drv_ctx.video_resolution_output.frame_width = portDefn->format.video.nFrameWidth; in set_parameter()
2977 …drv_ctx.video_resolution_output.scan_lines = paddedFrameWidth32(portDefn->format.video.nFrameHeigh… in set_parameter()
2978 … drv_ctx.video_resolution_output.stride = paddedFrameWidth128(portDefn->format.video.nFrameWidth); in set_parameter()
3020 if ( portDefn->nBufferCountActual >= drv_ctx.op_buf.mincount /*|| in set_parameter()
3023 drv_ctx.op_buf.actualcount = portDefn->nBufferCountActual; in set_parameter()
3027 m_port_def = *portDefn; in set_parameter()
3033 portDefn->nBufferCountActual, portDefn->nBufferSize); in set_parameter()
3037 else if(OMX_CORE_INPUT_PORT_INDEX == portDefn->nPortIndex) in set_parameter()
3041 if((portDefn->format.video.xFramerate >> 16) > 0 && in set_parameter()
3042 (portDefn->format.video.xFramerate >> 16) <= MAX_SUPPORTED_FPS) in set_parameter()
3048 portDefn->format.video.xFramerate >> 16); in set_parameter()
3049 Q16ToFraction(portDefn->format.video.xFramerate, drv_ctx.frame_rate.fps_numerator, in set_parameter()
3086 portDefn->format.video.nFrameHeight || in set_parameter()
3088 portDefn->format.video.nFrameWidth) in set_parameter()
3091 portDefn->format.video.nFrameWidth, in set_parameter()
3092 portDefn->format.video.nFrameHeight); in set_parameter()
3093 if (portDefn->format.video.nFrameHeight != 0x0 && in set_parameter()
3094 portDefn->format.video.nFrameWidth != 0x0) in set_parameter()
3096 update_resolution(portDefn->format.video.nFrameWidth, in set_parameter()
3097 (portDefn->format.video.nFrameHeight), in set_parameter()
3098 portDefn->format.video.nStride, in set_parameter()
3099 (portDefn->format.video.nSliceHeight)); in set_parameter()
3144 … drv_ctx.video_resolution_output.frame_height = portDefn->format.video.nFrameHeight; in set_parameter()
3145 … drv_ctx.video_resolution_output.frame_width = portDefn->format.video.nFrameWidth; in set_parameter()
3146 …drv_ctx.video_resolution_output.scan_lines = paddedFrameWidth32(portDefn->format.video.nSliceHeigh… in set_parameter()
3147 … drv_ctx.video_resolution_output.stride = paddedFrameWidth128(portDefn->format.video.nStride); in set_parameter()
3190 if (portDefn->nBufferCountActual >= drv_ctx.ip_buf.mincount in set_parameter()
3194 …n->nBufferSize = %lu, drv_ctx.ip_buf.buffer_size=%d \n", portDefn->nBufferCountActual, portDefn->n… in set_parameter()
3196 drv_ctx.ip_buf.actualcount = portDefn->nBufferCountActual; in set_parameter()
3209 portDefn->nBufferCountActual, portDefn->nBufferSize); in set_parameter()
3213 else if (portDefn->eDir == OMX_DirMax) in set_parameter()
3216 (int)portDefn->nPortIndex); in set_parameter()
7109 OMX_ERRORTYPE omx_vdpp::update_portdef(OMX_PARAM_PORTDEFINITIONTYPE *portDefn) in update_portdef() argument
7112 if (!portDefn) in update_portdef()
7117 portDefn->nVersion.nVersion = OMX_SPEC_VERSION; in update_portdef()
7118 portDefn->nSize = sizeof(portDefn); in update_portdef()
7119 portDefn->eDomain = OMX_PortDomainVideo; in update_portdef()
7121 portDefn->format.video.xFramerate = drv_ctx.frame_rate.fps_numerator / in update_portdef()
7127 if (OMX_CORE_INPUT_PORT_INDEX == portDefn->nPortIndex) in update_portdef()
7129 portDefn->eDir = OMX_DirInput; in update_portdef()
7130 portDefn->nBufferCountActual = drv_ctx.ip_buf.actualcount; in update_portdef()
7131 portDefn->nBufferCountMin = drv_ctx.ip_buf.mincount; in update_portdef()
7132 portDefn->nBufferSize = drv_ctx.ip_buf.buffer_size; in update_portdef()
7133 …portDefn->format.video.eColorFormat = (OMX_COLOR_FORMATTYPE)QOMX_COLOR_FORMATYUV420PackedSemiPlana… in update_portdef()
7134 portDefn->format.video.eCompressionFormat = OMX_VIDEO_CodingUnused; in update_portdef()
7135 portDefn->bEnabled = m_inp_bEnabled; in update_portdef()
7136 portDefn->bPopulated = m_inp_bPopulated; in update_portdef()
7137 portDefn->format.video.nFrameHeight = drv_ctx.video_resolution_input.frame_height; in update_portdef()
7138 portDefn->format.video.nFrameWidth = drv_ctx.video_resolution_input.frame_width; in update_portdef()
7139 portDefn->format.video.nStride = drv_ctx.video_resolution_input.stride; in update_portdef()
7140 portDefn->format.video.nSliceHeight = drv_ctx.video_resolution_input.scan_lines; in update_portdef()
7142 else if (OMX_CORE_OUTPUT_PORT_INDEX == portDefn->nPortIndex) in update_portdef()
7144 portDefn->eDir = OMX_DirOutput; in update_portdef()
7145 portDefn->nBufferCountActual = drv_ctx.op_buf.actualcount; in update_portdef()
7146 portDefn->nBufferCountMin = drv_ctx.op_buf.mincount; in update_portdef()
7147 portDefn->nBufferSize = drv_ctx.op_buf.buffer_size; in update_portdef()
7148 portDefn->format.video.eCompressionFormat = OMX_VIDEO_CodingUnused; in update_portdef()
7149 portDefn->bEnabled = m_out_bEnabled; in update_portdef()
7150 portDefn->bPopulated = m_out_bPopulated; in update_portdef()
7151 …portDefn->format.video.eColorFormat = (OMX_COLOR_FORMATTYPE) QOMX_COLOR_FORMATYUV420PackedSemiPlan… in update_portdef()
7154 portDefn->format.video.nFrameHeight = drv_ctx.video_resolution_output.frame_height; in update_portdef()
7155 portDefn->format.video.nFrameWidth = drv_ctx.video_resolution_output.frame_width; in update_portdef()
7156 portDefn->format.video.nStride = drv_ctx.video_resolution_output.stride; in update_portdef()
7157 portDefn->format.video.nSliceHeight = drv_ctx.video_resolution_output.scan_lines; in update_portdef()
7161 portDefn->eDir = OMX_DirMax; in update_portdef()
7163 (int)portDefn->nPortIndex); in update_portdef()
7167 … Stride = %ld SliceHeight = %lu portDefn->format.video.eColorFormat = %d \n", portDefn->nPortIndex, in update_portdef()
7168 portDefn->format.video.nFrameWidth, in update_portdef()
7169 portDefn->format.video.nFrameHeight, in update_portdef()
7170 portDefn->format.video.nStride, in update_portdef()
7171 portDefn->format.video.nSliceHeight, in update_portdef()
7172 portDefn->format.video.eColorFormat); in update_portdef()