Theora bitstream info. More...
#include <theora.h>
Theora bitstream info.
Contains the basic playback parameters for a stream, corresponding to the initial 'info' header packet.
Encoded theora frames must be a multiple of 16 in width and height. To handle other frame sizes, a crop rectangle is specified in frame_height and frame_width, offset_x and * offset_y. The offset and size should still be a multiple of 2 to avoid chroma sampling shifts. Offset values in this structure are measured from the upper left of the image.
Frame rate, in frames per second, is stored as a rational fraction. Aspect ratio is also stored as a rational fraction, and refers to the aspect ratio of the frame pixels, not of the overall frame itself.
See examples/encoder_example.c for usage examples of the other paramters and good default settings for the encoder parameters.
pixel aspect ratio denominator
pixel aspect ratio numerator
| void* theora_info::codec_setup |
colorspace
frame rate denominator
frame rate numerator
display frame height
display frame width
encoded frame height
horizontal offset of the displayed frame
vertical offset of the displayed frame
chroma subsampling mode to expect
Nominal quality setting, 0-63.
Quick encode/decode.
nominal bitrate in bits per second
| unsigned char theora_info::version_major |
| unsigned char theora_info::version_minor |
| unsigned char theora_info::version_subminor |
encoded frame width
1.7.1