DVBCore  17.9.0
Open Source DVB Engine
 All Data Structures Files Functions Typedefs 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 // pre-processor mechanism so multiple inclusions don't cause compilation error
26 #ifndef _VTCTYPE_H
27 #define _VTCTYPE_H
28 
29 #include "osdtype.h"
30 
31 
32 //---Constant and macro definitions for public use-----------------------------
33 
34 //---Enumerations for public use-----------------------------------------------
35 
36 typedef enum
37 {
38  ASPECT_MODE_AUTO,
39  ASPECT_MODE_4_3,
40  ASPECT_MODE_16_9,
41  ASPECT_MODE_14_9,
42  ASPECT_MODE_ZOOM,
43  ASPECT_MODE_CUSTOM
44 } E_VIDEO_ASPECT_MODE, E_STB_AV_ASPECT_MODE;
45 
46 typedef enum
47 {
48  FORMAT_CONVERSION_UNKNOWN,
49  FORMAT_CONVERSION_IGNORE,
50  FORMAT_CONVERSION_PANSCAN,
51  FORMAT_CONVERSION_LETTERBOX,
52  FORMAT_CONVERSION_LETTERBOX_14_9,
53  FORMAT_CONVERSION_PILLAR_BOX,
54  FORMAT_CONVERSION_ZOOM_4_3,
55  FORMAT_CONVERSION_ZOOM_14_9,
56  FORMAT_CONVERSION_PANSCAN_14_9,
57  FORMAT_CONVERSION_FULL_4_3,
58  FORMAT_CONVERSION_CENTRE_14_9,
59  FORMAT_CONVERSION_CENTRE_4_3
60 } E_FORMAT_CONVERSION;
61 
62 //---Global type defs for public use-------------------------------------------
63 
69 typedef E_FORMAT_CONVERSION (*F_VT_CUSTOM_MODE_CALLBACK)(E_ASPECT_RATIO video_aspect_ratio,
70  E_ASPECT_RATIO display_aspect_ratio);
71 
72 
73 #endif /*_VTCTYPE_H*/
Header file - Function prototypes for A/V control.
E_FORMAT_CONVERSION(* F_VT_CUSTOM_MODE_CALLBACK)(E_ASPECT_RATIO video_aspect_ratio, E_ASPECT_RATIO display_aspect_ratio)
Callback used by the VTC module to determine what format conversion needs to be applied when the aspe...
Definition: vtctype.h:69