Home
last modified time | relevance | path

Searched refs:nBufferSize (Results 1 – 22 of 22) sorted by relevance

/frameworks/av/media/libstagefright/omx/
DSoftVideoDecoderOMXComponent.cpp89 def.nBufferSize = inputBufferSize; in initPorts()
140 outDef->nBufferSize = in updatePortDefinitions()
152 inDef->nBufferSize = max( in updatePortDefinitions()
153 outDef->nBufferSize / mMinCompressionRatio, in updatePortDefinitions()
154 max(mMinInputBufferSize, inDef->nBufferSize)); in updatePortDefinitions()
434 newParams->nBufferSize = def->nBufferSize; in internalSetParameter()
DSimpleSoftOMXComponent.cpp174 if (defParams->nBufferSize > port->mDef.nBufferSize) { in internalSetParameter()
175 port->mDef.nBufferSize = defParams->nBufferSize; in internalSetParameter()
DSoftVideoEncoderOMXComponent.cpp158 inDef->nBufferSize = max(sizeof(VideoNativeMetadata), sizeof(VideoGrallocMetadata)); in updatePortParams()
160 inDef->nBufferSize = rawBufferSize; in updatePortParams()
168 outDef->nBufferSize = max(mMinOutputBufferSize, rawBufferSize / mMinCompressionRatio); in updatePortParams()
DOMXNodeInstance.cpp762 def.nBufferSize, in useGraphicBuffer2_l()
766 CLOG_ERROR(useBuffer, err, BUFFER_FMT(portIndex, "%u@%p", def.nBufferSize, bufferHandle)); in useGraphicBuffer2_l()
780 *buffer, portIndex, "%u@%p", def.nBufferSize, bufferHandle)); in useGraphicBuffer2_l()
/frameworks/av/media/libstagefright/codecs/raw/
DSoftRaw.cpp63 def.nBufferSize = 32 * 1024; in initPorts()
81 def.nBufferSize = 32 * 1024; in initPorts()
185 outPort->mDef.nBufferSize = inPort->mDef.nBufferSize; in internalSetParameter()
/frameworks/av/media/libstagefright/codecs/flac/enc/
DSoftFlacEncoder.cpp118 def.nBufferSize = kMaxInputBufferSize; in initPorts()
137 def.nBufferSize = kMaxOutputBufferSize; in initPorts()
275 if (defParams->nBufferSize > kMaxInputBufferSize) { in internalSetParameter()
/frameworks/av/media/libstagefright/codecs/g711/dec/
DSoftG711.cpp67 def.nBufferSize = 8192; in initPorts()
90 def.nBufferSize = kMaxNumSamplesPerFrame * sizeof(int16_t); in initPorts()
/frameworks/av/media/libstagefright/codecs/gsm/dec/
DSoftGSM.cpp70 def.nBufferSize = 1024 / kMSGSMFrameSize * kMSGSMFrameSize; in initPorts()
90 def.nBufferSize = kMaxNumSamplesPerFrame * sizeof(int16_t); in initPorts()
/frameworks/av/media/libstagefright/codecs/amrnb/enc/
DSoftAMRNBEncoder.cpp74 def.nBufferSize = kNumSamplesPerFrame * sizeof(int16_t); in initPorts()
92 def.nBufferSize = 8192; in initPorts()
/frameworks/av/media/libstagefright/codecs/mp3dec/
DSoftMP3.cpp77 def.nBufferSize = 8192; in initPorts()
97 def.nBufferSize = kOutputBufferSize; in initPorts()
/frameworks/av/media/libstagefright/codecs/amrwbenc/
DSoftAMRWBEncoder.cpp81 def.nBufferSize = kNumSamplesPerFrame * sizeof(int16_t); in initPorts()
99 def.nBufferSize = 8192; in initPorts()
/frameworks/av/media/libstagefright/codecs/amrnb/dec/
DSoftAMR.cpp85 def.nBufferSize = 8192; in initPorts()
108 def.nBufferSize = in initPorts()
/frameworks/av/media/libstagefright/codecs/vorbis/dec/
DSoftVorbis.cpp87 def.nBufferSize = kMaxNumSamplesPerBuffer * sizeof(int16_t); in initPorts()
107 def.nBufferSize = kMaxNumSamplesPerBuffer * sizeof(int16_t); in initPorts()
/frameworks/av/media/libstagefright/codecs/opus/dec/
DSoftOpus.cpp89 def.nBufferSize = 960 * 6; in initPorts()
110 def.nBufferSize = kMaxNumSamplesPerBuffer * sizeof(int16_t) * kMaxChannels; in initPorts()
/frameworks/av/media/libstagefright/codecs/aacenc/
DSoftAACEncoder.cpp88 def.nBufferSize = kNumSamplesPerFrame * sizeof(int16_t) * 2; in initPorts()
106 def.nBufferSize = 8192; in initPorts()
DSoftAACEncoder2.cpp87 def.nBufferSize = kNumSamplesPerFrame * sizeof(int16_t) * 2; in initPorts()
105 def.nBufferSize = 8192; in initPorts()
/frameworks/native/include/media/openmax/
DOMX_Component.h85 OMX_U32 nBufferSize; /**< Size, in bytes, for buffers to be used for this channel */ member
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/
DSoftMPEG4.cpp379 def->nBufferSize = (def->format.video.nStride * def->format.video.nSliceHeight * 3) / 2; in updatePortDefinitions()
/frameworks/av/media/libstagefright/codecs/aacdec/
DSoftAAC2.cpp98 def.nBufferSize = 8192; in initPorts()
116 def.nBufferSize = 4096 * MAX_CHANNEL_COUNT; in initPorts()
/frameworks/av/include/media/stagefright/
DACodec.h321 OMX_U32 *nBufferCount, OMX_U32 *nBufferSize,
/frameworks/av/media/libstagefright/
DACodec.cpp801 size_t bufSize = def.nBufferSize; in allocateBuffersOnPort()
835 def.nBufferCountActual, bufSize, allottedSize, def.nBufferSize, asString(type), in allocateBuffersOnPort()
1085 *bufferSize = def.nBufferSize; in configureOutputBuffersFromNativeWindow()
2477 if (def.nBufferSize >= size) { in setMinBufferSize()
2481 def.nBufferSize = size; in setMinBufferSize()
2497 if (def.nBufferSize < size) { in setMinBufferSize()
2498 ALOGE("failed to set min buffer size to %zu (is still %u)", size, def.nBufferSize); in setMinBufferSize()
3626 def.nBufferSize = (video_def->nStride * video_def->nSliceHeight * 3) / 2; in setupVideoEncoder()
4387 if (def.nBufferSize < X) { in setVideoFormatOnPort()
4388 def.nBufferSize = X; in setVideoFormatOnPort()
/frameworks/av/media/libstagefright/omx/tests/
DOMXHarness.cpp193 buffer.mMemory = dealer->allocate(def.nBufferSize); in allocatePortBuffers()