OGMRipLavc

OGMRipLavc — A video codec to encode in Mpeg4

Synopsis




                    OGMRipLavc;
enum                OGMRipLavcHeaderType;
OGMJobSpawn*        ogmrip_lavc_new                     (OGMDvdTitle *title,
                                                         const gchar *output);
void                ogmrip_lavc_set_cmp                 (OGMRipLavc *lavc,
                                                         guint cmp,
                                                         guint precmp,
                                                         guint subcmp);
void                ogmrip_lavc_get_cmp                 (OGMRipLavc *lavc,
                                                         guint *cmp,
                                                         guint *precmp,
                                                         guint *subcmp);
void                ogmrip_lavc_set_dia                 (OGMRipLavc *lavc,
                                                         gint dia,
                                                         gint predia);
void                ogmrip_lavc_get_dia                 (OGMRipLavc *lavc,
                                                         gint *dia,
                                                         gint *predia);
void                ogmrip_lavc_set_header              (OGMRipLavc *lavc,
                                                         OGMRipLavcHeaderType header);
gint                ogmrip_lavc_get_header              (OGMRipLavc *lavc);

Description

Details

OGMRipLavc

typedef struct {
  OGMRipVideo parent_instance;

  OGMRipLavcPriv *priv;
} OGMRipLavc;


enum OGMRipLavcHeaderType

typedef enum
{
  OGMRIP_LAVC_HEADER_AUTO,
  OGMRIP_LAVC_HEADER_EXTRADATA,
  OGMRIP_LAVC_HEADER_KEYFRAMES,
  OGMRIP_LAVC_HEADER_COMBINE
} OGMRipLavcHeaderType;


ogmrip_lavc_new ()

OGMJobSpawn*        ogmrip_lavc_new                     (OGMDvdTitle *title,
                                                         const gchar *output);

Creates a new OGMRipLavc

title : An OGMDvdTitle
output : The output file
Returns : The new OGMRipLavc

ogmrip_lavc_set_cmp ()

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

ogmrip_lavc_get_cmp ()

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

ogmrip_lavc_set_dia ()

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

ogmrip_lavc_get_dia ()

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

ogmrip_lavc_set_header ()

void                ogmrip_lavc_set_header              (OGMRipLavc *lavc,
                                                         OGMRipLavcHeaderType header);

Sets the global video header type.

lavc : An OGMRipLavc
header : The OGMRipLavcHeaderType

ogmrip_lavc_get_header ()

gint                ogmrip_lavc_get_header              (OGMRipLavc *lavc);

Gets the global video header type.

lavc : An OGMRipLavc
Returns : The current OGMRipLavcHeaderType, or -1