adding ffmpegcolorspace element, thanks ronald

Original commit message from CVS:
adding ffmpegcolorspace element, thanks ronald
This commit is contained in:
Thomas Vander Stichele 2004-03-15 16:27:29 +00:00
parent e42fb4faf6
commit f878cc1640
2 changed files with 58 additions and 0 deletions

View file

@ -1,3 +1,54 @@
2004-03-15 Thomas Vander Stichele <thomas at apestaart dot org>
* configure.ac:
adding ffmpegcolorspace element
* gst/ffmpegcolorspace/Makefile.am:
* gst/ffmpegcolorspace/avcodec.h:
* gst/ffmpegcolorspace/common.h:
* gst/ffmpegcolorspace/dsputil.c: (dsputil_static_init):
* gst/ffmpegcolorspace/dsputil.h:
* gst/ffmpegcolorspace/gstffmpeg.c: (plugin_init):
* gst/ffmpegcolorspace/gstffmpegcodecmap.c:
(gst_ffmpeg_pixfmt_to_caps), (gst_ffmpeg_pix_fmt_to_caps),
(gst_ffmpeg_caps_to_pix_fmt):
* gst/ffmpegcolorspace/gstffmpegcodecmap.h:
* gst/ffmpegcolorspace/gstffmpegcolorspace.c:
(gst_ffmpegcolorspace_caps_remove_format_info),
(gst_ffmpegcolorspace_getcaps), (gst_ffmpegcolorspace_pad_link),
(gst_ffmpegcolorspace_get_type), (gst_ffmpegcolorspace_base_init),
(gst_ffmpegcolorspace_class_init), (gst_ffmpegcolorspace_init),
(gst_ffmpegcolorspace_chain), (gst_ffmpegcolorspace_change_state),
(gst_ffmpegcolorspace_set_property),
(gst_ffmpegcolorspace_get_property),
(gst_ffmpegcolorspace_register):
* gst/ffmpegcolorspace/imgconvert.c:
(avcodec_get_chroma_sub_sample), (avcodec_get_pix_fmt_name),
(avcodec_get_pix_fmt), (avpicture_fill), (avpicture_layout),
(avpicture_get_size), (avcodec_get_pix_fmt_loss),
(avg_bits_per_pixel), (avcodec_find_best_pix_fmt1),
(avcodec_find_best_pix_fmt), (img_copy_plane), (img_copy),
(yuv422_to_yuv420p), (yuv422_to_yuv422p), (yuv422p_to_yuv422),
(C_JPEG_TO_CCIR), (img_convert_init), (img_apply_table),
(shrink41), (shrink21), (shrink12), (shrink22), (shrink44),
(grow21_line), (grow41_line), (grow21), (grow22), (grow41),
(grow44), (conv411), (gif_clut_index), (build_rgb_palette),
(bitcopy_n), (mono_to_gray), (monowhite_to_gray),
(monoblack_to_gray), (gray_to_mono), (gray_to_monowhite),
(gray_to_monoblack), (avpicture_alloc), (avpicture_free),
(is_yuv_planar), (img_convert), (get_alpha_info_pal8),
(img_get_alpha_info), (deinterlace_line),
(deinterlace_line_inplace), (deinterlace_bottom_field),
(deinterlace_bottom_field_inplace), (avpicture_deinterlace):
* gst/ffmpegcolorspace/imgconvert_template.h:
* gst/ffmpegcolorspace/mem.c: (av_malloc), (av_realloc), (av_free):
* gst/ffmpegcolorspace/mmx.h:
* gst/ffmpegcolorspace/utils.c: (avcodec_init):
adding ffmpegcolorspace element supplied by Ronald after cleaning
up and pulling in the right bits of upstream source.
I'm sure a better C/compiler wizard could do some cleaning up (for
example use GLIB's malloc stuff), but as a first pass this
works very well
2004-03-15 Thomas Vander Stichele <thomas at apestaart dot org>
* ext/alsa/gstalsa.h:

View file

@ -87,6 +87,11 @@ AC_HEADER_STDC([])
AC_C_INLINE
AX_CREATE_STDINT_H
dnl Check for malloc.h
AC_CHECK_HEADER(malloc.h,[
AC_DEFINE(HAVE_MALLOC_H, 1, [whether malloc.h available])
])
dnl Check for a way to display the function name in debug output
GST_CHECK_FUNCTION()
@ -348,6 +353,7 @@ GST_PLUGINS_ALL="\
deinterlace \
effectv \
festival \
ffmpegcolorspace \
filter \
flx \
goom \
@ -1597,6 +1603,7 @@ gst/debug/Makefile
gst/deinterlace/Makefile
gst/effectv/Makefile
gst/festival/Makefile
gst/ffmpegcolorspace/Makefile
gst/filter/Makefile
gst/flx/Makefile
gst/goom/Makefile