1 /*
2 INTEL CONFIDENTIAL
3 Copyright 2009 Intel Corporation All Rights Reserved.
4 The source code contained or described herein and all documents related to the source code ("Material") are owned by Intel Corporation or its suppliers or licensors. Title to the Material remains with Intel Corporation or its suppliers and licensors. The Material contains trade secrets and proprietary and confidential information of Intel or its suppliers and licensors. The Material is protected by worldwide copyright and trade secret laws and treaty provisions. No part of the Material may be used, copied, reproduced, modified, published, uploaded, posted, transmitted, distributed, or disclosed in any way without Intel’s prior express written permission.
5 
6 No license under any patent, copyright, trade secret or other intellectual property right is granted to or conferred upon you by disclosure or delivery of the Materials, either expressly, by implication, inducement, estoppel or otherwise. Any license under such intellectual property rights must be express and approved by Intel in writing.
7 */
8 
9 #ifndef __MIX_VIDEOCONFIGPARAMSENC_PREVIEW_H__
10 #define __MIX_VIDEOCONFIGPARAMSENC_PREVIEW_H__
11 
12 #include "mixvideoconfigparamsenc.h"
13 #include "mixvideodef.h"
14 
15 /**
16 * MIX_TYPE_VIDEOCONFIGPARAMSENC_PREVIEW:
17 *
18 * Get type of class.
19 */
20 #define MIX_TYPE_VIDEOCONFIGPARAMSENC_PREVIEW (mix_videoconfigparamsenc_preview_get_type ())
21 
22 /**
23 * MIX_VIDEOCONFIGPARAMSENC_PREVIEW:
24 * @obj: object to be type-casted.
25 */
26 #define MIX_VIDEOCONFIGPARAMSENC_PREVIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MIX_TYPE_VIDEOCONFIGPARAMSENC_PREVIEW, MixVideoConfigParamsEncPreview))
27 
28 /**
29 * MIX_IS_VIDEOCONFIGPARAMSENC_PREVIEW:
30 * @obj: an object.
31 *
32 * Checks if the given object is an instance of #MixVideoConfigParamsEncPreview
33 */
34 #define MIX_IS_VIDEOCONFIGPARAMSENC_PREVIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MIX_TYPE_VIDEOCONFIGPARAMSENC_PREVIEW))
35 
36 /**
37 * MIX_VIDEOCONFIGPARAMSENC_PREVIEW_CLASS:
38 * @klass: class to be type-casted.
39 */
40 #define MIX_VIDEOCONFIGPARAMSENC_PREVIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), MIX_TYPE_VIDEOCONFIGPARAMSENC_PREVIEW, MixVideoConfigParamsEncPreviewClass))
41 
42 /**
43 * MIX_IS_VIDEOCONFIGPARAMSENC_PREVIEW_CLASS:
44 * @klass: a class.
45 *
46 * Checks if the given class is #MixVideoConfigParamsEncPreviewClass
47 */
48 #define MIX_IS_VIDEOCONFIGPARAMSENC_PREVIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), MIX_TYPE_VIDEOCONFIGPARAMSENC_PREVIEW))
49 
50 /**
51 * MIX_VIDEOCONFIGPARAMSENC_PREVIEW_GET_CLASS:
52 * @obj: a #MixParams object.
53 *
54 * Get the class instance of the object.
55 */
56 #define MIX_VIDEOCONFIGPARAMSENC_PREVIEW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), MIX_TYPE_VIDEOCONFIGPARAMSENC_PREVIEW, MixVideoConfigParamsEncPreviewClass))
57 
58 typedef struct _MixVideoConfigParamsEncPreview MixVideoConfigParamsEncPreview;
59 typedef struct _MixVideoConfigParamsEncPreviewClass MixVideoConfigParamsEncPreviewClass;
60 
61 /**
62 * MixVideoConfigParamsEncPreview:
63 *
64 * MI-X VideoConfig Parameter object
65 */
66 struct _MixVideoConfigParamsEncPreview
67 {
68   /*< public > */
69   MixVideoConfigParamsEnc parent;
70 
71   void *reserved1;
72   void *reserved2;
73   void *reserved3;
74   void *reserved4;
75 };
76 
77 /**
78 * MixVideoConfigParamsEncPreviewClass:
79 *
80 * MI-X VideoConfig object class
81 */
82 struct _MixVideoConfigParamsEncPreviewClass
83 {
84   /*< public > */
85   MixVideoConfigParamsEncClass parent_class;
86 
87   /* class members */
88 };
89 
90 /**
91 * mix_videoconfigparamsenc_preview_get_type:
92 * @returns: type
93 *
94 * Get the type of object.
95 */
96 GType mix_videoconfigparamsenc_preview_get_type (void);
97 
98 /**
99 * mix_videoconfigparamsenc_preview_new:
100 * @returns: A newly allocated instance of #MixVideoConfigParamsEncPreview
101 *
102 * Use this method to create new instance of #MixVideoConfigParamsEncPreview
103 */
104 MixVideoConfigParamsEncPreview *mix_videoconfigparamsenc_preview_new (void);
105 /**
106 * mix_videoconfigparamsenc_preview_ref:
107 * @mix: object to add reference
108 * @returns: the MixVideoConfigParamsEncPreview instance where reference count has been increased.
109 *
110 * Add reference count.
111 */
112 MixVideoConfigParamsEncPreview
113   * mix_videoconfigparamsenc_preview_ref (MixVideoConfigParamsEncPreview * mix);
114 
115 /**
116 * mix_videoconfigparamsenc_preview_unref:
117 * @obj: object to unref.
118 *
119 * Decrement reference count of the object.
120 */
121 #define mix_videoconfigparamsenc_preview_unref(obj) mix_params_unref(MIX_PARAMS(obj))
122 
123 #endif /* __MIX_VIDEOCONFIGPARAMSENC_PREVIEW_H__ */
124 
125