Lines Matching refs:overrunBuffer
46 uint8 *overrunBuffer, int oBSize)
65 stream->overrunBuffer = overrunBuffer;
266 if (stream->overrunBuffer != NULL) // overrunBuffer is set
268 if (stream->bitstreamBuffer != stream->overrunBuffer) // not already used
276 if (encvid->overrunBuffer)
279 encvid->overrunBuffer);
283 encvid->overrunBuffer = (uint8*) encvid->avcHandle->CBAVC_Malloc(encvid->avcHandle->userData,
286 stream->overrunBuffer = encvid->overrunBuffer;
287 if (stream->overrunBuffer == NULL)
294 memcpy(stream->overrunBuffer, stream->bitstreamBuffer, stream->write_pos);
295 stream->bitstreamBuffer = stream->overrunBuffer;
305 encvid->overrunBuffer = (uint8*) encvid->avcHandle->CBAVC_Malloc(encvid->avcHandle->userData,
308 if (encvid->overrunBuffer == NULL)
315 memcpy(encvid->overrunBuffer, stream->overrunBuffer, stream->write_pos);
318 stream->overrunBuffer);
321 stream->overrunBuffer = encvid->overrunBuffer;
322 stream->bitstreamBuffer = stream->overrunBuffer;
328 else // overrunBuffer is not enable.