Home
last modified time | relevance | path

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

/external/opencore/codecs_v2/video/avc_h264/enc/src/
Dbitstream_io.cpp47 uint8 *overrunBuffer, int oBSize) in BitstreamEncInit() argument
68 stream->oBSize = oBSize; in BitstreamEncInit()
271 if (stream->write_pos + numExtraBytes >= stream->oBSize) in AVCBitstreamUseOverrunBuffer()
273 stream->oBSize = stream->write_pos + numExtraBytes + 100; in AVCBitstreamUseOverrunBuffer()
274 stream->oBSize &= (~0x3); // make it multiple of 4 in AVCBitstreamUseOverrunBuffer()
283 encvid->oBSize = stream->oBSize; in AVCBitstreamUseOverrunBuffer()
285 stream->oBSize, DEFAULT_ATTR); in AVCBitstreamUseOverrunBuffer()
297 stream->buf_size = stream->oBSize; in AVCBitstreamUseOverrunBuffer()
301 stream->oBSize = stream->write_pos + numExtraBytes + 100; in AVCBitstreamUseOverrunBuffer()
302 stream->oBSize &= (~0x3); // make it multiple of 4 in AVCBitstreamUseOverrunBuffer()
[all …]
Davcenc_api.cpp162 encvid->oBSize = encvid->rateCtrl->cpbSize; in PVAVCEncInitialize()
163 if (encvid->oBSize > DEFAULT_OVERRUN_BUFFER_SIZE) in PVAVCEncInitialize()
165 encvid->oBSize = DEFAULT_OVERRUN_BUFFER_SIZE; in PVAVCEncInitialize()
167 … encvid->overrunBuffer = (uint8*) avcHandle->CBAVC_Malloc(userData, encvid->oBSize, DEFAULT_ATTR); in PVAVCEncInitialize()
175 encvid->oBSize = 0; in PVAVCEncInitialize()
449 … BitstreamEncInit(bitstream, buffer, *buf_nal_size, encvid->overrunBuffer, encvid->oBSize); in PVAVCEncodeNAL()
Davcenc_int.h138 int oBSize; /* size of allocated overrun buffer */ member
375 int oBSize; /* size of allocated overrun buffer */ member
Davcenc_lib.h236 uint8 *overrunBuffer, int oBSize);
/external/opencore/codecs_v2/video/m4v_h263/enc/src/
Dbitstream_io.cpp77 stream->oBSize = 0; in BitStreamCreateEnc()
775 Void BitstreamSetOverrunBuffer(BitstreamEncVideo* stream, UChar* overrunBuffer, Int oBSize, VideoE… in BitstreamSetOverrunBuffer() argument
778 stream->oBSize = oBSize; in BitstreamSetOverrunBuffer()
794 if (stream->byteCount + numExtraBytes >= stream->oBSize) in BitstreamUseOverrunBuffer()
796 stream->oBSize = stream->byteCount + numExtraBytes + 100; in BitstreamUseOverrunBuffer()
797 stream->oBSize &= (~0x3); // make it multiple of 4 in BitstreamUseOverrunBuffer()
804 video->oBSize = stream->oBSize; in BitstreamUseOverrunBuffer()
805 video->overrunBuffer = (UChar*) M4VENC_MALLOC(sizeof(UChar) * stream->oBSize); in BitstreamUseOverrunBuffer()
816 stream->bufferSize = stream->oBSize; in BitstreamUseOverrunBuffer()
820 if (stream->byteCount + numExtraBytes >= stream->oBSize) in BitstreamUseOverrunBuffer()
[all …]
Dbitstream_io.h49 …Void BitstreamSetOverrunBuffer(BitstreamEncVideo *stream, UChar *overrunBuffer, Int oBSize, Video…
Dmp4lib_int.h38 Int oBSize; /* length of overrun buffer */ member
342 Int oBSize; /* size of allocated overrun buffer */ member
Dmp4enc_api.cpp714 video->oBSize = encParams->BufferSize[0] >> 3; in PVInitVideoEncoder()
718 video->oBSize = PV_MAX((encParams->BufferSize[0] >> 3), (encParams->BufferSize[1] >> 3)); in PVInitVideoEncoder()
721 … if (video->oBSize > DEFAULT_OVERRUN_BUFFER_SIZE || encParams->RC_Type == CONSTANT_Q) // set limit in PVInitVideoEncoder()
723 video->oBSize = DEFAULT_OVERRUN_BUFFER_SIZE; in PVInitVideoEncoder()
725 video->overrunBuffer = (UChar*) M4VENC_MALLOC(sizeof(UChar) * video->oBSize); in PVInitVideoEncoder()
1436 BitstreamSetOverrunBuffer(currVol->stream, video->overrunBuffer, video->oBSize, video); in PVEncodeVideoFrame()