Searched refs:oBSize (Results 1 - 8 of 8) sorted by relevance

/frameworks/av/media/libstagefright/codecs/avc/enc/src/
H A Dbitstream_io.cpp46 uint8 *overrunBuffer, int oBSize)
67 stream->oBSize = oBSize;
270 if (stream->write_pos + numExtraBytes >= stream->oBSize)
272 stream->oBSize = stream->write_pos + numExtraBytes + 100;
273 stream->oBSize &= (~0x3); // make it multiple of 4
282 encvid->oBSize = stream->oBSize;
284 stream->oBSize, DEFAULT_ATTR);
296 stream->buf_size = stream->oBSize;
45 BitstreamEncInit(AVCEncBitstream *stream, uint8 *buffer, int buf_size, uint8 *overrunBuffer, int oBSize) argument
[all...]
H A Davcenc_api.cpp153 encvid->oBSize = encvid->rateCtrl->cpbSize;
154 if (encvid->oBSize > DEFAULT_OVERRUN_BUFFER_SIZE)
156 encvid->oBSize = DEFAULT_OVERRUN_BUFFER_SIZE;
158 encvid->overrunBuffer = (uint8*) avcHandle->CBAVC_Malloc(userData, encvid->oBSize, DEFAULT_ATTR);
166 encvid->oBSize = 0;
439 BitstreamEncInit(bitstream, buffer, *buf_nal_size, encvid->overrunBuffer, encvid->oBSize);
H A Davcenc_int.h140 int oBSize; /* size of allocated overrun buffer */ member in struct:tagEncBitstream
377 int oBSize; /* size of allocated overrun buffer */ member in struct:tagEncObject
H A Davcenc_lib.h232 \param "oBSize" "Size of overrun buffer in bytes."
236 uint8 *overrunBuffer, int oBSize);
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dbitstream_io.cpp78 stream->oBSize = 0;
776 Void BitstreamSetOverrunBuffer(BitstreamEncVideo* stream, UChar* overrunBuffer, Int oBSize, VideoEncData *video) argument
779 stream->oBSize = oBSize;
795 if (stream->byteCount + numExtraBytes >= stream->oBSize)
797 stream->oBSize = stream->byteCount + numExtraBytes + 100;
798 stream->oBSize &= (~0x3); // make it multiple of 4
805 video->oBSize = stream->oBSize;
806 video->overrunBuffer = (UChar*) M4VENC_MALLOC(sizeof(UChar) * stream->oBSize);
[all...]
H A Dbitstream_io.h49 Void BitstreamSetOverrunBuffer(BitstreamEncVideo *stream, UChar *overrunBuffer, Int oBSize, VideoEncData *video);
H A Dmp4lib_int.h36 Int oBSize; /* length of overrun buffer */ member in struct:tagBitstream
340 Int oBSize; /* size of allocated overrun buffer */ member in struct:tagVideoEncData
H A Dmp4enc_api.cpp714 video->oBSize = encParams->BufferSize[0] >> 3;
718 video->oBSize = PV_MAX((encParams->BufferSize[0] >> 3), (encParams->BufferSize[1] >> 3));
721 if (video->oBSize > DEFAULT_OVERRUN_BUFFER_SIZE || encParams->RC_Type == CONSTANT_Q) // set limit
723 video->oBSize = DEFAULT_OVERRUN_BUFFER_SIZE;
725 video->overrunBuffer = (UChar*) M4VENC_MALLOC(sizeof(UChar) * video->oBSize);
1436 BitstreamSetOverrunBuffer(currVol->stream, video->overrunBuffer, video->oBSize, video);

Completed in 287 milliseconds