- 08 May, 2014 24 commits
-
-
Nicolas Dufresne authored
-
Nicolas Dufresne authored
-
Nicolas Dufresne authored
Improve decide allocation so it properly configure both local and downstream buffer pools. Also read back the pool config if it was changed to to driver limitations.
-
Nicolas Dufresne authored
Catch short allocation after saving the format. This is not a catch all, but should catch most of the miss-behaving drivers when doing S_FMT/G_FMT and avoid potential crash.
-
Nicolas Dufresne authored
Currently we advertise crop meta, but not element handle support this meta.
-
Nicolas Dufresne authored
-
Nicolas Dufresne authored
Some well known decoder wrongly set num_planes to 0 in their format instead of one. In this case we would endup with no size when deciding buffer allocation.
-
Nicolas Dufresne authored
-
Nicolas Dufresne authored
-
Nicolas Dufresne authored
-
Nicolas Dufresne authored
-
Nicolas Dufresne authored
Implement a v4l2 element that wraps HW video converters.
-
Nicolas Dufresne authored
In order to correctly set the pool min/max, we need to probe for CREATE_BUFS ioctl. This can be done as soon as the format has been negotiated using a count of 0.
-
Nicolas Dufresne authored
So far we where only setting saving the first plane stride in the meta. This was leading to wrong values in GstVideoMeta.
-
Nicolas Dufresne authored
As soon a the alpha component can be set, we can expose the RGB32 and BGR32 format as ARGB and BGRA as long we can deterministically set the alpha padding value.
-
Nicolas Dufresne authored
Correctly check if video meta is needed. In buffer pool, trust need_video_meta flag in order to decide if configuration should succeed.
-
Nicolas Dufresne authored
Fix stride request for tiled format and improve logging.
-
Nicolas Dufresne authored
In certain cases we cannot live without video meta and/or crop meta being enabled in our internal buffer pool. Ensure this is always the case, regardless of having support for allocation query.
-
Nicolas Dufresne authored
-
Nicolas Dufresne authored
The complex mechanic to try and choose the right thing did not work. Instead, simply probe the non-contiguous format first and then the contiguous one. This is in fact very low overhead, as there is a relatively small number of pixel format supported by each devices.
-
Nicolas Dufresne authored
-
Nicolas Dufresne authored
The setup_format() was confusing since it does not set anything, in fact it reads the setup from the driver and save it.
-
Nicolas Dufresne authored
-
Nicolas Dufresne authored
Certain decoder has been found to not choose a format automatically. Running v4l2videodec on these would assert. This patch will make it fail cleanly instead.
-
- 04 May, 2014 1 commit
-
-
Nicolas Dufresne authored
Instead of having each M2M class do their own probing, use the GstV4l2Iterator and probe all devices in a single pass. https://bugzilla.gnome.org/show_bug.cgi?id=727925
-
- 30 Apr, 2014 1 commit
-
-
Nicolas Dufresne authored
In v4l2 specification, RGB32 has the alpha, or pading, first, not last. See http://linuxtv.org/downloads/v4l-dvb-apis/packed-rgb.html . https://bugzilla.gnome.org/show_bug.cgi?id=540941
-
- 01 Apr, 2014 1 commit
-
-
Nicolas Dufresne authored
For format like mpegts, width and height is rarely in the negotiated caps. This patch fixes failure when setting format, and prevent introducing width, height, framerate and format to the caps when fixating. https://bugzilla.gnome.org/show_bug.cgi?id=725860
-
- 29 Mar, 2014 1 commit
-
-
It seems that GStreamer's mpegts elements (tsdemux, tsparse) require caps `video/mpegts,systemstream=true`. As far as I can see the significance of systemstream is to indicate that this is a container format rather than an elementary stream. As this is the case (and I can't understand how it could not be the case with mpegts) I add systemstream=true to v4l2src's caps. This allows v4l2src to be linked with tsdemux for playback from my Hauppauge HD-PVR with the pipeline: v4l2src ! queue ! tsdemux ! video/x-h264 ! decodebin ! xvimagesink In combination with the next commit this fixes using Hauppauge HD-PVR with GStreamer 1.0+.
-
- 16 Mar, 2014 1 commit
-
-
Olivier Crête authored
-
- 15 Mar, 2014 2 commits
-
-
Nicolas Dufresne authored
XV support for v4l2 never became upstream and ended up being commented out with an undef for a long time now.
-
Nicolas Dufresne authored
With years the amount of ifdef have grown up and we are not even sure if the old code path compiles. Each time we need to update the v4l2 framework to add the new feature, we break compilation on older kernel. With exception of two controls in the video orientation control, this patch get rid of all ifdef by including the latest version of videodev2.h inside GStreamer. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=723446
-
- 25 Feb, 2014 4 commits
-
-
VP8 doesn't require parsing (vp8parse doesn't exist, so negotiation with demux fails if "parsed" is set in caps). https://bugzilla.gnome.org/show_bug.cgi?id=724636
-
Nicolas Dufresne authored
Until GStreamer has one (see bug722760), we should not require a parser for VP8. https://bugzilla.gnome.org/show_bug.cgi?id=722128
-
For each videoCdevice probe it input/output capabilities if it match with video decoder requirement register a new element. Signed-off-by:
Benjamin Gaignard <benjamin.gaignard@linaro.org> https://bugzilla.gnome.org/show_bug.cgi?id=722128
-
Nicolas Dufresne authored
Decoders or other devices that expose a minimum buffers required produce an first output. We use this information to calculate latency. https://bugzilla.gnome.org/show_bug.cgi?id=722128
-
- 14 Jan, 2014 1 commit
-
-
- 10 Jan, 2014 4 commits
-
-
-
-
Nicolas Dufresne authored
Don't enforce having width, height and framerate in template caps for encoded formats. These don't always need to be exposed and may break negotiation for decoder and decoding sink. If needed, these field will be automatically added when probed caps are known. https://bugzilla.gnome.org/show_bug.cgi?id=720568
-