home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / src / linux-headers-2.6.28-15 / include / linux / mxc_v4l2.h < prev    next >
Encoding:
C/C++ Source or Header  |  2009-09-09  |  1.0 KB  |  43 lines

  1. /*
  2.  * Copyright 2004-2009 Freescale Semiconductor, Inc. All Rights Reserved.
  3.  */
  4.  
  5. /*
  6.  * The code contained herein is licensed under the GNU Lesser General
  7.  * Public License.  You may obtain a copy of the GNU Lesser General
  8.  * Public License Version 2.1 or later at the following locations:
  9.  *
  10.  * http://www.opensource.org/licenses/lgpl-license.html
  11.  * http://www.gnu.org/copyleft/lgpl.html
  12.  */
  13.  
  14. /*!
  15.  * @file arch-mxc/mxc_v4l2.h
  16.  *
  17.  * @brief mxc V4L2 private structures
  18.  *
  19.  * @ingroup MXC_V4L2_CAPTURE
  20.  */
  21.  
  22. #ifndef __ASM_ARCH_MXC_V4L2_H__
  23. #define __ASM_ARCH_MXC_V4L2_H__
  24.  
  25. #define V4L2_CID_MXC_ROT        (V4L2_CID_PRIVATE_BASE + 0)
  26. #define V4L2_CID_MXC_FLASH        (V4L2_CID_PRIVATE_BASE + 1)
  27.  
  28. #define V4L2_MXC_ROTATE_NONE            0
  29. #define V4L2_MXC_ROTATE_VERT_FLIP        1
  30. #define V4L2_MXC_ROTATE_HORIZ_FLIP        2
  31. #define V4L2_MXC_ROTATE_180            3
  32. #define V4L2_MXC_ROTATE_90_RIGHT        4
  33. #define V4L2_MXC_ROTATE_90_RIGHT_VFLIP        5
  34. #define V4L2_MXC_ROTATE_90_RIGHT_HFLIP        6
  35. #define V4L2_MXC_ROTATE_90_LEFT            7
  36.  
  37. struct v4l2_mxc_offset {
  38.     uint32_t u_offset;
  39.     uint32_t v_offset;
  40. };
  41.  
  42. #endif
  43.