Spelling fixes
IOhannes m zmölnig (Debian/GNU)
6 years ago
| 0 | Description: Spelling fixes | |
| 1 | Author: IOhannes m zmölnig | |
| 2 | Forwarded: https://github.com/dyne/frei0r/pull/98 | |
| 3 | Last-Update: 2020-01-29 | |
| 4 | --- | |
| 5 | This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ | |
| 6 | --- frei0r.orig/src/filter/elastic_scale/README.md | |
| 7 | +++ frei0r/src/filter/elastic_scale/README.md | |
| 8 | @@ -1,6 +1,6 @@ | |
| 9 | # Elastic Scale | |
| 10 | ||
| 11 | -Elastic scale allows to apply non linear scale to video footage. | |
| 12 | +Elastic scale allows one to apply non linear scale to video footage. | |
| 13 | ||
| 14 | Written by Matthias Schnöll, Aug 2018 and released under GNU GPL | |
| 15 | ||
| 16 | --- frei0r.orig/src/filter/elastic_scale/elastic_scale.cpp | |
| 17 | +++ frei0r/src/filter/elastic_scale/elastic_scale.cpp | |
| 18 | @@ -28,8 +28,8 @@ | |
| 19 | #define PI 3.141592654 | |
| 20 | ||
| 21 | /** | |
| 22 | -This is a frei0r filter which allows to scale video footage non-linearly. | |
| 23 | -In combination with a linear scale filter, it allows to scale 4:3 footage | |
| 24 | +This is a frei0r filter which allows one to scale video footage non-linearly. | |
| 25 | +In combination with a linear scale filter, it allows one to scale 4:3 footage | |
| 26 | to 16:9 and maintain the original aspect ratio in the center part of the image. | |
| 27 | */ | |
| 28 | ||
| 29 | @@ -303,7 +303,7 @@ | |
| 30 | }; | |
| 31 | ||
| 32 | frei0r::construct<ElasticScale> plugin("Elastic scale filter", | |
| 33 | - "This is a frei0r filter which allows to scale video footage non-linearly.", | |
| 34 | + "This is a frei0r filter which allows one to scale video footage non-linearly.", | |
| 35 | "Matthias Schnoell", | |
| 36 | 0,2, | |
| 37 | F0R_COLOR_MODEL_RGBA8888); | |
| 38 | --- frei0r.orig/src/filter/lightgraffiti/lightgraffiti.cpp | |
| 39 | +++ frei0r/src/filter/lightgraffiti/lightgraffiti.cpp | |
| 40 | @@ -822,7 +822,7 @@ | |
| 41 | Background weight | |
| 42 | */ | |
| 43 | if (m_pBackgroundWeight > 0) { | |
| 44 | - // Use part of the background mean. This allows to have only lights appearing in the video | |
| 45 | + // Use part of the background mean. This allows one to have only lights appearing in the video | |
| 46 | // if people or other objects walk into the video after the first frame (darker, therefore not in the light mask). | |
| 47 | out[pixel] = RGBA((int) (m_pBackgroundWeight*m_longMeanImage[3*pixel+0] + (1-m_pBackgroundWeight)*GETR(out[pixel])), | |
| 48 | (int) (m_pBackgroundWeight*m_longMeanImage[3*pixel+1] + (1-m_pBackgroundWeight)*GETG(out[pixel])), | |
| 49 | --- frei0r.orig/src/filter/tutorial/tutorial.cpp | |
| 50 | +++ frei0r/src/filter/tutorial/tutorial.cpp | |
| 51 | @@ -123,7 +123,8 @@ | |
| 52 | // can be pre-computed; when applying the filter, only thing left to do is reading the value | |
| 53 | // in the lookup table. | |
| 54 | ||
| 55 | - // This parameter allows to do simple benchmarking: Rendering a video with uint8_t pointers and with uint32_t pointers. | |
| 56 | + // This parameter allows one to do simple benchmarking: Rendering a | |
| 57 | + // video with uint8_t pointers and with uint32_t pointers. | |
| 58 | // (Don't forget to substract the rendering time without this effect applied to avoid counting | |
| 59 | // encoding and decoding as well!) | |
| 60 | if (m_pointerMethod == 0) { | |
| 61 | --- frei0r.orig/src/filter/vignette/vignette.cpp | |
| 62 | +++ frei0r/src/filter/vignette/vignette.cpp | |
| 63 | @@ -29,8 +29,8 @@ | |
| 64 | with a cos⁴ curve. Additionally the x:y aspect ratio of the vignette can be | |
| 65 | changed (note that normal cameras with a round aperture always have an aspect ratio | |
| 66 | of 1:1, but for cinematic effects the aspect ratio is often adjusted to match | |
| 67 | - the frame's aspect ratio). The ClearCenter value allows to shift the vignetting away | |
| 68 | - from the center, preserving it from changes. | |
| 69 | + the frame's aspect ratio). The ClearCenter value allows one to shift the | |
| 70 | + vignetting away from the center, preserving it from changes. | |
| 71 | ||
| 72 | */ | |
| 73 | class Vignette : public frei0r::filter |