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.cpp154 outDef->format.video.nStride = outDef->format.video.nFrameWidth; in updatePortDefinitions()
158 (outDef->format.video.nStride * outDef->format.video.nSliceHeight * 3) / 2; in updatePortDefinitions()
164 inDef->format.video.nStride = 0; in updatePortDefinitions()
201 if (def->format.video.nStride != (OMX_S32)width in handlePortSettingsChange()
237 def->format.video.nStride = mWidth; in handlePortSettingsChange()
495 || 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.cpp395 def->format.video.nStride = align(def->format.video.nStride, 16); in updatePortDefinitions()
397 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.cpp3761 video_def->nStride = stride; in setupVideoEncoder()
3770 def.nBufferSize = (video_def->nStride * video_def->nSliceHeight * 3) / 2; in setupVideoEncoder()
4771 if (params.nStride != 0 && params.nSliceHeight == 0) { in describeDefaultColorFormat()
4780 if (params.nStride == 0 || params.nSliceHeight == 0 in describeDefaultColorFormat()
4781 || params.nStride > 32768 || params.nSliceHeight > 32768) { in describeDefaultColorFormat()
4783 fmt, fmt, params.nStride, params.nSliceHeight); in describeDefaultColorFormat()
4794 image.mPlane[image.Y].mRowInc = params.nStride; in describeDefaultColorFormat()
4801 size_t ystride = align(params.nStride, 16); in describeDefaultColorFormat()
4802 size_t cstride = align(params.nStride / 2, 16); in describeDefaultColorFormat()
4824 image.mPlane[image.U].mOffset = params.nStride * params.nSliceHeight; in describeDefaultColorFormat()
[all …]