source: svn/trunk/newcon3bcm2_21bu/nexus/modules/playback/playback.inc @ 2

Last change on this file since 2 was 2, checked in by jglee, 11 years ago

first commit

  • Property svn:executable set to *
File size: 7.5 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: playback.inc $
39# $brcm_Revision: 19 $
40# $brcm_Date: 9/22/11 4:44p $
41#
42# Module Description:
43#
44# Revision History:
45#
46# $brcm_Log: /nexus/modules/playback/playback.inc $
47#
48# 19   9/22/11 4:44p erickson
49# SW7420-1965: add simple decoder support to nexus playback module
50#
51# 18   9/22/11 12:26p jtna
52# SW7425-1333: use MEDIA_RMFF_SUPPORT flag
53#
54# 17   8/10/11 4:55p erickson
55# SWDTV-4755: reduce DEPENDENCY list, depend on recursion
56#
57# 16   4/27/11 6:20p vsilyaev
58# SW7425-232: Promote ATOM module to separate component
59#
60# 15   2/22/11 7:53p vsilyaev
61# SW7422-107: Added FLV mapping
62#
63# 14   10/20/10 11:07a vsilyaev
64# SW7422-14: Moved B_MEDIA_PLAYER_NAV to bmedia.inc
65#
66# 13   10/20/10 11:00a vsilyaev
67# SW7422-14: Fixed typo
68#
69# 12   10/19/10 1:36p vsilyaev
70# SW7422-14: use build specifier for bcmplayer/bcmindexer
71#
72# 11   10/19/10 1:08p vsilyaev
73# SW7422-14: use build specifier for bcmplayer/bcmindexer
74#
75# 10   9/22/10 12:39p jtna
76# SW7405-4865: moved bvlc.c and .h to magnum/commonutils/vlc
77#
78# 9   9/8/10 12:06p vsilyaev
79# SW7468-129: Added video decoder on ZSP
80#
81# 8   4/2/10 2:26p erickson
82# SW7405-4162: add BMEDIA_PROBE and BFILE_STDIO for ease of use
83#
84# 7   9/10/09 2:55p erickson
85# SW7335-529: remove unneeded variable
86#
87# 6   9/1/09 3:52p jgarrett
88# SW7335-529: Replacing direct access to MAGNUM_MODULES with
89#  NEXUS_EXTRA_MODULES to avoid magnum paths leaking into application
90#  include paths
91#
92# 5   8/29/08 5:48p vsilyaev
93# PR 33812: Added support for navigation in the MPEG-2 TS file without an
94#  index
95#
96# 4   4/18/08 4:03p vsilyaev
97# PR 41868: Added security API to playpump and recpump
98#
99# 3   4/17/08 4:26p vsilyaev
100# PR 41845: Hold playpump callbacks if not playing data
101#
102# 2   1/24/08 5:18p vsilyaev
103# PR 38682: Compile bmedia framework into the kernel
104#
105# 1   1/18/08 2:22p jgarrett
106# PR 38808: Merging to main branch
107#
108# Nexus_Devel/9   12/20/07 10:29a vsilyaev
109# PR 38073: Updated to work with new bmedia_player
110#
111# Nexus_Devel/PR38073/1   12/18/07 4:59p vsilyaev
112# PR 38073: Updated playback module to work exclusively with media player
113#
114# Nexus_Devel/8   12/5/07 12:45p vsilyaev
115# PR 37574: Added ASF and AVI modules
116#
117# Nexus_Devel/7   11/13/07 3:29p vsilyaev
118# PR 37015: Fixed dependency on sys/types.h
119#
120# Nexus_Devel/6   11/12/07 1:05p vsilyaev
121# PR 35824: Added more media modules
122#
123# Nexus_Devel/5   10/16/07 12:59p vsilyaev
124# PR 35824: Splitting playback into managable piecies
125#
126# Nexus_Devel/4   10/15/07 5:12p vsilyaev
127# PR 35824: Added module initialization
128#
129# Nexus_Devel/3   10/15/07 2:55p vsilyaev
130# PR 35824: Added synchronization thunk layer
131#
132# Nexus_Devel/2   10/11/07 6:25p vsilyaev
133# PR 35824: Added more playback code
134#
135# Nexus_Devel/1   10/10/07 4:56p vsilyaev
136# PR 35824: Playback module
137#
138############################################################
139
140#
141# Conditional Options for this Makefile
142#
143# MEDIA_ASF_SUPPORT - If y, ASF  is enabled
144# MEDIA_AVI_SUPPORT - If y, AVI/DIVX is enabled
145
146######################
147# Define this module #
148######################
149NEXUS_MODULES += PLAYBACK
150
151##################
152# Module Options #
153##################
154
155###################
156# Module Includes #
157###################
158NEXUS_PLAYBACK_PUBLIC_INCLUDES = $(NEXUS_TOP)/modules/playback/include
159NEXUS_PLAYBACK_PRIVATE_INCLUDES = $(NEXUS_TOP)/modules/playback/src
160
161##################
162# Module Sources #
163##################
164NEXUS_PLAYBACK_SOURCES = \
165    $(NEXUS_TOP)/modules/playback/src/nexus_playback.c \
166    $(NEXUS_TOP)/modules/playback/src/nexus_playback_flow.c \
167    $(NEXUS_TOP)/modules/playback/src/nexus_playback_media.c \
168    $(NEXUS_TOP)/modules/playback/src/nexus_playback_module.c \
169    $(NEXUS_TOP)/modules/playback/src/nexus_playback_trick.c
170
171# thunk layer
172NEXUS_PLAYBACK_PRIVATE_INCLUDES += $(NEXUS_SYNCTHUNK_DIR)
173NEXUS_PLAYBACK_SOURCES += $(NEXUS_SYNCTHUNK_DIR)/nexus_playback_thunks.c
174
175##################
176# Module Defines #
177##################
178
179#######################
180# Module Dependencies #
181#######################
182NEXUS_PLAYBACK_DEPENDENCIES := FILE VIDEO_DECODER AUDIO TRANSPORT DMA SIMPLE_DECODER
183
184NEXUS_PLAYBACK_MAGNUM_MODULES =  \
185    ${BSEAV}/lib/utils/batom.inc \
186    ${BSEAV}/lib/media/bmedia.inc \
187    ${BSEAV}/lib/bfile/bfile.inc
188
189
190ifeq ($(MEDIA_ASF_SUPPORT), y)
191NEXUS_PLAYBACK_MAGNUM_MODULES +=  \
192    ${BSEAV}/lib/asf/basf.inc
193endif
194
195ifeq ($(MEDIA_AVI_SUPPORT), y)
196NEXUS_PLAYBACK_MAGNUM_MODULES +=  \
197    ${BSEAV}/lib/avi/bavi.inc
198endif
199
200ifeq ($(MEDIA_FLV_SUPPORT), y)
201NEXUS_PLAYBACK_MAGNUM_MODULES +=  \
202    ${BSEAV}/lib/media/flv/bflv.inc
203endif
204
205ifeq ($(MEDIA_RMFF_SUPPORT), y)
206NEXUS_PLAYBACK_MAGNUM_MODULES +=  \
207    ${BSEAV}/lib/media/rmff/brmff.inc
208endif
209
210NEXUS_PLAYBACK_MAGNUM_MODULES +=  \
211    ${BSEAV}/lib/bcmplayer/bcmplayer.inc
212
213# BSEAV makefiles don't include their module names into MAGNUM_MODULES
214
215# modules that are also used in the trasport/playpump
216NEXUS_EXTRA_MODULES += BMEDIA BMEDIA_FILTER BATOM
217
218# playback only modules
219NEXUS_EXTRA_MODULES += BMEDIA_PLAYER BFILE BFILE_CACHE BFILE_MEDIA B_NAV_PLAYER B_MEDIA_NAV_PLAYER
220
221# These modules are not needed by nexus itself, but are part of the media framework and are
222# called directly by many apps.
223NEXUS_EXTRA_MODULES += BMEDIA_PROBE BFILE_STDIO
224
Note: See TracBrowser for help on using the repository browser.