[010/906] don't mix tabs and spaces

This commit is contained in:
Thomas Vander Stichele 2004-03-15 19:32:26 +00:00 committed by Matthew Waters
parent cb6634af4f
commit 0a52f9f6c3
6 changed files with 111 additions and 109 deletions

View File

@ -189,6 +189,7 @@ GST_PAD_TEMPLATE_FACTORY (gst_glsink_sink_template_factory,
0,
(GInstanceInitFunc) gst_glsink_init,
};
videosink_type =
g_type_register_static (GST_TYPE_ELEMENT, "GstGLSink", &videosink_info,
0);

View File

@ -42,6 +42,7 @@ GenerateRGBTables (unsigned char *Ytable, // Y-palette
+1.130469478f, -0.450515935f, -0.812967512f,
+1.130469478f, +1.958477882f, 0.0f
};
#define COMPRESS(a)(0.5f*(a)+128.0f) // counter-piece to EXPAND_NORMAL
#define fCOMPRESS(a) (0.5f*(a)+0.5f);
#define XCLAMP(a) ((a)<0.0f ? 0.0f : ((a)>255.0f ? 255.0f : (a))) // should not be necessary, but what do you know.