00001 // This is core/vidl/vidl_v4l2_pixel_format.h 00002 #ifndef vidl_v4l2_pixel_format_h_ 00003 #define vidl_v4l2_pixel_format_h_ 00004 //: 00005 // \file 00006 // \brief Correspondences between vidl pixel format and v4l2 pixel format 00007 // 00008 // \author Antonio Garrido 00009 // \verbatim 00010 // Modifications 00011 // 4 Jul 2008 Created (A. Garrido) 00012 //\endverbatim 00013 00014 00015 #include "vidl_pixel_format.h" 00016 00017 //: convert from vidl pixel format to v4l2 pixel format 00018 unsigned int vidl_to_v4l2 (vidl_pixel_format pf); 00019 //: convert from v4l2 pixel format to vidl pixel format 00020 vidl_pixel_format v4l2_to_vidl(unsigned int pf); 00021 00022 #endif // vidl_v4l2_pixel_format_h_ 00023