typedef struct {
XvEncodingID encoding_id;
char *name;
unsigned long width;
unsigned long height;
XvRational rate;
unsigned long num_encodings;
} XvEncodingInfo;
The XvRational structure is used to specify a fractional number.
It has the following structure:
typedef struct {
int numerator;
int denominator;
} XvRational;
The _n_u_m_e_r_a_t_o_r and _d_e_n_o_m_i_n_a_t_o_r fields specify the
appropriate parts of a fractional number.