Top | ![]() |
![]() |
![]() |
![]() |
void
ogmrip_init_lavc_plugin (void
);
Initialises the LAVC plugin. This function should be called when initialising a plugin of the LAVC family.
void ogmrip_lavc_set_cmp (OGMRipLavc *lavc
,guint cmp
,guint precmp
,guint subcmp
);
Sets the comparison function for full pel, pre pass and sub pel motion estimation
lavc |
An OGMRipLavc |
|
cmp |
The comparison function for full pel motion estimation |
|
precmp |
The comparison function for motion estimation pre pass |
|
subcmp |
The comparison function for sub pel motion estimation |
void ogmrip_lavc_get_cmp (OGMRipLavc *lavc
,guint *cmp
,guint *precmp
,guint *subcmp
);
Gets the comparison function for full pel, pre pass and sub pel motion estimation
lavc |
An OGMRipLavc |
|
cmp |
A pointer to store the comparison function for full pel motion estimation |
|
precmp |
A pointer to store the comparison function for motion estimation pre pass |
|
subcmp |
A pointer to store the comparison function for sub pel motion estimation |
void ogmrip_lavc_set_dia (OGMRipLavc *lavc
,gint dia
,gint predia
);
Sets the diamond type and size for full pel and pre pass motion estimation
lavc |
An OGMRipLavc |
|
dia |
The diamond type and size for full pel motion estimation |
|
predia |
The diamond type and size for motion estimation pre-pass |
void ogmrip_lavc_get_dia (OGMRipLavc *lavc
,gint *dia
,gint *predia
);
Gets the diamond type and size for full pel and pre pass motion estimation
lavc |
An OGMRipLavc |
|
dia |
A pointer to store the diamond type and size for full pel motion estimation |
|
predia |
A pointer to store the diamond type and size for motion estimation pre-pass |
void ogmrip_lavc_set_header (OGMRipLavc *lavc
,OGMRipLavcHeaderType header
);
Sets the global video header type.
gint
ogmrip_lavc_get_header (OGMRipLavc *lavc
);
Gets the global video header type.
void ogmrip_lavc_set_buf_size (OGMRipLavc *lavc
,guint buf_size
);
Sets the buffer size in kb
gint
ogmrip_lavc_get_buf_size (OGMRipLavc *lavc
);
Gets the buffer size in kb
void ogmrip_lavc_set_dc (OGMRipLavc *lavc
,guint dc
);
Sets the intra DC precision in bits
gint
ogmrip_lavc_get_dc (OGMRipLavc *lavc
);
Gets the intra DC precision in bits
void ogmrip_lavc_set_keyint (OGMRipLavc *lavc
,guint keyint
);
Sets the maximum interval between key frames
gint
ogmrip_lavc_get_keyint (OGMRipLavc *lavc
);
Gets the maximum interval between key frames
void ogmrip_lavc_set_last_pred (OGMRipLavc *lavc
,guint last_pred
);
Sets the amount of motion predictors from the previous frame
gint
ogmrip_lavc_get_last_pred (OGMRipLavc *lavc
);
Gets the amount of motion predictors from the previous frame
void ogmrip_lavc_set_max_rate (OGMRipLavc *lavc
,guint max_rate
);
Sets the maximum bitrate in kbps
gint
ogmrip_lavc_get_max_rate (OGMRipLavc *lavc
);
Gets the maximum bitrate in kbps
void ogmrip_lavc_set_mbd (OGMRipLavc *lavc
,guint mbd
);
Sets the macroblock decision algorithm
gint
ogmrip_lavc_get_mbd (OGMRipLavc *lavc
);
Gets the macroblock decision algorithm
void ogmrip_lavc_set_min_rate (OGMRipLavc *lavc
,guint min_rate
);
Sets the minimum bitrate in kbps
gint
ogmrip_lavc_get_min_rate (OGMRipLavc *lavc
);
Gets the minimum bitrate in kbps
void ogmrip_lavc_set_mv0 (OGMRipLavc *lavc
,gboolean mv0
);
Try to encode each MB with MV=<0,0>
gboolean
ogmrip_lavc_get_mv0 (OGMRipLavc *lavc
);
Gets whether to try to encode each MB with MV=<0,0>
void ogmrip_lavc_set_preme (OGMRipLavc *lavc
,guint preme
);
Sets the motion estimation pre-pass
gint
ogmrip_lavc_get_preme (OGMRipLavc *lavc
);
Gets the motion estimation pre-pass
void ogmrip_lavc_set_qns (OGMRipLavc *lavc
,guint qns
);
Sets the quantizer noise shaping
gint
ogmrip_lavc_get_qns (OGMRipLavc *lavc
);
Gets the quantizer noise shaping
void ogmrip_lavc_set_strict (OGMRipLavc *lavc
,guint strict
);
Sets the strict standard compliancy
gint
ogmrip_lavc_get_strict (OGMRipLavc *lavc
);
Gets the strict standard compliancy
void ogmrip_lavc_set_vb_strategy (OGMRipLavc *lavc
,guint vb_strategy
);
Sets the strategy to choose between I/P/B-frames
gint
ogmrip_lavc_get_vb_strategy (OGMRipLavc *lavc
);
Gets the strategy to choose between I/P/B-frames
void ogmrip_lavc_set_vqcomp (OGMRipLavc *lavc
,gdouble vqcomp
);
Sets the quantizer compression
gdouble
ogmrip_lavc_get_vqcomp (OGMRipLavc *lavc
);
Gets the quantizer compression
struct OGMRipLavcClass { OGMRipVideoCodecClass parent_class; /* vtable */ const gchar * (* get_codec) (void); };