This repository has been archived on 2025-06-06. You can view files and clone it, but cannot push or open issues or pull requests.
Files
android-g900/kernel-2.6.33/arch/arm/mach-pxa/g900/gf5500/inc/GFRmScr.h
2010-10-16 00:02:07 +06:00

60 lines
2.1 KiB
C
Executable File

/* Copyright (c) 2006 NVIDIA Corporation. All rights reserved.
*
* NVIDIA Corporation and its licensors retain all intellectual property
* and proprietary rights in and to this software, related documentation
* and any modifications thereto. Any use, reproduction, disclosure or
* distribution of this software and related documentation without an
* express license agreement from NVIDIA Corporation is strictly prohibited.
*/
#if !defined (__GFRMSCR_INC__)
#define __GFRMSCR_INC__
/* Surface ColorFormat - Follow GFBITMAP type (GF_BITMAP_xxx) */
#define GF_SURFACE_YUV420 1
#define GF_SURFACE_YUV422 2
#define GF_SURFACE_YUV444 4
#define GF_SURFACE_ROTATED_YUV422 8
#define GF_SURFACE_YUYV (GF_SURFACE_YUV422|0x00000004)
#define GF_SURFACE_YVYU (GF_SURFACE_YUV422|0x00000008)
#define GF_SURFACE_UYVY (GF_SURFACE_YUV422|0x00000010)
#define GF_SURFACE_VYUY (GF_SURFACE_YUV422|0x00000020)
#define GF_SURFACE_MPEGDEC (GF_SURFACE_YUV420|0x00000040)
/** Image is for encoding purpose. Must combine with particular YUV format. */
#define GF_SURFACE_MPEGENC 0x00000080
#define GF_SURFACE_JPEGDEC (GF_SURFACE_YUV420|0x00000100)
/** Image is for encoding purpose. Must combine with particular YUV format. */
#define GF_SURFACE_JPEGENC 0x00000200
#define GF_SURFACE_PLANAR_YUV422 0x400
#define GF_SURFACE_RGB565 0x00010000
/** Used for 18 bpp (MSB bits) (18bpp MSB bits) case. */
#define GF_SURFACE_RGB888 0x00020000
#define GF_SURFACE_ARGB8888 0x00030000
#define GF_SURFACE_ARGB1555 0x00040000
#define GF_SURFACE_ARGB4444 0x00050000
/** Used for 18 bpp (LSB bits). */
#define GF_SURFACE_RGB666 0x00060000
/** 8bpp surface. */
#define GF_SURFACE_RGB8 0x00070000
#define GF_SURFACE_RGB_MASK 0x000F0000
/** Bayer 8bit ColorFormat. */
#define GF_SURFACE_BAYER8 0x00100000
/** Bayer 16bit ColorFormat. */
#define GF_SURFACE_BAYER16 0x00200000
#define GF_SURFACE_ABGR8888 0x00400000
/** YUV422 rotated averaging. */
#define GF_SURFACE_PLANAR_YUV422RA 0x00800000
#endif