Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/omx/
DOMXUtils.cpp53 nStride = params.nStride; in DescribeColorFormatParams()
65 nStride = params.nStride; in initFromV1()
DSoftVideoDecoderOMXComponent.cpp137 outDef->format.video.nStride = outDef->format.video.nFrameWidth; in updatePortDefinitions()
141 (outDef->format.video.nStride * outDef->format.video.nSliceHeight * 3) / 2; in updatePortDefinitions()
147 inDef->format.video.nStride = 0; in updatePortDefinitions()
184 if (def->format.video.nStride != (OMX_S32)width in handlePortSettingsChange()
220 def->format.video.nStride = mWidth; in handlePortSettingsChange()
421 || video_def->nStride > 32768 || video_def->nSliceHeight > 32768) { in internalSetParameter()
DSoftVideoEncoderOMXComponent.cpp102 def.format.video.nStride = def.format.video.nFrameWidth; in initPorts()
130 def.format.video.nStride = 0; in initPorts()
151 inDef->format.video.nStride = inDef->format.video.nFrameWidth; in updatePortParams()
156 inDef->format.video.nStride * inDef->format.video.nSliceHeight * 3 / 2; in updatePortParams()
/frameworks/native/include/media/hardware/
DHardwareAPI.h266 OMX_U32 nStride; member
287 OMX_U32 nStride; member
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/
DSoftMPEG4.cpp377 def->format.video.nStride = align(def->format.video.nStride, 16); in updatePortDefinitions()
379 def->nBufferSize = (def->format.video.nStride * def->format.video.nSliceHeight * 3) / 2; in updatePortDefinitions()
/frameworks/native/include/media/openmax/
DOMX_Image.h133 OMX_S32 nStride; member
DOMX_Video.h150 OMX_S32 nStride; member
/frameworks/av/media/libstagefright/
DACodec.cpp3617 video_def->nStride = stride; in setupVideoEncoder()
3626 def.nBufferSize = (video_def->nStride * video_def->nSliceHeight * 3) / 2; in setupVideoEncoder()
4524 if (params.nStride != 0 && params.nSliceHeight == 0) { in describeDefaultColorFormat()
4533 if (params.nStride == 0 || params.nSliceHeight == 0 in describeDefaultColorFormat()
4534 || params.nStride > 32768 || params.nSliceHeight > 32768) { in describeDefaultColorFormat()
4536 fmt, fmt, params.nStride, params.nSliceHeight); in describeDefaultColorFormat()
4547 image.mPlane[image.Y].mRowInc = params.nStride; in describeDefaultColorFormat()
4554 size_t ystride = align(params.nStride, 16); in describeDefaultColorFormat()
4555 size_t cstride = align(params.nStride / 2, 16); in describeDefaultColorFormat()
4577 image.mPlane[image.U].mOffset = params.nStride * params.nSliceHeight; in describeDefaultColorFormat()
[all …]