Commit graph

6 commits

Author SHA1 Message Date
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