Репозитории ALT
S: | 20071108-alt2 |
5.1: | 20071108-alt1.1 |
4.1: | 20071108-alt1.1 |
4.0: | 20071108-alt0.M40.1 |
Группа :: Видео
Пакет: uvcview
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: uvcview-20071108-types.patch
Скачать
Скачать
diff -uNr uvcview-20071108/src/image.c uvcview-20071108-new/src/image.c
--- uvcview-20071108/src/image.c 2007-05-16 23:56:45 +0400
+++ uvcview-20071108-new/src/image.c 2008-04-30 09:59:45 +0400
@@ -31,6 +31,8 @@
#include <memory.h>
#include <unistd.h>
#include <math.h>
+
+#include "vid_types.h"
#include <linux/videodev2.h>
#include "types.h"
diff -uNr uvcview-20071108/src/image.h uvcview-20071108-new/src/image.h
--- uvcview-20071108/src/image.h 2007-09-06 22:05:22 +0400
+++ uvcview-20071108-new/src/image.h 2008-04-30 09:57:58 +0400
@@ -20,11 +20,14 @@
#ifndef __IMAGE_H__
#define __IMAGE_H__
+#include "vid_types.h"
+
#include <sys/time.h>
#include <linux/videodev2.h>
#include "types.h"
+
typedef struct IMAGE_S {
int type; /* picture type */
int w
diff -uNr uvcview-20071108/src/vid_types.h uvcview-20071108-new/src/vid_types.h
--- uvcview-20071108/src/vid_types.h 1970-01-01 03:00:00 +0300
+++ uvcview-20071108-new/src/vid_types.h 2006-09-06 16:39:02 +0400
@@ -0,0 +1,24 @@
+#ifndef __DFB_TYPES_H__
+#define __DFB_TYPES_H__
+
+#include <sys/types.h>
+
+#ifndef USE_KOS
+
+#include <asm/types.h>
+
+#else
+
+#define __u8 uint8
+#define __u16 uint16
+#define __u32 uint32
+#define __u64 uint64
+
+#define __s8 sint8
+#define __s16 sint16
+#define __s32 sint32
+#define __s64 sint64
+
+#endif
+
+#endif