Debian Codegraph @

thirdparty/analogdevicesinc/no-OS/adv7511/library/microblaze/inc/edid.h

raw symbols SCIP
1 /***************************************************************************//**
2 * @file edid.h
3 ********************************************************************************
4 * Copyright 2013(c) Analog Devices, Inc.
5 *
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions are met:
10 * - Redistributions of source code must retain the above copyright
11 * notice, this list of conditions and the following disclaimer.
12 * - Redistributions in binary form must reproduce the above copyright
13 * notice, this list of conditions and the following disclaimer in
14 * the documentation and/or other materials provided with the
15 * distribution.
16 * - Neither the name of Analog Devices, Inc. nor the names of its
17 * contributors may be used to endorse or promote products derived
18 * from this software without specific prior written permission.
19 * - The use of this software may or may not infringe the patent rights
20 * of one or more patent holders. This license does not release you
21 * from the requirement that you obtain separate licenses from these
22 * patent holders to use this software.
23 * - Use of the software either in source or binary form, must be run
24 * on or directly connected to an Analog Devices Inc. component.
25 *
26 * THIS SOFTWARE IS PROVIDED BY ANALOG DEVICES "AS IS" AND ANY EXPRESS OR
27 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, NON-INFRINGEMENT,
28 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
29 * IN NO EVENT SHALL ANALOG DEVICES BE LIABLE FOR ANY DIRECT, INDIRECT,
30 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
31 * LIMITED TO, INTELLECTUAL PROPERTY RIGHTS, PROCUREMENT OF SUBSTITUTE GOODS OR
32 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
33 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
34 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
35 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
36 *
37 ********************************************************************************
38 * SVN Revision: $WCREV$
39 *******************************************************************************/
40
41 #ifndef _EDID_H_
42 #define _EDID_H_
43
44 /******************************************************************************/
45 /************************** Types Declarations ********************************/
46 /******************************************************************************/
47 typedef struct
48 {
49 UCHAR DeepColor;
50 UINT16 SpaOffset;
51 BOOL CsumErr;
52 UINT16 SvdOffset;
53 }EDID_INFO;
54
55 typedef struct
56 {
57 UCHAR Format;
58 UCHAR SampleRate;
59 UCHAR MaxChannels;
60 UINT16 Bit;
61 }EDID_AUDIO_INFO;
62
63 /******************************************************************************/
64 /************************ Functions Declarations ******************************/
65 /******************************************************************************/
66 void ADIAPI_MwEdidEnableDebugMsg (BOOL Enable);
67 UCHAR ADIAPI_MwEdidParse (UCHAR *EdidPtr, UINT16 *SpaOffset, UCHAR SegNum);
68 UCHAR ADIAPI_MwEdidParseSilent (UCHAR *EdidPtr, UINT16 *SpaOffset, UCHAR SegNum);
69 void ADIAPI_MwEdidGetInfo (EDID_INFO *InfoPtr);
70 void ADIAPI_MwEdidGetAudioInfo (EDID_AUDIO_INFO *AudioInfoPtr);
71
72 #endif