[xiph-cvs] cvs commit: w3d yuv.c
Holger Waechtler
holger at xiph.org
Wed Mar 28 04:55:42 PST 2001
holger 01/03/28 04:55:42
Modified: . yuv.c
Log:
- moved to <stdint.h> (int16_t, int32_t etc.) types instead of int16, int32 ...
Revision Changes Path
1.4 +3 -3 w3d/yuv.c
Index: yuv.c
===================================================================
RCS file: /usr/local/cvsroot/w3d/yuv.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- yuv.c 2001/03/28 11:41:37 1.3
+++ yuv.c 2001/03/28 12:55:42 1.4
@@ -1,7 +1,7 @@
#include "yuv.h"
-void rgb2yuv (uint8 *rgb, int16 *y, int16 *u, int16 *v, uint32 count, uint32 rgbstride)
+void rgb2yuv (uint8_t *rgb, int16_t *y, int16_t *u, int16_t *v, uint32_t count, uint32_t rgbstride)
{
int i;
@@ -22,13 +22,13 @@
static inline
-uint8 CLAMP(int16 x)
+uint8_t CLAMP(int16_t x)
{
return ((x > 255) ? 255 : (x < 0) ? 0 : x);
}
-void yuv2rgb (int16 *y, int16 *u, int16 *v, uint8 *rgb, uint32 count, uint32 rgbstride)
+void yuv2rgb (int16_t *y, int16_t *u, int16_t *v, uint8_t *rgb, uint32_t count, uint32_t rgbstride)
{
int i;
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the commits
mailing list