MHEG  17.9.0
 All Data Structures Files Functions Variables Typedefs Enumerations Macros Pages
vtctype.h
Go to the documentation of this file.
1 /*******************************************************************************
2  * Copyright © 2014 The DTVKit Open Software Foundation Ltd (www.dtvkit.org)
3  * Copyright © 2014 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  *******************************************************************************/
25 #ifndef _VTCTYPE_H
26 #define _VTCTYPE_H
27 
28 //---Constant and macro definitions for public use-----------------------------
29 
30 //---Enumerations for public use-----------------------------------------------
31 
32 /* Enum to specify aspect ratio preference of visible video */
33 typedef enum
34 {
35  ASPECT_MODE_AUTO,
36  ASPECT_MODE_4_3, /* 16:9 video, on 4:3 display/scene -> Centre Cut-Out */
37  ASPECT_MODE_16_9, /* 16:9 video, on 4:3 display/scene -> Letter Box */
38  ASPECT_MODE_14_9,
39  ASPECT_MODE_ZOOM,
40 } E_VIDEO_ASPECT_MODE;
41 
42 typedef enum
43 {
44  FORMAT_CONVERSION_UNKNOWN,
45  FORMAT_CONVERSION_IGNORE,
46  FORMAT_CONVERSION_PANSCAN,
47  FORMAT_CONVERSION_LETTERBOX,
48  FORMAT_CONVERSION_LETTERBOX_14_9,
49  FORMAT_CONVERSION_PILLAR_BOX,
50  FORMAT_CONVERSION_ZOOM_4_3,
51  FORMAT_CONVERSION_ZOOM_14_9,
52  FORMAT_CONVERSION_PANSCAN_14_9,
53  FORMAT_CONVERSION_FULL_4_3,
54  FORMAT_CONVERSION_CENTRE_14_9,
55  FORMAT_CONVERSION_CENTRE_4_3
56 } E_FORMAT_CONVERSION;
57 
58 //---Global type defs for public use-------------------------------------------
59 
60 #endif /*_VTCTYPE_H*/