summaryrefslogtreecommitdiffstats
path: root/ext/jpeg
Commit message (Collapse)AuthorAgeFilesLines
...
* ext/jpeg/gstjpegenc.c: Don't leak input buffer in chain function (fixes ↵Tim-Philipp Müller2005-11-281-47/+53
| | | | | | | | | | | | | #322667); make state change function thread-s... Original commit message from CVS: * ext/jpeg/gstjpegenc.c: (gst_jpegenc_resync), (gst_jpegenc_chain), (gst_jpegenc_set_property), (gst_jpegenc_get_property), (gst_jpegenc_change_state): Don't leak input buffer in chain function (fixes #322667); make state change function thread-safe; don't repeat the current function name in GST_DEBUG statements; use GST_ROUND_UP_* macros; use gst_pad_alloc_buffer(); misc. minor cleanups.
* ext/jpeg/: JPEG fractiony goodness.Michael Smith2005-11-226-38/+65
| | | | | | | | | | | | | 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.
* rework configure.ac; make asterisk rtp stuff compile on mingwThomas Vander Stichele2005-11-141-1/+1
| | | | | Original commit message from CVS: rework configure.ac; make asterisk rtp stuff compile on mingw
* 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-282-59/+96
| | | | | | | | 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.
* fix build and use of GST_LIBSThomas Vander Stichele2005-09-231-3/+2
| | | | | Original commit message from CVS: fix build and use of GST_LIBS
* fix compiler warningsThomas Vander Stichele2005-09-092-2/+3
| | | | | Original commit message from CVS: fix compiler warnings
* jpgenc ported to GSTreamer 0.9Flavio Oliveira2005-09-084-55/+53
| | | | | Original commit message from CVS: jpgenc ported to GSTreamer 0.9
* All plugins updated for element state changes.Andy Wingo2005-09-022-17/+19
| | | | | | | 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-112-70/+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-092-21/+35
| | | | | | | | | | | | | 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).
* ext/jpeg/Makefile.am: Fix compile.Ronald S. Bultje2005-08-081-1/+1
| | | | | | Original commit message from CVS: * ext/jpeg/Makefile.am: Fix compile.
* Port jpegdec to 0.9; handles 'progressive loading' now, ie. input does no ↵Tim-Philipp Müller2005-08-084-233/+593
| | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* ext/gdk_pixbuf/pixbufscale.c: Don't leak caps string (fixes #168134)Tim-Philipp Müller2005-02-221-7/+49
| | | | | | | | | | | Original commit message from CVS: * ext/gdk_pixbuf/pixbufscale.c: (gst_pixbufscale_link): Don't leak caps string (fixes #168134) * ext/jpeg/gstjpegenc.c: (gst_jpegenc_class_init), (gst_jpegenc_init), (gst_jpegenc_finalize), (gst_jpegenc_change_state): Don't leak line buffers and context struct (fixes #168133).
* Fix rowstridesTim-Philipp Müller2005-02-182-38/+57
| | | | | 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/: Fix mimetype on smoke encoder.Wim Taymans2004-10-181-1/+1
| | | | | | | | | | | Original commit message from CVS: * ext/dv/gstdvdec.c: (gst_dvdec_video_getcaps), (gst_dvdec_video_link), (gst_dvdec_push): * ext/jpeg/gstsmokeenc.c: (gst_smokeenc_class_init), (gst_smokeenc_resync), (gst_smokeenc_chain): Fix mimetype on smoke encoder. Add aspect ratio to dvdec. Not sure if these values are correct though....
* fix dist of smokeThomas Vander Stichele2004-10-051-2/+7
| | | | | Original commit message from CVS: fix dist of smoke
* ext/jpeg/: Updated smoke, new bitstream, allows embedding in ogg.Wim Taymans2004-10-048-50/+281
| | | | | | | | | | | | | | | | | | | | | | Original commit message from CVS: * ext/jpeg/gstjpeg.c: (smoke_type_find), (plugin_init): * ext/jpeg/gstsmokedec.c: (gst_smokedec_init), (gst_smokedec_chain): * ext/jpeg/gstsmokedec.h: * ext/jpeg/gstsmokeenc.c: (gst_smokeenc_class_init), (gst_smokeenc_init), (gst_smokeenc_resync), (gst_smokeenc_chain): * ext/jpeg/gstsmokeenc.h: * ext/jpeg/smokecodec.c: (smokecodec_encode_new), (smokecodec_decode_new), (smokecodec_info_free), (smokecodec_set_quality), (smokecodec_get_quality), (smokecodec_set_threshold), (smokecodec_get_threshold), (smokecodec_set_bitrate), (smokecodec_get_bitrate), (find_best_size), (abs_diff), (put), (smokecodec_encode_id), (smokecodec_encode), (smokecodec_parse_id), (smokecodec_parse_header), (smokecodec_decode): * ext/jpeg/smokecodec.h: * ext/jpeg/smokeformat.h: Updated smoke, new bitstream, allows embedding in ogg.
* 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
* sighThomas Vander Stichele2004-06-091-1/+1
| | | | | Original commit message from CVS: sigh
* anotherThomas Vander Stichele2004-06-091-1/+1
| | | | | Original commit message from CVS: another
* add headers to HEADERSThomas Vander Stichele2004-06-091-1/+1
| | | | | Original commit message from CVS: add headers to HEADERS
* ext/jpeg/: Added a new simple jpeg based codecWim Taymans2004-06-089-1/+1526
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Original commit message from CVS: * ext/jpeg/Makefile.am: * ext/jpeg/README: * ext/jpeg/gstjpeg.c: (plugin_init): * ext/jpeg/gstsmokedec.c: (gst_smokedec_get_type), (gst_smokedec_base_init), (gst_smokedec_class_init), (gst_smokedec_init), (gst_smokedec_link), (gst_smokedec_chain): * ext/jpeg/gstsmokedec.h: * ext/jpeg/gstsmokeenc.c: (gst_smokeenc_get_type), (gst_smokeenc_base_init), (gst_smokeenc_class_init), (gst_smokeenc_init), (gst_smokeenc_getcaps), (gst_smokeenc_link), (gst_smokeenc_resync), (gst_smokeenc_chain), (gst_smokeenc_set_property), (gst_smokeenc_get_property): * ext/jpeg/gstsmokeenc.h: * ext/jpeg/smokecodec.c: (smokecodec_init_destination), (smokecodec_flush_destination), (smokecodec_term_destination), (smokecodec_init_source), (smokecodec_fill_input_buffer), (smokecodec_skip_input_data), (smokecodec_resync_to_restart), (smokecodec_term_source), (smokecodec_encode_new), (smokecodec_decode_new), (smokecodec_info_free), (smokecodec_set_quality), (smokecodec_get_quality), (smokecodec_set_threshold), (smokecodec_get_threshold), (smokecodec_set_bitrate), (smokecodec_get_bitrate), (find_best_size), (abs_diff), (put), (smokecodec_encode), (smokecodec_parse_header), (smokecodec_decode): * ext/jpeg/smokecodec.h: Added a new simple jpeg based codec
* second batch : remove ',' at end of enums as they could confuse older gcc, ↵Stéphane Loeuillet2004-05-212-4/+4
| | | | | | | | | 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)
* ext/jpeg/gstjpegenc.c: fix DURATION on outgoing buffersThomas Vander Stichele2004-05-051-0/+1
| | | | | | | | | | | | | Original commit message from CVS: * ext/jpeg/gstjpegenc.c: (gst_jpegenc_get_type), (gst_jpegenc_chain): fix DURATION on outgoing buffers * gst/asfdemux/gstasfdemux.c: (gst_asf_demux_handle_sink_event): debug using time formats * sys/ximage/ximagesink.c: (gst_ximagesink_xcontext_get): * sys/xvimage/xvimagesink.c: (gst_xvimagesink_get_xv_support), (gst_xvimagesink_sink_link): windows with width/height 0 generate X errors, so don't allow them
* ext/jpeg/: move format setting to inner loopThomas Vander Stichele2004-04-291-5/+5
| | | | | | | | | | | | | | | | | | Original commit message from CVS: * ext/jpeg/gstjpegdec.c: (gst_jpegdec_get_type): * ext/jpeg/gstjpegenc.c: (gst_jpegenc_get_type), (gst_jpegenc_getcaps): move format setting to inner loop * gst/ffmpegcolorspace/gstffmpegcolorspace.c: (gst_ffmpegcolorspace_getcaps): use GST_PAD_CAPS if available so that we use already negotiated caps * gst/qtdemux/qtdemux.c: (gst_qtdemux_loop_header), (qtdemux_parse_moov), (qtdemux_parse): extra debugging * sys/qcam/qcam-Linux.c: (qc_lock_wait), (qc_unlock): * sys/qcam/qcam-os.c: (qc_lock_wait), (qc_unlock): move hardcoded path to DEFINE
* fix jpeg getcaps so it negotiates correctlyThomas Vander Stichele2004-04-261-1/+8
| | | | | Original commit message from CVS: fix jpeg getcaps so it negotiates correctly
* add debugging categoriesThomas Vander Stichele2004-04-232-2/+15
| | | | | Original commit message from CVS: add debugging categories
* don't mix tabs and spacesThomas Vander Stichele2004-03-153-26/+28
| | | | | Original commit message from CVS: don't mix tabs and spaces
* *.h: Revert indentingJohan Dahlin2004-03-152-71/+65
| | | | | Original commit message from CVS: * *.h: Revert indenting
* gst-indentThomas Vander Stichele2004-03-145-363/+386
| | | | | Original commit message from CVS: gst-indent
* fix headers fix signals to use - instead of _Thomas Vander Stichele2004-03-041-1/+1
| | | | | | Original commit message from CVS: fix headers fix signals to use - instead of _
* ext/gdk_pixbuf/gstgdkpixbuf.c: Fix logic bug causing spurious errors.David Schleef2004-02-113-75/+185
| | | | | | | | | | | | | | 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.
* Make sure everybody wraps #include "config.h" in #ifdef HAVE_CONFIG_HDavid Schleef2004-01-121-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | Original commit message from CVS: * ext/ffmpeg/gstffmpeg.c: * ext/ffmpeg/gstffmpegcodecmap.c: * ext/ffmpeg/gstffmpegdec.c: * ext/ffmpeg/gstffmpegenc.c: * ext/ffmpeg/gstffmpegprotocol.c: * ext/gdk_pixbuf/gstgdkanimation.c: * ext/jpeg/gstjpeg.c: * ext/libpng/gstpng.c: * ext/mpeg2dec/perftest.c: * ext/speex/gstspeex.c: * gst-libs/gst/resample/dtos.c: * gst/intfloat/gstintfloatconvert.c: * gst/oneton/gstoneton.c: * gst/rtjpeg/RTjpeg.c: * gst/rtp/gstrtp.c: * sys/dxr3/dxr3init.c: * sys/glsink/gstgl_nvimage.c: * sys/glsink/gstgl_pdrimage.c: * sys/glsink/gstglsink.c: * testsuite/gst-lint: Make sure everybody wraps #include "config.h" in #ifdef HAVE_CONFIG_H
* gst-libs/gst/video/video.h: Fix caps template names to be understandable.Benjamin Otte2004-01-122-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Fix for instantiate-test (see core). Also remove dead code from jpegenc ↵Ronald S. Bultje2004-01-071-28/+0
| | | | | | | | | | | | | | | | | | | | (which still needs fixing, but that's lower o... Original commit message from CVS: 2004-01-07 Ronald Bultje <rbultje@ronald.bitfreak.net> * ext/audiofile/gstafsink.c: (gst_afsink_init), (gst_afsink_chain), (gst_afsink_handle_event): * ext/jpeg/gstjpegenc.c: (gst_jpegenc_init): * gst/avi/gstavimux.c: (gst_avimux_request_new_pad): * sys/dxr3/dxr3audiosink.c: (dxr3audiosink_init): * sys/dxr3/dxr3spusink.c: (dxr3spusink_init): * sys/dxr3/dxr3videosink.c: (dxr3videosink_init): Fix for instantiate-test (see core). Also remove dead code from jpegenc (which still needs fixing, but that's lower on my TODO list...). * sys/v4l2/gstv4l2src.c: (gst_v4l2src_getcaps): Never return NULL as caps.
* 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-224-79/+52
| | | | | Original commit message from CVS: Merge CAPS branch
* remove copyright field from pluginsAndy Wingo2003-12-041-1/+0
| | | | | Original commit message from CVS: remove copyright field from plugins
* + checking in plugin category changesLeif Johnson2003-11-162-6/+6
| | | | | 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-023-92/+117
| | | | | | | 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-082-9/+11
| | | | | | | 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-082-2/+2
| | | | | Original commit message from CVS: updating some plugin categories
* Remove all locally-defined optimization flagsDavid Schleef2003-09-111-2/+0
| | | | | Original commit message from CVS: Remove all locally-defined optimization flags
* Remove redundant plugindir definitionDavid Schleef2003-08-101-1/+0
| | | | | Original commit message from CVS: Remove redundant plugindir definition