Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/omx/
DOMXUtils.cpp63 nSliceHeight = params.nSliceHeight; in DescribeColorFormatParams()
75 nSliceHeight = params.nSliceHeight; in initFromV1()
234 if (params.nStride != 0 && params.nSliceHeight == 0) { in DescribeDefaultColorFormat()
237 params.nSliceHeight = params.nFrameHeight; in DescribeDefaultColorFormat()
243 if (params.nStride == 0 || params.nSliceHeight == 0 in DescribeDefaultColorFormat()
244 || params.nStride > 32768 || params.nSliceHeight > 32768) { in DescribeDefaultColorFormat()
246 fmt, fmt, params.nStride, params.nSliceHeight); in DescribeDefaultColorFormat()
268 image.mPlane[image.V].mOffset = ystride * params.nSliceHeight; in DescribeDefaultColorFormat()
275 + (cstride * params.nSliceHeight / 2); in DescribeDefaultColorFormat()
288 image.mPlane[image.U].mOffset = params.nStride * params.nSliceHeight; in DescribeDefaultColorFormat()
[all …]
DSoftVideoDecoderOMXComponent.cpp157 outDef->format.video.nSliceHeight = outDef->format.video.nFrameHeight; in updatePortDefinitions()
162 (outDef->format.video.nStride * outDef->format.video.nSliceHeight * 3) / 2; in updatePortDefinitions()
169 inDef->format.video.nSliceHeight = 0; in updatePortDefinitions()
208 || def->format.video.nSliceHeight != (OMX_U32)height) { in handlePortSettingsChange()
249 def->format.video.nSliceHeight = mHeight; in handlePortSettingsChange()
506 || video_def->nSliceHeight > 32768) { in internalSetParameter()
DSoftVideoEncoderOMXComponent.cpp105 def.format.video.nSliceHeight = def.format.video.nFrameHeight; in initPorts()
133 def.format.video.nSliceHeight = 0; in initPorts()
154 inDef->format.video.nSliceHeight = inDef->format.video.nFrameHeight; in updatePortParams()
158 inDef->format.video.nStride * inDef->format.video.nSliceHeight * 3 / 2; in updatePortParams()
/frameworks/native/headers/media_plugin/media/hardware/
DHardwareAPI.h269 OMX_U32 nSliceHeight; member
290 OMX_U32 nSliceHeight; member
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/
DSoftMPEG4.cpp409 def->format.video.nSliceHeight = align(def->format.video.nSliceHeight, 16); in updatePortDefinitions()
410 def->nBufferSize = (def->format.video.nStride * def->format.video.nSliceHeight * 3) / 2; in updatePortDefinitions()
/frameworks/native/headers/media_plugin/media/openmax/
DOMX_Image.h134 OMX_U32 nSliceHeight; member
DOMX_Video.h153 OMX_U32 nSliceHeight; member
/frameworks/av/media/libstagefright/
DACodec.cpp3961 video_def->nSliceHeight = sliceHeight; in setupVideoEncoder()
3963 def.nBufferSize = (video_def->nStride * video_def->nSliceHeight * 3) / 2; in setupVideoEncoder()
5077 notify->setInt32("slice-height", videoDef->nSliceHeight); in getPortFormat()
5087 describeParams.nSliceHeight = videoDef->nSliceHeight; in getPortFormat()