[bootlin/training-materials updates] master: Graphics slides: minor improvements (07857fd5)

Michael Opdenacker michael.opdenacker at bootlin.com
Fri Oct 4 11:21:38 CEST 2019


Repository : https://github.com/bootlin/training-materials
On branch  : master
Link       : https://github.com/bootlin/training-materials/commit/07857fd52ea38ddc23c4c08320d1bed72d79f217

>---------------------------------------------------------------

commit 07857fd52ea38ddc23c4c08320d1bed72d79f217
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date:   Fri Oct 4 11:21:38 2019 +0200

    Graphics slides: minor improvements
    
    - "axes" is the plural of "axis"
    - Add an Elixir link instead of \code
    
    Signed-off-by: Michael Opdenacker <michael.opdenacker at bootlin.com>


>---------------------------------------------------------------

07857fd52ea38ddc23c4c08320d1bed72d79f217
 slides/graphics-theory/graphics-theory.tex | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/slides/graphics-theory/graphics-theory.tex b/slides/graphics-theory/graphics-theory.tex
index 83aa584e..8da06166 100644
--- a/slides/graphics-theory/graphics-theory.tex
+++ b/slides/graphics-theory/graphics-theory.tex
@@ -53,7 +53,7 @@ topics easier to learn.
 
   \begin{itemize}
   \item Pictures are bi-dimensional ordered ensembles of pixels (also called \textbf{frames})
-  \item As such, pixels are disposed along two axis and each have a \textbf{position}:\\
+  \item As such, pixels are disposed along two axes and each have a \textbf{position}:\\
    \textit{horizontal (\(x\)) and vertical (\(y\)) positions}
   \item Pictures have \textbf{dimensions}, expressed as a number of pixels:\\
    \textit{horizontal (\(width\)) and vertical (\(height\)) dimensions}
@@ -449,10 +449,10 @@ u_s > 2 \times u_{max}, ~v_s = 2 \times v_{max}
     \end{itemize}
   \item Often represented as a 4-character code called \textbf{FourCC} {\small(\url{https://fourcc.org/})}\\
   \item Not really standardized and implementation-specific:\\
-    \textit{DRM in Linux uses \code{XR24}, for \code{DRM_FORMAT_XRGB8888}}
+    \textit{DRM in Linux uses \code{XR24} for \ksym{DRM_FORMAT_XRGB8888}}.\\
   \textit{Not really standardized but widely used in various forms}
   \item Scan order is specified separately with a \textbf{modifier}\\
-    \textit{assumed to be raster order if unspecified}
+    \textit{Assumed to be raster order if unspecified}
   \end{itemize}
 \end{frame}
 
@@ -535,7 +535,7 @@ for (y = 0; y < height; y++)
 
 \begin{frame}{Rectangle drawing}
   \begin{itemize}
-  \item A rectangle is defined with two boundaries par axis:
+  \item A rectangle is defined with two boundaries per axis:
 \[
 x_{min} \leq x \leq x_{max},~ y_{min} \leq y \leq y_{max}
 \]
@@ -551,7 +551,7 @@ x_{start} \leq x \leq x_{start} + x_{size},~ y_{start} \leq y \leq y_{start} + y
   \begin{itemize}
   \item Same base as drawing a rectangle
   \item A linear gradient involves interpolation between two colors
-  \item Following one of the two axis as major
+  \item Following one of the two axes as major
   \item Involves weighting the two colors depending on the advancement
   \item Equations in x-axis major:
   \end{itemize}
@@ -606,7 +606,7 @@ x_{start} \leq x \leq x_{stop}
   \item Axis major depends on the largest per-axis span (\(axis_{stop} - axis_{start}\))
     \begin{itemize}
     \item Iterating with smaller-span axis-major results in visual holes
-    \item Iterating on both axis provides coherent results
+    \item Iterating on both axes provides coherent results
     \end{itemize}
   \item Algorithms producing better-looking results:
     \begin{itemize}




More information about the training-materials-updates mailing list