/usr/include/ogmrip/ogmrip-lavc.h is in libogmrip-dev 1.0.1-1build2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 | /* OGMRip - A library for DVD ripping and encoding
* Copyright (C) 2004-2012 Olivier Rolland <billl@users.sourceforge.net>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef __OGMRIP_LAVC_H__
#define __OGMRIP_LAVC_H__
#include <ogmrip-video-codec.h>
G_BEGIN_DECLS
#define OGMRIP_LAVC_SECTION "lavc"
#define OGMRIP_LAVC_PROP_HEADER "header"
#define OGMRIP_LAVC_PROP_CMP "cmp"
#define OGMRIP_LAVC_PROP_PRECMP "precmp"
#define OGMRIP_LAVC_PROP_SUBCMP "subcmp"
#define OGMRIP_LAVC_PROP_DIA "dia"
#define OGMRIP_LAVC_PROP_PREDIA "predia"
#define OGMRIP_LAVC_PROP_KEYINT "keyint"
#define OGMRIP_LAVC_PROP_BUF_SIZE "buf_size"
#define OGMRIP_LAVC_PROP_MIN_RATE "min_rate"
#define OGMRIP_LAVC_PROP_MAX_RATE "max_rate"
#define OGMRIP_LAVC_PROP_STRICT "strict"
#define OGMRIP_LAVC_PROP_DC "dc"
#define OGMRIP_LAVC_PROP_MBD "mbd"
#define OGMRIP_LAVC_PROP_QNS "qns"
#define OGMRIP_LAVC_PROP_VB_STRATEGY "vb_strategy"
#define OGMRIP_LAVC_PROP_LAST_PRED "last_pred"
#define OGMRIP_LAVC_PROP_PREME "preme"
#define OGMRIP_LAVC_PROP_VQCOMP "vqcomp"
#define OGMRIP_LAVC_PROP_MV0 "mv0"
#define OGMRIP_LAVC_PROP_V4MV "v4mv"
#define OGMRIP_TYPE_LAVC (ogmrip_lavc_get_type ())
#define OGMRIP_LAVC(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), OGMRIP_TYPE_LAVC, OGMRipLavc))
#define OGMRIP_LAVC_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), OGMRIP_TYPE_LAVC, OGMRipLavcClass))
#define OGMRIP_IS_LAVC(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), OGMRIP_TYPE_LAVC))
#define OGMRIP_IS_LAVC_CLASS(obj) (G_TYPE_CHECK_CLASS_TYPE ((klass), OGMRIP_TYPE_LAVC))
#define OGMRIP_LAVC_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), OGMRIP_TYPE_LAVC, OGMRipLavcClass))
typedef struct _OGMRipLavc OGMRipLavc;
typedef struct _OGMRipLavcPriv OGMRipLavcPriv;
typedef struct _OGMRipLavcClass OGMRipLavcClass;
struct _OGMRipLavc
{
OGMRipVideoCodec parent_instance;
OGMRipLavcPriv *priv;
};
struct _OGMRipLavcClass
{
OGMRipVideoCodecClass parent_class;
/* vtable */
const gchar * (* get_codec) (void);
};
/**
* OGMRipLavcHeaderType:
* @OGMRIP_LAVC_HEADER_AUTO: Codec decides where to write global headers.
* @OGMRIP_LAVC_HEADER_EXTRADATA: Write global headers only in extradata.
* @OGMRIP_LAVC_HEADER_KEYFRAMES: Write global headers only in front of keyframes.
* @OGMRIP_LAVC_HEADER_COMBINE: Combine @OGMRIP_LAVC_HEADER_EXTRADATA and @OGMRIP_LAVC_HEADER_KEYFRAMES.
*
* Controls writing global video headers.
*/
typedef enum
{
OGMRIP_LAVC_HEADER_AUTO,
OGMRIP_LAVC_HEADER_EXTRADATA,
OGMRIP_LAVC_HEADER_KEYFRAMES,
OGMRIP_LAVC_HEADER_COMBINE
} OGMRipLavcHeaderType;
void ogmrip_init_lavc_plugin (void);
GType ogmrip_lavc_get_type (void);
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_keyint (OGMRipLavc *lavc,
guint keyint);
gint ogmrip_lavc_get_keyint (OGMRipLavc *lavc);
void ogmrip_lavc_set_buf_size (OGMRipLavc *lavc,
guint buf_size);
gint ogmrip_lavc_get_buf_size (OGMRipLavc *lavc);
void ogmrip_lavc_set_min_rate (OGMRipLavc *lavc,
guint min_rate);
gint ogmrip_lavc_get_min_rate (OGMRipLavc *lavc);
void ogmrip_lavc_set_max_rate (OGMRipLavc *lavc,
guint max_rate);
gint ogmrip_lavc_get_max_rate (OGMRipLavc *lavc);
void ogmrip_lavc_set_strict (OGMRipLavc *lavc,
guint strict);
gint ogmrip_lavc_get_strict (OGMRipLavc *lavc);
void ogmrip_lavc_set_dc (OGMRipLavc *lavc,
guint dc);
gint ogmrip_lavc_get_dc (OGMRipLavc *lavc);
void ogmrip_lavc_set_header (OGMRipLavc *lavc,
OGMRipLavcHeaderType header);
gint ogmrip_lavc_get_header (OGMRipLavc *lavc);
void ogmrip_lavc_set_mbd (OGMRipLavc *lavc,
guint mbd);
gint ogmrip_lavc_get_mbd (OGMRipLavc *lavc);
void ogmrip_lavc_set_qns (OGMRipLavc *lavc,
guint qns);
gint ogmrip_lavc_get_qns (OGMRipLavc *lavc);
void ogmrip_lavc_set_vb_strategy (OGMRipLavc *lavc,
guint vb_strategy);
gint ogmrip_lavc_get_vb_strategy (OGMRipLavc *lavc);
void ogmrip_lavc_set_last_pred (OGMRipLavc *lavc,
guint last_pred);
gint ogmrip_lavc_get_last_pred (OGMRipLavc *lavc);
void ogmrip_lavc_set_preme (OGMRipLavc *lavc,
guint preme);
gint ogmrip_lavc_get_preme (OGMRipLavc *lavc);
void ogmrip_lavc_set_vqcomp (OGMRipLavc *lavc,
gdouble vqcomp);
gdouble ogmrip_lavc_get_vqcomp (OGMRipLavc *lavc);
void ogmrip_lavc_set_mv0 (OGMRipLavc *lavc,
gboolean mv0);
gboolean ogmrip_lavc_get_mv0 (OGMRipLavc *lavc);
G_END_DECLS
#endif /* __OGMRIP_LAVC_H__ */
|