DVBCore  17.9.0
Open Source DVB Engine
 All Data Structures Files Functions Typedefs Macros Pages
osdtype.h
Go to the documentation of this file.
1 /*******************************************************************************
2  * Copyright © 2014 The DTVKit Open Software Foundation Ltd (www.dtvkit.org)
3  * Copyright © 2004 Ocean Blue Software Ltd
4  *
5  * This file is part of a DTVKit Software Component
6  * You are permitted to copy, modify or distribute this file subject to the terms
7  * of the DTVKit 1.0 Licence which can be found in licence.txt or at www.dtvkit.org
8  *
9  * THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
10  * EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES
11  * OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
12  *
13  * If you or your organisation is not a member of DTVKit then you have access
14  * to this source code outside of the terms of the licence agreement
15  * and you are expected to delete this and any associated files immediately.
16  * Further information on DTVKit, membership and terms can be found at www.dtvkit.org
17  *******************************************************************************/
24 // pre-processor mechanism so multiple inclusions don't cause compilation error
25 #ifndef _OSDTYPE_H
26 #define _OSDTYPE_H
27 
28 #include "techtype.h"
29 
30 //---Constant and macro definitions for public use-----------------------------
31 
32 #define SD_HEIGHT 576
33 #define SD_WIDTH 720
34 #define HD_HEIGHT 720
35 #define HD_WIDTH 1280
36 #define FULL_HD_HEIGHT 1080
37 #define FULL_HD_WIDTH 1920
38 
39 //---Enumerations for public use-----------------------------------------------
40 
41 typedef enum
42 {
43  ASPECT_RATIO_4_3,
44  ASPECT_RATIO_16_9,
45  ASPECT_UNDEFINED = 255
46 } E_ASPECT_RATIO;
47 
48 typedef enum e_blit_op
49 {
50  STB_BLIT_COPY,
51  STB_BLIT_A_BLEND
52 } E_BLIT_OP;
53 
54 //---Global type defs for public use-------------------------------------------
55 
56 typedef struct
57 {
58  S32BIT left;
59  S32BIT top;
60  U32BIT width;
61  U32BIT height;
62 } S_RECTANGLE;
63 
64 #endif /*_OSDTYPE_H*/
Definition: osdtype.h:56
System Wide Global Technical Data Type Definitions.