readme.txt

来自「在智原GM8120/8180平台利用YUV做出OSD画面的效果」· 文本 代码 · 共 38 行

TXT
38
字号
1.This sample is to display YUV420 LCD with 10 frame buffers.
  Please put display*.yuv to "/tmp" directory in embedded site.
  "/tmp" should be a SD disk or NFS disk that has enough space for "display*.yuv".
  Execute program in embedded site.
  #./lcd_display -f framerate

2.LCD driver maintains 10 buffers that can allow AP to use.
  To get the buffer, you need to use "mmap" to get the start pointer.
  mmap_addr=mmap(...);

3.LCD driver display by timer.

4.The Y,U,V position in frame buffer:
  mmap_addr=mmap(...);
  Y address = mmap_addr;
  U address = mmap_addr+(f_data.uv_offset);
  V address = mmap_addr+(f_data.uv_offset)+(f_data.uv_offset/4);

5.Display Sequence:

  (LCD frame buffer 0)△(1)△(2)△(3)△(4)△(5)△(6)△(7)△(8)△(9)
                         ◆                                      |
                          +--------------------------------------+

7.The Frame Buffer index 0 is initial value, when program "start" or "stop", you have to 
  "PARK" frame buffer to index 0.
  "Program Start": In start of main function (see sample code first call FLCD_SET_FB_NUM)
  "Program Stop": In the signal fucntion "sig_int"

8.The frame buffer index =0 means the LCD driver stoped the signal nodification, 
  otherwise the signal continues 30 fps per second.

9.The resolution of LCD/TV display must be 720x480 in FIC8120. That means YUV file must 
  be 720x480 resolution.



⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?