Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/codecs/raw/
DSoftRaw.cpp63 def.nBufferSize = 192 * 1024; in initPorts()
81 def.nBufferSize = 192 * 1024; in initPorts()
227 outPort->mDef.nBufferSize = inPort->mDef.nBufferSize; in internalSetParameter()
/frameworks/av/media/libstagefright/omx/
DSoftVideoDecoderOMXComponent.cpp109 def.nBufferSize = inputBufferSize; in initPorts()
161 outDef->nBufferSize = in updatePortDefinitions()
173 inDef->nBufferSize = max( in updatePortDefinitions()
174 outDef->nBufferSize / mMinCompressionRatio, in updatePortDefinitions()
175 max(mMinInputBufferSize, inDef->nBufferSize)); in updatePortDefinitions()
519 newParams->nBufferSize = def->nBufferSize; in internalSetParameter()
DSimpleSoftOMXComponent.cpp206 if (defParams->nBufferSize > port->mDef.nBufferSize) { in internalSetParameter()
207 port->mDef.nBufferSize = defParams->nBufferSize; in internalSetParameter()
250 if (size < port->mDef.nBufferSize) { in useBuffer()
DSoftVideoEncoderOMXComponent.cpp160 inDef->nBufferSize = max(sizeof(VideoNativeMetadata), sizeof(VideoGrallocMetadata)); in updatePortParams()
162 inDef->nBufferSize = rawBufferSize; in updatePortParams()
170 outDef->nBufferSize = max(mMinOutputBufferSize, rawBufferSize / mMinCompressionRatio); in updatePortParams()
DOMXNodeInstance.cpp1404 def.nBufferSize, in useGraphicBuffer2_l()
1408 CLOG_ERROR(useBuffer, err, BUFFER_FMT(portIndex, "%u@%p", def.nBufferSize, bufferHandle)); in useGraphicBuffer2_l()
1422 *buffer, portIndex, "%u@%p", def.nBufferSize, bufferHandle)); in useGraphicBuffer2_l()
/frameworks/av/media/libstagefright/codecs/flac/dec/
DSoftFlacDecoder.cpp74 def.nBufferSize = 32768; in initPorts()
92 def.nBufferSize = kNumSamplesPerFrame * FLACDecoder::kMaxChannels * sizeof(float); in initPorts()
476 info->mDef.nBufferSize = in onPortEnableCompleted()
/frameworks/av/media/libstagefright/codecs/flac/enc/
DSoftFlacEncoder.cpp122 def.nBufferSize = kMaxInputBufferSize; in initPorts()
141 def.nBufferSize = kMaxOutputBufferSize; in initPorts()
348 if (defParams->nBufferSize > kMaxInputBufferSize) { in internalSetParameter()
/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/g711/dec/
DSoftG711.cpp69 def.nBufferSize = 8192; in initPorts()
92 def.nBufferSize = kMaxNumSamplesPerFrame * sizeof(int16_t); 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.cpp82 def.nBufferSize = 8192; in initPorts()
105 def.nBufferSize = in initPorts()
/frameworks/av/media/libstagefright/codecs/vorbis/dec/
DSoftVorbis.cpp90 def.nBufferSize = kMaxNumSamplesPerBuffer * sizeof(int16_t); in initPorts()
110 def.nBufferSize = kMaxNumSamplesPerBuffer * sizeof(int16_t); in initPorts()
/frameworks/av/media/libstagefright/codecs/opus/dec/
DSoftOpus.cpp92 def.nBufferSize = 960 * 6; in initPorts()
113 def.nBufferSize = kMaxNumSamplesPerBuffer * sizeof(int16_t) * kMaxChannels; in initPorts()
/frameworks/av/media/libstagefright/codecs/aacenc/
DSoftAACEncoder2.cpp88 def.nBufferSize = kNumSamplesPerFrame * sizeof(int16_t) * 2; in initPorts()
106 def.nBufferSize = 8192; in initPorts()
/frameworks/native/headers/media_plugin/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.cpp410 def->nBufferSize = (def->format.video.nStride * def->format.video.nSliceHeight * 3) / 2; in updatePortDefinitions()
/frameworks/av/media/libstagefright/codecs/aacdec/
DSoftAAC2.cpp104 def.nBufferSize = 8192; in initPorts()
122 def.nBufferSize = 4096 * MAX_CHANNEL_COUNT; in initPorts()
/frameworks/av/media/libstagefright/codecs/xaacdec/
DSoftXAAC.cpp141 def.nBufferSize = 8192; in initPorts()
159 def.nBufferSize = 4096 * MAX_CHANNEL_COUNT; in initPorts()
/frameworks/av/media/libstagefright/include/media/stagefright/
DACodec.h338 OMX_U32 *nBufferCount, OMX_U32 *nBufferSize,
/frameworks/av/media/libstagefright/
DACodec.cpp894 size_t bufSize = def.nBufferSize; in allocateBuffersOnPort()
923 def.nBufferCountActual, bufSize, def.nBufferSize, asString(mode), in allocateBuffersOnPort()
1229 *bufferSize = def.nBufferSize; in configureOutputBuffersFromNativeWindow()
2792 if (def.nBufferSize >= size) { in setMinBufferSize()
2796 def.nBufferSize = size; in setMinBufferSize()
2812 if (def.nBufferSize < size) { in setMinBufferSize()
2813 ALOGE("failed to set min buffer size to %zu (is still %u)", size, def.nBufferSize); in setMinBufferSize()
4069 def.nBufferSize = (video_def->nStride * video_def->nSliceHeight * 3) / 2; in setupVideoEncoder()
5074 if (def.nBufferSize < X) { in setVideoFormatOnPort()
5075 def.nBufferSize = X; in setVideoFormatOnPort()
/frameworks/av/media/libstagefright/omx/tests/
DOMXHarness.cpp229 auto transStatus = mAllocator->allocate(def.nBufferSize, in allocatePortBuffers()