zoukankan      html  css  js  c++  java
  • Camera interface

      The CAMIF, also the Camera Interface block is the hardware block that interfaces with different image sensor interfaces and provides a standard output that can be used for subsequent image processing.
      A typical Camera Interface would support at least a parallel interface although these days many camera interfaces are beginning to support the MIPI CSI interface.
      The camera interface's parallel interface consists of the following lines :-
    8 to 12 bits parallel data line
      These are parallel data lines that carry pixel data. The data transmitted on these lines change with every Pixel Clock (PCLK).
    Horizontal Sync (HSYNC)
      This is a special signal that goes from the camera sensor or ISP to the camera interface. An HSYNC indicates that one line of the frame is transmitted.
    Vertical Sync (VSYNC)
      This signal is transmitted after the entire frame is transferred. This signal is often a way to indicate that one entire frame is transmitted.
    Pixel Clock (PCLK)
      This is the pixel clock and it would change on every pixel.
    NOTE: The above lines are all treated as input lines to the Camera Interface hardware.

    Example
      Let us suppose that a sensor is transmitting a VGA frame 640x480. The video frame is of a format RGB888. Let's assume that we have a camera sensor transmitting 8 Bit's per Pixel clock (PCLK). This means to transfer one pixel of data, 3 PCLK's would be required. The HSYNC would be fired by the sensor after every 640 x 3, 1920 PCLK's. A VSYNC would be fired by the sensor after the entire frame is transmitted i.e. after 1920x480, 921600 PCLK's.

      The camera interface's hardware block (that could be a part of any SOC) would constantly monitor the above lines to see of the sensor has transmitted anything. A typical camera interface would come with some internal buffering and would also have an associated DMA to transfer the image to the destination memory. The buffer would capture the incoming pixels to temporarily buffer them, and using the DMA the pixels would be transferred (probably line by line) through multiple burst DMA transfers to a destination address in the memory (pre programmed by the camera interface driver programmer). The camera interface's programmer interface might also give a facility of issuing hardware interrupts upon the receipt of the HSYNC, VSYNC signals to the host micro-controller. This could serve as a useful trigger for DMA reprogramming if required. 

    OSD是on-screen display

    http://en.wikipedia.org/wiki/Camera_interface

  • 相关阅读:
    SharePoint Workflow出了问题, 除了ULS log还可以看什么日志?
    Kernel Mode Debugging 初步 一
    一些debug常用的"魔法"数值
    SQL Block的初级排查
    [持续更新]一些有用的PowerShell收集
    关于斜杠(slash)和反斜杠(back slash)的小知识点
    如何安全地解放C盘剩余磁盘空间?
    返璞归真asp.net mvc 1.0(3) Controller/Action【转】
    关于Oxite的教训
    [翻译ASP.NET MVC]Contact Manager开发之旅之迭代2 修改样式,美化应用 【转】
  • 原文地址:https://www.cnblogs.com/eustoma/p/2415818.html
Copyright © 2011-2022 走看看