video.mak
8.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
# Define source file lists to SRC_LIST
SRC_LIST =
SRC_LIST += hal\video\common\src\vcodec_v2_main.c
SRC_LIST += hal\video\common\src\vcodec_main.c
SRC_LIST += hal\video\common\src\video_codec_utility_v2.c
SRC_LIST += hal\video\renderer\src\video_renderer_task_thread_pool.c
ifneq ($(filter MULTI_MEDIA_EXIST, $(strip $(MODULE_DEFS))),)
SRC_LIST += hal\video\common\src\vfile_main.c \
hal\video\common\src\vsrc_main.c
endif
ifneq ($(filter __VIDEO_ARCHI_V2__, $(strip $(MODULE_DEFS))),)
SRC_LIST +=hal\video\common\src\video_buffer_management_v2.c \
hal\video\common\src\video_codec_custom_setting_v2.c \
hal\video\common\src\video_codec_custom_adapter_v2.c \
hal\video\common\src\video_comm_component_v2.c \
hal\video\common\src\video_comm_v2.c \
hal\video\common\src\video_dbg_v2.c \
hal\video\common\src\VideoCall_IL_Client.c \
hal\video\common\src\video_muxer_component_v2.c \
hal\video\common\src\avi_muxer_v2.c \
hal\video\vt_parser\src\video_vt_api_v2.c \
hal\video\custom\hal_custom_video.c \
hal\video\renderer\src\va2_comp_video_renderer.c \
hal\video\renderer\src\va2_util_buffer_header_queue.c \
hal\video\renderer\src\va2_util_misc.c \
hal\video\renderer\src\va2_video_renderer_vp.c \
hal\video\renderer\src\va2_video_renderer_vt.c \
hal\video\renderer\src\va2_display_api_adapter.c \
hal\video\renderer\src\stereo_video_color_transformation.c \
hal\video\common\src\video_codec_parser_utility_v2.c \
hal\video\common\src\mp4_muxer_adapter_buffer_management_v2.c \
hal\video\common\src\mp4_muxer_adapter_meta_creation_v2.c \
hal\video\common\src\mp4_muxer_adapter_v2.c \
hal\video\common\src\video_subtitle_decoder.c \
hal\video\common\src\video_subtitle_codec_if.c \
hal\video\common\src\video_subtitle_codec_ssa.c
# MT6236 VP
ifneq ($(filter MT6236, $(strip $(MODULE_DEFS))),)
SRC_LIST +=hal\video\renderer\src\va2_video_renderer_vp_mt6236.c
else
ifneq ($(filter MT6236B, $(strip $(MODULE_DEFS))),)
SRC_LIST +=hal\video\renderer\src\va2_video_renderer_vp_mt6236.c
endif
endif
# MT6250 VP
ifneq ($(filter MT6250, $(strip $(MODULE_DEFS))),)
SRC_LIST +=hal\video\renderer\src\va2_video_renderer_vp_mt6252.c
endif
# MT6260 VP
ifneq ($(filter MT6260, $(strip $(MODULE_DEFS))),)
SRC_LIST +=hal\video\renderer\src\va2_video_renderer_vp_mt6252.c
endif
# MT6261 VP
ifneq ($(filter MT6261, $(strip $(MODULE_DEFS))),)
SRC_LIST +=hal\video\renderer\src\va2_video_renderer_vp_mt6252.c
endif
# MT6252/MT6253 VP
ifneq ($(filter MT6253, $(strip $(MODULE_DEFS))),)
SRC_LIST +=hal\video\renderer\src\va2_video_renderer_vp_mt6253.c
else
ifneq ($(filter MT6253E, $(strip $(MODULE_DEFS))),)
SRC_LIST +=hal\video\renderer\src\va2_video_renderer_vp_mt6252.c
else
ifneq ($(filter MT6253L, $(strip $(MODULE_DEFS))),)
SRC_LIST +=hal\video\renderer\src\va2_video_renderer_vp_mt6252.c
else
ifneq ($(filter MT6252, $(strip $(MODULE_DEFS))),)
SRC_LIST +=hal\video\renderer\src\va2_video_renderer_vp_mt6252.c
else
ifneq ($(filter MT6252H, $(strip $(MODULE_DEFS))),)
SRC_LIST +=hal\video\renderer\src\va2_video_renderer_vp_mt6252.c
endif
endif
endif
endif
endif
# MT6268 VP
ifneq ($(filter MT6268, $(strip $(MODULE_DEFS))),)
SRC_LIST +=hal\video\renderer\src\va2_video_renderer_vp_mt6268.c
else
ifneq ($(filter MT6268H, $(strip $(MODULE_DEFS))),)
SRC_LIST +=hal\video\renderer\src\va2_video_renderer_vp_mt6268.c
endif
endif
# MT6276/MT6256/MT6255 VP
ifneq ($(filter MT6276, $(strip $(MODULE_DEFS))),)
SRC_LIST +=hal\video\renderer\src\va2_video_renderer_vp_mt6276.c
else
ifneq ($(filter MT6256_S00, $(strip $(MODULE_DEFS))),)
SRC_LIST +=hal\video\renderer\src\va2_video_renderer_vp_mt6276.c
else
ifneq ($(filter MT6256_S01, $(strip $(MODULE_DEFS))),)
SRC_LIST +=hal\video\renderer\src\va2_video_renderer_vp_mt6276.c
else
ifneq ($(filter MT6255, $(strip $(MODULE_DEFS))),)
SRC_LIST +=hal\video\renderer\src\va2_video_renderer_vp_mt6276.c
endif
endif
endif
endif
# MT6235 VP
ifneq ($(filter MT6235, $(strip $(MODULE_DEFS))),)
SRC_LIST +=hal\video\renderer\src\va2_video_renderer_vp_mt6235.c
else
ifneq ($(filter MT6235B, $(strip $(MODULE_DEFS))),)
SRC_LIST +=hal\video\renderer\src\va2_video_renderer_vp_mt6235.c
endif
endif
# MT6236 VT
ifneq ($(filter MT6236, $(strip $(MODULE_DEFS))),)
SRC_LIST +=hal\video\renderer\src\va2_video_renderer_vt_mt6236.c
else
ifneq ($(filter MT6236B, $(strip $(MODULE_DEFS))),)
SRC_LIST +=hal\video\renderer\src\va2_video_renderer_vt_mt6236.c
endif
endif
# MT6268/MT6255 VT
ifneq ($(filter MT6268, $(strip $(MODULE_DEFS))),)
SRC_LIST +=hal\video\renderer\src\va2_video_renderer_vt_mt6268.c
else
ifneq ($(filter MT6268H, $(strip $(MODULE_DEFS))),)
SRC_LIST +=hal\video\renderer\src\va2_video_renderer_vt_mt6268.c
else
ifneq ($(filter MT6255, $(strip $(MODULE_DEFS))),)
SRC_LIST +=hal\video\renderer\src\va2_video_renderer_vt_mt6268.c
endif
endif
endif
# MT6256 VT
ifneq ($(filter MT6256_S00, $(strip $(MODULE_DEFS))),)
SRC_LIST +=hal\video\renderer\src\va2_video_renderer_vt_mt6268.c
else
ifneq ($(filter MT6256_S01, $(strip $(MODULE_DEFS))),)
SRC_LIST +=hal\video\renderer\src\va2_video_renderer_vt_mt6268.c
endif
endif
# MT6276 VT
ifneq ($(filter MT6276, $(strip $(MODULE_DEFS))),)
SRC_LIST +=hal\video\renderer\src\va2_video_renderer_vt_mt6276.c
endif
# Video recoder - MPEG-4
ifneq ($(filter __MPEG4_ENC_SUPPORT__, $(strip $(MODULE_DEFS))),)
SRC_LIST += hal\video\common\src\video_recorder_clock_utility_v2.c \
hal\video\common\src\video_recorder_if_v2.c
endif
# Video recoder - MJPEG
ifneq ($(filter __AVI_ENC_SUPPORT__, $(strip $(MODULE_DEFS))),)
SRC_LIST += hal\video\common\src\video_recorder_clock_utility_v2.c \
hal\video\common\src\video_recorder_if_v2.c
endif
endif
SRC_LIST += \
hal\video\custom\custom_video_enc.c \
hal\video\custom\custom_video_enc_matv_mjpeg.c \
hal\video\custom\custom_video_enc_matv.c \
hal\video\custom\custom_video_enc_mjpeg.c \
hal\video\custom\custom_video_enc_mpeg4.c \
hal\video\custom\custom_video_enc_h264.c \
hal\video\custom\custom_video_enc_utility.c \
hal\video\custom\custom_video_enc_vt.c
# Define include path lists to INC_DIR
INC_DIR = hal\video\common\include \
hal\video\decoder\include \
hal\video\vt_parser\include \
hal\video_codec\interface\inc \
hal\video\mpl\inc \
hal\video\demuxer\provider\inc \
hal\video\demuxer\mp4_parser\inc \
hal\video\demuxer\avi_parser\inc \
interface\hal\video \
media\common\include \
drm\include \
plutommi\mtkapp\mtkappinc \
plutommi\Framework\GDI\gdiinc \
plutommi\mmi\inc \
plutommi\Framework\Interface \
applib\inet\engine\include \
sst\include \
applib\misc\include \
$(strip $(PS_FOLDER))\l4\uem\include \
interface\hwdrv \
vendor\player\ipeer\inc \
btstacka\inc \
btadp\include \
matv\inc \
custom\video \
hal\video\custom \
hal\mm_comm\inc \
hal\mdp\include \
hal\mdp\include\mt6253 \
hal\mdp\include\mt6252 \
hal\graphics\misc\inc \
hal\display \
interface\hal\display \
interface\hal\display\ddv1 \
interface\hal\system \
interface\hal\graphics \
hal\display\common\include \
hal\system\dcmgr\inc
# Define the specified compile options to COMP_DEFS
COMP_DEFS =