mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-22 22:16:22 +00:00
glcolorscale: fix documentation
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/653>
This commit is contained in:
parent
d0de7cba48
commit
1aef6b8fd5
1 changed files with 12 additions and 13 deletions
|
@ -22,21 +22,20 @@
|
||||||
* SECTION:element-glcolorscale
|
* SECTION:element-glcolorscale
|
||||||
* @title: glcolorscale
|
* @title: glcolorscale
|
||||||
*
|
*
|
||||||
* video frame scaling and colorspace conversion.
|
* glcolorscale implements scaling of GL video frames, equivalent to
|
||||||
*
|
* #videoscale. The initial implementation also performed colorspace
|
||||||
* ## Scaling and Color space conversion
|
* conversion, hence the name of the element, but support has since
|
||||||
*
|
* been removed. You should use #glcolorconvert for that purpose.
|
||||||
* Equivalent to glupload ! gldownload.
|
|
||||||
*
|
*
|
||||||
* ## Examples
|
* ## Examples
|
||||||
* |[
|
*
|
||||||
* gst-launch-1.0 -v videotestsrc ! video/x-raw ! glcolorscale ! ximagesink
|
* ``` shell
|
||||||
* ]| A pipeline to test colorspace conversion.
|
* gst-launch-1.0 videotestsrc ! video/x-raw, width=640, height=480 ! glupload ! \
|
||||||
* FBO is required.
|
* glcolorscale ! glcolorconvert ! gldownload ! video/x-raw, width=320, height=240 ! \
|
||||||
|[
|
* autovideosink
|
||||||
* gst-launch-1.0 -v videotestsrc ! video/x-raw, width=640, height=480, format=AYUV ! glcolorscale ! \
|
* ```
|
||||||
* video/x-raw, width=320, height=240, format=YV12 ! videoconvert ! autovideosink
|
*
|
||||||
* ]| A pipeline to test hardware scaling and colorspace conversion.
|
* A pipeline to test hardware scaling and colorspace conversion.
|
||||||
* FBO and GLSL are required.
|
* FBO and GLSL are required.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue