source: svn/newcon3bcm2_21bu/nexus/modules/display/7552/include/nexus_svideo_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.8 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_svideo_output.h $
39 * $brcm_Revision: 7 $
40 * $brcm_Date: 7/25/11 3:00p $
41 *
42 * Module Description:
43 *
44 * Revision History:
45 *
46 * $brcm_Log: /nexus/modules/display/7400/include/nexus_svideo_output.h $
47 *
48 * 7   7/25/11 3:00p jhaberf
49 * SWDTV-8043: added null_allowed attribute for some APIs
50 *
51 * 6   5/13/11 12:17p erickson
52 * SW7420-1873: remove shutdown attribute
53 *
54 * 5   2/7/08 11:16p vsilyaev
55 * PR 38682: Added linux kernel/proxy support for 93563 platform
56 *
57 * 4   2/6/08 12:42p vsilyaev
58 * PR 38682: Added attributes for the linux/kernel proxy mode
59 *
60 * 3   1/23/08 9:22p vobadm
61 * PR35457: update docs
62 *
63 * 2   1/23/08 2:39p erickson
64 * PR35457: update docs
65 *
66 * 1   1/18/08 2:16p jgarrett
67 * PR 38808: Merging to main branch
68 *
69 * Nexus_Devel/8   11/30/07 10:52a erickson
70 * PR35457: api update
71 *
72 * Nexus_Devel/7   11/2/07 4:42p vsilyaev
73 * PR 36696: Used connector model for VideoInput's and VideoOutput's
74 *
75 * Nexus_Devel/6   10/4/07 1:09p vsilyaev
76 * PR 34662: Removed VideoOutputDesc
77 *
78 * Nexus_Devel/5   9/25/07 12:33p vsilyaev
79 * PR 34662: Fixed warnings
80 *
81 * Nexus_Devel/4   9/17/07 6:48p vsilyaev
82 * PR 34662: Coded more implementation
83 *
84 * Nexus_Devel/3   9/12/07 1:52p vsilyaev
85 * PR 34419: Updated display API
86 *
87 * Nexus_Devel/2   9/10/07 4:35p vsilyaev
88 * PR 34662: Added nexus_display_types.h
89 *
90 * Nexus_Devel/1   9/10/07 2:42p vsilyaev
91 * PR 34419: Video display interface
92 *
93 *
94 **************************************************************************/
95#ifndef NEXUS_SVIDEO_OUTPUT_H__
96#define NEXUS_SVIDEO_OUTPUT_H__
97
98#include "nexus_display_types.h"
99
100#ifdef __cplusplus
101extern "C" {
102#endif
103
104/**
105Summary:
106Handle for the S-video output interface.
107**/
108typedef struct NEXUS_SvideoOutput *NEXUS_SvideoOutputHandle;
109
110/**
111Summary:
112Settings for Svideo output interface
113**/
114typedef struct NEXUS_SvideoOutputSettings
115{
116    NEXUS_VideoDac dacY;
117    NEXUS_VideoDac dacC;
118} NEXUS_SvideoOutputSettings;
119
120/*
121Summary:
122Get default settings for the structure.
123
124Description:
125This is required in order to make application code resilient to the addition of new strucutre members in the future.
126*/
127void NEXUS_SvideoOutput_GetDefaultSettings(
128    NEXUS_SvideoOutputSettings *pSettings    /* [out] Settings */
129    );
130
131/**
132Summary:
133Open a new Svideo output interface
134**/
135NEXUS_SvideoOutputHandle NEXUS_SvideoOutput_Open( /* attr{destructor=NEXUS_SvideoOutput_Close}  */
136    unsigned index,
137    const NEXUS_SvideoOutputSettings *pSettings /* attr{null_allowed=y} */
138    );
139
140/**
141Summary:
142Close the SvideoOutput interface
143**/
144void NEXUS_SvideoOutput_Close(
145    NEXUS_SvideoOutputHandle output
146    );
147
148
149/**
150Summary:
151Get current settings
152**/
153void NEXUS_SvideoOutput_GetSettings(
154    NEXUS_SvideoOutputHandle output, 
155    NEXUS_SvideoOutputSettings *pSettings    /* [out] Settings */
156    );
157
158/**
159Summary:
160Apply new settings
161**/
162NEXUS_Error NEXUS_SvideoOutput_SetSettings(
163    NEXUS_SvideoOutputHandle output, 
164    const NEXUS_SvideoOutputSettings *pSettings   
165    );
166
167/**
168Summary:
169Returns the abstract NEXUS_VideoOutput connector for this Interface.
170The NEXUS_VideoOutput connector is added to a Display in order to route that Displa's video to the output.
171
172Description:
173Used in NEXUS_Display_AddOutput
174**/
175NEXUS_VideoOutput NEXUS_SvideoOutput_GetConnector(
176    NEXUS_SvideoOutputHandle output
177    );
178
179#ifdef __cplusplus
180}
181#endif
182
183#endif /* NEXUS_SVIDEO_OUTPUT_H__ */
Note: See TracBrowser for help on using the repository browser.