Ole André Vadla Ravnås [Wed, 10 Nov 2010 19:44:15 +0000 (20:44 +0100)]
celvideosrc: add basic device selection support
Ole André Vadla Ravnås [Wed, 10 Nov 2010 19:51:27 +0000 (20:51 +0100)]
cvapi: add wrapper for IO surface access
To be used in a future video sink for zero-copy rendering.
Ole André Vadla Ravnås [Wed, 10 Nov 2010 19:25:28 +0000 (20:25 +0100)]
celapi: add capture port type constants
Mart Raudsepp [Tue, 9 Nov 2010 20:43:14 +0000 (22:43 +0200)]
assrender: Remove unused src_stride variable from blit functions
Thiago Santos [Tue, 9 Nov 2010 21:10:43 +0000 (18:10 -0300)]
win32: Adding photography interface .def file
Adds check-exports to -bad to have photography interface
.def file created
Fixes #578629
Mark Nauwelaerts [Tue, 9 Nov 2010 18:38:25 +0000 (19:38 +0100)]
mpegaudioparse: fix silly leak in _reset
Ole André Vadla Ravnås [Mon, 8 Nov 2010 22:54:31 +0000 (23:54 +0100)]
applemedia: biplanar is actually NV12, not I420
D'oh!
Ole André Vadla Ravnås [Mon, 8 Nov 2010 20:22:13 +0000 (21:22 +0100)]
vtenc: remove keyframe enforcement workaround
Was only needed for old iOS where the H.264 encoder didn't support
kVTEncodeFrameOptionKey_ForceKeyFrame.
Ole André Vadla Ravnås [Mon, 8 Nov 2010 17:56:52 +0000 (18:56 +0100)]
cvapi: add a few extra bits of wrapping
Ole André Vadla Ravnås [Mon, 8 Nov 2010 14:08:19 +0000 (15:08 +0100)]
applemedia: lock CVPixelBuffer read-only
As per Apple's docs, this may improve performance by avoiding redundant
invalidations of existing caches of the buffer contents.
Lasse Laukkanen [Mon, 8 Nov 2010 13:33:58 +0000 (10:33 -0300)]
examples: camerabin: Remove gstring leak
Simplify gst-camerabin-test by removing GString and replacing
with gchar for the filename handling. Also removes a leak of
the GString data.
Stefan Kost [Mon, 8 Nov 2010 14:00:21 +0000 (16:00 +0200)]
rsvgdec: avoid reffing the element in chain
Stefan Kost [Mon, 8 Nov 2010 13:45:48 +0000 (15:45 +0200)]
rsvgdec: add some minimal logging to track what it is doing
Ole André Vadla Ravnås [Mon, 8 Nov 2010 12:52:49 +0000 (13:52 +0100)]
celvideosrc: put planar first in template caps
Ole André Vadla Ravnås [Mon, 8 Nov 2010 12:49:04 +0000 (13:49 +0100)]
applemedia: improve vtenc/vtdec performance
Profiling of H.264 encode and decode revealed that conversions
between packed and planar were happening behind the scenes.
Hence we now choose I420 instead of YUY2.
Lasse Laukkanen [Fri, 22 Oct 2010 15:07:00 +0000 (18:07 +0300)]
examples: add async bus handler to gst-camerabin-test
Splits the bus handler into sync and async, keeping the
prepare-xwindow handling at the sync for faster handling and
moving the others to the async handler
Tim-Philipp Müller [Sat, 6 Nov 2010 12:27:32 +0000 (12:27 +0000)]
configure: we still require Gtk+ >= 2.14.0 when compiling against 2.0
The check for the minor version was dropped in one of the previous
commits.
Ole André Vadla Ravnås [Fri, 5 Nov 2010 15:51:57 +0000 (16:51 +0100)]
celvideosrc: measure fps when statistics is enabled
Also refactor timestamping slightly.
Ole André Vadla Ravnås [Fri, 5 Nov 2010 14:14:08 +0000 (15:14 +0100)]
celvideosrc: update to new Celestial and MediaToolbox APIs
This means celvideosrc is no longer compatible with iOS 3.x.
Ole André Vadla Ravnås [Fri, 5 Nov 2010 14:08:56 +0000 (15:08 +0100)]
celvideosrc: fix debug category description
Ole André Vadla Ravnås [Fri, 5 Nov 2010 14:08:02 +0000 (15:08 +0100)]
celapi: update to reflect new API on iOS 4.x
Also add remaining property constants for device and stream.
Ole André Vadla Ravnås [Fri, 5 Nov 2010 14:07:38 +0000 (15:07 +0100)]
mtapi: update to reflect new API on iOS 4.x
Also add remaining property constants for device and stream.
Sebastian Dröge [Fri, 5 Nov 2010 09:56:51 +0000 (10:56 +0100)]
colorspace: Update generated ORC sources
Thiago Santos [Thu, 26 Aug 2010 20:08:19 +0000 (17:08 -0300)]
camerabin: Adds 'idle' property
Adds 'idle', a read-only boolean property that tells applications
if there is any capturing/saving/encoding going on in camerabin. If
not, it is safe to set it to NULL and release resources without
losing data.
Lasse Laukkanen [Wed, 5 May 2010 10:58:07 +0000 (13:58 +0300)]
camerabin: Add "ready-for-capture" property
Add "ready-for-capture" property to indicate if preparing a new
capture is possible.
"ready-for-capture" changes before the 'image-done' signal, so
the application can be notified that it can do a new capture
even before the previous one has finished encoding/saving.
Tim-Philipp Müller [Fri, 5 Nov 2010 00:32:35 +0000 (00:32 +0000)]
configure: don't even check for Gtk+ if --disable-examples is specified
There are Gtk+-based examples in plugin dirs and tests/icles/ too, and
we want to disable those as well then.
Tim-Philipp Müller [Fri, 5 Nov 2010 00:24:31 +0000 (00:24 +0000)]
configure: add --with-gtk option and default to Gtk+ 2.0 while the 3.0 API is still in flux
https://bugzilla.gnome.org/show_bug.cgi?id=634014
Tim-Philipp Müller [Wed, 3 Nov 2010 00:04:27 +0000 (00:04 +0000)]
tests: add very simple zbar unit test
Not valgrind clean yet (could be zbar's fault though).
Ole André Vadla Ravnås [Thu, 4 Nov 2010 18:25:24 +0000 (19:25 +0100)]
applemedia: make video source element details consistent
Inspired by the v4l2src element details.
Ole André Vadla Ravnås [Thu, 4 Nov 2010 18:11:04 +0000 (19:11 +0100)]
applemedia: consistently use gst_element_class_set_details_simple
Ole André Vadla Ravnås [Thu, 4 Nov 2010 18:02:50 +0000 (19:02 +0100)]
celvideosrc: update e-mail address
Ole André Vadla Ravnås [Thu, 4 Nov 2010 17:59:44 +0000 (18:59 +0100)]
applemedia: rename iphonecamerasrc to celvideosrc
This is in order to improve consistency with the other three sources.
Ole André Vadla Ravnås [Thu, 4 Nov 2010 16:58:36 +0000 (17:58 +0100)]
avfvideosrc: don't explicitly empty the buffer queue
We're holding the only reference to it so there's no need to explicitly
empty it right before letting go of our reference.
Ole André Vadla Ravnås [Thu, 4 Nov 2010 16:50:33 +0000 (17:50 +0100)]
avfvideosrc: make buffer offset start from zero
Ole André Vadla Ravnås [Thu, 4 Nov 2010 16:47:25 +0000 (17:47 +0100)]
qtkitvideosrc: implement zero-copy by using buffer-factory
This means we'll wrap each CoreVideo buffer inside a GstBuffer instead of
making a copy.
Ole André Vadla Ravnås [Thu, 4 Nov 2010 16:44:12 +0000 (17:44 +0100)]
bufferfactory: add support for wrapping CVBuffer
Ole André Vadla Ravnås [Thu, 4 Nov 2010 16:24:03 +0000 (17:24 +0100)]
qtkitvideosrc: fix up refcounting
Should keep a strong reference to the device, but we don't need to manage
the reference count of elements of an NSMutableArray as it takes care of
that for us.
Ole André Vadla Ravnås [Thu, 4 Nov 2010 16:16:05 +0000 (17:16 +0100)]
qtkitvideosrc: simplify timestamping algorithm
Aligning timestamps on duration boundaries, skipping frames and so forth
are clearly things that fall outside the scope of a video source.
Ole André Vadla Ravnås [Thu, 4 Nov 2010 13:14:09 +0000 (14:14 +0100)]
applemedia: add new iOS video source based on AVFoundation
This element makes use of the documented AVFoundation framework made
available starting with iOS 4.0, and hence this means we can finally
capture video using a public API.
Ole André Vadla Ravnås [Thu, 4 Nov 2010 13:24:36 +0000 (14:24 +0100)]
applemedia: fix stream-format caps used for H.264
The stream-format's "avc-sample" member is now called just "avc".
Ole André Vadla Ravnås [Thu, 4 Nov 2010 13:29:37 +0000 (14:29 +0100)]
applemedia: update e-mail addresses
Sebastian Dröge [Thu, 4 Nov 2010 13:18:29 +0000 (14:18 +0100)]
colorspace: Inverse -base version check logic to actually make sense
Olivier Crête [Wed, 3 Nov 2010 22:34:28 +0000 (18:34 -0400)]
pcapparse: Add support for Linux Cooked Capture (SLL) frames
Olivier Crête [Wed, 3 Nov 2010 22:23:27 +0000 (18:23 -0400)]
pcapparse: Fail on unknown version or linktype
The element only knows about major version 2 and only decodes linktype ethernet
Olivier Crête [Wed, 3 Nov 2010 22:02:49 +0000 (18:02 -0400)]
pcapparse: Send error GstMessage if stream doesn't have the expected magic
Andoni Morales Alastruey [Wed, 3 Nov 2010 15:16:24 +0000 (16:16 +0100)]
mpegtsparse: send TDT tables messages in a serialized event downstream
https://bugzilla.gnome.org/show_bug.cgi?id=633917
Sebastian Dröge [Wed, 3 Nov 2010 14:37:48 +0000 (15:37 +0100)]
colorspace: Add support for IYU1
Sebastian Dröge [Wed, 3 Nov 2010 14:12:42 +0000 (15:12 +0100)]
colorspace: First version of YUV9 and YVU9 implementation
Sebastian Dröge [Wed, 3 Nov 2010 08:20:15 +0000 (09:20 +0100)]
colorspace: Use GST_CHECK_PLUGINS_BASE_VERSION() instead of other hacks
Thijs Vermeir [Mon, 18 Oct 2010 13:32:14 +0000 (15:32 +0200)]
mpegvideoparse: fix timestamp generation
Use information from the gop header and picture
header to calculate the picture timestamp. (time_code
and temporal_reference) and adapt to upstream timestamps if
provided.
https://bugzilla.gnome.org/show_bug.cgi?id=632222
Ole André Vadla Ravnås [Tue, 2 Nov 2010 22:08:30 +0000 (23:08 +0100)]
applemedia: switch vtapi to CFTypeRef style typedefs
Ole André Vadla Ravnås [Tue, 2 Nov 2010 21:53:33 +0000 (22:53 +0100)]
applemedia: support public version of CoreMedia
Also rename the relevant API so we mirror the public API more closely, and
switch to CoreFoundation CFTypeRef style typedefs. We still support the old
private CoreMedia in order to not break OS X support.
This means that vtenc and vtdec are now compatible with iOS 4.x, and in
theory also future versions of OS X, where this API may turn public like
it has on iOS.
Tim-Philipp Müller [Tue, 2 Nov 2010 17:46:11 +0000 (17:46 +0000)]
zbar: handle more formats that start with an 8-bit Y plane
We can handle most planar YUV layouts too, as long as we don't
tell zbar about the chroma planes.
Tim-Philipp Müller [Tue, 2 Nov 2010 17:18:52 +0000 (17:18 +0000)]
zbar: use correct stride
Fixes detection for images with a width that's not a multiple of four.
Based on patch by: Kaj-Michael Lang <milang@tal.org>
Based on patch by: Stefan Kost <ensonic@users.sf.net>
https://bugzilla.gnome.org/show_bug.cgi?id=630830
Tim-Philipp Müller [Tue, 2 Nov 2010 16:54:59 +0000 (16:54 +0000)]
colorspace: fix build with current git of gst-plugins-base
ifdef tests don't work so well if we define them in the code
above in case they aren't defined.
Tim-Philipp Müller [Tue, 2 Nov 2010 16:35:57 +0000 (16:35 +0000)]
zbar: minor clean-up
Fix typo and use DEFAULT_FOO define for property default.
Tim-Philipp Müller [Tue, 2 Nov 2010 16:32:55 +0000 (16:32 +0000)]
zbar: disable cache by default
Since it breaks still image bar code detection.
Sebastian Dröge [Tue, 2 Nov 2010 15:05:37 +0000 (16:05 +0100)]
colorspace: Add support for 8 bit paletted RGB
This needs the 8 bit paletted support from -base
which will be committed after release. Without this
the 8 bit parts are disabled.
Thiago Santos [Tue, 2 Nov 2010 13:24:49 +0000 (10:24 -0300)]
camerabin: Add missing change to previous commits
Forgot to add this change to the latest commits. This fixes the build.
Thiago Santos [Tue, 2 Nov 2010 12:39:49 +0000 (09:39 -0300)]
camerabin: Fix leaks in the preview handling
Remember to unref the bus after adding the watch.
Remember to unref the element after getting it with
gst_bin_get_by_name.
Lasse Laukkanen [Tue, 2 Nov 2010 12:38:20 +0000 (09:38 -0300)]
camerabin: Do not leak a caps
gst_caps_replace doesn't take ownership, but refs the caps. So we
unref the remaining caps.
Thiago Santos [Fri, 24 Sep 2010 19:28:13 +0000 (16:28 -0300)]
camerabin: Reset pre-night-mode stored fps when mode changes
When switching between video/still modes the pre-night-mode fps
should be reset to prevent it being used in the incorrect mode, causing
the videosource to fail configuring itself
Teemu Katajisto [Tue, 21 Sep 2010 13:23:47 +0000 (16:23 +0300)]
examples: camerabin: add support for setting many post-processing elements
Instead of taking a single element as input for the image post
processing option, take a list of comma separated elements
that will be used.
Thiago Santos [Mon, 20 Sep 2010 14:54:20 +0000 (11:54 -0300)]
camerabin: Store app preferred capture parameters separately
Store width/height/fps for video captures in a separate variable
than the one that stores the currently used value.
This prevents the user preferences to be lost when resetting
the currently used dimensions for night mode, for example
Thiago Santos [Mon, 20 Sep 2010 11:42:41 +0000 (08:42 -0300)]
camerabin: cleanup used caps when going to NULL
Resets used caps so that camerabin doesn't try to use them
when restarting, where elements/properties might have changed
and the old caps be incompatible
Teemu Katajisto [Thu, 9 Sep 2010 07:50:59 +0000 (10:50 +0300)]
camerabin: fix priority for idle_add function
Adds a higher priority to the idle_add function for when
the image bin finished the image capture. This reduces the
delay for the application to be notified about this.
Stefan Kost [Mon, 1 Nov 2010 21:04:44 +0000 (23:04 +0200)]
inputselector: log times in human readable form
Stefan Kost [Mon, 1 Nov 2010 20:40:36 +0000 (22:40 +0200)]
inputselector: move reoccuring logs to LOG and remove a double info
Less debug spew in DEBUG category. No need to log pad again if we use
GST_LOG_OBJECT(pad,...).
Tim-Philipp Müller [Mon, 1 Nov 2010 15:53:52 +0000 (15:53 +0000)]
cog, colorspace: update orc backup functions for latest changes
Should fix build on systems without the latest orc.
Tim-Philipp Müller [Mon, 1 Nov 2010 15:53:31 +0000 (15:53 +0000)]
po: update for new translations
Sebastian Dröge [Sun, 31 Oct 2010 22:46:27 +0000 (23:46 +0100)]
colorspace: Add support for RGB15 and BGR15
Sebastian Dröge [Sun, 31 Oct 2010 22:44:20 +0000 (23:44 +0100)]
colorspace: Add support for RGB16 and BGR16
Sebastian Dröge [Sun, 31 Oct 2010 22:25:57 +0000 (23:25 +0100)]
colorspace: Add support for Y16
Sebastian Dröge [Sun, 31 Oct 2010 22:25:40 +0000 (23:25 +0100)]
colorspace: Fix Y800 ORC getline implementation
Sebastian Dröge [Sun, 31 Oct 2010 22:07:43 +0000 (23:07 +0100)]
colorspace: Add support for A420
Sebastian Dröge [Sun, 31 Oct 2010 22:00:07 +0000 (23:00 +0100)]
colorspace: Add support for Y41B
Sebastian Dröge [Sun, 31 Oct 2010 21:39:38 +0000 (22:39 +0100)]
colorspace: Add support for SDTV/HDTV YUV conversions
Sebastian Dröge [Sun, 31 Oct 2010 21:21:35 +0000 (22:21 +0100)]
colorspace: Add comment for the A420 getline/putline table row
Sebastian Dröge [Sun, 31 Oct 2010 19:40:09 +0000 (20:40 +0100)]
colorspace: Add const to the source arrays and the getline/putline table
Sebastian Dröge [Sun, 31 Oct 2010 18:42:30 +0000 (19:42 +0100)]
colorspace: Make fast-path transform table const
Sebastian Dröge [Sun, 31 Oct 2010 18:39:33 +0000 (19:39 +0100)]
colorspace: Only do the I420->YUY2 conversion once per scanline in the fast path
Mark Nauwelaerts [Fri, 29 Oct 2010 12:08:58 +0000 (14:08 +0200)]
baseparse: use only upstream duration if it provides one
Mark Nauwelaerts [Mon, 25 Oct 2010 12:15:50 +0000 (14:15 +0200)]
baseparse: reflow update_bitrate code
... which makes local variables represent real state better, and avoids
triggering unneeded updates/actions.
Mark Nauwelaerts [Mon, 25 Oct 2010 12:13:51 +0000 (14:13 +0200)]
baseparse: add some debug statements
Sebastian Dröge [Thu, 28 Oct 2010 16:51:02 +0000 (18:51 +0200)]
gaudieffects: Include gstcontroller header and add the required CFLAGS
Luis de Bethencourt [Wed, 27 Oct 2010 12:57:36 +0000 (14:57 +0200)]
gaudieffects: made filter parameters dynamic and controllable
Ole André Vadla Ravnås [Thu, 1 Jul 2010 13:07:41 +0000 (15:07 +0200)]
winks: work around shutdown deadlock
GetOverlappedResult() might never return with some drivers. Time out
after 1000 ms. We cannot really fix this without either:
1) Controlling the streaming thread so we can do CancelIo() from that
thread.
2) Switch to using IO completion ports.
Ole André Vadla Ravnås [Fri, 11 Jun 2010 16:04:58 +0000 (18:04 +0200)]
winks: remove JPEG validation hack
This should clearly not be done in a video source.
Ole André Vadla Ravnås [Tue, 20 Apr 2010 10:05:45 +0000 (12:05 +0200)]
winks: set PrioritySubClass to KSPRIORITY_NORMAL instead of 1
In order to match the reference implementation.
Ole André Vadla Ravnås [Tue, 20 Apr 2010 09:59:23 +0000 (11:59 +0200)]
winks: retry when KsCreatePin fails with ERROR_NOT_READY
Turns out that the reference implementation does this, hence we need to
mirror this behaviour. This typically happens with hardware that takes
some time to initialize.
Ole André Vadla Ravnås [Mon, 26 Oct 2009 15:09:00 +0000 (16:09 +0100)]
winks: improve framerate fraction conversions
* For instance 7.5 fps should be represented as 15/2 instead of 7/1.
* Clamp AvgTimePerFrame and dwBitRate to account for rounding errors.
Ole André Vadla Ravnås [Mon, 12 Oct 2009 15:26:15 +0000 (17:26 +0200)]
winks: improve error-handling
Most important part here is special-casing "device busy" so the application
is able to provide better feedback when another application is using the
device.
Ole André Vadla Ravnås [Mon, 7 Sep 2009 14:45:57 +0000 (16:45 +0200)]
winks: performance improvements
* Make the driver write directly into each GstBuffer to avoid memcpy().
* Don't memset() the buffer before reusing it.
* Recycle memory by keeping two spare buffers. Two because the sink
downstream may keep a ref to the previous buffer.
Note that we align buffers on highest possible byte boundary (4096) so we
don't have to take into account what kind of alignment the driver requires.
Ole André Vadla Ravnås [Mon, 7 Sep 2009 14:09:34 +0000 (16:09 +0200)]
winks: store priv pointer instead of looking it up
Ole André Vadla Ravnås [Mon, 31 Aug 2009 17:33:30 +0000 (19:33 +0200)]
winks: post error message on flow-unexpected
Andres Colubri [Mon, 31 Aug 2009 17:28:50 +0000 (19:28 +0200)]
winks: add property probing support
Ole André Vadla Ravnås [Mon, 31 Aug 2009 17:26:36 +0000 (19:26 +0200)]
winks: sort devices that look like cameras first
Knut Inge Hvidsten [Mon, 31 Aug 2009 17:25:02 +0000 (19:25 +0200)]
winks: provide guessed pixel-aspect-ratio in caps
Ole André Vadla Ravnås [Mon, 31 Aug 2009 17:23:40 +0000 (19:23 +0200)]
winks: only try to change state when actually open
Ole André Vadla Ravnås [Mon, 31 Aug 2009 17:22:40 +0000 (19:22 +0200)]
winks: ignore unsupported formats