Changes between Version 1 and Version 2 of Component/Fb Controller


Ignore:
Timestamp:
Feb 24, 2009, 11:38:36 AM (15 years ago)
Author:
Nicolas Pouillon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Component/Fb Controller

    v1 v2  
    77This creates a frame buffer, it uses soclib-fb from the utilities for a SDL-based viewer window.
    88
    9 For now, the only supported mode is YUV-422. This may change in the future.
     9For now, the only supported mode are YUV-422 and YUV-420. This may change in the future.
    1010
    1111User may directly modify a shared-memory buffer, and update it to screen on-demand.
     
    2525        const std::string &basename,
    2626        unsigned long width,
    27         unsigned long height);
     27        unsigned long height,
     28        int subsampling );
    2829}}}
    2930
     
    3435 height::
    3536   Height of the window
     37 subsampling::
     38   YUV subsampling, valid values are 422 and 420
    3639
    3740== Usage ==
     
    4144    const unsigned long height = 240;
    4245
    43     soclib::common::FbController fb("fb0", width, height);
     46    soclib::common::FbController fb("fb0", width, height, 422);
    4447
    4548    ...
     
    6063}
    6164}}}
    62