Home
last modified time | relevance | path

Searched refs:nBufferSize (Results 1 – 23 of 23) 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()
400 newParams->nBufferSize = def->nBufferSize; in internalSetParameter()
DSimpleSoftOMXComponent.cpp166 if (defParams->nBufferSize > port->mDef.nBufferSize) { in internalSetParameter()
167 port->mDef.nBufferSize = defParams->nBufferSize; in internalSetParameter()
DSoftVideoEncoderOMXComponent.cpp158 inDef->nBufferSize = 4 + max(sizeof(buffer_handle_t), sizeof(GraphicBuffer *)); in updatePortParams()
160 inDef->nBufferSize = rawBufferSize; in updatePortParams()
168 outDef->nBufferSize = max(mMinOutputBufferSize, rawBufferSize / mMinCompressionRatio); in updatePortParams()
DOMXNodeInstance.cpp688 def.nBufferSize, in useGraphicBuffer2_l()
692 CLOG_ERROR(useBuffer, err, BUFFER_FMT(portIndex, "%u@%p", def.nBufferSize, bufferHandle)); in useGraphicBuffer2_l()
706 *buffer, portIndex, "%u@%p", def.nBufferSize, bufferHandle)); in useGraphicBuffer2_l()
/frameworks/av/media/libstagefright/codecs/raw/
DSoftRaw.cpp61 def.nBufferSize = 32 * 1024; in initPorts()
79 def.nBufferSize = 32 * 1024; in initPorts()
/frameworks/av/media/libstagefright/codecs/flac/enc/
DSoftFlacEncoder.cpp118 def.nBufferSize = kMaxInputBufferSize; in initPorts()
137 def.nBufferSize = kMaxOutputBufferSize; in initPorts()
249 if (defParams->nBufferSize > kMaxInputBufferSize) { in internalSetParameter()
/frameworks/av/media/libstagefright/codecs/gsm/dec/
DSoftGSM.cpp67 def.nBufferSize = sizeof(gsm_frame); in initPorts()
87 def.nBufferSize = kMaxNumSamplesPerFrame * sizeof(int16_t); in initPorts()
/frameworks/av/media/libstagefright/
DOMXCodec.cpp719 || (def.nBufferSize < size)) { in setMinBufferSize()
720 def.nBufferSize = size; in setMinBufferSize()
734 CHECK_EQ(def.nBufferSize, size); in setMinBufferSize()
736 CHECK(def.nBufferSize >= size); in setMinBufferSize()
923 def.nBufferSize = getFrameSize(colorFormat, in setVideoInputFormat()
961 def.nBufferSize = ((def.nBufferSize * 3) >> 1); in setVideoInputFormat()
1368 if (def.nBufferSize < X) { in setVideoOutputFormat()
1369 def.nBufferSize = X; in setVideoOutputFormat()
1399 def.nBufferSize = in setVideoOutputFormat()
1650 def.nBufferCountActual, def.nBufferSize, in allocateBuffersOnPort()
[all …]
DACodec.cpp547 def.nBufferCountActual, def.nBufferSize, in allocateBuffersOnPort()
550 size_t totalSize = def.nBufferCountActual * def.nBufferSize; in allocateBuffersOnPort()
554 sp<IMemory> mem = mDealer[portIndex]->allocate(def.nBufferSize); in allocateBuffersOnPort()
571 mNode, portIndex, def.nBufferSize, &info.mBufferID, in allocateBuffersOnPort()
575 (4 + sizeof(buffer_handle_t)) : def.nBufferSize; in allocateBuffersOnPort()
586 info.mData = new ABuffer(mem->pointer(), def.nBufferSize); in allocateBuffersOnPort()
786 *bufferSize = def.nBufferSize; in configureOutputBuffersFromNativeWindow()
1697 if (def.nBufferSize >= size) { in setMinBufferSize()
1701 def.nBufferSize = size; in setMinBufferSize()
1717 CHECK(def.nBufferSize >= size); in setMinBufferSize()
[all …]
/frameworks/av/media/libstagefright/codecs/g711/dec/
DSoftG711.cpp66 def.nBufferSize = 8192; in initPorts()
89 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.cpp86 def.nBufferSize = 8192; in initPorts()
106 def.nBufferSize = kMaxNumSamplesPerBuffer * sizeof(int16_t); 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.cpp77 def.nBufferSize = kNumSamplesPerFrame * sizeof(int16_t) * 2; in initPorts()
95 def.nBufferSize = 8192; in initPorts()
/frameworks/av/media/libstagefright/codecs/opus/dec/
DSoftOpus.cpp83 def.nBufferSize = 960 * 6; in initPorts()
104 def.nBufferSize = kMaxNumSamplesPerBuffer * sizeof(int16_t); 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.cpp364 def->nBufferSize = (def->format.video.nStride * def->format.video.nSliceHeight * 3) / 2; in updatePortDefinitions()
/frameworks/av/include/media/stagefright/
DACodec.h231 OMX_U32 *nBufferCount, OMX_U32 *nBufferSize,
/frameworks/av/media/libstagefright/codecs/aacdec/
DSoftAAC2.cpp89 def.nBufferSize = 8192; in initPorts()
107 def.nBufferSize = 4096 * MAX_CHANNEL_COUNT; in initPorts()
/frameworks/av/media/libstagefright/omx/tests/
DOMXHarness.cpp191 buffer.mMemory = dealer->allocate(def.nBufferSize); in allocatePortBuffers()