Randy Li
e85b856d30
rawvideoparse: allow setting the colorimetry
...
You can neither guess nor parse the colorimetry from the
input stream.
Signed-off-by: Randy Li <ayaka@soulik.info>
2020-01-08 02:34:17 +00:00
Mathieu Duponchelle
1c85065d16
doc: fix element section documentations
...
Element sections were not rendered anymore after the hotdoc
port, fixing this revealed a few incorrect links.
2019-05-25 16:55:57 +02:00
Guillaume Desmottes
86b0802378
rawvideoparse: fix typo in 'plane-offsets' description
...
The property is 'plane-offsets', not 'plane-offset' so the example in
the description was wrong.
https://bugzilla.gnome.org/show_bug.cgi?id=796817
2018-07-16 13:14:34 +02:00
Nicolas Dufresne
cc28e7cce0
rawvideoparse: Fix missing VideoMeta
...
The base class is trying to align the processed data, but it endup
removing the GstVideoMeta. That caused wrong result. Instead, just copy
from the process function with the appropriate alignment.
https://bugzilla.gnome.org/show_bug.cgi?id=781204
2017-06-12 15:55:31 -04:00
Nicolas Dufresne
d81a6da702
rawvideoparse: Rename frame-stride in to frame-size
...
The term stride is confusing here, since the stride is always use
to signal the pixel row size of an image (including padding). Also
a frame may have a single stride, which adds to the confusion. This
patch uses frame-size, which simply indicate the frame size in the
case the images have some padding in between.
https://bugzilla.gnome.org/show_bug.cgi?id=780053
2017-03-24 13:50:06 -04:00
Nicolas Dufresne
2b4a173e89
rawvideoparse: Use GstValueArray for strides and offsets
...
This allow using those property through gst-launch-1.0. This type
gained a deserilizer recently. The syntax is: <val1, val2, ...>.
Note that we also use the type int instead of uint to avoid having
to cast when specifying the values. The deserilizers assume
int by default.
https://bugzilla.gnome.org/show_bug.cgi?id=780053
2017-03-24 13:50:06 -04:00
Thibault Saunier
099ac9faf2
docs: Convert gtkdoc comments to markdown
...
Modernizing the documentation, making it simpler to read an
modify and allowing us to possibly switch to hotdoc in the
future.
2017-03-10 18:19:17 -03:00
Tim-Philipp Müller
f14a307638
rawvideoparse: fix typos in property description
2016-12-05 18:17:30 +00:00
Sebastian Dröge
da981c85a1
rawparse: Whitespace cleanup
2016-11-28 14:26:17 +02:00
Sebastian Dröge
0c79a06dd1
rawparse: Properly align raw audio/video output buffers
...
That is, aligned to the basic type for audio and to 32 bytes for video.
Fixes crashes if the raw buffers are passed to SIMD processing functions.
https://bugzilla.gnome.org/show_bug.cgi?id=774428
2016-11-27 11:45:33 +02:00
Luis de Bethencourt
685bb8edb3
rawvideoparse: fix typo in comment
...
Small typo in the comment explaining the code fixed by the previous commit.
Fixing it.
2016-08-19 12:25:48 +01:00
Sebastian Dröge
d594d4df6c
rawvideoparse: Revert last commit and actually remember the physically last plane
...
Instead of just always taking the last one as before.
2016-08-19 14:19:38 +03:00
Luis de Bethencourt
99e2745636
rawvideoparse: remove unused assignment
...
Value in last_plane will be overwritten before used, remove unused
asignment.
Fixes commit 91cf5ac69f
CID 1371462
2016-08-19 11:57:35 +01:00
Carlos Rafael Giani
e5b70d384c
rawvideoparse: Compute plane offsets & strides if no custom ones are set
...
This is useful to ensure that the offsets and strides are computed if
only width, height, format etc. in the property config are set.
https://bugzilla.gnome.org/show_bug.cgi?id=769797
2016-08-18 09:21:16 +03:00
Carlos Rafael Giani
d508525119
rawparse: Add new raw audio and video parser elements
...
The new rawaudioparse and rawvideoparse elements are based on GstBaseParse
and completely replace audioparse and videoparse
https://bugzilla.gnome.org/show_bug.cgi?id=767011
2016-07-26 13:44:39 +03:00