source: svn/newcon3bcm2_21bu/nexus/modules/video_decoder/7552/video_decoder.inc

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

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

  • Property svn:executable set to *
File size: 12.2 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: video_decoder.inc $
39# $brcm_Revision: 43 $
40# $brcm_Date: 11/3/11 5:41p $
41#
42# Module Description:
43#
44# Revision History:
45#
46# $brcm_Log: /nexus/modules/video_decoder/7435/video_decoder.inc $
47#
48# 43   11/3/11 5:41p mward
49# SW7435-7:  Add 7435.
50#
51# 42   10/25/11 5:28p katrep
52# SW7429-1:updated for 7429 bringup
53#
54# 41   7/22/11 11:17a erickson
55# SW7552-82: fix logic for OTFPVR_SUPPORT
56#
57# 40   7/11/11 2:27p nickh
58# SW7422-404: Security System test
59#
60# 39   6/20/11 5:41p jgarrett
61# SW7425-409: Merging VP6 support to main branch
62#
63# SW7425-409/1   6/6/11 7:16p jgarrett
64# SW7425-409: Adding DSP video decoder extensions for VDE
65#
66# 38   5/16/11 10:24a erickson
67# SWDEPRECATED-3571: fix OTFPVR_SUPPORT with kernel mode proxy
68#
69# 37   3/30/11 3:52p jhaberf
70# SW35330-13: enabled afl for 35233 DTV chip
71#
72# 36   2/25/11 10:39a gmohile
73# SW7408-210 : Check for NEXUS_POWER_MANAGEMENT=y
74#
75# 35   1/18/11 9:29a erickson
76# SW7358-26: add 7358
77#
78# SW7358-26/1   12/28/10 3:04p xhuang
79# SW7358-26: Add 7358/7552 support
80#
81# 34   12/15/10 12:03p erickson
82# SW35230-2585: reduce DEPENDENCY list, depend on recursion
83#
84# 33   12/2/10 11:45a katrep
85# SW7231-4:enabled afl for 7231,7346,7344
86#
87# 32   11/2/10 6:06p hongtaoz
88# SW7425-9: add 7425 support;
89#
90# 31   10/13/10 11:13a nickh
91# SW7422-73: Add commonutils/afl directory needed for loading new ARC600
92#  on 7422
93#
94# 30   9/22/10 12:39p jtna
95# SW7405-4865: moved bvlc.c and .h to magnum/commonutils/vlc
96#
97# 29   9/8/10 4:15p vsilyaev
98# SW7468-129: Postmerge fixes
99#
100# 28   9/8/10 12:25p vsilyaev
101# SW7468-129: Added video decoder on ZSP
102#
103# 27   8/10/10 1:12p erickson
104# SW3548-3022: switch to UDP (userdata parser) for userdata parsing
105#
106# 26   6/23/10 12:11p erickson
107# SW7550-453: refactor NEXUS_StripedSurface to use
108#  nexus_striped_surface.h API
109#
110# 25   2/25/10 6:06p gmohile
111# SW7405-2993 : Merge xdm support
112#
113# SW7405-2993/3   2/19/10 2:38p nilesh
114# SW7405-2993: Fixed duplicate clearcase keyword warning
115#
116# 24   11/24/09 1:06p erickson
117# SW7420-457: add REGION_VERIFICATION_SUPPORT compile time options
118#
119# SW7405-2993/1   11/20/09 4:47p nilesh
120# SW7405-2993: Added XDM commonutil
121#
122# 23   9/29/09 11:25a jtna
123# SWDEPRECATED-4001: add bvlc.c for kernelmode
124#
125# 22   9/16/09 1:41p erickson
126# SW7400-2511: add B_REFSW_ or NEXUS_ namespace to build variables
127#
128# 21   9/1/09 3:52p jgarrett
129# SW7335-529: Replacing direct access to MAGNUM_MODULES with
130#  NEXUS_EXTRA_MODULES to avoid magnum paths leaking into application
131#  include paths
132#
133# 20   7/15/09 1:55p erickson
134# PR56522: add nexus_video_decoder_primer.c
135#
136# 19   6/25/09 2:28p erickson
137# PR50407: default BXVD_POWER_MANAGEMENT on (XVD defaults it off)
138#
139# 17   4/8/09 4:54p vsilyaev
140# PR 54015: Don't include bkni_multi.h into the bdbg.h. All thread-aware
141#  modules should include explicitly bkni_multi.h
142#
143# 16   3/31/09 7:29p vsilyaev
144# PR 50887: OTFPVR support for the Nexus video decoder
145#
146# 15   3/16/09 11:27a yili
147# PR52990:Add region verification - Minor change to meet Nexus design
148#  guideline.
149#
150# 14   3/9/09 4:46p yili
151# PR52990:Adding region verification
152#
153# 13   12/31/08 1:27p erickson
154# PR50787: Allow NEXUS_POWER_MANAGEMENT to be a master switch
155#
156# 12   8/21/08 3:33p erickson
157# PR45959: flatten still_ext and trick_ext into normal code
158#
159# 11   8/21/08 3:16p katrep
160# PR45527: NEXUS_CONFIG_IMAGE implementation for runtime FW download
161#
162# 10   5/20/08 3:42p erickson
163# PR42128: added dataReadyCallback to ExtendedSettings
164#
165# 9   5/8/08 2:48p erickson
166# PR42438: derive NEXUS_VideoInputStatus.format for digital decode using
167#  common function
168#
169# 8   5/5/08 11:45a jrubio
170# PR40169: add still decode to 7335/7325
171#
172# 7   5/2/08 1:18p jrubio
173# PR42336: exclude 7335/7325 for the time being
174#
175# 6   4/29/08 6:02p jrubio
176# PR42336: make sure that if num of decodes is 0 then still is not
177#  compiled in
178#
179# 5   4/17/08 4:38p erickson
180# PR41533: rework NEXUS_VideoDecoder_GetUserDataBuffer to use
181#  NEXUS_UserDataHeader before payload
182#
183# 4   4/7/08 4:10p erickson
184# PR32888: added NEXUS_CRC_CAPTURE
185#
186# 3   3/25/08 12:54p erickson
187# PR40850: add more status
188#
189# 2   2/20/08 4:57p erickson
190# PR39786: initial impl
191#
192# 1   1/18/08 2:16p jgarrett
193# PR 38808: Merging to main branch
194#
195# Nexus_Devel/7   12/3/07 10:09a erickson
196# PR34926: reorg video_decoder extensions
197#
198# Nexus_Devel/6   10/15/07 3:23p vsilyaev
199# PR 35824: Added video_decoder module trick_ext exension
200#
201# Nexus_Devel/5   10/3/07 1:06p erickson
202# PR34926: impl userdata
203#
204# Nexus_Devel/4   9/28/07 1:20p erickson
205# PR35395: added video_decoder thunk
206#
207# Nexus_Devel/3   9/28/07 11:32a erickson
208# PR34926: rename videodecoder to video_decoder
209#
210# Nexus_Devel/2   9/26/07 11:01a erickson
211# PR34926: refactor implementation into _priv source file
212#
213# Nexus_Devel/1   9/14/07 4:14p erickson
214# PR34926: initial compile
215#
216############################################################
217
218#
219# Conditional Options for this Makefile
220#
221
222######################
223# Define this module #
224######################
225NEXUS_MODULES += VIDEO_DECODER
226
227##################
228# Module Options #
229##################
230
231###################
232# Module Includes #
233###################
234NEXUS_VIDEO_DECODER_PUBLIC_INCLUDES = $(NEXUS_TOP)/modules/video_decoder/${BCHP_CHIP}/include
235NEXUS_VIDEO_DECODER_PRECOMPILED_HEADER := $(NEXUS_TOP)/modules/video_decoder/${BCHP_CHIP}/src/nexus_video_decoder_module.h
236
237##################
238# Module Sources #
239##################
240NEXUS_VIDEO_DECODER_SOURCES := \
241    $(NEXUS_TOP)/modules/video_decoder/${BCHP_CHIP}/src/nexus_video_decoder.c \
242    $(NEXUS_TOP)/modules/video_decoder/${BCHP_CHIP}/src/nexus_video_decoder_avd_interface.c \
243    $(NEXUS_TOP)/modules/video_decoder/${BCHP_CHIP}/src/nexus_video_decoder_common.c \
244    $(NEXUS_TOP)/modules/video_decoder/${BCHP_CHIP}/src/nexus_video_decoder_extra.c \
245    $(NEXUS_TOP)/modules/video_decoder/${BCHP_CHIP}/src/nexus_video_decoder_userdata.c \
246    $(NEXUS_TOP)/modules/video_decoder/${BCHP_CHIP}/src/nexus_video_decoder_priv.c \
247    $(NEXUS_TOP)/modules/video_decoder/${BCHP_CHIP}/src/nexus_video_decoder_primer.c \
248    $(NEXUS_TOP)/modules/video_decoder/${BCHP_CHIP}/src/nexus_still_decoder.c \
249    $(NEXUS_TOP)/modules/video_decoder/${BCHP_CHIP}/src/nexus_still_decoder_priv.c \
250    $(NEXUS_TOP)/modules/video_decoder/${BCHP_CHIP}/src/nexus_video_decoder_trick.c
251
252
253# Look for DSP video decoder first
254ifneq ($(findstring NEXUS_NUM_DSP_VIDEO_DECODERS, $(NEXUS_PLATFORM_DEFINES)),)
255include ${NEXUS_TOP}/extensions/video_decoder/dsp_video_decoder/${BCHP_CHIP}/dsp_video_decoder.inc
256NEXUS_VIDEO_DECODER_SOURCES += \
257    $(NEXUS_TOP)/modules/video_decoder/${BCHP_CHIP}/src/nexus_video_decoder_dispatch.c 
258NEXUS_VIDEO_DECODER_SOURCES += \
259    $(NEXUS_TOP)/modules/video_decoder/${BCHP_CHIP}/src/nexus_video_decoder_xdm.c
260
261-include ${NEXUS_TOP}/modules/video_decoder/${BCHP_CHIP}/softdecode_ext/softdecode_ext.inc
262else
263# No DSP video decoder, Look for ZSP video decoder
264ifneq ($(findstring NEXUS_NUM_ZSP_VIDEO_DECODERS, $(NEXUS_PLATFORM_DEFINES)),)
265include ${NEXUS_TOP}/modules/video_decoder/${BCHP_CHIP}/zspdecode_ext/zspdecode_ext.inc
266NEXUS_VIDEO_DECODER_SOURCES += \
267    $(NEXUS_TOP)/modules/video_decoder/${BCHP_CHIP}/src/nexus_video_decoder_dispatch.c 
268NEXUS_VIDEO_DECODER_SOURCES += \
269    $(NEXUS_TOP)/modules/video_decoder/${BCHP_CHIP}/src/nexus_video_decoder_xdm.c
270
271-include ${NEXUS_TOP}/modules/video_decoder/${BCHP_CHIP}/softdecode_ext/softdecode_ext.inc
272else
273#NO ZSP/DSP video decoder
274NEXUS_VIDEO_DECODER_SOURCES += \
275    $(NEXUS_TOP)/modules/video_decoder/${BCHP_CHIP}/src/nexus_video_decoder_avd.c
276endif
277
278endif
279
280
281# thunk layer
282NEXUS_VIDEO_DECODER_PRIVATE_INCLUDES += \
283    $(NEXUS_TOP)/modules/video_decoder/${BCHP_CHIP}/src $(NEXUS_SYNCTHUNK_DIR)
284
285NEXUS_VIDEO_DECODER_SOURCES += $(NEXUS_SYNCTHUNK_DIR)/nexus_video_decoder_thunks.c
286
287ifeq ($(NEXUS_CRC_CAPTURE),y)
288NEXUS_VIDEO_DECODER_DEFINES += NEXUS_CRC_CAPTURE=1
289endif
290
291
292#######################
293# Module Dependencies #
294#######################
295NEXUS_VIDEO_DECODER_DEPENDENCIES += TRANSPORT SURFACE
296
297######################
298# Module Definitions #
299######################
300
301ifeq ($(NEXUS_CONFIG_IMAGE),y)
302ifeq ($(NEXUS_MODE),proxy)
303BXVD_IMG_ONLY := y
304else
305BXVD_IMG_EXTERNAL := y
306endif
307endif
308
309# Allow NEXUS_POWER_MANAGEMENT to be a master switch
310ifneq ($(NEXUS_POWER_MANAGEMENT),y)
311BXVD_POWER_MANAGEMENT := n
312else
313# XVD defaults off for settops, so force it on
314BXVD_POWER_MANAGEMENT := y
315endif
316
317##################
318# Magnum Modules #
319##################
320# These modules will be excluded from app-only builds
321# Note that we have to include vbilib and vbi just to get dccparse.
322NEXUS_VIDEO_DECODER_MAGNUM_MODULES :=  \
323    $(MAGNUM)/portinginterface/xvd/bxvd.inc \
324    $(MAGNUM)/portinginterface/vbi/bvbi.inc \
325    $(MAGNUM)/commonutils/img/bimg.inc \
326    $(MAGNUM)/commonutils/xdm/bxdm.inc \
327    $(MAGNUM)/commonutils/udp/budp.inc \
328    $(MAGNUM)/commonutils/vlc/bvlc.inc
329
330# Used to load the new ARC600 based decoder
331ifeq ($(filter $(BCHP_CHIP), 7422 7425 7429 7435 7231 7346 7344 7358 7552 35233), $(BCHP_CHIP))
332NEXUS_VIDEO_DECODER_MAGNUM_MODULES +=  \
333    $(MAGNUM)/commonutils/afl/bafl.inc
334endif
335
336
337ifeq ($(OTFPVR_SUPPORT),y)
338NEXUS_VIDEO_DECODER_MAGNUM_MODULES += ${BSEAV}/lib/otfpvr/botfpvr.inc
339# BSEAV makefiles don't include their module names into MAGNUM_MODULES. must conditionally include into the driver, not proxy.
340ifneq ($(findstring $(NEXUS_MODE),proxy client),)
341else
342NEXUS_EXTRA_MODULES += BOTFPVR
343endif
344NEXUS_VIDEO_DECODER_DEFINES += NEXUS_OTFPVR=1
345NEXUS_VIDEO_DECODER_SOURCES += $(NEXUS_TOP)/modules/video_decoder/${BCHP_CHIP}/src/nexus_video_decoder_otf_trick.c
346endif
347
348VIDEO_CALLBACK := n
349ifeq ($(VIDEO_REGION_VERIFICATION_SUPPORT),y)
350VIDEO_CALLBACK := y
351endif
352ifeq ($(VICH_SUPPORT),y)
353VIDEO_CALLBACK := y
354endif
355
356
357ifeq ($(VIDEO_CALLBACK),y)
358include $(NEXUS_VIDEO_DECODER_SECURITY_EXTENSION_INC)
359endif
360
361#####################
362# Module Extensions #
363#####################
364ifneq ($(NEXUS_VIDEO_DECODER_EXTENSION_INC),)
365include $(NEXUS_VIDEO_DECODER_EXTENSION_INC)
366endif
367
Note: See TracBrowser for help on using the repository browser.