Commit graph

210 commits

Author SHA1 Message Date
David Schleef
bec69e20ae orc: update generated files to fix MSVC compile issues 2010-09-16 18:03:23 -07:00
Thijs Vermeir
956a075fc4 videotestsrc: Fix indentation 2010-09-16 17:25:00 +02:00
Thijs Vermeir
8d14994bb5 videotestsrc: add bar pattern
Simple bar with foreground color on the background color
2010-09-16 17:14:20 +02:00
Thijs Vermeir
ef02142125 videotestsrc: fix segfault on negative horizontal-speed 2010-09-15 15:29:47 +02:00
David Schleef
d71890156a videotestsrc: Add UYVP 2010-09-14 13:21:54 -07:00
David Schleef
08be25ce62 videotestsrc: Various improvements
Replace moving-color-bars pattern with smpte100, and change
moving-speed to horizontal-speed.  Default is now 0.  Add
a rotation stage to pattern building.
Allocate a temporary scanline for building images.  Remove
unused code.  Disable several patterns that we're unable to
test and probably never used.  Add other variants of bayer
sampling.  Convert some patterns to use videotestsrc_blend_line.
2010-09-14 13:21:54 -07:00
David Schleef
8e60eca315 videotestsrc: clean up blink pattern 2010-09-14 13:21:54 -07:00
David Schleef
ef981b53b6 videotestsrc: Clean up the RGB code 2010-09-14 13:21:54 -07:00
David Schleef
bb80df3a33 videotestsrc: Convert to intermediate AYUV/ARGB
Scanlines are generated into AYUV/ARGB, then converted to the
various formats.
2010-09-14 13:21:54 -07:00
David Schleef
9802339481 videotestsrc: rearrange code to work on scanlines 2010-09-14 13:21:51 -07:00
David Schleef
9b8da1acfb videotestsrc: Fix recent breakage of smpte75 pattern 2010-09-14 12:33:22 -07:00
Thijs Vermeir
809460c651 videotestsrc: add moving color bars pattern
This pattern is moving the color bars with a given
speed. Negative speed is inverting the moving direction.

https://bugzilla.gnome.org/show_bug.cgi?id=628500
2010-09-14 12:33:21 -07:00
Sebastian Dröge
18b282e49f orc: Fix generated source files 2010-09-10 08:43:17 +02:00
Sebastian Dröge
3c43dbfc51 orc: Update generated source files everywhere 2010-09-09 10:59:59 +02:00
Sebastian Dröge
8ba4b70118 Revert "Revert "Use init functions for Orc code""
This reverts commit 93aa13639d.

Everything should work now after regenerating the disted source files.
2010-09-09 10:57:41 +02:00
Edward Hervey
91ee8507ef videotestsrc: .gitignore new generate_sine_table 2010-09-06 11:53:35 +02:00
David Schleef
d03fc85095 videotestsrc: Use static sine table 2010-09-05 20:59:38 -07:00
David Schleef
131d619737 videotestsrc: Add foreground/background-color properties
Replace solid-color property with foreground-color and add
background-color.  Pull some common code out of each of the
pattern generating functions.  Fix many of the patterns to
use foreground-color/background-color instead of white/black.
Generated images are indentical to previously if foreground-color
and background-color are left as default.

API: GstVideoTestSrc::foreground-color
API: GstVideoTestSrc::background-color
2010-09-05 20:59:34 -07:00
David Schleef
fc3840ee73 videotestsrc: deprecate colorspec property
Fixes: #616392.
2010-09-05 17:05:36 -07:00
Stefan Kost
c150945e67 videotestsrc: fix typo in property description 2010-09-02 12:58:34 +03:00
Wim Taymans
93aa13639d Revert "Use init functions for Orc code"
This reverts commit b2051090b4.

Fixes the build again until someone pushes the regenerated .c/.h
files too.
2010-08-27 11:49:47 +02:00
David Schleef
f3a989319b videotestsrc: clean up code
Merge various color structures into one.
2010-08-26 17:20:55 -07:00
David Schleef
c831456188 videotestsrc: Add ball pattern 2010-08-26 17:03:13 -07:00
David Schleef
b2051090b4 Use init functions for Orc code 2010-08-26 17:03:13 -07:00
Sebastian Dröge
613c44044a videotestsrc: Fix NV21 rendering
Using the same as for NV12 will result in wrong colors and crashes.
2010-08-24 09:51:46 +02:00
Mark Nauwelaerts
be6fb6e747 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
2010-08-09 09:47:41 +02:00
Sebastian Dröge
47317338e9 videotestsrc: Explicitely link with $(LIBM) 2010-06-27 06:38:24 +02:00
Tim-Philipp Müller
b16e7e8fa2 gst: update orc files 2010-06-26 18:19:33 +01:00
David Schleef
d7f7e1cc23 audioconvert, videotestsrc: Update generated Orc code
Fixes compile errors with initialization of unions.
2010-06-08 00:33:31 -07:00
David Schleef
dbcf70eaae videotestsrc: convert from liboil to orc 2010-06-07 23:58:54 -07:00
Sebastian Dröge
e3285fb53d videotestsrc: Fixate interlaced, chroma-site and color-matrix fields if necessary 2010-05-22 10:05:40 +02:00
Sebastian Dröge
1990364816 videotestsrc: Fixate PAR to 1/1 if possible 2010-05-12 10:32:48 +02:00
Sebastian Dröge
08589317f8 videotestsrc: Only set color-matrix and chroma-site for relevant formats
The color-matrix only makes sense for colorful formats, i.e. not Y800
and the chroma-site only for non-4:4:4(:4) formats.
2010-03-19 16:43:14 +01:00
Tim-Philipp Müller
58a92964c6 build: Makefile.am fixes
Mostly just add missing $(GST_BASE_CFLAGS), but also fix up order
of flags (see docs/random/moving-plugins).
2010-03-19 01:00:36 +00:00
Benjamin Otte
3bd4aa26ff Add -Wwrite-strings to configure
Fixes for the code included
2010-03-16 17:41:51 +01:00
Benjamin Otte
5e21fa5e0e gst_element_class_set_details => gst_element_class_set_details_simple
Also change my email from the old university one to the current one.
2010-03-16 17:41:50 +01:00
Tim-Philipp Müller
0ed09fef0d videotestsrc: use C comments instead of C++-style comments 2010-03-15 13:40:47 +00:00
Tim-Philipp Müller
8ff8195108 videotestsrc: use g_value_set_static_string() for string constants 2010-03-15 13:40:47 +00:00
David Schleef
84ed474e6a videotestsrc: add chroma-zone-plate pattern
pattern=chroma-zone-plate is pattern similar to zone-plate,
but in the chroma channels instead of luma.
2010-03-15 01:35:15 -07:00
David Schleef
ac9b69a088 videotestsrc: add chroma-site to caps 2010-03-15 01:33:36 -07:00
David Schleef
c1974322ea videotestsrc: Add color-matrix to template caps 2010-03-14 16:18:34 -07:00
David Schleef
173b0758dc videotestsrc: Add color-matrix to caps 2010-03-09 13:11:38 -08:00
Benjamin Otte
6621dd3d3e [videotestsrc] Make checkers-8 pattern create 8x8 instead of 16x16 tiles 2009-10-07 09:54:08 +02:00
Benjamin Otte
a0a66e8ceb [videotestsrc] Fix Y41B
Chroma components should be aligned on 4byte boundaries.

https://bugzilla.gnome.org/show_bug.cgi?id=595849
2009-10-07 09:54:07 +02:00
David Schleef
205ada8454 videotestsrc: add pattern with out-of-gamut colors
Adds a pattern with out-of-gamut colors in a checkerboard
pattern with in-gamut neighbors.  Useful for checking YCbCr->RGB
color matrixing.  Correct matrixing and clamping will cause the
checkerboard pattern to be invisible.
2009-10-06 19:47:01 -07:00
Benjamin Otte
26c068e9e5 videotestsrc: Fix crashes with even widths
The fix for green lines introduced by commit
35fdfcc625 caused invalid memory accesses
for even widths. This patch fixes it.
2009-09-11 22:14:25 +02:00
Benjamin Otte
7ed2531b27 videotestsrc: Fix YVU9 and YUV9
- Buffer sizes were computed different from ffmpegcolorspace
- Green bar on right size for widths not divisable by 4
2009-09-10 10:45:06 +02:00
Benjamin Otte
35fdfcc625 videotestsrc: Fix image for odd widths in some formats
videotestsrc rounds chroma down. This causes it to omit the last chroma
value completely for odd widths when the chroma is downsampled.
This patch special cases the last pixel to not be rounded down.
2009-09-10 10:45:06 +02:00
Edward Hervey
8cd1b5209b gst: Remove dead assignments and resulting unused variables 2009-08-08 15:54:02 +02:00
Jan Schmidt
ad947b2436 videotestsrc: Fix NV12 painting for odd strides/heights 2009-06-20 23:48:22 +01:00