4 * @file gmyth/gmyth_recprofile.h
6 * @brief <p> This file contains the recprofile class.
8 * Copyright (C) 2007 INdT - Instituto Nokia de Tecnologia.
9 * @author Artur Duque de Souza <artur.souza@indt.org.br>
12 * This program is free software; you can redistribute it and/or modify
13 * it under the terms of the GNU Lesser General Public License as published by
14 * the Free Software Foundation; either version 2 of the License, or
15 * (at your option) any later version.
17 * This program is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
22 * You should have received a copy of the GNU Lesser General Public License
23 * along with this program; if not, write to the Free Software
24 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
27 #ifndef _GMYTH_RECPROFILE_H
28 #define _GMYTH_RECPROFILE_H
31 #include <glib-object.h>
33 #include "gmyth_stringlist.h"
34 #include "gmyth_backendinfo.h"
35 #include "gmyth_socket.h"
38 #define GMYTH_RECPROFILE_TYPE (gmyth_recprofile_get_type ())
39 #define GMYTH_RECPROFILE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GMYTH_RECPROFILE_TYPE, GMythRecProfile))
40 #define GMYTH_RECPROFILE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GMYTH_RECPROFILE_TYPE, GMythRecProfileClass))
41 #define IS_GMYTH_RECPROFILE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GMYTH_RECPROFILE_TYPE))
42 #define IS_GMYTH_RECPROFILE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GMYTH_RECPROFILE_TYPE))
43 #define GMYTH_RECPROFILE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GMYTH_RECPROFILE_TYPE, GMythRecProfileClass))
44 typedef struct _Options Options;
45 typedef struct _GMythRecProfile GMythRecProfile;
46 typedef struct _GMythRecProfileClass GMythRecProfileClass;
48 struct _GMythRecProfileClass {
49 GObjectClass parent_class;
56 struct _GMythRecProfile {
66 gint transcodelossless;
71 gint rtjpeglumafilter;
72 gint rtjpegchromafilter;
77 gint mpeg4scalebitrate;
82 gint hardwaremjpegquality;
83 gint hardwaremjpeghdecimation;
84 gint hardwaremjpegvdecimation;
85 gchar *mpeg2streamtype;
86 gchar *mpeg2aspectratio;
93 gint mpeg2audbitratel1;
94 gint mpeg2audbitratel2;
98 GType gmyth_recprofile_type(void);
100 GMythRecProfile *gmyth_recprofile_new(void);
102 GSList *gmyth_recprofile_get_profile_list(GMythBackendInfo *
105 gint gmyth_recprofile_create_profile(GMythBackendInfo *
107 GMythRecProfile * profile);
109 gint gmyth_recprofile_del_profile_list(GMythBackendInfo *
110 backend_info, gint id);
112 gint gmyth_recprofile_set_acodec(GMythRecProfile * rec,
114 gint gmyth_recprofile_set_vcodec(GMythRecProfile * rec,
116 gint gmyth_recprofile_set_group(GMythRecProfile * rec,
118 gint gmyth_recprofile_set_name(GMythRecProfile * rec,
120 gint gmyth_recprofile_set_id(GMythRecProfile * rec, gint id);
123 #endif /*_GMYTH_RECPROFILE_H*/