/frameworks/av/cmds/stagefright/ |
H A D | muxer.cpp | 79 size_t bufferSize = 1 * 1024 * 1024; // default buffer size is 1MB. local 113 bufferSize = width * height * 4; // Assuming it is maximally 4BPP 143 sp<ABuffer> newBuffer = new ABuffer(bufferSize);
|
/frameworks/av/drm/common/ |
H A D | IDrmManagerService.cpp | 176 const int bufferSize = reply.readInt32(); local 178 if (0 < bufferSize) { 179 data = new char[bufferSize]; 180 reply.read(data, bufferSize); 206 const int bufferSize = reply.readInt32(); local 208 if (0 < bufferSize) { 209 data = new char[bufferSize]; 210 reply.read(data, bufferSize); 272 const int bufferSize = reply.readInt32(); local 274 if (0 < bufferSize) { 318 const int bufferSize = reply.readInt32(); local 522 const int bufferSize = reply.readInt32(); local 554 const int bufferSize = reply.readInt32(); local 866 int bufferSize = 0; local 898 int bufferSize = 0; local 936 const int bufferSize = data.readInt32(); local 961 const int bufferSize = drmBuffer->length; local 1008 const int bufferSize = drmBuffer.length; local 1038 const int bufferSize = data.readInt32(); local 1209 const int bufferSize = data.readInt32(); local 1221 const int bufferSize = convertedData->length; local 1252 const int bufferSize = convertedData->length; local 1350 const int bufferSize = data.readInt32(); local 1396 const int bufferSize = data.readInt32(); local [all...] |
/frameworks/av/drm/libdrmframework/plugins/passthru/src/ |
H A D | DrmPassthruPlugIn.cpp | 95 const int bufferSize = licenseString.size(); local 97 data = new char[bufferSize]; 98 memcpy(data, licenseString.string(), bufferSize); 99 const DrmBuffer* buffer = new DrmBuffer(data, bufferSize);
|
/frameworks/av/include/media/ |
H A D | MediaPlayerInterface.h | 93 virtual ssize_t bufferSize() const = 0;
|
/frameworks/av/include/media/stagefright/ |
H A D | YUVImage.h | 68 static size_t bufferSize(YUVFormat yuvFormat, int32_t width, int32_t height);
|
/frameworks/av/libvideoeditor/lvpp/ |
H A D | VideoEditorPlayer.cpp | 344 ssize_t VideoEditorPlayer::VeAudioOutput::bufferSize() const { function in class:android::VideoEditorPlayer::VeAudioOutput
|
H A D | VideoEditorPlayer.h | 42 virtual ssize_t bufferSize() const;
|
/frameworks/av/libvideoeditor/osal/src/ |
H A D | LVOSA_FileReader_optim.c | 225 M4OSA_UInt32 bufferSize; local 246 bufferSize = M4OSA_READBUFFER_SIZE; 247 tempPos = (M4OSA_FilePosition) (pos / bufferSize);
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | MediaPlayerService.cpp | 1345 ssize_t MediaPlayerService::AudioOutput::bufferSize() const function in class:android::MediaPlayerService::AudioOutput 1891 mBufferSize = sink->bufferSize();
|
H A D | MediaPlayerService.h | 80 virtual ssize_t bufferSize() const; 185 virtual ssize_t bufferSize() const { return frameSize() * mFrameCount; } function in class:android::MediaPlayerService::AudioCache
|
/frameworks/av/media/libstagefright/ |
H A D | ACodec.cpp | 550 OMX_U32 *bufferCount, OMX_U32 *bufferSize, 653 *bufferSize = def.nBufferSize; 658 OMX_U32 bufferCount, bufferSize, minUndequeuedBuffers; local 660 &bufferCount, &bufferSize, &minUndequeuedBuffers); 666 mComponentName.c_str(), bufferCount, bufferSize); 680 info.mData = new ABuffer(NULL /* data */, bufferSize /* capacity */); 723 OMX_U32 bufferCount, bufferSize, minUndequeuedBuffers; local 725 &bufferCount, &bufferSize, &minUndequeuedBuffers); 549 configureOutputBuffersFromNativeWindow( OMX_U32 *bufferCount, OMX_U32 *bufferSize, OMX_U32 *minUndequeuedBuffers) argument
|
H A D | AudioSource.cpp | 315 size_t bufferSize = numLostBytes; local 318 bufferSize = kMaxBufferSize; 322 MediaBuffer *lostAudioBuffer = new MediaBuffer(bufferSize); 323 memset(lostAudioBuffer->data(), 0, bufferSize); 324 lostAudioBuffer->set_range(0, bufferSize); 333 const size_t bufferSize = audioBuffer.size; local 334 MediaBuffer *buffer = new MediaBuffer(bufferSize); 337 buffer->set_range(0, bufferSize); 343 const size_t bufferSize = buffer->range_length(); local 347 ((1000000LL * (bufferSize / frameSiz [all...] |
H A D | FLACExtractor.cpp | 665 size_t bufferSize = blocksize * getChannels() * sizeof(short); local 666 CHECK(bufferSize <= mMaxBufferSize); 668 buffer->set_range(0, bufferSize);
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/ |
H A D | SoftMPEG4.cpp | 209 int32_t bufferSize = inHeader->nFilledLen; local 210 int32_t tmp = bufferSize; 234 inHeader->nOffset += bufferSize;
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
H A D | bitstream_io.cpp | 43 /* Function : BitStreamCreateEnc(Int bufferSize ) */ 47 /* bufferSize : size of the bitstream buffer in bytes */ 52 BitstreamEncVideo *BitStreamCreateEnc(Int bufferSize) argument 60 stream->bufferSize = bufferSize; 61 stream->bitstreamBuffer = (UChar *) M4VENC_MALLOC(stream->bufferSize * sizeof(UChar)); 68 M4VENC_MEMSET(stream->bitstreamBuffer, 0, stream->bufferSize*sizeof(UChar)); 213 if (stream->byteCount + WORD_SIZE > stream->bufferSize) 267 if (stream->byteCount + numbyte > stream->bufferSize) 446 if (bitstream1->byteCount + bitstream2->byteCount + offset > bitstream1->bufferSize) [all...] |
H A D | bitstream_io.h | 30 BitstreamEncVideo *BitStreamCreateEnc(Int bufferSize);
|
H A D | combined_encode.cpp | 506 if (mbnum < nTotalMB - 1 && currVol->stream->byteCount + bs1->byteCount + 1 >= currVol->stream->bufferSize) 509 byteCount = currVol->stream->bufferSize - currVol->stream->byteCount - 1; 550 if (currVol->stream->byteCount + bs1->byteCount > currVol->stream->bufferSize) 568 // if(mbnum == nTotalMB || k + bs1->byteCount >= currVol->stream->bufferSize){
|
H A D | mp4enc_api.cpp | 1434 currVol->stream->bufferSize = *size; 1707 currVol->stream->bufferSize = 0; 1858 currVol->stream->bufferSize = pre_size + (*size);
|
H A D | mp4lib_int.h | 31 Int bufferSize; /*total bitstream buffer size in bytes */ member in struct:tagBitstream
|
H A D | vop.cpp | 319 stream->bufferSize = *size; 517 tmp.bufferSize = 30;
|
/frameworks/av/media/libstagefright/yuv/ |
H A D | YUVImage.cpp | 31 size_t numberOfBytes = bufferSize(yuvFormat, width, height); 50 size_t YUVImage::bufferSize(YUVFormat yuvFormat, int32_t width, int32_t height) { function in class:android::YUVImage
|
/frameworks/av/media/mtp/ |
H A D | MtpPacket.cpp | 31 MtpPacket::MtpPacket(int bufferSize) argument 33 mBufferSize(bufferSize), 34 mAllocationIncrement(bufferSize), 37 mBuffer = (uint8_t *)malloc(bufferSize);
|
H A D | MtpPacket.h | 38 MtpPacket(int bufferSize);
|
/frameworks/av/services/audioflinger/ |
H A D | Tracks.cpp | 97 // ALOGD("Creating track with %d buffers @ %d bytes", bufferCount, bufferSize); 99 size_t bufferSize = (sharedBuffer == 0 ? roundup(frameCount) : frameCount) * mFrameSize; local 101 size += bufferSize; 127 memset(mBuffer, 0, bufferSize);
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
H A D | CallbackProcessor.cpp | 367 size_t bufferSize = Camera2Client::calculateBufferSize( local 372 if (bufferSize != currentBufferSize) { 374 mCallbackHeap = new Camera2Heap(bufferSize, kCallbackHeapCount, 411 memcpy(data, imgBuffer.data, bufferSize);
|