summaryrefslogtreecommitdiffstats
path: root/libass/ass_rasterizer_c.c
diff options
context:
space:
mode:
authorDr.Smile <vabnick@gmail.com>2015-05-22 02:25:23 +0300
committerDr.Smile <vabnick@gmail.com>2015-06-26 01:09:01 +0300
commit88f1fd37fe5785851f069e3dc6939f1ab905f4bc (patch)
tree2739783e769398ae2330670c1ac8d832ee1fe974 /libass/ass_rasterizer_c.c
parent5ae45bc298a4dbca24229d89929afd1498333da7 (diff)
downloadlibass-88f1fd37fe5785851f069e3dc6939f1ab905f4bc.tar.bz2
libass-88f1fd37fe5785851f069e3dc6939f1ab905f4bc.tar.xz
Improve rasterizer comments
Diffstat (limited to 'libass/ass_rasterizer_c.c')
-rw-r--r--libass/ass_rasterizer_c.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libass/ass_rasterizer_c.c b/libass/ass_rasterizer_c.c
index 38d4050..bd378fb 100644
--- a/libass/ass_rasterizer_c.c
+++ b/libass/ass_rasterizer_c.c
@@ -138,12 +138,12 @@ void ass_fill_halfplane_tile32_c(uint8_t *buf, ptrdiff_t stride,
* Generic Filling Functions
*
* Used Algorithm
- * Construct trapezium from each polyline segment and its projection into left side of tile.
- * Render that trapezium into internal buffer with additive blending and correct sign.
+ * Construct trapeziod from each polyline segment and its projection into left side of tile.
+ * Render that trapeziod into internal buffer with additive blending and correct sign.
* Store clamped absolute value from internal buffer into result buffer.
*/
-// Render top/bottom line of the trapezium with antialiasing
+// Render top/bottom line of the trapeziod with antialiasing
static inline void update_border_line16(int16_t res[16],
int16_t abs_a, const int16_t va[16],
int16_t b, int16_t abs_b,
@@ -262,7 +262,7 @@ void ass_fill_generic_tile16_c(uint8_t *buf, ptrdiff_t stride,
}
}
-// Render top/bottom line of the trapezium with antialiasing
+// Render top/bottom line of the trapeziod with antialiasing
static inline void update_border_line32(int16_t res[32],
int16_t abs_a, const int16_t va[32],
int16_t b, int16_t abs_b,