[gst-cvs] gst-plugins-base: videotestsrc: add solid-color pattern

Mark Nauwelaerts mnauw at kemper.freedesktop.org
Mon Aug 9 01:01:17 PDT 2010


Module: gst-plugins-base
Branch: master
Commit: be6fb6e747dc10da111f15c2e897363c8a4051a9
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-base/commit/?id=be6fb6e747dc10da111f15c2e897363c8a4051a9

Author: Mark Nauwelaerts <mark.nauwelaerts at collabora.co.uk>
Date:   Wed Jul 21 14:20:03 2010 +0200

videotestsrc: add solid-color pattern

... which generalizes the current listing of white, black, etc.
In particular, also allow specifying alpha channel, and modify
some structures and pattern filling to cater for alpha value as well.

Fixes #624919.

API: GstVideoTestSrc:solid-color

---

 gst/videotestsrc/gstvideotestsrc.c |   24 ++++
 gst/videotestsrc/gstvideotestsrc.h |    6 +-
 gst/videotestsrc/videotestsrc.c    |  250 +++++++++++++++++++++++++-----------
 gst/videotestsrc/videotestsrc.h    |    6 +-
 4 files changed, 206 insertions(+), 80 deletions(-)

Diff:   http://cgit.freedesktop.org/gstreamer/gst-plugins-base/diff/?id=be6fb6e747dc10da111f15c2e897363c8a4051a9




More information about the Gstreamer-commits mailing list