1. 15 Jun, 2011 29 commits
    • Sebastian Dröge's avatar
    • Sebastian Dröge's avatar
    • Tim-Philipp Müller's avatar
      [MOVED FROM BAD 48/68] colorspace: fix build with current git of gst-plugins-base · e857835f
      Tim-Philipp Müller authored
      ifdef tests don't work so well if we define them in the code
      above in case they aren't defined.
      e857835f
    • Sebastian Dröge's avatar
      [MOVED FROM BAD 47/68] colorspace: Add support for 8 bit paletted RGB · 3c106bad
      Sebastian Dröge authored
      This needs the 8 bit paletted support from -base
      which will be committed after release. Without this
      the 8 bit parts are disabled.
      3c106bad
    • Sebastian Dröge's avatar
    • Sebastian Dröge's avatar
    • Sebastian Dröge's avatar
    • Sebastian Dröge's avatar
    • David Schleef's avatar
      [MOVED FROM BAD 32/68] colorspace: Add conversion code · b045ad22
      David Schleef authored
      Work in progress.  Colorspace handles most format conversion using
      3-stage getline/matrix/putline process using an AYUV or ARGB
      intermediate, with most functions handled by Orc.  There is also
      a table of single-pass conversions, all handled by Orc.  The plan
      is to add optional stages for various chroma upsampling/downsampling
      algorithms, dithering, and float/int16 intermediates, and then have
      Orc create multi-stage functions at runtime.
      b045ad22
    • David Schleef's avatar
      [MOVED FROM BAD 31/68] colorspace: Revive element · 7bc58863
      David Schleef authored
      Now based on Orc.
      7bc58863
    • Benjamin Otte's avatar
    • Edward Hervey's avatar
      [MOVED FROM BAD 28/68] Fix leaks. · 638bde5e
      Edward Hervey authored
      Original commit message from CVS:
      * ext/amrwb/gstamrwbdec.c: (gst_amrwbdec_init):
      * ext/amrwb/gstamrwbenc.c: (gst_amrwbenc_init):
      * ext/amrwb/gstamrwbparse.c: (gst_amrwbparse_init):
      * ext/audioresample/gstaudioresample.c:
      * ext/bz2/gstbz2dec.c: (gst_bz2dec_init):
      * ext/bz2/gstbz2enc.c: (gst_bz2enc_init):
      * ext/divx/gstdivxdec.c: (gst_divxdec_init):
      * ext/divx/gstdivxenc.c: (gst_divxenc_init):
      * ext/faac/gstfaac.c: (gst_faac_init):
      * ext/gsm/gstgsmdec.c: (gst_gsmdec_init):
      * ext/gsm/gstgsmenc.c: (gst_gsmenc_init):
      * ext/hermes/gsthermescolorspace.c: (gst_hermes_colorspace_init):
      * ext/lcs/gstcolorspace.c: (gst_colorspace_init):
      * ext/libfame/gstlibfame.c: (gst_fameenc_init):
      * ext/snapshot/gstsnapshot.c: (gst_snapshot_init):
      * ext/spc/gstspc.c: (gst_spc_dec_init):
      * ext/swfdec/gstswfdec.c: (gst_swfdec_init):
      * ext/xvid/gstxvidenc.c: (gst_xvidenc_init):
      * gst/cdxaparse/gstcdxaparse.c: (gst_cdxa_parse_init):
      * gst/cdxaparse/gstcdxastrip.c: (gst_cdxastrip_init):
      * gst/chart/gstchart.c: (gst_chart_init):
      * gst/colorspace/gstcolorspace.c: (gst_colorspace_init):
      * gst/festival/gstfestival.c: (gst_festival_init):
      * gst/freeze/gstfreeze.c: (gst_freeze_init):
      * gst/mixmatrix/mixmatrix.c: (gst_mixmatrix_request_new_pad):
      * gst/mpeg1sys/gstmpeg1systemencode.c: (gst_system_encode_init):
      * gst/mpeg2sub/gstmpeg2subt.c: (gst_mpeg2subt_init):
      * gst/nsf/gstnsf.c: (gst_nsfdec_init):
      * gst/overlay/gstoverlay.c: (gst_overlay_init):
      * gst/passthrough/gstpassthrough.c: (passthrough_init):
      * gst/playondemand/gstplayondemand.c: (play_on_demand_init):
      * gst/smooth/gstsmooth.c: (gst_smooth_init):
      * gst/smoothwave/gstsmoothwave.c: (gst_smoothwave_init):
      * gst/speed/gstspeed.c: (speed_init):
      * gst/vbidec/gstvbidec.c: (gst_vbidec_init):
      * gst/videodrop/gstvideodrop.c: (gst_videodrop_init):
      * sys/dxr3/dxr3spusink.c: (dxr3spusink_init):
      * sys/dxr3/dxr3videosink.c: (dxr3videosink_init):
      * sys/qcam/gstqcamsrc.c: (gst_qcamsrc_init):
      Fix leaks.
      638bde5e
    • Stefan Kost's avatar
      [MOVED FROM BAD 26/68] Define GstElementDetails as const and also static (when defined as global) · 2a0b62f8
      Stefan Kost authored
      Original commit message from CVS:
      * ext/amrwb/gstamrwbdec.c:
      * ext/amrwb/gstamrwbenc.c:
      * ext/amrwb/gstamrwbparse.c:
      * ext/arts/gst_arts.c:
      * ext/artsd/gstartsdsink.c:
      * ext/audiofile/gstafparse.c:
      * ext/audiofile/gstafsink.c:
      * ext/audiofile/gstafsrc.c:
      * ext/audioresample/gstaudioresample.c:
      * ext/bz2/gstbz2dec.c:
      * ext/bz2/gstbz2enc.c:
      * ext/cdaudio/gstcdaudio.c:
      * ext/directfb/dfbvideosink.c:
      * ext/divx/gstdivxdec.c:
      * ext/divx/gstdivxenc.c:
      * ext/dts/gstdtsdec.c: (gst_dtsdec_base_init):
      * ext/faac/gstfaac.c: (gst_faac_base_init):
      * ext/faad/gstfaad.c:
      * ext/gsm/gstgsmdec.c:
      * ext/gsm/gstgsmenc.c:
      * ext/hermes/gsthermescolorspace.c:
      * ext/ivorbis/vorbisfile.c:
      * ext/lcs/gstcolorspace.c:
      * ext/libfame/gstlibfame.c:
      * ext/libmms/gstmms.c: (gst_mms_base_init):
      * ext/musepack/gstmusepackdec.c: (gst_musepackdec_base_init):
      * ext/musicbrainz/gsttrm.c: (gst_musicbrainz_base_init):
      * ext/nas/nassink.c: (gst_nassink_base_init):
      * ext/neon/gstneonhttpsrc.c:
      * ext/sdl/sdlaudiosink.c:
      * ext/sdl/sdlvideosink.c:
      * ext/shout/gstshout.c:
      * ext/snapshot/gstsnapshot.c:
      * ext/sndfile/gstsf.c:
      * ext/swfdec/gstswfdec.c:
      * ext/tarkin/gsttarkindec.c:
      * ext/tarkin/gsttarkinenc.c:
      * ext/theora/theoradec.c:
      * ext/wavpack/gstwavpackdec.c: (gst_wavpack_dec_base_init):
      * ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_base_init):
      * ext/xvid/gstxviddec.c:
      * ext/xvid/gstxvidenc.c:
      * gst/cdxaparse/gstcdxaparse.c: (gst_cdxa_parse_base_init):
      * gst/cdxaparse/gstcdxastrip.c: (gst_cdxastrip_base_init):
      * gst/chart/gstchart.c:
      * gst/colorspace/gstcolorspace.c:
      * gst/deinterlace/gstdeinterlace.c:
      * gst/equalizer/gstiirequalizer.c: (gst_iir_equalizer_base_init):
      * gst/festival/gstfestival.c:
      * gst/filter/gstbpwsinc.c:
      * gst/filter/gstiir.c:
      * gst/filter/gstlpwsinc.c:
      * gst/freeze/gstfreeze.c:
      * gst/games/gstpuzzle.c: (gst_puzzle_base_init):
      * gst/librfb/gstrfbsrc.c:
      * gst/mixmatrix/mixmatrix.c:
      * gst/mpeg1sys/gstmpeg1systemencode.c:
      * gst/mpeg1videoparse/gstmp1videoparse.c:
      * gst/mpeg2sub/gstmpeg2subt.c:
      * gst/mpegaudioparse/gstmpegaudioparse.c:
      * gst/multifilesink/gstmultifilesink.c:
      * gst/overlay/gstoverlay.c:
      * gst/passthrough/gstpassthrough.c:
      * gst/playondemand/gstplayondemand.c:
      * gst/qtdemux/qtdemux.c:
      * gst/rtjpeg/gstrtjpegdec.c:
      * gst/rtjpeg/gstrtjpegenc.c:
      * gst/smooth/gstsmooth.c:
      * gst/smoothwave/gstsmoothwave.c:
      * gst/spectrum/gstspectrum.c:
      * gst/speed/gstspeed.c:
      * gst/stereo/gststereo.c:
      * gst/switch/gstswitch.c:
      * gst/tta/gstttadec.c: (gst_tta_dec_base_init):
      * gst/tta/gstttaparse.c: (gst_tta_parse_base_init):
      * gst/vbidec/gstvbidec.c:
      * gst/videocrop/gstvideocrop.c:
      * gst/videodrop/gstvideodrop.c:
      * gst/virtualdub/gstxsharpen.c:
      * gst/xingheader/gstxingmux.c: (gst_xing_mux_base_init):
      * gst/y4m/gsty4mencode.c:
      * sys/cdrom/gstcdplayer.c:
      * sys/directdraw/gstdirectdrawsink.c:
      * sys/directsound/gstdirectsoundsink.c:
      * sys/glsink/glimagesink.c:
      * sys/qcam/gstqcamsrc.c:
      * sys/v4l2/gstv4l2src.c:
      * sys/vcd/vcdsrc.c: (gst_vcdsrc_base_init):
      * sys/ximagesrc/ximagesrc.c:
      Define GstElementDetails as const and also static (when defined as
      global)
      2a0b62f8
    • Stefan Kost's avatar
      [MOVED FROM BAD 25/68] Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent) · b4b8f2ff
      Stefan Kost authored
      Original commit message from CVS:
      * ext/amrwb/gstamrwbdec.c: (gst_amrwbdec_class_init):
      * ext/amrwb/gstamrwbenc.c: (gst_amrwbenc_class_init):
      * ext/amrwb/gstamrwbparse.c: (gst_amrwbparse_class_init):
      * ext/arts/gst_arts.c: (gst_arts_class_init):
      * ext/artsd/gstartsdsink.c: (gst_artsdsink_class_init):
      * ext/audiofile/gstafsink.c: (gst_afsink_class_init):
      * ext/audiofile/gstafsrc.c: (gst_afsrc_class_init):
      * ext/audioresample/gstaudioresample.c:
      * ext/cdaudio/gstcdaudio.c: (gst_cdaudio_class_init):
      * ext/directfb/dfbvideosink.c: (gst_dfbvideosink_class_init):
      * ext/divx/gstdivxdec.c: (gst_divxdec_class_init):
      * ext/hermes/gsthermescolorspace.c:
      (gst_hermes_colorspace_class_init):
      * ext/ivorbis/vorbisfile.c: (gst_ivorbisfile_class_init):
      * ext/jack/gstjack.c: (gst_jack_class_init):
      * ext/jack/gstjackbin.c: (gst_jack_bin_class_init):
      * ext/lcs/gstcolorspace.c: (gst_colorspace_class_init):
      * ext/libfame/gstlibfame.c: (gst_fameenc_class_init):
      * ext/musicbrainz/gsttrm.c: (gst_musicbrainz_class_init):
      * ext/nas/nassink.c: (gst_nassink_class_init):
      * ext/shout/gstshout.c: (gst_icecastsend_class_init):
      * ext/snapshot/gstsnapshot.c: (gst_snapshot_class_init):
      * ext/sndfile/gstsf.c: (gst_sf_class_init):
      * ext/swfdec/gstswfdec.c: (gst_swfdecbuffer_class_init),
      (gst_swfdec_class_init):
      * ext/tarkin/gsttarkindec.c: (gst_tarkindec_class_init):
      * ext/tarkin/gsttarkinenc.c: (gst_tarkinenc_class_init):
      * gst/cdxaparse/gstcdxastrip.c: (gst_cdxastrip_class_init):
      * gst/chart/gstchart.c: (gst_chart_class_init):
      * gst/colorspace/gstcolorspace.c: (gst_colorspace_class_init):
      * gst/deinterlace/gstdeinterlace.c: (gst_deinterlace_class_init):
      * gst/festival/gstfestival.c: (gst_festival_class_init):
      * gst/filter/gstbpwsinc.c: (gst_bpwsinc_class_init):
      * gst/filter/gstiir.c: (gst_iir_class_init):
      * gst/filter/gstlpwsinc.c: (gst_lpwsinc_class_init):
      * gst/librfb/gstrfbsrc.c: (gst_rfbsrc_class_init):
      * gst/mixmatrix/mixmatrix.c: (gst_mixmatrix_class_init):
      * gst/mpeg1sys/gstmpeg1systemencode.c:
      (gst_system_encode_class_init):
      * gst/mpeg1videoparse/gstmp1videoparse.c:
      (gst_mp1videoparse_class_init):
      * gst/mpeg2sub/gstmpeg2subt.c: (gst_mpeg2subt_class_init):
      * gst/mpegaudioparse/gstmpegaudioparse.c:
      (gst_mp3parse_class_init):
      * gst/overlay/gstoverlay.c: (gst_overlay_class_init):
      * gst/passthrough/gstpassthrough.c: (passthrough_class_init):
      * gst/playondemand/gstplayondemand.c: (play_on_demand_class_init):
      * gst/rtjpeg/gstrtjpegdec.c: (gst_rtjpegdec_class_init):
      * gst/rtjpeg/gstrtjpegenc.c: (gst_rtjpegenc_class_init):
      * gst/smooth/gstsmooth.c: (gst_smooth_class_init):
      * gst/smoothwave/gstsmoothwave.c: (gst_smoothwave_class_init):
      * gst/spectrum/gstspectrum.c: (gst_spectrum_class_init):
      * gst/stereo/gststereo.c: (gst_stereo_class_init):
      * gst/switch/gstswitch.c: (gst_switch_class_init):
      * gst/tta/gstttadec.c: (gst_tta_dec_class_init):
      * gst/tta/gstttaparse.c: (gst_tta_parse_class_init):
      * gst/vbidec/gstvbidec.c: (gst_vbidec_class_init):
      * gst/videocrop/gstvideocrop.c: (gst_video_crop_class_init):
      * gst/virtualdub/gstxsharpen.c: (gst_xsharpen_class_init):
      * gst/y4m/gsty4mencode.c: (gst_y4mencode_class_init):
      * sys/cdrom/gstcdplayer.c: (cdplayer_class_init):
      * sys/directsound/gstdirectsoundsink.c:
      (gst_directsoundsink_class_init):
      * sys/dxr3/dxr3audiosink.c: (dxr3audiosink_class_init):
      * sys/dxr3/dxr3spusink.c: (dxr3spusink_class_init):
      * sys/dxr3/dxr3videosink.c: (dxr3videosink_class_init):
      * sys/qcam/gstqcamsrc.c: (gst_qcamsrc_class_init):
      * sys/v4l2/gstv4l2colorbalance.c:
      (gst_v4l2_color_balance_channel_class_init):
      * sys/v4l2/gstv4l2tuner.c: (gst_v4l2_tuner_channel_class_init),
      (gst_v4l2_tuner_norm_class_init):
      * sys/ximagesrc/ximagesrc.c: (gst_ximagesrc_class_init):
      Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
      b4b8f2ff
    • Thomas Vander Stichele's avatar
      [MOVED FROM BAD 23/68] rework build; add translations for v4l2 · 06693d83
      Thomas Vander Stichele authored
      Original commit message from CVS:
      rework build; add translations for v4l2
      06693d83
    • Andy Wingo's avatar
      [MOVED FROM BAD 21/68] Update for alloc_buffer changes. · 59986536
      Andy Wingo authored
      Original commit message from CVS:
      2005-12-05  Andy Wingo  <wingo@pobox.com>
      
      * ext/faac/gstfaac.c: (gst_faac_sink_event), (gst_faac_chain):
      * ext/faad/gstfaad.c: (gst_faad_chain):
      * ext/hermes/gsthermescolorspace.c: (gst_hermes_colorspace_chain):
      * ext/lcs/gstcolorspace.c: (gst_colorspace_chain):
      * ext/xine/xineinput.c: (gst_xine_input_get):
      * gst/colorspace/gstcolorspace.c: (gst_colorspace_chain):
      * gst/speed/gstspeed.c: (speed_chain):
      * gst/videocrop/gstvideocrop.c: (gst_video_crop_chain): Update for
      alloc_buffer changes.
      59986536
    • Jan Schmidt's avatar
      [MOVED FROM BAD 20/68] Fix up all the state change functions. · 7aeaaea8
      Jan Schmidt authored
      Original commit message from CVS:
      Fix up all the state change functions.
      7aeaaea8
    • Thomas Vander Stichele's avatar
      [MOVED FROM BAD 19/68] pound some sense in the colorspace elements · 97d85843
      Thomas Vander Stichele authored
      Original commit message from CVS:
      pound some sense in the colorspace elements
      97d85843
    • Andy Wingo's avatar
      [MOVED FROM BAD 18/68] Way, way, way too many files: Remove crack comment from the 2000 era. · 04c7b716
      Andy Wingo authored
      Original commit message from CVS:
      2005-07-05  Andy Wingo  <wingo@pobox.com>
      
      * Way, way, way too many files:
      Remove crack comment from the 2000 era.
      04c7b716
    • Steve Lhomme's avatar
      [MOVED FROM BAD 14/68] local include fixes · c91297ae
      Steve Lhomme authored
      Original commit message from CVS:
      local include fixes
      Fix some 64 bits constants to be glib friendly
      issue for a vararg macro with MSVC
      c91297ae
    • Stéphane Loeuillet's avatar
      [MOVED FROM BAD 12/68] first batch : remove ',' at end of enums as they could... · 3395a05f
      Stéphane Loeuillet authored
      [MOVED FROM BAD 12/68] first batch : remove ',' at end of enums as they could confuse older gcc, foreign compilers (forte) and gtk-doc
      
      Original commit message from CVS:
      
      first batch :
      remove ',' at end of enums as they could confuse older gcc, foreign compilers (forte) and gtk-doc
      3395a05f
    • Benjamin Otte's avatar
      [MOVED FROM BAD 11/68] s/gst_caps_simplify/gst_caps_do_simplify/ · 080ba0e1
      Benjamin Otte authored
      Original commit message from CVS:
      * ext/hermes/gsthermescolorspace.c:
      (gst_hermes_colorspace_caps_remove_format_info):
      * gst/colorspace/gstcolorspace.c:
      (gst_colorspace_caps_remove_format_info):
      * gst/ffmpegcolorspace/gstffmpegcolorspace.c:
      (gst_ffmpegcolorspace_caps_remove_format_info):
      s/gst_caps_simplify/gst_caps_do_simplify/
      080ba0e1
    • David Schleef's avatar
      [MOVED FROM BAD 10/68] gst/colorspace/gstcolorspace.c: Don't advertise a... · fe6699ec
      David Schleef authored
      [MOVED FROM BAD 10/68] gst/colorspace/gstcolorspace.c: Don't advertise a conversion we don't support (bug #139532)
      
      Original commit message from CVS:
      * gst/colorspace/gstcolorspace.c: Don't advertise a conversion
      we don't support (bug #139532)
      fe6699ec
    • David Schleef's avatar
      [MOVED FROM BAD 09/68] ext/hermes/gsthermescolorspace.c: decrease rank by 2 to... · 1513e5af
      David Schleef authored
      [MOVED FROM BAD 09/68] ext/hermes/gsthermescolorspace.c: decrease rank by 2 to not interfere with other colorspaces.
      
      Original commit message from CVS:
      * ext/hermes/gsthermescolorspace.c: (plugin_init): decrease rank
      by 2 to not interfere with other colorspaces.
      * ext/pango/gsttextoverlay.c: (plugin_init): change rank to NONE
      * gst/colorspace/gstcolorspace.c: (plugin_init): decrease rank by
      one to not interfere with ffmpeg_colorspace.
      1513e5af
    • Thomas Vander Stichele's avatar
      [MOVED FROM BAD 08/68] don't mix tabs and spaces · b99391b7
      Thomas Vander Stichele authored
      Original commit message from CVS:
      don't mix tabs and spaces
      b99391b7
    • Thomas Vander Stichele's avatar
      [MOVED FROM BAD 06/68] gst-indent · f20bede1
      Thomas Vander Stichele authored
      Original commit message from CVS:
      gst-indent
      f20bede1
    • David Schleef's avatar
      [MOVED FROM BAD 05/68] configure.ac: the Hermes library controls hermescolorspace, not colorspace. · 243acdb0
      David Schleef authored
      Original commit message from CVS:
      * configure.ac: the Hermes library controls hermescolorspace, not
      colorspace.
      * ext/mpeg2dec/gstmpeg2dec.c: (gst_mpeg2dec_base_init),
      (gst_mpeg2dec_init): minor pet peeve: disable code with #ifdef,
      not /* */
      * ext/sdl/sdlvideosink.c: Change XID to unsigned long.
      * ext/sdl/sdlvideosink.h: ditto.
      * gst/colorspace/gstcolorspace.c: Fix old comments about Hermes
      243acdb0
    • Ronald S. Bultje's avatar
      [MOVED FROM BAD 02/68] gst/colorspace/: Fix compiling... Didn't test if it actually works. · 9ccfe27e
      Ronald S. Bultje authored
      Original commit message from CVS:
      2004-01-15  Ronald Bultje  <rbultje@ronald.bitfreak.net>
      
      * gst/colorspace/gstcolorspace.c:
      * gst/colorspace/yuv2yuv.c: (gst_colorspace_yuy2_to_i420),
      (gst_colorspace_i420_to_yv12):
      Fix compiling... Didn't test if it actually works.
      9ccfe27e
    • David Schleef's avatar
      [MOVED FROM BAD 01/68] Duplicate the ext/hermes colorspace plugin, and remove... · a91e1fa4
      David Schleef authored
      [MOVED FROM BAD 01/68] Duplicate the ext/hermes colorspace plugin, and remove Hermes code and GPL code.  Fix for new caps negotiation.  Rewr...
      
      Original commit message from CVS:
      * configure.ac:
      * gst/colorspace/Makefile.am:
      * gst/colorspace/gstcolorspace.c:
      * gst/colorspace/gstcolorspace.h:
      * gst/colorspace/yuv2rgb.c:
      * gst/colorspace/yuv2rgb.h:
      Duplicate the ext/hermes colorspace plugin, and remove Hermes
      code and GPL code.  Fix for new caps negotiation.  Rewrite
      much of the format handling code, and some of the conversion
      code.  Basically, rewrote almost everything.  This element
      handles I420, YV12 to RGB conversions.
      * ext/hermes/Makefile.am:
      * ext/hermes/gsthermescolorspace.c:
      Rename colorspace to hermescolorspace.  Fix negotiation issues.
      Remove non-Hermes related code.  This element handles lots of
      RGB to RGB conversions, but no YUV.
      * ext/hermes/gstcolorspace.c:
      * ext/hermes/gstcolorspace.h:
      * ext/hermes/rgb2yuv.c:
      * ext/hermes/yuv2rgb.c:
      * ext/hermes/yuv2rgb.h:
      * ext/hermes/yuv2rgb_mmx16.s:
      * ext/hermes/yuv2yuv.c:
      * ext/hermes/yuv2yuv.h:
      Remove old code.
      a91e1fa4