From 9cedae25b7a232d26b0beb80a88a88166dd9dfdf Mon Sep 17 00:00:00 2001 From: kallaballa Date: Sun, 16 Apr 2023 08:24:33 +0200 Subject: [PATCH] more renaming --- modules/v4d/tutorials/00-intro.markdown | 6 +++--- modules/v4d/tutorials/05-video_editing.markdown | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/v4d/tutorials/00-intro.markdown b/modules/v4d/tutorials/00-intro.markdown index 5da9586f1..1be16bad4 100644 --- a/modules/v4d/tutorials/00-intro.markdown +++ b/modules/v4d/tutorials/00-intro.markdown @@ -45,10 +45,10 @@ Please note that the following online demos are slower and/or have less features For example, to create an OpenGL context and set the GL viewport: @code{.cpp} //Creates a V4D object for on screen rendering -Ptr v2d = V4D::make(Size(WIDTH, HEIGHT), "GL viewport"); +Ptr v4d = V4D::make(Size(WIDTH, HEIGHT), "GL viewport"); //Takes care of OpenGL states in the background -v2d->gl([](const Size sz) { +v4d->gl([](const Size sz) { glViewPort(0, 0, sz.width, sz.height); }); @endcode @@ -170,4 +170,4 @@ modules/v4d/samples/cpp/beauty/beauty-demo bunny.webm * The author of the bunny video is the **Blender Foundation** ([Original video](https://www.bigbuckbunny.org)). * The author of the dance video is **GNI Dance Company** ([Original video](https://www.youtube.com/watch?v=yg6LZtNeO_8)). * The author of the video used in the beauty-demo video is **Kristen Leanne** ([Original video](https://www.youtube.com/watch?v=hUAT8Jm_dvw&t=11s)). -* The author of cxxpool is **Copyright (c) 2022 Christian Blume**: ([LICENSE](https://github.com/bloomen/cxxpool/blob/master/LICENSE)) \ No newline at end of file +* The author of cxxpool is **Copyright (c) 2022 Christian Blume**: ([LICENSE](https://github.com/bloomen/cxxpool/blob/master/LICENSE)) diff --git a/modules/v4d/tutorials/05-video_editing.markdown b/modules/v4d/tutorials/05-video_editing.markdown index 2e029fe73..6b9be7b9e 100644 --- a/modules/v4d/tutorials/05-video_editing.markdown +++ b/modules/v4d/tutorials/05-video_editing.markdown @@ -9,7 +9,7 @@ | Compatibility | OpenCV >= 4.7 | ## Render text on top of a video -Through adding a Source and a Sink v2d becomes capable of video editing. Reads a video, renders text on top and writes the result. Note: Reading and writing of video-data is multi-threaded in the background for performance reasons. +Through adding a Source and a Sink v4d becomes capable of video editing. Reads a video, renders text on top and writes the result. Note: Reading and writing of video-data is multi-threaded in the background for performance reasons. @include samples/cpp/video_editing.cpp