OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:outDef
(Results
1 - 2
of
2
) sorted by null
/frameworks/av/media/libstagefright/omx/
SoftVideoDecoderOMXComponent.cpp
152
OMX_PARAM_PORTDEFINITIONTYPE *
outDef
= &editPortInfo(kOutputPortIndex)->mDef;
153
outDef
->format.video.nFrameWidth = outputBufferWidth();
154
outDef
->format.video.nFrameHeight = outputBufferHeight();
155
outDef
->format.video.nStride =
outDef
->format.video.nFrameWidth;
156
outDef
->format.video.nSliceHeight =
outDef
->format.video.nFrameHeight;
158
outDef
->nBufferSize =
159
(
outDef
->format.video.nStride *
outDef
->format.video.nSliceHeight * 3) / 2
[
all
...]
SoftVideoEncoderOMXComponent.cpp
166
OMX_PARAM_PORTDEFINITIONTYPE *
outDef
= &editPortInfo(kOutputPortIndex)->mDef;
167
outDef
->format.video.nFrameWidth = mWidth;
168
outDef
->format.video.nFrameHeight = mHeight;
169
outDef
->format.video.nBitrate = mBitrate;
171
outDef
->nBufferSize = max(mMinOutputBufferSize, rawBufferSize / mMinCompressionRatio);
Completed in 162 milliseconds