summaryrefslogtreecommitdiffstats
path: root/ext/jpeg/gstjpegdec.h
Commit message (Collapse)AuthorAgeFilesLines
* jpegdec: remove some unused members from jpegdec instance structureTim-Philipp Müller2009-10-161-3/+0
|
* build: fprintf, sprintf, sscanf need stdio.hStefan Kost2009-10-071-0/+1
|
* jpegdec: use slightly more adaptive formula for QoSTim-Philipp Müller2009-04-091-0/+1
| | | | | Should work at least a tad better if the decoder can't keep up, and should also spread dropped frames a bit more evenly over time.
* jpegdec: demote some log message from DEBUG to LOGTim-Philipp Müller2009-04-021-0/+3
| | | | And log decoder object.
* jpegdec: implement basic QoSTim-Philipp Müller2009-04-011-0/+7
| | | | Don't decode frames that are going to be too late anyway.
* jpegdec: put GstSegment inside the element struct instead of allocating it ↵Tim-Philipp Müller2009-03-251-1/+1
| | | | separately
* ext/jpeg/gstjpegdec.*: API: Added IDCT method propertyWim Taymans2006-06-091-0/+7
| | | | | | | | | | | | | | Original commit message from CVS: * ext/jpeg/gstjpegdec.c: (gst_idct_method_get_type), (gst_jpeg_dec_class_init), (gst_jpeg_dec_init), (gst_jpeg_dec_decode_indirect), (gst_jpeg_dec_decode_direct), (gst_jpeg_dec_chain), (gst_jpeg_dec_sink_event), (gst_jpeg_dec_set_property), (gst_jpeg_dec_get_property): * ext/jpeg/gstjpegdec.h: API: Added IDCT method property Small cleanups. Avoid dynamic allocation of trivial fixed structure. Allocate enough space for temp 4:4:4 YUV buffers. Fixes #343661.
* ext/jpeg/gstjpegdec.*: Clip outgoing buffers according to currently ↵Edward Hervey2006-05-281-1/+3
| | | | | | | | | | | configured segment. Original commit message from CVS: * ext/jpeg/gstjpegdec.c: (gst_jpeg_dec_finalize), (gst_jpeg_dec_init), (gst_jpeg_dec_chain), (gst_jpeg_dec_sink_event), (gst_jpeg_dec_change_state): * ext/jpeg/gstjpegdec.h: Clip outgoing buffers according to currently configured segment.
* ext/jpeg/gstjpegdec.*: Fix durations on outgoing buffers after seeking in ↵Tim-Philipp Müller2006-03-141-4/+3
| | | | | | | | | | | MJPEG files (#334083); some minor clean-ups. Original commit message from CVS: * ext/jpeg/gstjpegdec.c: (gst_jpeg_dec_class_init), (gst_jpeg_dec_chain), (gst_jpeg_dec_change_state): * ext/jpeg/gstjpegdec.h: Fix durations on outgoing buffers after seeking in MJPEG files (#334083); some minor clean-ups.
* expand tabsThomas Vander Stichele2005-12-061-2/+2
| | | | | Original commit message from CVS: expand tabs
* ext/jpeg/: JPEG fractiony goodness.Michael Smith2005-11-221-2/+5
| | | | | | | | | | | | | Original commit message from CVS: * ext/jpeg/gstjpegdec.c: (gst_jpeg_dec_setcaps), (gst_jpeg_dec_chain), (gst_jpeg_dec_change_state): * ext/jpeg/gstjpegdec.h: * ext/jpeg/gstjpegenc.c: (gst_jpegenc_setcaps): * ext/jpeg/gstjpegenc.h: * ext/jpeg/gstsmokeenc.c: (gst_smokeenc_setcaps), (gst_smokeenc_resync): * ext/jpeg/gstsmokeenc.h: JPEG fractiony goodness.
* ext/jpeg/gstjpegdec.*: Cleanups. Don't create caps for every chain.Wim Taymans2005-10-281-0/+5
| | | | | | | | Original commit message from CVS: * ext/jpeg/gstjpegdec.c: (gst_jpeg_dec_init), (gst_jpeg_dec_chain), (gst_jpeg_dec_change_state): * ext/jpeg/gstjpegdec.h: Cleanups. Don't create caps for every chain.
* ext/jpeg/gstjpegdec.*: Fix crashes/invalid memory access for pictures that ↵Tim-Philipp Müller2005-08-111-5/+0
| | | | | | | | | | | | | | | | | have a height that is not a multiple of 16... Original commit message from CVS: * ext/jpeg/gstjpegdec.c: (gst_jpeg_dec_init), (gst_jpeg_dec_chain), (gst_jpeg_dec_change_state): * ext/jpeg/gstjpegdec.h: Fix crashes/invalid memory access for pictures that have a height that is not a multiple of 16 (or rather: v_samp_factor * DCTSIZE). Also fix the state change function for downwards state changes (need to chain up to parent before destroying our resources, to make sure pads get deactivated and our chain function isn't running and using those very same resources in another thread). The jpeg line buffer only needs to be v_samp_factor*DCTSIZE lines per plane, not picture_height lines; allocate that on the stack.
* ext/jpeg/gstjpegdec.*: Make mjpeg actually work and skip jpeg data parsing ↵Tim-Philipp Müller2005-08-091-0/+3
| | | | | | | | | | | | | if we know that the input is packetized (i... Original commit message from CVS: * ext/jpeg/gstjpegdec.c: (gst_jpeg_dec_init), (gst_jpeg_dec_setcaps), (gst_jpeg_dec_chain), (gst_jpeg_dec_change_state): * ext/jpeg/gstjpegdec.h: Make mjpeg actually work and skip jpeg data parsing if we know that the input is packetized (ie. each input buffer is exactly one jpeg frame).
* Port jpegdec to 0.9; handles 'progressive loading' now, ie. input does no ↵Tim-Philipp Müller2005-08-081-39/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | longer need to be one single buffer. Original commit message from CVS: * configure.ac: * ext/Makefile.am: * ext/jpeg/Makefile.am: * ext/jpeg/gstjpeg.c: (plugin_init): * ext/jpeg/gstjpegdec.c: (gst_jpeg_dec_get_type), (gst_jpeg_dec_finalize), (gst_jpeg_dec_base_init), (gst_jpeg_dec_class_init), (gst_jpeg_dec_fill_input_buffer), (gst_jpeg_dec_init_source), (gst_jpeg_dec_skip_input_data), (gst_jpeg_dec_resync_to_restart), (gst_jpeg_dec_term_source), (gst_jpeg_dec_my_output_message), (gst_jpeg_dec_my_emit_message), (gst_jpeg_dec_my_error_exit), (gst_jpeg_dec_init), (is_jpeg_start_marker), (is_jpeg_end_marker), (gst_jpeg_dec_find_jpeg_header), (gst_jpeg_dec_ensure_header), (gst_jpeg_dec_have_end_marker), (gst_jpeg_dec_parse_tag_has_entropy_segment), (gst_jpeg_dec_parse_image_data), (gst_jpeg_dec_chain), (gst_jpeg_dec_change_state): * ext/jpeg/gstjpegdec.h: Port jpegdec to 0.9; handles 'progressive loading' now, ie. input does no longer need to be one single buffer.
* *.h: Revert indentingJohan Dahlin2004-03-151-35/+32
| | | | | Original commit message from CVS: * *.h: Revert indenting
* gst-indentThomas Vander Stichele2004-03-141-32/+35
| | | | | Original commit message from CVS: gst-indent
* Merge CAPS branchDavid Schleef2003-12-221-1/+1
| | | | | Original commit message from CVS: Merge CAPS branch
* New mimetypes gone into effect today - this commit changes all old mimetypes ↵Ronald S. Bultje2003-07-061-0/+1
| | | | | | | over to the new mimetypes spec as descri... Original commit message from CVS: New mimetypes gone into effect today - this commit changes all old mimetypes over to the new mimetypes spec as described in the previous commit's document. Note: some plugins will break, some pipelines will break, expect HEAD to be broken or at least not 100% working for a few days, but don't forget to report bugs
* GstPadTemplate <-> gst_pad_template <-> GST_PAD_TEMPLATE same with *factory ↵Andy Wingo2002-04-111-2/+4
| | | | | | | | | | | and typefind. Original commit message from CVS: GstPadTemplate <-> gst_pad_template <-> GST_PAD_TEMPLATE same with *factory and typefind. also, some -Werror fixes.
* // to /* */ fixesChristian Schaller2002-02-031-6/+6
| | | | | Original commit message from CVS: // to /* */ fixes
* added jpeg and shout (icecastsend has been renamed to shout, there are other ↵Thomas Vander Stichele2001-12-231-0/+87
libs that do icecast too) Original commit message from CVS: added jpeg and shout (icecastsend has been renamed to shout, there are other libs that do icecast too)