diff options
author | Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk> | 2008-11-13 21:31:14 +0000 |
---|---|---|
committer | Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk> | 2008-11-13 21:31:14 +0000 |
commit | de900d75f4568dc81d9b270a09ad891966f227cd (patch) | |
tree | b115c4ca28fd3c4b02a135e7be76a9dde864aba4 /ext/jp2k/gstjasperdec.h | |
parent | 411a21bafb4a005fb5c80e641a24950a67e24f5d (diff) | |
download | gst-plugins-bad-de900d75f4568dc81d9b270a09ad891966f227cd.tar.gz gst-plugins-bad-de900d75f4568dc81d9b270a09ad891966f227cd.tar.bz2 gst-plugins-bad-de900d75f4568dc81d9b270a09ad891966f227cd.zip |
ext/jp2k/gstjasperdec.*: Make pad template caps reflect the supported formats.
Original commit message from CVS:
* ext/jp2k/gstjasperdec.c: (gst_jasper_dec_init),
(gst_jasper_dec_reset), (gst_jasper_dec_negotiate),
(gst_jasper_dec_get_picture):
* ext/jp2k/gstjasperdec.h:
Make pad template caps reflect the supported formats.
Add or modify some debug statements, and slightly simplify image
passing to encoding library.
Diffstat (limited to 'ext/jp2k/gstjasperdec.h')
-rw-r--r-- | ext/jp2k/gstjasperdec.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/ext/jp2k/gstjasperdec.h b/ext/jp2k/gstjasperdec.h index 962ca772..84a82929 100644 --- a/ext/jp2k/gstjasperdec.h +++ b/ext/jp2k/gstjasperdec.h @@ -21,6 +21,9 @@ #define __GST_JASPER_DEC_H__ #include <gst/gst.h> +#include <gst/video/video.h> + +#include <jasper/jasper.h> G_BEGIN_DECLS @@ -64,7 +67,7 @@ struct _GstJasperDec gint offset[GST_JASPER_DEC_MAX_COMPONENT]; gint inc[GST_JASPER_DEC_MAX_COMPONENT]; gboolean alpha; - jas_matrix_t *mat; + glong *buf; /* image cmpt indexed */ gint cwidth[GST_JASPER_DEC_MAX_COMPONENT]; @@ -81,7 +84,7 @@ struct _GstJasperDecClass GstElementClass parent_class; }; -static GType gst_jasper_dec_get_type (void); +GType gst_jasper_dec_get_type (void); G_END_DECLS |