allocate_output_buffer


Description:

public Buffer allocate_output_buffer (size_t size)

Helper function that allocates a buffer to hold an encoded video frame for this's current CodecState.

Parameters:

this

a Encoder

size

size of the buffer

Returns:

allocated buffer