2 // Open Service Platform
3 // Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
5 // Licensed under the Apache License, Version 2.0 (the License);
6 // you may not use this file except in compliance with the License.
7 // You may obtain a copy of the License at
9 // http://www.apache.org/licenses/LICENSE-2.0/
11 // Unless required by applicable law or agreed to in writing, software
12 // distributed under the License is distributed on an "AS IS" BASIS,
13 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 // See the License for the specific language governing permissions and
15 // limitations under the License.
19 * @file FGrpPixelFormat.h
20 * @brief This is the header file for the PixelFormat enumeration that defines the pixel information.
22 * This header file contains the definitions of the PixelFormat enumeration that defines the pixel information.
25 #ifndef _FGRP_PIXEL_FORMAT_H_
26 #define _FGRP_PIXEL_FORMAT_H_
28 namespace Tizen { namespace Graphics
33 * Defines the bits per pixel and the bits per component.
39 PIXEL_FORMAT_RGB565 = 1, /**< The RGB565 pixel format */
40 PIXEL_FORMAT_ARGB8888, /**<The ARGB8888 pixel format */
41 PIXEL_FORMAT_R8G8B8A8, /**<The R8G8B8A8 pixel format @n
42 The order of color component is guaranteed by the byte unit. */
43 PIXEL_FORMAT_YCbCr420_PLANAR, /**<The 8-bit Y-plane followed by 8-bit 2x2 sub sampled U-plane and V-plane */
44 PIXEL_FORMAT_JPEG, /**<The encoded formats */
45 PIXEL_FORMAT_NV12, /**<The NV12 pixel formats */
46 PIXEL_FORMAT_UYVY, /**<The UYVY pixel format */
47 PIXEL_FORMAT_MAX, // This enum value is for internal use only. Using this enum value can cause behavioral, security-related, and consistency-related issues in the application.
48 PIXEL_FORMAT_MIN = 0 // This enum value is for internal use only. Using this enum value can cause behavioral, security-related, and consistency-related issues in the application.
51 } } // Tizen::Graphics