From f9239cc9c8646ab01cf860df64c763a6589b2244 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Mon, 23 Jan 2017 01:38:35 +0100 Subject: [PATCH] Update C++ comments to C comments --- gfx/video_filters/epx.c | 6 ++---- gfx/video_filters/scale2x.c | 2 +- gfx/video_filters/super2xsai.c | 2 +- gfx/video_filters/supereagle.c | 4 ++-- 4 files changed, 6 insertions(+), 8 deletions(-) diff --git a/gfx/video_filters/epx.c b/gfx/video_filters/epx.c index 4b5d32f4de..f3a7c986e4 100644 --- a/gfx/video_filters/epx.c +++ b/gfx/video_filters/epx.c @@ -122,7 +122,7 @@ static void epx_generic_rgb565 (unsigned width, unsigned height, dP1 = (uint32_t *) dst; dP2 = (uint32_t *) (dst + dst_stride); - // left edge + /* left edge */ colorX = *sP; colorC = *++sP; @@ -145,8 +145,6 @@ static void epx_generic_rgb565 (unsigned width, unsigned height, dP1++; dP2++; - // - for (w = width - 2; w; w--) { colorA = colorX; @@ -172,7 +170,7 @@ static void epx_generic_rgb565 (unsigned width, unsigned height, dP2++; } - // right edge + /* right edge */ colorA = colorX; colorX = colorC; diff --git a/gfx/video_filters/scale2x.c b/gfx/video_filters/scale2x.c index bf08dc589f..733f9c8f80 100644 --- a/gfx/video_filters/scale2x.c +++ b/gfx/video_filters/scale2x.c @@ -14,7 +14,7 @@ * If not, see . */ -// Compile: gcc -o scale2x.so -shared scale2x.c -std=c99 -O3 -Wall -pedantic -fPIC +/* Compile: gcc -o scale2x.so -shared scale2x.c -std=c99 -O3 -Wall -pedantic -fPIC */ #include "softfilter.h" #include diff --git a/gfx/video_filters/super2xsai.c b/gfx/video_filters/super2xsai.c index 2546cef57c..70e670640d 100644 --- a/gfx/video_filters/super2xsai.c +++ b/gfx/video_filters/super2xsai.c @@ -14,7 +14,7 @@ * If not, see . */ -// Compile: gcc -o supertwoxsai.so -shared supertwoxsai.c -std=c99 -O3 -Wall -pedantic -fPIC +/* Compile: gcc -o supertwoxsai.so -shared supertwoxsai.c -std=c99 -O3 -Wall -pedantic -fPIC */ #include "softfilter.h" #include diff --git a/gfx/video_filters/supereagle.c b/gfx/video_filters/supereagle.c index 980d6483fc..d1af9b1597 100644 --- a/gfx/video_filters/supereagle.c +++ b/gfx/video_filters/supereagle.c @@ -14,7 +14,7 @@ * If not, see . */ -// Compile: gcc -o supereagle.so -shared supereagle.c -std=c99 -O3 -Wall -pedantic -fPIC +/* Compile: gcc -o supereagle.so -shared supereagle.c -std=c99 -O3 -Wall -pedantic -fPIC */ #include "softfilter.h" #include @@ -308,7 +308,7 @@ static void supereagle_generic_packets(void *data, thr->width = width; thr->height = y_end - y_start; - // Workers need to know if they can access pixels outside their given buffer. + /* Workers need to know if they can access pixels outside their given buffer. */ thr->first = y_start; thr->last = y_end == height;