• 欢迎浏览“String me = Creater\忠实的资深Linux玩家;”,请文明浏览,理性发言,有侵犯你的权益请邮件我(creater@vip.qq.com).
  • 把任何的失败都当作一次尝试,不要自卑;把所有的成功都想成是一种幸运,不要自傲。
  •    4年前 (2015-01-06)  dsp |   抢沙发  26 
    文章评分 0 次,平均分 0.0
    /**
     *  \brief FVID2 frame buffer structure.
     *
     *  Unless specified otherwise, all fields in this structure are
     *
     *  [IN]  for FVID2_queue(), FVID2_processFrames() operation.
     *  [OUT] for FVID2_dequeue(), FVID2_getProcessedFrames() operation.
     *
     */
    typedef struct
    {
        Ptr                 addr[FVID2_MAX_FIELDS][FVID2_MAX_PLANES];
        /**<
             FVID2 buffer pointers for supporting multiple addresses like
             Y, U, V etc for a given frame. The interpretation of these pointers
             depend on the format configured for the driver.
             The first dimension represents the field and the second dimension
             represents the color plane.
             Not all pointers are valid for a given format.
    
             Representation of YUV422 Planar Buffer:
             Field 0 Y -> addr[0][0], Field 1 Y -> addr[1][0]
             Field 0 U -> addr[0][1], Field 1 U -> addr[1][1]
             Field 0 V -> addr[0][2], Field 1 V -> addr[1][2]
             Other pointers are not valid.
    
             Representation of YUV422 Interleaved Buffer:
             Field 0 YUV -> addr[0][0], Field 1 YUV -> addr[1][0]
             Other pointers are not valid.
    
             Representation of YUV420SP or YUV422SP Buffer:
             Field 0 Y  -> addr[0][0], Field 1 Y  -> addr[1][0]
             Field 0 UV -> addr[0][1], Field 1 UV -> addr[1][1]
             Other pointers are not valid.
    
             Representation of RGB888 Buffer
             Field 0 RGB -> addr[0][0], Field 1 RGB -> addr[1][0],
             Other pointers are not valid.
    
             For progressive mode data formats
             or when fields are processed by driver in frame mode.
             addr[1][x] is not used.
    
             Instead of using numerical for accessing the buffers, the application
             can use the macros defined for each buffer formats like
             FVID2_YUV_INT_ADDR_IDX, FVID2_RGB_ADDR_IDX, FVID2_FID_TOP etc. */
    
        UInt32              fid;
        /**< Indicates whether this frame belong to top or bottom field.
             For valid values see #FVID2_Fid. */
        UInt32              channelNum;
        /**< Channel number to which this FVID2 frame belongs to. */
    
        UInt32              timeStamp;
        /**< Time stamp returned by the driver, in units of msecs.
             Only valid for frames received using FVID2_dequeue(). */
        Ptr                 appData;
        /**< Additional application parameter per frame. This is not modified by
             driver. */
    
        Ptr                 perFrameCfg;
        /**< Per frame configuration parameters like scaling ratio, positioning,
             cropping etc...
             This should be set to NULL if not used.
    
             This can be used by application to control driver behaviour on a per
             frame basis, example changing scaling ratio for scalar driver.
    
             This can be used by application to get per frame status, example
             detected frame width, height from capture driver.
    
             This could be set to NULL if not used. In this case, the driver will
             use the last supplied configuration.
    
             The exact structure type that is passed is driver specific. */
    
        Ptr                 blankData;
        /**< Blanking data associated with this video frame.
             This could be set to NULL if not used. */
    
        Ptr                 drvData;
        /**< Used by driver. Application should not modify this. */
    
        FVID2_SubFrameInfo    *subFrameInfo;
        /**< Used for SubFrame level processing information exchange between
             application and driver.
             This could be set to NULL if sub-frame level processing  is not used. */
    
        Ptr                 reserved;
        /**< For future use. Not used currently. Set this to NULL. */
    
    } FVID2_Frame;
     

    除特别注明外,本站所有文章均为String me = "Creater\忠实的资深Linux玩家";原创,转载请注明出处来自http://unix8.net/home.php/3932.html

    关于

    发表评论

    暂无评论

    切换注册

    登录

    忘记密码 ?

    切换登录

    注册

    扫一扫二维码分享