/frameworks/av/media/libstagefright/omx/ |
D | SoftVideoDecoderOMXComponent.cpp | 89 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()
|
D | SimpleSoftOMXComponent.cpp | 174 if (defParams->nBufferSize > port->mDef.nBufferSize) { in internalSetParameter() 175 port->mDef.nBufferSize = defParams->nBufferSize; in internalSetParameter()
|
D | SoftVideoEncoderOMXComponent.cpp | 158 inDef->nBufferSize = max(sizeof(VideoNativeMetadata), sizeof(VideoGrallocMetadata)); in updatePortParams() 160 inDef->nBufferSize = rawBufferSize; in updatePortParams() 168 outDef->nBufferSize = max(mMinOutputBufferSize, rawBufferSize / mMinCompressionRatio); in updatePortParams()
|
D | OMXNodeInstance.cpp | 762 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/ |
D | SoftRaw.cpp | 63 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/ |
D | SoftFlacEncoder.cpp | 118 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/ |
D | SoftG711.cpp | 67 def.nBufferSize = 8192; in initPorts() 90 def.nBufferSize = kMaxNumSamplesPerFrame * sizeof(int16_t); in initPorts()
|
/frameworks/av/media/libstagefright/codecs/gsm/dec/ |
D | SoftGSM.cpp | 70 def.nBufferSize = 1024 / kMSGSMFrameSize * kMSGSMFrameSize; in initPorts() 90 def.nBufferSize = kMaxNumSamplesPerFrame * sizeof(int16_t); in initPorts()
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/ |
D | SoftAMRNBEncoder.cpp | 74 def.nBufferSize = kNumSamplesPerFrame * sizeof(int16_t); in initPorts() 92 def.nBufferSize = 8192; in initPorts()
|
/frameworks/av/media/libstagefright/codecs/mp3dec/ |
D | SoftMP3.cpp | 77 def.nBufferSize = 8192; in initPorts() 97 def.nBufferSize = kOutputBufferSize; in initPorts()
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/ |
D | SoftAMRWBEncoder.cpp | 81 def.nBufferSize = kNumSamplesPerFrame * sizeof(int16_t); in initPorts() 99 def.nBufferSize = 8192; in initPorts()
|
/frameworks/av/media/libstagefright/codecs/amrnb/dec/ |
D | SoftAMR.cpp | 85 def.nBufferSize = 8192; in initPorts() 108 def.nBufferSize = in initPorts()
|
/frameworks/av/media/libstagefright/codecs/vorbis/dec/ |
D | SoftVorbis.cpp | 87 def.nBufferSize = kMaxNumSamplesPerBuffer * sizeof(int16_t); in initPorts() 107 def.nBufferSize = kMaxNumSamplesPerBuffer * sizeof(int16_t); in initPorts()
|
/frameworks/av/media/libstagefright/codecs/opus/dec/ |
D | SoftOpus.cpp | 89 def.nBufferSize = 960 * 6; in initPorts() 110 def.nBufferSize = kMaxNumSamplesPerBuffer * sizeof(int16_t) * kMaxChannels; in initPorts()
|
/frameworks/av/media/libstagefright/codecs/aacenc/ |
D | SoftAACEncoder.cpp | 88 def.nBufferSize = kNumSamplesPerFrame * sizeof(int16_t) * 2; in initPorts() 106 def.nBufferSize = 8192; in initPorts()
|
D | SoftAACEncoder2.cpp | 87 def.nBufferSize = kNumSamplesPerFrame * sizeof(int16_t) * 2; in initPorts() 105 def.nBufferSize = 8192; in initPorts()
|
/frameworks/native/include/media/openmax/ |
D | OMX_Component.h | 85 OMX_U32 nBufferSize; /**< Size, in bytes, for buffers to be used for this channel */ member
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/ |
D | SoftMPEG4.cpp | 379 def->nBufferSize = (def->format.video.nStride * def->format.video.nSliceHeight * 3) / 2; in updatePortDefinitions()
|
/frameworks/av/media/libstagefright/codecs/aacdec/ |
D | SoftAAC2.cpp | 98 def.nBufferSize = 8192; in initPorts() 116 def.nBufferSize = 4096 * MAX_CHANNEL_COUNT; in initPorts()
|
/frameworks/av/include/media/stagefright/ |
D | ACodec.h | 321 OMX_U32 *nBufferCount, OMX_U32 *nBufferSize,
|
/frameworks/av/media/libstagefright/ |
D | ACodec.cpp | 801 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/ |
D | OMXHarness.cpp | 193 buffer.mMemory = dealer->allocate(def.nBufferSize); in allocatePortBuffers()
|