README.NanoX
上传用户:sun1608
上传日期:2007-02-02
资源大小:6116k
文件大小:3k
源码类别:

流媒体/Mpeg4/MP4

开发平台:

Visual C++

  1.   =================================================================
  2.   Patch version 0.8 of SDL(Simple DirectMedia Layer) for Nano-X API
  3.   =================================================================
  4.   
  5.   Author: Hsieh-Fu Tsai, clare@setabox.com
  6.   There are two patch files in this package. 
  7.   1. The first patch file, nanox.patch, is to fix a bug in Nano-X. 
  8.      This patch is proposed by Gary James (gjames@twcny.rr.com).
  9.   It fixes the client side GrClose(). In the original version, 
  10.   GrOpen() can only be called once. When the GrOpen() is called at 
  11.   the second time, the program will terminate. In order to prevent
  12.   this situation, we need to insert "nxSocket = -1" after 
  13.   "close(nxSocket)" in GrClose(). If you do not have this problem,
  14.   you may skip this step. 
  15.   =============
  16.   Quick Install 
  17.   =============
  18.   1. ./configure --disable-video-x11 --disable-video-fbcon  
  19.        --enable-video-nanox  
  20.        --with-nanox-pixel-type=[rgb/0888/888/565/555/332/pal] 
  21.   2. make clean 
  22.   3. make 
  23.   4. make install (as root) 
  24.   ============
  25.   Nitty-gritty 
  26.   ============
  27.   --with-nanox-pixel-type=[rgb/0888/888/565/555/332/pal] 
  28.   If the wrong pixel type is used, the program will crash when the 
  29.   sub-routine updates the screen. This option depends on SCREEN_PIXTYPE 
  30.   which is defined in Microwin0.89pre7/src/config. SCREEN_PIXTYPE 
  31.   is used to define the pixel type in Microwindows/Nano-X. 
  32.   I only test the program when the pixel type is in "rgb" 
  33.   (Microwin under X11) or "888" (framebuffer in 24-bit).
  34.   --enable-nanox-debug           Show debug messages 
  35.   --enable-nanox-share-memory    Use shared-memory to speed up 
  36.   =============================================
  37.   Some programs can be used to test this patch. 
  38.   =============================================
  39.   1. http://www.cs.berkeley.edu/~weimer/atris (a tetris-like game) 
  40.   2. http://www.libsdl.org/projects/newvox/
  41.   3. http://www.libsdl.org/projects/xflame/
  42.   4. http://www.libsdl.org/projects/optimum/ 
  43.   5. http://www.gnugeneration.com/software/loop/ 
  44.     
  45.   =========
  46.   Todo List 
  47.   =========
  48.   1. Create hardware surface
  49.   2. Create YUVOverlay on hardware
  50.   3. Use OpenGL
  51.   4. Gamma correction
  52.   5. Hide/Change mouse pointer
  53.   =====================
  54.   Supporting Institutes
  55.   =====================
  56.   
  57.   Many thanks to go to Setabox Co., Ltd. and CML (Communication and
  58.   Multimedia Laboratory, http://www.cmlab.csie.ntu.edu.tw/) in the 
  59.   Department of Computer Science and Information Engineering of 
  60.   National Taiwan University for supporting this porting project.
  61.   
  62.   ===================
  63.   Contact Information
  64.   ===================
  65.   Welcome to give me any suggestion and to report bugs.
  66.   My e-mail address : clare@setabox.com or niky@cmlab.csie.ntu.edu.tw
  67.