Searched refs:overrunBuffer (Results 1 – 8 of 8) sorted by relevance
/external/opencore/codecs_v2/video/avc_h264/enc/src/ |
D | bitstream_io.cpp | 47 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 …]
|
D | avcenc_api.cpp | 167 … 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()
|
D | avcenc_int.h | 137 …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
|
D | avcenc_lib.h | 236 uint8 *overrunBuffer, int oBSize);
|
/external/opencore/codecs_v2/video/m4v_h263/enc/src/ |
D | bitstream_io.cpp | 76 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 …]
|
D | bitstream_io.h | 49 …Void BitstreamSetOverrunBuffer(BitstreamEncVideo *stream, UChar *overrunBuffer, Int oBSize, Video…
|
D | mp4lib_int.h | 37 UChar* overrunBuffer; /* pointer to overrun buffer */ member 341 …UChar *overrunBuffer; /* extra output buffer to prevent current skip due to output buffer overr… member
|
D | mp4enc_api.cpp | 725 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()
|