Searched refs:video_port_format (Results 1 – 1 of 1) sorted by relevance
393 OMX_VIDEO_PARAM_PORTFORMATTYPE video_port_format = { 0 }; in omx_component_init() local444 INIT_STRUCT(video_port_format); in omx_component_init()445 video_port_format.nIndex = i; in omx_component_init()446 video_port_format.nPortIndex = s->in_port; in omx_component_init()447 …if (OMX_GetParameter(s->handle, OMX_IndexParamVideoPortFormat, &video_port_format) != OMX_ErrorNon… in omx_component_init()449 if (video_port_format.eColorFormat == OMX_COLOR_FormatYUV420Planar || in omx_component_init()450 video_port_format.eColorFormat == OMX_COLOR_FormatYUV420PackedPlanar) { in omx_component_init()451 s->color_format = video_port_format.eColorFormat; in omx_component_init()