Home
last modified time | relevance | path

Searched refs:videoformat (Results 1 – 1 of 1) sorted by relevance

/external/opencore/codecs_v2/omx/omx_baseclass/src/
Dpv_omxcomponent.cpp4232 … OMX_VIDEO_PORTDEFINITIONTYPE *videoformat = &(ipPorts[PortIndex]->PortParam.format.video); in SetParameter() local
4233 if (videoformat->eCompressionFormat == OMX_VIDEO_CodingUnused) in SetParameter()
4238 OMX_U32 min_stride = ((videoformat->nFrameWidth + 15) & (~15)); in SetParameter()
4239 OMX_U32 min_sliceheight = ((videoformat->nFrameHeight + 15) & (~15)); in SetParameter()
4241 if (oscl_strcmp("video/wmv", videoformat->cMIMEType) == 0) in SetParameter()
4243 min_stride = ((videoformat->nFrameWidth + 3) & (~3)); in SetParameter()
4244 min_sliceheight = ((videoformat->nFrameHeight + 1) & (~1)); in SetParameter()
4248 videoformat->nStride = min_stride; in SetParameter()
4249 videoformat->nSliceHeight = min_sliceheight; in SetParameter()
4258 …ipPorts[PortIndex]->PortParam.nBufferSize = (videoformat->nSliceHeight * videoformat->nStride * 3)… in SetParameter()
[all …]