Commit graph

13 commits

Author SHA1 Message Date
Olivier Crête
98f19a3674 jp2k: Fix set-but-unused warnings 2011-07-12 18:20:23 -04:00
Tim-Philipp Müller
b2be3e2f1a jp2kdec: post proper error when the image's colour space is not supported
https://bugzilla.gnome.org/show_bug.cgi?id=643115
2011-02-28 23:54:32 +00:00
Tim-Philipp Müller
5d754e549a jp2kdec, jp2kenc: add support v308 (4:4:4 YUV)
Because we can.
2011-01-27 14:45:30 +00:00
Wim Taymans
0c36c70f63 jasperdec: don't fail hard on decoding error
don't post an error and return GST_FLOW_ERROR on a simple decoding error. We can
just resume and continue decoding the next image.
2010-12-09 18:09:18 +01:00
Benjamin Otte
33c2f5fb01 Add -Wwrite-strings
and fix its warnings
2010-03-22 13:16:33 +01:00
Benjamin Otte
b7655bbd2e Add -Wredundant-decls flag
and fix warnings from it
2010-03-22 12:05:59 +01:00
Benjamin Otte
775c7584fd gst_element_class_set_details => gst_element_class_set_details_simple 2010-03-18 22:46:41 +01:00
Tim-Philipp Müller
a81d8ca777 jp2kdec: implement basic QoS
Don't try to decode frames that are going to be late anyway.
2009-03-27 19:55:19 +00:00
Sebastian Dröge
426b2db2cb ext/jp2k/: Add image/x-jpc caps name for real, raw JPEG2000 codestream data.
Original commit message from CVS:
* ext/jp2k/gstjasperdec.c: (gst_jasper_dec_sink_setcaps):
* ext/jp2k/gstjasperenc.c: (gst_jasper_enc_reset),
(gst_jasper_enc_set_src_caps), (gst_jasper_enc_init_encoder),
(gst_jasper_enc_sink_setcaps), (gst_jasper_enc_get_data):
* ext/jp2k/gstjasperenc.h:
Add image/x-jpc caps name for real, raw JPEG2000 codestream data.
In 0.11 we should merge image/x-j2c and image/x-jpc and simply drop
the non-standard boxing in the jasper elements and handle it in
qtmux/qtdemux.
image/x-jpc will be used by mxfdemux later.
Also add support for JP2 output in jp2kenc.
2008-12-01 15:48:13 +00:00
Sebastian Dröge
cf877b2d4f ext/jp2k/gstjasperdec.c: Don't unref the element instance if we don't own a reference.
Original commit message from CVS:
* ext/jp2k/gstjasperdec.c: (gst_jasper_dec_sink_setcaps):
Don't unref the element instance if we don't own a reference.
2008-11-29 20:07:11 +00:00
Mark Nauwelaerts
c8f4503419 ext/jp2k/: Add jp2kenc to jp2k plugin.
Original commit message from CVS:
* ext/jp2k/Makefile.am:
* ext/jp2k/gstjasperdec.c: (gst_jasper_dec_class_init),
(gst_jasper_dec_change_state):
* ext/jp2k/gstjasperenc.c: (gst_jasper_enc_base_init),
(gst_jasper_enc_class_init), (gst_jasper_enc_init),
(gst_jasper_enc_reset), (gst_jasper_enc_set_src_caps),
(gst_jasper_enc_init_encoder), (gst_jasper_enc_sink_setcaps),
(gst_jasper_enc_get_data), (gst_jasper_enc_chain),
(gst_jasper_enc_set_property), (gst_jasper_enc_get_property),
(gst_jasper_enc_change_state):
* ext/jp2k/gstjasperenc.h:
* ext/jp2k/gstjp2k.c: (plugin_init):
Add jp2kenc to jp2k plugin.
2008-11-13 21:44:15 +00:00
Mark Nauwelaerts
de900d75f4 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.
2008-11-13 21:31:14 +00:00
Mark Nauwelaerts
e262a72516 Add jp2k plugin. Fixes #550657.
Original commit message from CVS:
* configure.ac:
* ext/Makefile.am:
* ext/jp2k/Makefile.am:
* ext/jp2k/gstjasperdec.c: (gst_jasper_dec_base_init),
(gst_jasper_dec_class_init), (gst_jasper_dec_init),
(gst_jasper_dec_reset), (gst_jasper_dec_sink_setcaps),
(gst_jasper_dec_negotiate), (gst_jasper_dec_get_picture),
(gst_jasper_dec_chain), (gst_jasper_dec_set_property),
(gst_jasper_dec_get_property), (gst_jasper_dec_change_state),
(plugin_init):
* ext/jp2k/gstjasperdec.h:
Add jp2k plugin.  Fixes #550657.
2008-09-09 17:56:10 +00:00