2 * gstvaapiparamspecs.h - GParamSpecs for some of our types
4 * Copyright (C) 2010-2011 Splitted-Desktop Systems
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public License
8 * as published by the Free Software Foundation; either version 2.1
9 * of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free
18 * Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19 * Boston, MA 02110-1301 USA
22 #ifndef GST_VAAPI_PARAM_SPECS_H
23 #define GST_VAAPI_PARAM_SPECS_H
25 #include <gst/vaapi/gstvaapitypes.h>
26 #include <glib-object.h>
31 * GstVaapiParamSpecID:
32 * @parent_instance: super class
33 * @default_value: default value
35 * A GParamSpec derived structure that contains the meta data for
36 * #GstVaapiID properties.
38 typedef struct _GstVaapiParamSpecID GstVaapiParamSpecID;
39 struct _GstVaapiParamSpecID {
40 GParamSpec parent_instance;
42 GstVaapiID default_value;
45 #define GST_VAAPI_TYPE_PARAM_ID \
46 (gst_vaapi_param_spec_id_get_type())
48 #define GST_VAAPI_IS_PARAM_SPEC_ID(pspec) \
49 (G_TYPE_CHECK_INSTANCE_TYPE((pspec), \
50 GST_VAAPI_TYPE_PARAM_ID))
52 #define GST_VAAPI_PARAM_SPEC_ID(pspec) \
53 (G_TYPE_CHECK_INSTANCE_CAST((pspec), \
54 GST_VAAPI_TYPE_PARAM_ID, \
58 gst_vaapi_param_spec_id_get_type(void) G_GNUC_CONST;
61 gst_vaapi_param_spec_id(
65 GstVaapiID default_value,
71 #endif /* GST_VAAPI_PARAM_SPECS_H */