Home
last modified time | relevance | path

Searched refs:overrunBuffer (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
66 stream->overrunBuffer = overrunBuffer; in BitstreamEncInit()
267 if (stream->overrunBuffer != NULL) // overrunBuffer is set in AVCBitstreamUseOverrunBuffer()
269 if (stream->bitstreamBuffer != stream->overrunBuffer) // not already used in AVCBitstreamUseOverrunBuffer()
277 if (encvid->overrunBuffer) in AVCBitstreamUseOverrunBuffer()
280 (int)encvid->overrunBuffer); in AVCBitstreamUseOverrunBuffer()
284 … encvid->overrunBuffer = (uint8*) encvid->avcHandle->CBAVC_Malloc(encvid->avcHandle->userData, in AVCBitstreamUseOverrunBuffer()
287 stream->overrunBuffer = encvid->overrunBuffer; in AVCBitstreamUseOverrunBuffer()
288 if (stream->overrunBuffer == NULL) in AVCBitstreamUseOverrunBuffer()
295 oscl_memcpy(stream->overrunBuffer, stream->bitstreamBuffer, stream->write_pos); in AVCBitstreamUseOverrunBuffer()
[all …]
Davcenc_api.cpp167 … encvid->overrunBuffer = (uint8*) avcHandle->CBAVC_Malloc(userData, encvid->oBSize, DEFAULT_ATTR); in PVAVCEncInitialize()
168 if (encvid->overrunBuffer == NULL) in PVAVCEncInitialize()
176 encvid->overrunBuffer = NULL; in PVAVCEncInitialize()
449 … BitstreamEncInit(bitstream, buffer, *buf_nal_size, encvid->overrunBuffer, encvid->oBSize); in PVAVCEncodeNAL()
536 if (bitstream->overrunBuffer == bitstream->bitstreamBuffer) /* OB is used */ in PVAVCEncGetOverrunBuffer()
538 return encvid->overrunBuffer; in PVAVCEncGetOverrunBuffer()
638 if (encvid->overrunBuffer) in PVAVCCleanUpEncoder()
640 avcHandle->CBAVC_Free(userData, (int)encvid->overrunBuffer); in PVAVCCleanUpEncoder()
Davcenc_int.h137 …uint8 *overrunBuffer; /* extra output buffer to prevent current skip due to output buffer overr… member
374 …uint8 *overrunBuffer; /* extra output buffer to prevent current skip due to output buffer overr… member
Davcenc_lib.h236 uint8 *overrunBuffer, int oBSize);
/external/opencore/codecs_v2/video/m4v_h263/enc/src/
Dbitstream_io.cpp76 stream->overrunBuffer = NULL; in BitStreamCreateEnc()
775 Void BitstreamSetOverrunBuffer(BitstreamEncVideo* stream, UChar* overrunBuffer, Int oBSize, VideoE… in BitstreamSetOverrunBuffer() argument
777 stream->overrunBuffer = overrunBuffer; in BitstreamSetOverrunBuffer()
790 if (stream->overrunBuffer != NULL) // overrunBuffer is set in BitstreamUseOverrunBuffer()
792 if (stream->bitstreamBuffer != stream->overrunBuffer) // not already used in BitstreamUseOverrunBuffer()
800 if (video->overrunBuffer) in BitstreamUseOverrunBuffer()
802 M4VENC_FREE(video->overrunBuffer); in BitstreamUseOverrunBuffer()
805 video->overrunBuffer = (UChar*) M4VENC_MALLOC(sizeof(UChar) * stream->oBSize); in BitstreamUseOverrunBuffer()
806 stream->overrunBuffer = video->overrunBuffer; in BitstreamUseOverrunBuffer()
807 if (stream->overrunBuffer == NULL) in BitstreamUseOverrunBuffer()
[all …]
Dbitstream_io.h49 …Void BitstreamSetOverrunBuffer(BitstreamEncVideo *stream, UChar *overrunBuffer, Int oBSize, Video…
Dmp4lib_int.h37 UChar* overrunBuffer; /* pointer to overrun buffer */ member
341 …UChar *overrunBuffer; /* extra output buffer to prevent current skip due to output buffer overr… member
Dmp4enc_api.cpp725 video->overrunBuffer = (UChar*) M4VENC_MALLOC(sizeof(UChar) * video->oBSize); in PVInitVideoEncoder()
726 if (video->overrunBuffer == NULL) goto CLEAN_UP; in PVInitVideoEncoder()
1151 if (video->overrunBuffer) M4VENC_FREE(video->overrunBuffer); in PVCleanUpVideoEncoder()
1331 if (currVol->stream->bitstreamBuffer != video->overrunBuffer) // not used in PVGetOverrunBuffer()
1336 return video->overrunBuffer; in PVGetOverrunBuffer()
1436 BitstreamSetOverrunBuffer(currVol->stream, video->overrunBuffer, video->oBSize, video); in PVEncodeVideoFrame()