Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-kde
Path: blob/main/emulators/gngb/files/patch-src_video__yuv.h
16461 views
1
--- src/video_yuv.h.orig 2003-04-03 13:27:29 UTC
2
+++ src/video_yuv.h
3
@@ -21,16 +21,18 @@
4
5
#include "global.h"
6
7
-SDL_Overlay *overlay;
8
-SDL_Rect ov_rect;
9
-Uint32 yuv_flag;
10
+extern SDL_Overlay *overlay;
11
+extern SDL_Rect ov_rect;
12
+extern Uint32 yuv_flag;
13
14
-struct yuv{
15
+typedef struct yuv{
16
Uint16 y;
17
Uint8 u;
18
Uint8 v;
19
Uint32 yuy2;
20
-}rgb2yuv[65536];
21
+} yuv_t;
22
+
23
+extern yuv_t rgb2yuv[65536];
24
25
void init_message_yuv(void);
26
void init_rgb2yuv_table(void);
27
28