Class BufferFormat

java.lang.Object
uk.co.caprica.vlcj.player.embedded.videosurface.callback.BufferFormat
Direct Known Subclasses:
RV32BufferFormat

public class BufferFormat extends Object
Specifies the formats used by the CallbackVideoSurface.

The buffer will contain data of the given width and height in the format specified by the chroma parameter. A buffer can consist of multiple planes depending on the format of the data. For each plane the pitch and height in lines must be supplied.

For example, RV32 format has only one plane. Its pitch is width * 4, and its number of lines is the same as the height.