source: svn/newcon3bcm2_21bu/nexus/modules/display/7552/include/nexus_video_output.h

Last change on this file was 76, checked in by megakiss, 10 years ago

1W 대기전력을 만족시키기 위하여 POWEROFF시 튜너를 Standby 상태로 함

  • Property svn:executable set to *
File size: 5.3 KB
Line 
1/***************************************************************************
2 *     (c)2007-2011 Broadcom Corporation
3 * 
4 *  This program is the proprietary software of Broadcom Corporation and/or its licensors,
5 *  and may only be used, duplicated, modified or distributed pursuant to the terms and
6 *  conditions of a separate, written license agreement executed between you and Broadcom
7 *  (an "Authorized License").  Except as set forth in an Authorized License, Broadcom grants
8 *  no license (express or implied), right to use, or waiver of any kind with respect to the
9 *  Software, and Broadcom expressly reserves all rights in and to the Software and all
10 *  intellectual property rights therein.  IF YOU HAVE NO AUTHORIZED LICENSE, THEN YOU
11 *  HAVE NO RIGHT TO USE THIS SOFTWARE IN ANY WAY, AND SHOULD IMMEDIATELY
12 *  NOTIFY BROADCOM AND DISCONTINUE ALL USE OF THE SOFTWARE. 
13 *   
14 *  Except as expressly set forth in the Authorized License,
15 *   
16 *  1.     This program, including its structure, sequence and organization, constitutes the valuable trade
17 *  secrets of Broadcom, and you shall use all reasonable efforts to protect the confidentiality thereof,
18 *  and to use this information only in connection with your use of Broadcom integrated circuit products.
19 *   
20 *  2.     TO THE MAXIMUM EXTENT PERMITTED BY LAW, THE SOFTWARE IS PROVIDED "AS IS"
21 *  AND WITH ALL FAULTS AND BROADCOM MAKES NO PROMISES, REPRESENTATIONS OR
22 *  WARRANTIES, EITHER EXPRESS, IMPLIED, STATUTORY, OR OTHERWISE, WITH RESPECT TO
23 *  THE SOFTWARE.  BROADCOM SPECIFICALLY DISCLAIMS ANY AND ALL IMPLIED WARRANTIES
24 *  OF TITLE, MERCHANTABILITY, NONINFRINGEMENT, FITNESS FOR A PARTICULAR PURPOSE,
25 *  LACK OF VIRUSES, ACCURACY OR COMPLETENESS, QUIET ENJOYMENT, QUIET POSSESSION
26 *  OR CORRESPONDENCE TO DESCRIPTION. YOU ASSUME THE ENTIRE RISK ARISING OUT OF
27 *  USE OR PERFORMANCE OF THE SOFTWARE.
28 * 
29 *  3.     TO THE MAXIMUM EXTENT PERMITTED BY LAW, IN NO EVENT SHALL BROADCOM OR ITS
30 *  LICENSORS BE LIABLE FOR (i) CONSEQUENTIAL, INCIDENTAL, SPECIAL, INDIRECT, OR
31 *  EXEMPLARY DAMAGES WHATSOEVER ARISING OUT OF OR IN ANY WAY RELATING TO YOUR
32 *  USE OF OR INABILITY TO USE THE SOFTWARE EVEN IF BROADCOM HAS BEEN ADVISED OF
33 *  THE POSSIBILITY OF SUCH DAMAGES; OR (ii) ANY AMOUNT IN EXCESS OF THE AMOUNT
34 *  ACTUALLY PAID FOR THE SOFTWARE ITSELF OR U.S. $1, WHICHEVER IS GREATER. THESE
35 *  LIMITATIONS SHALL APPLY NOTWITHSTANDING ANY FAILURE OF ESSENTIAL PURPOSE OF
36 *  ANY LIMITED REMEDY.
37 *
38 * $brcm_Workfile: nexus_video_output.h $
39 * $brcm_Revision: 5 $
40 * $brcm_Date: 7/22/11 9:03a $
41 *
42 * Module Description:
43 *
44 * Revision History:
45 *
46 * $brcm_Log: /nexus/modules/display/7400/include/nexus_video_output.h $
47 *
48 * 5   7/22/11 9:03a erickson
49 * SW7425-745: add NEXUS_VideoOutputSettings
50 *
51 * 4   7/19/11 11:14a erickson
52 * SW7408-291: add NEXUS_VideoOutput_SetVfFilter, requires reverse lookup
53 *  of DAC assignments
54 *
55 * 3   1/23/08 9:22p vobadm
56 * PR35457: update docs
57 *
58 * 2   1/23/08 2:39p erickson
59 * PR35457: update docs
60 *
61 * 1   1/18/08 2:16p jgarrett
62 * PR 38808: Merging to main branch
63 *
64 * Nexus_Devel/6   11/30/07 10:53a erickson
65 * PR35457: api update
66 *
67 **************************************************************************/
68#ifndef NEXUS_VIDEO_OUTPUT_H__
69#define NEXUS_VIDEO_OUTPUT_H__
70
71#include "nexus_display_types.h"
72
73#ifdef __cplusplus
74extern "C" {
75#endif
76
77/**
78Summary:
79The application must call NEXUS_VideoOutput_Shutdown after the NEXUS_VideoOutput
80has been disconnected from all displays.
81
82Description:
83This is needed to free internally cached data.
84**/
85void NEXUS_VideoOutput_Shutdown(
86    NEXUS_VideoOutput output
87    );
88
89#define NEXUS_MAX_VF_FILTER_ENTRIES 16
90
91/**
92Summary:
93Video formatter filter
94
95Description:
96There is one VF per channel of each output.
97**/
98typedef struct NEXUS_VideoOutputVfFilter
99{
100    uint32_t filterRegs[NEXUS_MAX_VF_FILTER_ENTRIES];
101    unsigned numEntries;
102} NEXUS_VideoOutputVfFilter;
103
104/**
105Summary:
106Get current VF filter settings
107
108Description:
109You must specify the correct number of VF filter entries for your chip. This can be determined from the chip specification.
110**/
111void NEXUS_VideoOutput_GetVfFilter(
112    NEXUS_VideoOutput output,
113    NEXUS_VideoDac dac,
114    NEXUS_VideoOutputVfFilter *pFilter /* [out] */
115    );
116
117/**
118Summary:
119Override default VF filter settings
120
121Description:
122You must specify the correct number of VF filter entries for your chip. This can be determined from the chip specification.
123**/
124NEXUS_Error NEXUS_VideoOutput_SetVfFilter(
125    NEXUS_VideoOutput output,
126    NEXUS_VideoDac dac,
127    const NEXUS_VideoOutputVfFilter *pFilter
128    );
129   
130/**
131Summary:
132Video output settings
133**/
134typedef struct NEXUS_VideoOutputSettings
135{
136    bool mute; /* send black by muting the CSC, but do not disable the DAC's. outputs will not lose sync. */
137} NEXUS_VideoOutputSettings;
138
139/**
140Summary:
141Get current video output
142
143Description:
144Output must be connected to a display to have an effect.
145**/
146void NEXUS_VideoOutput_GetSettings(
147    NEXUS_VideoOutput output,
148    NEXUS_VideoOutputSettings *pSettings
149    );
150   
151/**
152Summary:
153Set new video output
154
155Description:
156Output must be connected to a display to have an effect.
157**/
158NEXUS_Error NEXUS_VideoOutput_SetSettings(
159    NEXUS_VideoOutput output,
160    const NEXUS_VideoOutputSettings *pSettings
161    );
162   
163#ifdef __cplusplus
164}
165#endif
166
167#endif /* NEXUS_VIDEO_OUTPUT_H__ */
Note: See TracBrowser for help on using the repository browser.