Thiago Santos [Wed, 2 Jun 2010 03:48:15 +0000 (00:48 -0300)]
gsttwirl: Adds new element twirl
Adds a new element to geometrictransform plugin: twirl
Thiago Santos [Wed, 2 Jun 2010 03:34:36 +0000 (00:34 -0300)]
geometrictransform: Adds a intermediary baseclass circlegeometrictransform
Adds an intermediary baseclass named gstcirclegeometrictransform
to keep common properties code for filters that operate on
a circular area.
Thiago Santos [Sun, 30 May 2010 15:50:56 +0000 (12:50 -0300)]
pinch: Some optimization using the prepare func
Small optimization by precalculating the center of the effect,
also use newly added _CAST macro.
Thiago Santos [Sun, 30 May 2010 15:36:08 +0000 (12:36 -0300)]
geometrictransform: Adds prepare function and cleanup
Adds a prepare function to make subclasses precalculate values
that will be used throughout the mapping functions.
Also adds a missing cleanup to fix a memleak
Thiago Santos [Thu, 27 May 2010 00:39:21 +0000 (21:39 -0300)]
geometrictransform: Precalculate mapping array
Precalculate when setting caps the warping map to avoid
recalculating it every buffer
Thiago Santos [Wed, 26 May 2010 21:29:15 +0000 (18:29 -0300)]
geometrictransform: Accept any rgb or gray
Using gstvideo functions geometrictransform can handle
rgb or gray, put that on template caps
Thiago Santos [Wed, 26 May 2010 21:22:02 +0000 (18:22 -0300)]
geometrictransform: Rename some variables for clarity
Renames some variables and adds a minimum doc to the
mapping function for a little clarity.
Also uses gstvideo functions for the row and pixel strides
instead of hardcoded values
Thiago Santos [Tue, 25 May 2010 02:57:05 +0000 (23:57 -0300)]
geometrictransform: New plugin for geometric transforms
Adds a new plugin that has elements that perform geometric
transformations to images. By geometric transformations I mean
that the operations are functions that given the output pixel
position, get the pixel position in the input image. This pixel
is then copied from input to output.
The gstgeometrictransform baseclass makes it easy to write
such elements. It boils down to write the mapping function
and exposing properties
Already added the first of the elements, 'pinch'. It's a common
effect in image editors, like gimp (distort -> pinch)
David Schleef [Fri, 4 Jun 2010 06:19:35 +0000 (23:19 -0700)]
tools: flesh out element-maker templates
David Schleef [Fri, 4 Jun 2010 01:14:05 +0000 (18:14 -0700)]
bayer2rgb: handle other bayer formats
David Schleef [Fri, 4 Jun 2010 01:14:57 +0000 (18:14 -0700)]
rgb2bayer: handle multiple bayer formats
David Schleef [Thu, 3 Jun 2010 22:53:04 +0000 (15:53 -0700)]
bayer: Add rgb2bayer element
Mostly for testing/completeness.
Tim-Philipp Müller [Thu, 3 Jun 2010 19:51:57 +0000 (20:51 +0100)]
shm: fix debug messages
Misc. printf format fixes and missing arguments.
Olivier Crête [Thu, 3 Jun 2010 19:27:03 +0000 (15:27 -0400)]
shmsink: Make static function static
Olivier Crête [Thu, 3 Jun 2010 19:26:52 +0000 (15:26 -0400)]
shm: Use gst_element_class_set_details_simple
Olivier Crête [Thu, 3 Jun 2010 18:42:06 +0000 (14:42 -0400)]
shm: Move to sys/ since it doesn't exist on windows
Olivier Crête [Thu, 3 Jun 2010 18:41:55 +0000 (14:41 -0400)]
shmsrc: Fix indentation
Olivier Crête [Thu, 3 Jun 2010 18:22:36 +0000 (14:22 -0400)]
shmsink: Print errors if fchmod fails
Olivier Crête [Wed, 7 Apr 2010 23:05:37 +0000 (19:05 -0400)]
shmpipe: Fix crash when sp_close_shm is called with self == NULL.
If sp_open_shm errors out trying to open a shm area, it would crash
when trying to free the area. The RETURN_ERROR macro calls
sp_shm_area_dec with self == NULL. sp_shm_area_dec calls
sp_shm_close, with self == NULL, which it then tries to access a
parameter of without checking. This patch checks to make sure
self != NULL before accessing that parameter.
Olivier Crête [Wed, 7 Apr 2010 23:05:15 +0000 (19:05 -0400)]
shmpipe: Update code standard
Olivier Crête [Wed, 3 Feb 2010 11:50:13 +0000 (13:50 +0200)]
shmsrc: Add socket path to error message
Olivier Crête [Tue, 2 Feb 2010 15:40:09 +0000 (17:40 +0200)]
shmpipe: Remove wrong test inversion
Olivier Crête [Tue, 2 Feb 2010 15:35:26 +0000 (17:35 +0200)]
shmpipe: Verify that accept succeeds
Olivier Crête [Tue, 2 Feb 2010 15:35:15 +0000 (17:35 +0200)]
shmpipe: Fix one byte overflow
Olivier Crête [Tue, 2 Feb 2010 09:11:06 +0000 (11:11 +0200)]
shmsrc: Improve debug prints
Olivier Crête [Tue, 26 Jan 2010 10:34:34 +0000 (12:34 +0200)]
shmsink: Get potentially modified after opening shmpipe
Olivier Crête [Tue, 26 Jan 2010 10:32:56 +0000 (12:32 +0200)]
shm: Try alternate paths for the socket
Olivier Crête [Fri, 29 Jan 2010 09:06:44 +0000 (11:06 +0200)]
shmpipe: Don't pretend the path is random
Olivier Crête [Fri, 29 Jan 2010 08:57:27 +0000 (10:57 +0200)]
shmpipe: Create shm area exclusively
Olivier Crête [Thu, 28 Jan 2010 13:34:44 +0000 (15:34 +0200)]
shmalloc: Make it build in non-glib world
Olivier Crête [Thu, 28 Jan 2010 10:19:07 +0000 (12:19 +0200)]
shmsrc: Make the shmpipe life independant of the element states
Olivier Crête [Thu, 28 Jan 2010 09:57:34 +0000 (11:57 +0200)]
shmpipe: Simplify handling of random paths
Olivier Crête [Thu, 28 Jan 2010 09:36:01 +0000 (11:36 +0200)]
shmpipe: Remove useless attrib
Olivier Crête [Thu, 28 Jan 2010 09:31:11 +0000 (11:31 +0200)]
shmpipe: Ref client shmarea when a buffer is received in it
Olivier Crête [Thu, 28 Jan 2010 09:30:11 +0000 (11:30 +0200)]
shmpipe: Don't dec old shm area when new one is added
Its ref will be dropped when the "close" message arrives
Olivier Crête [Wed, 27 Jan 2010 09:49:34 +0000 (11:49 +0200)]
shmsrc: Lock uses of shmpipe
Olivier Crête [Tue, 26 Jan 2010 12:20:35 +0000 (14:20 +0200)]
shmsrc: Add is-live property
Olivier Crête [Wed, 4 Nov 2009 01:03:24 +0000 (20:03 -0500)]
shm: Print details on errors
Olivier Crête [Tue, 3 Nov 2009 23:33:35 +0000 (18:33 -0500)]
shm: Make valgrind happy
Olivier Crête [Tue, 3 Nov 2009 21:31:37 +0000 (16:31 -0500)]
shmsink: Don't block on EOS in non-blocking mode
Olivier Crête [Tue, 3 Nov 2009 21:09:35 +0000 (16:09 -0500)]
shm: Block if required
Olivier Crête [Fri, 30 Oct 2009 18:24:58 +0000 (18:24 +0000)]
shmsink: Port to ShmPipe
Olivier Crête [Fri, 30 Oct 2009 12:37:50 +0000 (12:37 +0000)]
shmsrc: Port to ShmPipe
Olivier Crête [Thu, 29 Oct 2009 19:18:25 +0000 (19:18 +0000)]
shm: Add shmpipe implementation
Olivier Crête [Wed, 29 Apr 2009 20:33:46 +0000 (16:33 -0400)]
shm: Add shm based sink and src
These two elements (shmsink and shmsrc) communicate buffers using POSIX
shared memory. They also communicate the caps. The source currently acts as
a live source and ignores the timestamps coming from the sink. It also does
not transfer the tags.
Arun Raghavan [Thu, 3 Jun 2010 10:21:18 +0000 (15:51 +0530)]
mpegtsdemux: Some checks to avoid asserts
gst_mpeg_descriptor_find() expects the description field to be non-NULL.
This fixes a couple of calls where the value being passed is not
verified to be non-NULL first.
https://bugzilla.gnome.org/show_bug.cgi?id=620456
Tim-Philipp Müller [Thu, 3 Jun 2010 09:49:40 +0000 (10:49 +0100)]
vp8enc: fix printf format warning in log message
gstvp8enc.c:564: error: format ‘%d’ expects type ‘int’, but argument 8 has type ‘size_t’
gstvp8enc.c:744: error: format ‘%d’ expects type ‘int’, but argument 8 has type ‘size_t’
Tim-Philipp Müller [Thu, 3 Jun 2010 09:43:20 +0000 (10:43 +0100)]
rtpmux: fix missing debug log message argument
David Schleef [Thu, 3 Jun 2010 05:07:31 +0000 (22:07 -0700)]
invtelecine: add an assert to placate gcc-4.5
David Schleef [Thu, 3 Jun 2010 02:46:50 +0000 (19:46 -0700)]
basevideoparse: fix warning
David Schleef [Thu, 3 Jun 2010 02:38:35 +0000 (19:38 -0700)]
basevideoparse: remove bogus api
David Schleef [Thu, 3 Jun 2010 00:54:42 +0000 (17:54 -0700)]
basevideo: remove gst_base_video_state_from_caps
David Schleef [Thu, 3 Jun 2010 00:40:17 +0000 (17:40 -0700)]
basevideo: remove compatibility code
David Schleef [Wed, 2 Jun 2010 23:06:20 +0000 (16:06 -0700)]
configure: Orc is not required
David Schleef [Wed, 2 Jun 2010 23:01:28 +0000 (16:01 -0700)]
basevideo: use debug category for each class
Jan Schmidt [Mon, 5 Oct 2009 14:47:58 +0000 (15:47 +0100)]
basevideo: Fail if caps don't contain a framerate field
Return false from the caps parsing function if there is no framerate
field in the provided caps
Merging previous commit into current codebase.
David Schleef [Wed, 2 Jun 2010 20:31:46 +0000 (13:31 -0700)]
basevideodecoder: create new segments if missing
David Schleef [Thu, 17 Sep 2009 17:50:40 +0000 (10:50 -0700)]
basevideo: Add a warning
Merging previous commit into current codebase.
Tim-Philipp Müller [Fri, 3 Jul 2009 15:08:38 +0000 (16:08 +0100)]
basevideo, vp8: guard unstable API with GST_USE_UNSTABLE_API
Add some guards and fat warnings to the header files with still unstable
API, so people who just look at the installed headers know that it
actually is unstable API.
Merging previous commit into current codebase.
Olivier Crête [Wed, 2 Jun 2010 23:52:07 +0000 (19:52 -0400)]
mimdec: Clear adapter when flushing
Olivier Crête [Wed, 2 Jun 2010 23:45:29 +0000 (19:45 -0400)]
mimdec: Stop decoding if can't push
Olivier Crête [Wed, 2 Jun 2010 23:44:31 +0000 (19:44 -0400)]
mimdec: Flush adapter right ater using it
Olivier Crête [Wed, 18 Nov 2009 16:14:28 +0000 (11:14 -0500)]
mimenc: No need to do a try allocation
Olivier Crête [Wed, 18 Nov 2009 16:08:25 +0000 (11:08 -0500)]
mimenc: Document paused-mode property
Olivier Crête [Tue, 13 Oct 2009 00:19:38 +0000 (20:19 -0400)]
mimic: Use log loglevel for messages that are shown on every frame
Olivier Crête [Tue, 13 Oct 2009 00:09:34 +0000 (20:09 -0400)]
mimdec: Remove object lock usage, stream lock is enough
Olivier Crête [Tue, 13 Oct 2009 00:08:12 +0000 (20:08 -0400)]
mimdec: Output framerate is unknown
Olivier Crête [Tue, 13 Oct 2009 00:06:13 +0000 (20:06 -0400)]
mimdec: Remove local state variable from instance
Olivier Crête [Mon, 12 Oct 2009 23:57:50 +0000 (19:57 -0400)]
mimdec: Remove useless variable
Olivier Crête [Mon, 12 Oct 2009 23:56:54 +0000 (19:56 -0400)]
mimdec: Make caps a lot stricter
Olivier Crête [Mon, 12 Oct 2009 23:52:35 +0000 (19:52 -0400)]
mimenc: Set delta_unit flag on intra frames
Olivier Crête [Mon, 12 Oct 2009 23:50:52 +0000 (19:50 -0400)]
mimic: Initialize encoder/decoders in state change and setcaps where possible
Olivier Crête [Mon, 12 Oct 2009 23:36:29 +0000 (19:36 -0400)]
mimic: Fix element details
Olivier Crête [Mon, 12 Oct 2009 23:31:38 +0000 (19:31 -0400)]
mimic: Hold element lock while accessing the clock
Olivier Crête [Mon, 12 Oct 2009 23:29:17 +0000 (19:29 -0400)]
mimic: Refactor tcp header creation to not make a separate buffer
Olivier Crête [Mon, 12 Oct 2009 23:18:20 +0000 (19:18 -0400)]
mimic: Function can't fail
Olivier Crête [Mon, 12 Oct 2009 23:17:30 +0000 (19:17 -0400)]
mimic: Remove C++ style comments
Olivier Crête [Mon, 12 Oct 2009 23:16:26 +0000 (19:16 -0400)]
mimic: Use GST_ELEMENT_ERROR when returning a flow error
Olivier Crête [Mon, 12 Oct 2009 22:54:59 +0000 (18:54 -0400)]
mimic: Fix GST_MIM_*_CLASS macros
Olivier Crête [Mon, 12 Oct 2009 22:47:35 +0000 (18:47 -0400)]
mimic: Warn if paused-mode is toggled while playing
Olivier Crête [Mon, 12 Oct 2009 22:39:06 +0000 (18:39 -0400)]
mimic: Add GST_DEBUG_FUNCPTR where appropriate
Olivier Crête [Mon, 12 Oct 2009 22:36:58 +0000 (18:36 -0400)]
mimic: Rename functions/macros to match class names
Olivier Crête [Mon, 10 May 2010 22:37:55 +0000 (18:37 -0400)]
rtpdtmfmux: Add some debug messages
Olivier Crête [Fri, 7 May 2010 22:56:57 +0000 (18:56 -0400)]
rtpdtmfmux: Remove stream-lock event handling
Olivier Crête [Fri, 7 May 2010 22:54:49 +0000 (18:54 -0400)]
rtpdtmfmux: Update doc for simplification
Olivier Crête [Fri, 7 May 2010 22:42:06 +0000 (18:42 -0400)]
dtmf: Remove rtpdtmfmux stream-lock code
Olivier Crête [Fri, 7 May 2010 22:40:30 +0000 (18:40 -0400)]
tests: Change tests to not use the priority pads instead of the events
Olivier Crête [Thu, 6 May 2010 23:51:59 +0000 (19:51 -0400)]
rtpdtmfmux: Drop buffers on non-priority sinks when something is incoming on the priority sink
Olivier Crête [Thu, 6 May 2010 22:11:40 +0000 (18:11 -0400)]
rtpdtmfmux: Add priority sink pads
Olivier Crête [Fri, 7 May 2010 21:15:47 +0000 (17:15 -0400)]
rtpdtmfmux: Cleanup event function
Olivier Crête [Fri, 7 May 2010 20:42:22 +0000 (16:42 -0400)]
rtpmux: Aggregate incoming segments
Olivier Crête [Thu, 6 May 2010 23:09:48 +0000 (19:09 -0400)]
rtpdtmfmux: Update documentation
Olivier Crête [Thu, 6 May 2010 22:10:45 +0000 (18:10 -0400)]
rtpmux: Simplify request pad creation
David Schleef [Wed, 2 Jun 2010 19:16:56 +0000 (12:16 -0700)]
basevideo: make printf formats portable
David Schleef [Wed, 2 Jun 2010 18:41:25 +0000 (11:41 -0700)]
Update Orc requirement to 0.4.4.1
David Schleef [Wed, 2 Jun 2010 18:31:26 +0000 (11:31 -0700)]
Merge branch 'hacking'
David Schleef [Sun, 23 May 2010 01:14:09 +0000 (18:14 -0700)]
invtelecine: Add verify-field-flags property
When enabled, check that the video matches the field flags on the
incoming buffers.
David Schleef [Sat, 22 May 2010 18:36:37 +0000 (11:36 -0700)]
invtelecine: remove old code
David Schleef [Sat, 22 May 2010 18:30:54 +0000 (11:30 -0700)]
invtelecine: Add 4:2:2 formats
David Schleef [Sat, 22 May 2010 07:44:40 +0000 (00:44 -0700)]
invtelecine: Change format table
Add format name, phase table.