]> git.sesse.net Git - x264/blobdiff - common/display-x11.c
MBAFF: Add extra data to the deblock strength structure
[x264] / common / display-x11.c
index bbdde882cf1673c597ae823d927b8546e22f2819..5387d4ffb30201b20b522c6fa314f4c3acc6ea74 100644 (file)
@@ -1,7 +1,9 @@
 /*****************************************************************************
- * x264: x11 interface for visualization module
+ * display-x11.c: x11 interface
  *****************************************************************************
- * Copyright (C) 2005 Tuukka Toivonen <tuukkat@ee.oulu.fi>
+ * Copyright (C) 2005-2011 x264 project
+ *
+ * Authors: Tuukka Toivonen <tuukkat@ee.oulu.fi>
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -16,6 +18,9 @@
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02111, USA.
+ *
+ * This program is also available under a commercial proprietary license.
+ * For more information, contact us at licensing@x264.com.
  *****************************************************************************/
 
 #include <X11/Xlib.h>
@@ -153,7 +158,7 @@ void disp_gray( int num, char *data, int width, int height, int stride, const un
     int dpy_depth = DefaultDepth( disp_display, screen );
     XImage *ximage = XCreateImage( disp_display, visual, dpy_depth, ZPixmap, 0, &dummy, width, height, 8, 0 );
     disp_chkerror( !ximage, "no ximage" );
-#ifdef WORDS_BIGENDIAN
+#if WORDS_BIGENDIAN
     ximage->byte_order = MSBFirst;
     ximage->bitmap_bit_order = MSBFirst;
 #else