1 /*
2 * GStreamer
3 * Copyright (c) 2010, Texas Instruments Incorporated
4 *
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation
8 * version 2.1 of the License.
9 *
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
14 *
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18 */
20 #ifndef __GST_DUCATI_H__
21 #define __GST_DUCATI_H__
23 #include <stdint.h>
24 #include <string.h>
26 #include <dce.h>
27 #include <xdc/std.h>
28 #include <ti/sdo/ce/Engine.h>
29 #include <ti/sdo/ce/video3/viddec3.h>
31 #include <gst/gst.h>
33 G_BEGIN_DECLS
35 GST_DEBUG_CATEGORY_EXTERN (gst_ducati_debug);
36 #define GST_CAT_DEFAULT gst_ducati_debug
38 /* align x to next highest multiple of 2^n */
39 #define ALIGN2(x,n) (((x) + ((1 << (n)) - 1)) & ~((1 << (n)) - 1))
41 G_END_DECLS
43 #ifndef GST_DISABLE_GST_DEBUG
44 extern void gst_ducati_log_extended_error_info (int error);
45 #else
46 #define gst_ducati_log_extended_error_info(f) ((void)0)
47 #endif
49 #endif /* __GST_DUCATI_H__ */