1 /* GStreamer Intel MSDK plugin
2  * Copyright (c) 2018, Intel Corporation
3  *
4  * Author: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
5  *
6  * All rights reserved.
7  *
8  * Redistribution and use in source and binary forms, with or without
9  * modification, are permitted provided that the following conditions are met:
10  *
11  * 1. Redistributions of source code must retain the above copyright notice,
12  *    this list of conditions and the following disclaimer.
13  *
14  * 2. Redistributions in binary form must reproduce the above copyright notice,
15  *    this list of conditions and the following disclaimer in the documentation
16  *    and/or other materials provided with the distribution.
17  *
18  * 3. Neither the name of the copyright holder nor the names of its contributors
19  *    may be used to endorse or promote products derived from this software
20  *    without specific prior written permission.
21  *
22  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
23  * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
24  * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
25  * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
26  * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
27  * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
28  * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
29  * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
30  * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGDECE
31  * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
32  * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33  */
34 
35 #ifndef __GST_MSDKVP9DEC_H__
36 #define __GST_MSDKVP9DEC_H__
37 
38 #include "gstmsdkdec.h"
39 
40 G_BEGIN_DECLS
41 
42 #define GST_TYPE_MSDKVP9DEC \
43   (gst_msdkvp9dec_get_type())
44 #define GST_MSDKVP9DEC(obj) \
45   (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_MSDKVP9DEC,GstMsdkVP9Dec))
46 #define GST_MSDKVP9DEC_CLASS(klass) \
47   (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_MSDKVP9DEC,GstMsdkVP9DecClass))
48 #define GST_IS_MSDKVP9DEC(obj) \
49   (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_MSDKVP9DEC))
50 #define GST_IS_MSDKVP9DEC_CLASS(klass) \
51   (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_MSDKVP9DEC))
52 
53 typedef struct _GstMsdkVP9Dec GstMsdkVP9Dec;
54 typedef struct _GstMsdkVP9DecClass GstMsdkVP9DecClass;
55 
56 struct _GstMsdkVP9Dec
57 {
58   GstMsdkDec base;
59   guint output_order;
60 };
61 
62 struct _GstMsdkVP9DecClass
63 {
64   GstMsdkDecClass parent_class;
65 };
66 
67 GType gst_msdkvp9dec_get_type (void);
68 
69 G_END_DECLS
70 
71 #endif /* __GST_MSDKVP9DEC_H__ */
72