blob: bc40bd5d8db292ee22efe4f6695e4e74c34ba5ea
1 | # Copyright (C) 2011 Amlogic Inc |
2 | # |
3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
4 | # you may not use this file except in compliance with the License. |
5 | # You may obtain a copy of the License at |
6 | # |
7 | # http://www.apache.org/licenses/LICENSE-2.0 |
8 | # |
9 | # Unless required by applicable law or agreed to in writing, software |
10 | # distributed under the License is distributed on an "AS IS" BASIS, |
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
12 | # See the License for the specific language governing permissions and |
13 | # limitations under the License. |
14 | |
15 | # |
16 | # This file is the build configuration for a full Android |
17 | # build for Meson reference board. |
18 | # |
19 | |
20 | # Set display related config |
21 | PRODUCT_PROPERTY_OVERRIDES += \ |
22 | ro.platform.has.mbxuimode=true \ |
23 | ro.platform.has.tvuimode=true \ |
24 | ro.platform.has.realoutputmode=true \ |
25 | ro.platform.customize_tvsetting=true \ |
26 | |
27 | #camera max to 720p |
28 | PRODUCT_PROPERTY_OVERRIDES += \ |
29 | #ro.camera.preview.MaxSize=1280x720 \ |
30 | #ro.camera.preview.LimitedRate=1280x720x30,640x480x30,320x240x28 |
31 | |
32 | #camera max to 1080p |
33 | PRODUCT_PROPERTY_OVERRIDES += \ |
34 | ro.camera.preview.MaxSize=1920x1080 \ |
35 | ro.camera.preview.LimitedRate=1920x1080x30,1280x720x30,640x480x30,320x240x28 \ |
36 | ro.camera.preview.UseMJPEG=1 |
37 | |
38 | #if TV SOC as mbox |
39 | PRODUCT_PROPERTY_OVERRIDES += \ |
40 | ro.tvsoc.as.mbox=true \ |
41 | ro.config.media_vol_steps=100 \ |
42 | |
43 | #if wifi Only |
44 | PRODUCT_PROPERTY_OVERRIDES += \ |
45 | ro.radio.noril=false |
46 | |
47 | #if need pppoe |
48 | PRODUCT_PROPERTY_OVERRIDES += \ |
49 | ro.net.pppoe=true |
50 | |
51 | #the prop is used for enable or disable |
52 | #DD+/DD force output when HDMI EDID is not supported |
53 | #by default,the force output mode is enabled. |
54 | #Note,please do not set the prop to true by default |
55 | #only for netflix,just disable the feature.so set the prop to true |
56 | PRODUCT_PROPERTY_OVERRIDES += \ |
57 | ro.platform.disable.audiorawout=false |
58 | |
59 | #this property is used for Android TV audio |
60 | PRODUCT_PROPERTY_OVERRIDES += \ |
61 | ro.platform.is.tv=1 |
62 | |
63 | #Dolby DD+ decoder option |
64 | #this prop to for videoplayer display the DD+/DD icon when playback |
65 | PRODUCT_PROPERTY_OVERRIDES += \ |
66 | ro.platform.support.dolby=true |
67 | |
68 | #DTS decoder option |
69 | #display dts icon when playback |
70 | PRODUCT_PROPERTY_OVERRIDES += \ |
71 | ro.platform.support.dts=true |
72 | |
73 | #DTS-HD support prop |
74 | PRODUCT_PROPERTY_OVERRIDES += \ |
75 | #ro.platform.support.dtstrans=true |
76 | |
77 | PRODUCT_PROPERTY_OVERRIDES += \ |
78 | #ro.platform.support.dtsmulasset=true |
79 | |
80 | #DTS-HD prop end |
81 | # Enable player buildin |
82 | PRODUCT_PROPERTY_OVERRIDES += \ |
83 | media.amplayer.seekkeyframe=true \ |
84 | media.amsuperplayer.enable=true \ |
85 | media.amplayer.enable-acodecs=ac3,eac3,rm,dts \ |
86 | media.amplayer.enable=true \ |
87 | media.amsuperplayer.m4aplayer=STAGEFRIGHT_PLAYER \ |
88 | media.amsuperplayer.defplayer=PV_PLAYER \ |
89 | media.amplayer.thumbnail=true \ |
90 | media.amplayer.dsource4local=1 \ |
91 | media.amplayer.dropwaitxms=100 \ |
92 | media.arm.audio.decoder=ape,flac,dts,ac3,eac3,wma,wmapro,mp3,aac,vorbis,raac,cook,amr,pcm,adpcm,aac_latm,rm \ |
93 | media.wfd.use-pcm-audio=false \ |
94 | media.wfd.videoresolution-type=1 \ |
95 | media.wfd.videoresolution-group=0 \ |
96 | media.wfd.videoframerate=24 \ |
97 | media.wfd.video-bitrate=2000000 \ |
98 | media.html5videowin.enable=1 \ |
99 | media.decoder.vfm.defmap=decoder ppmgr deinterlace amvideo \ |
100 | media.decoder.vfm.drmmap=decoder amvideo |
101 | |
102 | #platform support dolby vision |
103 | PRODUCT_PROPERTY_OVERRIDES += \ |
104 | ro.platform.support.dolbyvision=true |
105 | |
106 | #add for video boot, 1 means use video boot, others not . |
107 | PRODUCT_PROPERTY_OVERRIDES += \ |
108 | service.bootvideo=0 |
109 | |
110 | # Define drm for this device |
111 | PRODUCT_PROPERTY_OVERRIDES += \ |
112 | drm.service.enabled=1 |
113 | |
114 | #used forward seek for libplayer |
115 | PRODUCT_PROPERTY_OVERRIDES += \ |
116 | media.libplayer.seek.fwdsearch=1 |
117 | |
118 | #set memory upper limit for extractor process |
119 | PRODUCT_PROPERTY_OVERRIDES += \ |
120 | ro.media.maxmem=629145600 |
121 | |
122 | #fix hls sync |
123 | PRODUCT_PROPERTY_OVERRIDES += \ |
124 | libplayer.livets.softdemux=1 \ |
125 | libplayer.netts.recalcpts=1 |
126 | |
127 | #map volume |
128 | PRODUCT_PROPERTY_OVERRIDES += \ |
129 | ro.audio.mapvalue=0,0,0,0 |
130 | |
131 | #By default, primary storage is physical |
132 | #ro.vold.primary_physical=true |
133 | #Support storage visible to apps |
134 | PRODUCT_PROPERTY_OVERRIDES += \ |
135 | persist.fw.force_adoptable=true |
136 | |
137 | #use sdcardfs |
138 | PRODUCT_PROPERTY_OVERRIDES += \ |
139 | ro.sys.sdcardfs=true |
140 | |
141 | #add livhls,libcurl as default hls |
142 | PRODUCT_PROPERTY_OVERRIDES += \ |
143 | media.libplayer.curlenable=true \ |
144 | media.libplayer.modules=vhls_mod,dash_mod,curl_mod,prhls_mod,vm_mod,bluray_mod |
145 | |
146 | |
147 | #Hdmi In |
148 | PRODUCT_PROPERTY_OVERRIDES += \ |
149 | ro.sys.hdmiin.enable=true \ |
150 | mbx.hdmiin.switchfull=false \ |
151 | mbx.hdmiin.videolayer=false |
152 | |
153 | #adb |
154 | PRODUCT_PROPERTY_OVERRIDES += \ |
155 | service.adb.tcp.port=5555 |
156 |