Update C++ comments to C comments

This commit is contained in:
twinaphex 2017-01-23 01:38:35 +01:00
parent e0a560f60a
commit f9239cc9c8
4 changed files with 6 additions and 8 deletions

View File

@ -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;

View File

@ -14,7 +14,7 @@
* If not, see <http://www.gnu.org/licenses/>.
*/
// 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 <stdlib.h>

View File

@ -14,7 +14,7 @@
* If not, see <http://www.gnu.org/licenses/>.
*/
// 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 <stdlib.h>

View File

@ -14,7 +14,7 @@
* If not, see <http://www.gnu.org/licenses/>.
*/
// 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 <stdlib.h>
@ -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;