Changes between Version 1 and Version 2 of Component/Fb Controller
- Timestamp:
- Feb 24, 2009, 11:38:36 AM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Component/Fb Controller
v1 v2 7 7 This creates a frame buffer, it uses soclib-fb from the utilities for a SDL-based viewer window. 8 8 9 For now, the only supported mode is YUV-422. This may change in the future.9 For now, the only supported mode are YUV-422 and YUV-420. This may change in the future. 10 10 11 11 User may directly modify a shared-memory buffer, and update it to screen on-demand. … … 25 25 const std::string &basename, 26 26 unsigned long width, 27 unsigned long height); 27 unsigned long height, 28 int subsampling ); 28 29 }}} 29 30 … … 34 35 height:: 35 36 Height of the window 37 subsampling:: 38 YUV subsampling, valid values are 422 and 420 36 39 37 40 == Usage == … … 41 44 const unsigned long height = 240; 42 45 43 soclib::common::FbController fb("fb0", width, height );46 soclib::common::FbController fb("fb0", width, height, 422); 44 47 45 48 ... … … 60 63 } 61 64 }}} 62