![]() |
DarkPlaces
Game engine based on the Quake 1 engine by id Software, developed by LadyHavoc
|
|
Theora bitstream info. More...
Data Fields | |
uint32_t | aspect_denominator |
pixel aspect ratio denominator | |
uint32_t | aspect_numerator |
pixel aspect ratio numerator | |
void * | codec_setup |
theora_colorspace | colorspace |
colorspace | |
int | dropframes_p |
uint32_t | fps_denominator |
frame rate denominator | |
uint32_t | fps_numerator |
frame rate numerator | |
uint32_t | frame_height |
display frame height | |
uint32_t | frame_width |
display frame width | |
uint32_t | height |
encoded frame height | |
int | keyframe_auto_p |
int32_t | keyframe_auto_threshold |
uint32_t | keyframe_data_target_bitrate |
uint32_t | keyframe_frequency |
uint32_t | keyframe_frequency_force |
uint32_t | keyframe_mindistance |
int32_t | noise_sensitivity |
uint32_t | offset_x |
horizontal offset of the displayed frame | |
uint32_t | offset_y |
vertical offset of the displayed frame | |
theora_pixelformat | pixelformat |
chroma subsampling mode to expect | |
int | quality |
Nominal quality setting, 0-63. | |
int | quick_p |
Quick encode/decode. | |
int32_t | sharpness |
int | target_bitrate |
nominal bitrate in bits per second | |
unsigned char | version_major |
unsigned char | version_minor |
unsigned char | version_subminor |
uint32_t | width |
encoded frame width | |
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.
uint32_t theora_info::aspect_denominator |
pixel aspect ratio denominator
Definition at line 367 of file cap_ogg.c.
Referenced by SCR_CaptureVideo_Ogg_BeginVideo().
uint32_t theora_info::aspect_numerator |
pixel aspect ratio numerator
Definition at line 366 of file cap_ogg.c.
Referenced by SCR_CaptureVideo_Ogg_BeginVideo().
theora_colorspace theora_info::colorspace |
colorspace
Definition at line 368 of file cap_ogg.c.
Referenced by SCR_CaptureVideo_Ogg_BeginVideo().
int theora_info::dropframes_p |
Definition at line 381 of file cap_ogg.c.
Referenced by SCR_CaptureVideo_Ogg_BeginVideo().
uint32_t theora_info::fps_denominator |
frame rate denominator
Definition at line 365 of file cap_ogg.c.
Referenced by SCR_CaptureVideo_Ogg_BeginVideo().
uint32_t theora_info::fps_numerator |
frame rate numerator
Definition at line 364 of file cap_ogg.c.
Referenced by SCR_CaptureVideo_Ogg_BeginVideo().
uint32_t theora_info::frame_height |
display frame height
Definition at line 361 of file cap_ogg.c.
Referenced by SCR_CaptureVideo_Ogg_BeginVideo().
uint32_t theora_info::frame_width |
display frame width
Definition at line 360 of file cap_ogg.c.
Referenced by SCR_CaptureVideo_Ogg_BeginVideo().
uint32_t theora_info::height |
encoded frame height
Definition at line 359 of file cap_ogg.c.
Referenced by SCR_CaptureVideo_Ogg_BeginVideo().
int theora_info::keyframe_auto_p |
Definition at line 382 of file cap_ogg.c.
Referenced by SCR_CaptureVideo_Ogg_BeginVideo().
int32_t theora_info::keyframe_auto_threshold |
Definition at line 387 of file cap_ogg.c.
Referenced by SCR_CaptureVideo_Ogg_BeginVideo().
uint32_t theora_info::keyframe_data_target_bitrate |
Definition at line 386 of file cap_ogg.c.
Referenced by SCR_CaptureVideo_Ogg_BeginVideo().
uint32_t theora_info::keyframe_frequency |
Definition at line 383 of file cap_ogg.c.
Referenced by SCR_CaptureVideo_Ogg_BeginVideo().
uint32_t theora_info::keyframe_frequency_force |
Definition at line 384 of file cap_ogg.c.
Referenced by SCR_CaptureVideo_Ogg_BeginVideo().
uint32_t theora_info::keyframe_mindistance |
Definition at line 388 of file cap_ogg.c.
Referenced by SCR_CaptureVideo_Ogg_BeginVideo().
int32_t theora_info::noise_sensitivity |
Definition at line 389 of file cap_ogg.c.
Referenced by SCR_CaptureVideo_Ogg_BeginVideo().
uint32_t theora_info::offset_x |
uint32_t theora_info::offset_y |
theora_pixelformat theora_info::pixelformat |
chroma subsampling mode to expect
Definition at line 392 of file cap_ogg.c.
Referenced by SCR_CaptureVideo_Ogg_BeginVideo().
int theora_info::quality |
Nominal quality setting, 0-63.
Definition at line 370 of file cap_ogg.c.
Referenced by SCR_CaptureVideo_Ogg_BeginVideo().
int theora_info::quick_p |
Quick encode/decode.
Definition at line 371 of file cap_ogg.c.
Referenced by SCR_CaptureVideo_Ogg_BeginVideo().
int32_t theora_info::sharpness |
Definition at line 390 of file cap_ogg.c.
Referenced by SCR_CaptureVideo_Ogg_BeginVideo().
int theora_info::target_bitrate |
nominal bitrate in bits per second
Definition at line 369 of file cap_ogg.c.
Referenced by SCR_CaptureVideo_Ogg_BeginVideo().
uint32_t theora_info::width |
encoded frame width
Definition at line 358 of file cap_ogg.c.
Referenced by SCR_CaptureVideo_Ogg_BeginVideo().