Home
last modified time | relevance | path

Searched refs:oBSize (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/media/module/codecs/m4v_h263/enc/src/
Dbitstream_io.cpp78 stream->oBSize = 0; in BitStreamCreateEnc()
776 Void BitstreamSetOverrunBuffer(BitstreamEncVideo* stream, UChar* overrunBuffer, Int oBSize, VideoE… in BitstreamSetOverrunBuffer() argument
779 stream->oBSize = oBSize; in BitstreamSetOverrunBuffer()
795 if (stream->byteCount + numExtraBytes >= stream->oBSize) in BitstreamUseOverrunBuffer()
797 stream->oBSize = stream->byteCount + numExtraBytes + 100; in BitstreamUseOverrunBuffer()
798 stream->oBSize &= (~0x3); // make it multiple of 4 in BitstreamUseOverrunBuffer()
805 video->oBSize = stream->oBSize; in BitstreamUseOverrunBuffer()
806 video->overrunBuffer = (UChar*) M4VENC_MALLOC(sizeof(UChar) * stream->oBSize); in BitstreamUseOverrunBuffer()
817 stream->bufferSize = stream->oBSize; in BitstreamUseOverrunBuffer()
821 if (stream->byteCount + numExtraBytes >= stream->oBSize) in BitstreamUseOverrunBuffer()
[all …]
Dbitstream_io.h49 …Void BitstreamSetOverrunBuffer(BitstreamEncVideo *stream, UChar *overrunBuffer, Int oBSize, Video…
Dmp4lib_int.h36 Int oBSize; /* length of overrun buffer */ member
341 Int oBSize; /* size of allocated overrun buffer */ member
Dmp4enc_api.cpp742 video->oBSize = encParams->BufferSize[0] >> 3; in PVInitVideoEncoder()
746 video->oBSize = PV_MAX((encParams->BufferSize[0] >> 3), (encParams->BufferSize[1] >> 3)); in PVInitVideoEncoder()
749 … if (video->oBSize > DEFAULT_OVERRUN_BUFFER_SIZE || encParams->RC_Type == CONSTANT_Q) // set limit in PVInitVideoEncoder()
751 video->oBSize = DEFAULT_OVERRUN_BUFFER_SIZE; in PVInitVideoEncoder()
753 video->overrunBuffer = (UChar*) M4VENC_MALLOC(sizeof(UChar) * video->oBSize); in PVInitVideoEncoder()
1470 BitstreamSetOverrunBuffer(currVol->stream, video->overrunBuffer, video->oBSize, video); in PVEncodeVideoFrame()