diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2014-07-13 18:22:39 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2014-07-13 18:22:39 +0200 |
commit | 03cf0bc9a40c44e35add8c8a139cc0e954d29a6e (patch) | |
tree | 78595c29b7ea853c24801d36c930e5a0447d0095 /omx/gstomxaacdec.h | |
parent | f4961d0a7296aa04e25f21de84a400d71fcfab87 (diff) | |
download | gst-omx-03cf0bc9a40c44e35add8c8a139cc0e954d29a6e.tar.gz |
omx: Add AAC audio decoder
Diffstat (limited to 'omx/gstomxaacdec.h')
-rw-r--r-- | omx/gstomxaacdec.h | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/omx/gstomxaacdec.h b/omx/gstomxaacdec.h new file mode 100644 index 0000000..891589b --- /dev/null +++ b/omx/gstomxaacdec.h @@ -0,0 +1,60 @@ +/* + * Copyright (C) 2014, Sebastian Dröge <sebastian@centricular.com> + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation + * version 2.1 of the License. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * + */ + +#ifndef __GST_OMX_AAC_DEC_H__ +#define __GST_OMX_AAC_DEC_H__ + +#include <gst/gst.h> +#include "gstomxaudiodec.h" + +G_BEGIN_DECLS + +#define GST_TYPE_OMX_AAC_DEC \ + (gst_omx_aac_dec_get_type()) +#define GST_OMX_AAC_DEC(obj) \ + (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_OMX_AAC_DEC,GstOMXAACDec)) +#define GST_OMX_AAC_DEC_CLASS(klass) \ + (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_OMX_AAC_DEC,GstOMXAACDecClass)) +#define GST_OMX_AAC_DEC_GET_CLASS(obj) \ + (G_TYPE_INSTANCE_GET_CLASS((obj),GST_TYPE_OMX_AAC_DEC,GstOMXAACDecClass)) +#define GST_IS_OMX_AAC_DEC(obj) \ + (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_OMX_AAC_DEC)) +#define GST_IS_OMX_AAC_DEC_CLASS(obj) \ + (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_OMX_AAC_DEC)) + +typedef struct _GstOMXAACDec GstOMXAACDec; +typedef struct _GstOMXAACDecClass GstOMXAACDecClass; + +struct _GstOMXAACDec +{ + GstOMXAudioDec parent; + gint spf; +}; + +struct _GstOMXAACDecClass +{ + GstOMXAudioDecClass parent_class; +}; + +GType gst_omx_aac_dec_get_type (void); + +G_END_DECLS + +#endif /* __GST_OMX_AAC_DEC_H__ */ + |