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()
236 if (params.nStride != 0 && params.nSliceHeight == 0) { in DescribeDefaultColorFormat()
239 params.nSliceHeight = params.nFrameHeight; in DescribeDefaultColorFormat()
245 if (params.nStride == 0 || params.nSliceHeight == 0 in DescribeDefaultColorFormat()
246 || params.nStride > 32768 || params.nSliceHeight > 32768) { in DescribeDefaultColorFormat()
248 fmt, fmt, params.nStride, params.nSliceHeight); in DescribeDefaultColorFormat()
270 image.mPlane[image.V].mOffset = ystride * params.nSliceHeight; in DescribeDefaultColorFormat()
277 + (cstride * params.nSliceHeight / 2); in DescribeDefaultColorFormat()
290 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.cpp4039 video_def->nSliceHeight = sliceHeight; in setupVideoEncoder()
4041 def.nBufferSize = (video_def->nStride * video_def->nSliceHeight * 3) / 2; in setupVideoEncoder()
5178 notify->setInt32("slice-height", videoDef->nSliceHeight); in getPortFormat()
5188 describeParams.nSliceHeight = videoDef->nSliceHeight; in getPortFormat()