summaryrefslogtreecommitdiffstats
path: root/ext/jpeg/gstjpegdec.c
Commit message (Collapse)AuthorAgeFilesLines
* ext/jpeg/: JPEG fractiony goodness.Michael Smith2005-11-221-14/+32
| | | | | | | | | | | | | 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.c: Only GST_DEBUG() information on the valid components.Edward Hervey2005-11-121-1/+1
| | | | | | Original commit message from CVS: * ext/jpeg/gstjpegdec.c: (gst_jpeg_dec_chain): Only GST_DEBUG() information on the valid components.
* ext/jpeg/gstjpegdec.*: Cleanups. Don't create caps for every chain.Wim Taymans2005-10-281-59/+91
| | | | | | | | 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.
* All plugins updated for element state changes.Andy Wingo2005-09-021-9/+10
| | | | | | | Original commit message from CVS: 2005-09-02 Andy Wingo <wingo@pobox.com> * All plugins updated for element state changes.
* ext/jpeg/gstjpegdec.c: Fix decoding of pictures with certain uneven or ↵Tim-Philipp Müller2005-08-121-44/+106
| | | | | | | | | | | | | unaligned widths where jpeglib needs more hori... Original commit message from CVS: * ext/jpeg/gstjpegdec.c: (gst_jpeg_dec_decode_indirect), (gst_jpeg_dec_decode_direct), (gst_jpeg_dec_chain): Fix decoding of pictures with certain uneven or unaligned widths where jpeglib needs more horizontal padding than our I420 buffers provide, resulting in blocky artifacts at the left side of the picture (#164176). Also make use of our shiny new GST_ROUND_N() macros.
* ext/jpeg/gstjpegdec.*: Fix crashes/invalid memory access for pictures that ↵Tim-Philipp Müller2005-08-111-65/+53
| | | | | | | | | | | | | | | | | 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-21/+32
| | | | | | | | | | | | | 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).
* ext/jpeg/gstjpegdec.c: Add setcaps() function (for mjpeg).Tim-Philipp Müller2005-08-081-1/+26
| | | | | | | Original commit message from CVS: * ext/jpeg/gstjpegdec.c: (gst_jpeg_dec_init), (gst_jpeg_dec_setcaps), (gst_jpeg_dec_chain): Add setcaps() function (for mjpeg).
* Port jpegdec to 0.9; handles 'progressive loading' now, ie. input does no ↵Tim-Philipp Müller2005-08-081-191/+527
| | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Fix rowstridesTim-Philipp Müller2005-02-181-23/+26
| | | | | Original commit message from CVS: Fix rowstrides
* ext/jpeg/gstjpegdec.c: Make jpegdec quiet on MJPEG decodingStéphane Loeuillet2005-01-101-0/+15
| | | | | | | | | Original commit message from CVS: * ext/jpeg/gstjpegdec.c: (gst_jpegdec_my_output_message), (gst_jpegdec_my_emit_message), (gst_jpegdec_init): Make jpegdec quiet on MJPEG decoding * gst/asfdemux/README: Fix mimetypes for MJPEG and H263
* ext/jpeg/gstjpegdec.c (gst_jpegdec_chain): Allocate the buffer after setting ↵Johan Dahlin2004-09-201-12/+12
| | | | | | | | caps. Fixes mysterious segfault. Blessed... Original commit message from CVS: * ext/jpeg/gstjpegdec.c (gst_jpegdec_chain): Allocate the buffer after setting caps. Fixes mysterious segfault. Blessed by Wim.
* cleanups, debugging and memleak fixesThomas Vander Stichele2004-08-091-18/+25
| | | | | Original commit message from CVS: cleanups, debugging and memleak fixes
* second batch : remove ',' at end of enums as they could confuse older gcc, ↵Stéphane Loeuillet2004-05-211-2/+2
| | | | | | | | | foreign compilers (forte) and gtk-doc (in ... Original commit message from CVS: second batch : remove ',' at end of enums as they could confuse older gcc, foreign compilers (forte) and gtk-doc (in gst-plugins/ext/ this time)
* add debugging categoriesThomas Vander Stichele2004-04-231-0/+5
| | | | | Original commit message from CVS: add debugging categories
* don't mix tabs and spacesThomas Vander Stichele2004-03-151-12/+13
| | | | | Original commit message from CVS: don't mix tabs and spaces
* gst-indentThomas Vander Stichele2004-03-141-176/+184
| | | | | Original commit message from CVS: gst-indent
* ext/gdk_pixbuf/gstgdkpixbuf.c: Fix logic bug causing spurious errors.David Schleef2004-02-111-35/+36
| | | | | | | | | | | | | | Original commit message from CVS: * ext/gdk_pixbuf/gstgdkpixbuf.c: (gst_gdk_pixbuf_sink_link), (gst_gdk_pixbuf_chain): Fix logic bug causing spurious errors. * ext/jpeg/gstjpegdec.c: (gst_jpegdec_base_init), (gst_jpegdec_init), (gst_jpegdec_chain): Fix negotiation. * ext/jpeg/gstjpegenc.c: (gst_jpegenc_base_init), (gst_jpegenc_class_init), (gst_jpegenc_init), (gst_jpegenc_getcaps), (gst_jpegenc_link), (gst_jpegenc_resync), (gst_jpegenc_chain), (gst_jpegenc_set_property), (gst_jpegenc_get_property): Fix negotiation. Add some properties. * ext/jpeg/gstjpegenc.h: Fix negotiation.
* gst-libs/gst/video/video.h: Fix caps template names to be understandable.Benjamin Otte2004-01-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Original commit message from CVS: 2004-01-12 Benjamin Otte <in7y118@public.uni-hamburg.de> * gst-libs/gst/video/video.h: Fix caps template names to be understandable. Prefix everything with GST_VIDEO. * ext/aalib/gstaasink.c: * ext/divx/gstdivxdec.c: * ext/divx/gstdivxenc.c: * ext/gdk_pixbuf/gstgdkpixbuf.c: * ext/hermes/gstcolorspace.c: (gst_colorspace_base_init): * ext/jpeg/gstjpegdec.c: (raw_caps_factory): * ext/jpeg/gstjpegenc.c: (raw_caps_factory): * ext/libcaca/gstcacasink.c: * ext/libpng/gstpngenc.c: (raw_caps_factory): * ext/snapshot/gstsnapshot.c: * ext/swfdec/gstswfdec.c: * ext/xvid/gstxviddec.c: * ext/xvid/gstxvidenc.c: * gst/chart/gstchart.c: * gst/deinterlace/gstdeinterlace.c: * gst/effectv/gsteffectv.c: * gst/flx/gstflxdec.c: (gst_flxdec_loop): * gst/goom/gstgoom.c: * gst/median/gstmedian.c: * gst/monoscope/gstmonoscope.c: (gst_monoscope_init), (gst_monoscope_srcconnect), (gst_monoscope_chain): * gst/overlay/gstoverlay.c: * gst/smooth/gstsmooth.c: * gst/smpte/gstsmpte.c: * gst/synaesthesia/gstsynaesthesia.c: * gst/videocrop/gstvideocrop.c: * gst/videodrop/gstvideodrop.c: * gst/y4m/gsty4mencode.c: * sys/qcam/gstqcamsrc.c: * sys/v4l/gstv4lsrc.c: (gst_v4lsrc_palette_to_caps): Make them work with new video.h file. * sys/ximage/ximagesink.c: (gst_ximagesink_chain), (gst_ximagesink_buffer_free), (gst_ximagesink_buffer_alloc): * sys/xvimage/xvimagesink.c: (gst_xvimagesink_chain), (gst_xvimagesink_buffer_free), (gst_xvimagesink_buffer_alloc): Make it work with new buffer allocation system.
* Convert elements to use gst_pad_use_explicit_caps() where appropriate.David Schleef2004-01-021-3/+9
| | | | | Original commit message from CVS: Convert elements to use gst_pad_use_explicit_caps() where appropriate.
* Merge CAPS branchDavid Schleef2003-12-221-43/+28
| | | | | Original commit message from CVS: Merge CAPS branch
* + checking in plugin category changesLeif Johnson2003-11-161-3/+3
| | | | | Original commit message from CVS: + checking in plugin category changes
* change video/x-jpeg to image/jpegDavid Schleef2003-11-101-1/+1
| | | | | Original commit message from CVS: change video/x-jpeg to image/jpeg
* JPEG JPEG JPEG WHEEEEIain Holmes2003-11-021-6/+51
| | | | | | | Original commit message from CVS: JPEG JPEG JPEG WHEEEE Fixyed. (Gah, I'm getting sleeeeeeeeepeeeeeeeee)
* /GstBuffer/GstData/ in the API where you can pass events. Fix the plugins to ↵Andy Wingo2003-10-081-3/+4
| | | | | | | deal with that. Fixes #113488. Original commit message from CVS: /GstBuffer/GstData/ in the API where you can pass events. Fix the plugins to deal with that. Fixes #113488.
* updating some plugin categoriesLeif Johnson2003-10-081-1/+1
| | | | | Original commit message from CVS: updating some plugin categories
* New mimetypes gone into effect today - this commit changes all old mimetypes ↵Ronald S. Bultje2003-07-061-4/+34
| | | | | | | 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
* compatibility fix for new GST_DEBUG stuff.Benjamin Otte2003-06-291-14/+17
| | | | | | | | Original commit message from CVS: compatibility fix for new GST_DEBUG stuff. Includes fixes for missing includes for config.h and unistd.h I only ensured for plugins I can build that they work, so if some of them are still broken, you gotta fix them yourselves unfortunately.
* Add standard huffman tables if the file doesn't have themRonald S. Bultje2003-06-151-0/+118
| | | | | Original commit message from CVS: Add standard huffman tables if the file doesn't have them
* another batch of connect->link fixes please let me know about issues and ↵Thomas Vander Stichele2003-01-101-1/+1
| | | | | | | | | | please refrain of making them yourself, so t... Original commit message from CVS: another batch of connect->link fixes please let me know about issues and please refrain of making them yourself, so that I don't spend double the time resolving conflicts
* plugins part of license field patchChristian Schaller2002-09-181-0/+1
| | | | | Original commit message from CVS: plugins part of license field patch
* a hack to work around intltool's brokenness a current check for mpeg2dec ↵Andy Wingo2002-04-201-1/+1
| | | | | | | | | | | details->klass reorganizations an element br... Original commit message from CVS: * a hack to work around intltool's brokenness * a current check for mpeg2dec * details->klass reorganizations * an element browser that uses details->klass * separated cdxa parse out from the avi directory
* filter newlines out of GST_DEBUG statements to reflect new core behavior ↵Andy Wingo2002-03-241-13/+13
| | | | | | | | fixes to adder's caps, again Original commit message from CVS: * filter newlines out of GST_DEBUG statements to reflect new core behavior * fixes to adder's caps, again
* // to /* */ fixesChristian Schaller2002-02-031-10/+10
| | | | | Original commit message from CVS: // to /* */ fixes
* Bring the plugins in sync with the new core capsnego system.Wim Taymans2002-01-131-7/+7
| | | | | | Original commit message from CVS: Bring the plugins in sync with the new core capsnego system. Added some features, enhancements...
* added jpeg and shout (icecastsend has been renamed to shout, there are other ↵Thomas Vander Stichele2001-12-231-0/+265
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)