summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2004-03-15 16:27:29 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2004-03-15 16:27:29 +0000
commit1633bd8693c54cbc5f6648703a7ecf01548ec55f (patch)
tree093d541ae86ff83ee96a5793a55599730798bbd7
parent5702e5e4746593fbaf2ce4049345e33f358e4851 (diff)
downloadgst-plugins-bad-1633bd8693c54cbc5f6648703a7ecf01548ec55f.tar.gz
gst-plugins-bad-1633bd8693c54cbc5f6648703a7ecf01548ec55f.tar.bz2
gst-plugins-bad-1633bd8693c54cbc5f6648703a7ecf01548ec55f.zip
adding ffmpegcolorspace element, thanks ronald
Original commit message from CVS: adding ffmpegcolorspace element, thanks ronald
-rw-r--r--ChangeLog51
-rw-r--r--configure.ac7
2 files changed, 58 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 73f857bd..1e92dd21 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,56 @@
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:
I assume Ronald forgot to commit the change to have cardname
as a struct member. Expect some public spanking at the next
diff --git a/configure.ac b/configure.ac
index c36810ea..c4f7b93e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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