Update audio and media configs for rel-shield-r

Involves splitting the audio policy for atv and mobile targets

Change-Id: If05aa56e60fd33831768cbe89cd3280895325bd7
This commit is contained in:
Aaron Kling committed 2022-03-02 14:36:29 -06:00
1 parent 1d2c8e0896
commit 7af376b654
9 files changed
+358 -104

No files matched your search

+8
View File
@@ -26,11 +26,19 @@ include $(CLEAR_VARS)
LOCAL_MODULE := audio_policy_configuration.xml
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_CLASS := ETC
ifeq ($(PRODUCT_IS_ATV),true)
ifeq ($(TARGET_TEGRA_DOLBY),true)
LOCAL_SRC_FILES := audio_policy_configuration_nv_tv.xml
else
LOCAL_SRC_FILES := audio_policy_configuration_nv_tv_nodolby.xml
endif
else
ifeq ($(TARGET_TEGRA_DOLBY),true)
LOCAL_SRC_FILES := audio_policy_configuration_nv.xml
else
LOCAL_SRC_FILES := audio_policy_configuration_nv_nodolby.xml
endif
endif
LOCAL_VENDOR_MODULE := true
include $(BUILD_PREBUILT)
+2 -1
View File
@@ -48,6 +48,7 @@
<module name="primary" halVersion="2.0">
<attachedDevices>
<item>Speaker</item>
<item>Built-In Mic</item>
</attachedDevices>
<defaultOutputDevice>Speaker</defaultOutputDevice>
@@ -77,7 +78,7 @@
<!-- Capture routes -->
<route type="mix" sink="primary_input"
sources="BT SCO Headset Mic,Digital Dock HS Mic,AudioIP-In"/>
sources="Built-In Mic,BT SCO Headset Mic,Digital Dock HS Mic,AudioIP-In"/>
</routes>
</module>
@@ -48,6 +48,7 @@
<module name="primary" halVersion="2.0">
<attachedDevices>
<item>Speaker</item>
<item>Built-In Mic</item>
</attachedDevices>
<defaultOutputDevice>Speaker</defaultOutputDevice>
@@ -77,7 +78,7 @@
<!-- Capture routes -->
<route type="mix" sink="primary_input"
sources="BT SCO Headset Mic,Digital Dock HS Mic,AudioIP-In"/>
sources="Built-In Mic,BT SCO Headset Mic,Digital Dock HS Mic,AudioIP-In"/>
</routes>
</module>
+126
View File
@@ -0,0 +1,126 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!-- Copyright (C) 2015 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!-- Copyright (C) 2018-2021 NVIDIA Corporation. All rights reserved. -->
<audioPolicyConfiguration version="1.0" xmlns:xi="http://www.w3.org/2001/XInclude">
<!-- version section contains a “version” tag in the form “major.minor” e.g version=”1.0” -->
<!-- Global configuration Decalaration -->
<!--globalConfiguration speaker_drc_enabled="true"/-->
<!-- Modules section:
There is one section per audio HW module present on the platform.
Each module section will contains two mandator y tags for audio HAL “halVersion” and “name”.
The module names are the same as in current .conf file:
“primary”, “A2DP”, “remote_submix”, “USB”
Each module will contain the following sections:
“devicePorts”: a list of device descriptors for all input and output devices accessible via this
module.
This contains both permanently attached devices and removable devices.
“mixPorts”: listing all output and input streams exposed by the audio HAL
“routes”: list of possible connections between input and output devices or between stream and
devices.
"route": is defined by an attribute:
-"type": <mux|mix> means all sources are mutual exclusive (mux) or can be mixed (mix)
-"sink": the sink involved in this route
-"sources": all the sources than can be connected to the sink via vis route
“attachedDevices”: permanently attached devices.
The attachedDevices section is a list of devices names. The names correspond to device names
defined in <devicePorts> section.
“defaultOutputDevice”: device to be used by default when no policy rule applies
-->
<modules>
<!-- Primary Audio HAL -->
<module name="primary" halVersion="2.0">
<attachedDevices>
<item>DummySpeaker</item>
<item>Built-In Mic</item>
</attachedDevices>
<defaultOutputDevice>DummySpeaker</defaultOutputDevice>
<!-- Primary HAL mixPorts and devicePorts -->
<xi:include href="primary_module_mixports.xml"/>
<xi:include href="primary_module_deviceports_tv.xml"/>
<!-- route declaration, i.e. list all available sources for a given sink -->
<routes>
<!-- Playback routes -->
<route type="mix" sink="DummySpeaker"
sources="primary_output"/>
<route type="mix" sink="AUX Digital"
sources="primary_output,multichannel,passthrough,hra"/>
<route type="mix" sink="Digital Dock HS"
sources="primary_output"/>
<!-- Capture routes -->
<route type="mix" sink="primary_input"
sources="Built-In Mic,Digital Dock HS Mic"/>
</routes>
</module>
<!-- A2dp Audio HAL -->
<module name="a2dp" halVersion="2.0">
<xi:include href="a2dp_module_mixports.xml"/>
<xi:include href="a2dp_module_deviceports.xml"/>
<routes>
<route type="mix" sink="BT A2DP Out"
sources="a2dp output"/>
<route type="mix" sink="BT A2DP Headphones"
sources="a2dp output"/>
<route type="mix" sink="BT A2DP Speaker"
sources="a2dp output"/>
</routes>
</module>
<!-- Usb Audio HAL -->
<module name="usb" halVersion="2.0">
<xi:include href="usb_module_mixports.xml"/>
<xi:include href="usb_module_deviceports.xml"/>
<routes>
<route type="mix" sink="USB Host Out"
sources="usb_accessory output"/>
<route type="mix" sink="USB Device Out"
sources="usb_device output,usb_passthrough"/>
<route type="mix" sink="USB Headset Out"
sources="usb_device output,usb_passthrough"/>
<route type="mix" sink="usb_device input"
sources="USB Device In,USB Headset In"/>
</routes>
</module>
<!-- Remote Submix Audio HAL -->
<xi:include href="r_submix_audio_policy_configuration.xml"/>
<!-- MSD Audio HAL -->
<xi:include href="msd_audio_policy_configuration.xml"/>
</modules>
<!-- End of Modules section -->
<!-- Volume section -->
<xi:include href="ne_audio_policy_volumes.xml"/>
<xi:include href="ne_default_volume_tables.xml"/>
<!-- End of Volume section -->
<!-- Surround Sound configuration -->
<xi:include href="surround_sound_configuration_5_0.xml"/>
<!-- End of Surround Sound configuration -->
</audioPolicyConfiguration>
@@ -0,0 +1,124 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!-- Copyright (C) 2015 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!-- Copyright (C) 2018-2021 NVIDIA Corporation. All rights reserved. -->
<audioPolicyConfiguration version="1.0" xmlns:xi="http://www.w3.org/2001/XInclude">
<!-- version section contains a “version” tag in the form “major.minor” e.g version=”1.0” -->
<!-- Global configuration Decalaration -->
<!--globalConfiguration speaker_drc_enabled="true"/-->
<!-- Modules section:
There is one section per audio HW module present on the platform.
Each module section will contains two mandator y tags for audio HAL “halVersion” and “name”.
The module names are the same as in current .conf file:
“primary”, “A2DP”, “remote_submix”, “USB”
Each module will contain the following sections:
“devicePorts”: a list of device descriptors for all input and output devices accessible via this
module.
This contains both permanently attached devices and removable devices.
“mixPorts”: listing all output and input streams exposed by the audio HAL
“routes”: list of possible connections between input and output devices or between stream and
devices.
"route": is defined by an attribute:
-"type": <mux|mix> means all sources are mutual exclusive (mux) or can be mixed (mix)
-"sink": the sink involved in this route
-"sources": all the sources than can be connected to the sink via vis route
“attachedDevices”: permanently attached devices.
The attachedDevices section is a list of devices names. The names correspond to device names
defined in <devicePorts> section.
“defaultOutputDevice”: device to be used by default when no policy rule applies
-->
<modules>
<!-- Primary Audio HAL -->
<module name="primary" halVersion="2.0">
<attachedDevices>
<item>DummySpeaker</item>
<item>Built-In Mic</item>
</attachedDevices>
<defaultOutputDevice>DummySpeaker</defaultOutputDevice>
<!-- Primary HAL mixPorts and devicePorts -->
<xi:include href="primary_module_mixports.xml"/>
<xi:include href="primary_module_deviceports_tv.xml"/>
<!-- route declaration, i.e. list all available sources for a given sink -->
<routes>
<!-- Playback routes -->
<route type="mix" sink="DummySpeaker"
sources="primary_output"/>
<route type="mix" sink="AUX Digital"
sources="primary_output,multichannel,passthrough,hra"/>
<route type="mix" sink="Digital Dock HS"
sources="primary_output"/>
<!-- Capture routes -->
<route type="mix" sink="primary_input"
sources="Built-In Mic,Digital Dock HS Mic"/>
</routes>
</module>
<!-- A2dp Audio HAL -->
<module name="a2dp" halVersion="2.0">
<xi:include href="a2dp_module_mixports.xml"/>
<xi:include href="a2dp_module_deviceports.xml"/>
<routes>
<route type="mix" sink="BT A2DP Out"
sources="a2dp output"/>
<route type="mix" sink="BT A2DP Headphones"
sources="a2dp output"/>
<route type="mix" sink="BT A2DP Speaker"
sources="a2dp output"/>
</routes>
</module>
<!-- Usb Audio HAL -->
<module name="usb" halVersion="2.0">
<xi:include href="usb_module_mixports.xml"/>
<xi:include href="usb_module_deviceports.xml"/>
<routes>
<route type="mix" sink="USB Host Out"
sources="usb_accessory output"/>
<route type="mix" sink="USB Device Out"
sources="usb_device output,usb_passthrough"/>
<route type="mix" sink="USB Headset Out"
sources="usb_device output,usb_passthrough"/>
<route type="mix" sink="usb_device input"
sources="USB Device In,USB Headset In"/>
</routes>
</module>
<!-- Remote Submix Audio HAL -->
<xi:include href="r_submix_audio_policy_configuration.xml"/>
</modules>
<!-- End of Modules section -->
<!-- Volume section -->
<xi:include href="ne_audio_policy_volumes.xml"/>
<xi:include href="ne_default_volume_tables.xml"/>
<!-- End of Volume section -->
<!-- Surround Sound configuration -->
<xi:include href="surround_sound_configuration_5_0.xml"/>
<!-- End of Surround Sound configuration -->
</audioPolicyConfiguration>
+50 -9
View File
@@ -86,11 +86,13 @@ Only the three quirks included above are recognized at this point:
<Limit name="block-size" value="16x16" />
<Limit name="blocks-per-second" min="1" max="244800" />
<Limit name="bitrate" range="1-10000000" />
<Limit name="performance-point-1920x1080" value="240" />
<Feature name="adaptive-playback" />
</MediaCodec>
<MediaCodec name="OMX.Nvidia.h263.decode" type="video/3gpp" >
<Limit name="size" min="48x48" max="720x576" />
<Limit name="alignment" value="2x2" />
<Limit name="performance-point-1920x1080" value="240" />
<Feature name="adaptive-playback" />
</MediaCodec>
<MediaCodec name="OMX.Nvidia.h264.decode" type="video/avc" >
@@ -99,6 +101,8 @@ Only the three quirks included above are recognized at this point:
<Limit name="block-size" value="16x16" />
<Limit name="blocks-per-second" min="1" max="2000000" />
<Limit name="bitrate" range="1-120000000" />
<Limit name="performance-point-1920x1080" value="240" />
<Limit name="performance-point-3840x2160" value="60" />
<Feature name="adaptive-playback" />
</MediaCodec>
<MediaCodec name="OMX.Nvidia.h264.decode.secure" type="video/avc" >
@@ -107,6 +111,8 @@ Only the three quirks included above are recognized at this point:
<Limit name="block-size" value="16x16" />
<Limit name="blocks-per-second" min="1" max="2000000" />
<Limit name="bitrate" range="1-120000000" />
<Limit name="performance-point-1920x1080" value="240" />
<Limit name="performance-point-3840x2160" value="60" />
<Feature name="adaptive-playback" />
<Feature name="secure-playback" required="true" />
</MediaCodec>
@@ -116,6 +122,8 @@ Only the three quirks included above are recognized at this point:
<Limit name="block-size" value="16x16" />
<Limit name="blocks-per-second" min="1" max="783360" />
<Limit name="bitrate" range="1-120000000" />
<Limit name="performance-point-1920x1080" value="240" />
<Limit name="performance-point-3840x2160" value="60" />
<Feature name="adaptive-playback" />
</MediaCodec>
<MediaCodec name="OMX.Nvidia.vp9.decode" type="video/x-vnd.on2.vp9" >
@@ -124,6 +132,7 @@ Only the three quirks included above are recognized at this point:
<Limit name="block-size" value="16x16" />
<Limit name="blocks-per-second" min="1" max="2000000" />
<Limit name="bitrate" range="1-120000000" />
<Limit name="performance-point-3840x2160" value="60" />
<Feature name="adaptive-playback" />
</MediaCodec>
<MediaCodec name="OMX.Nvidia.vp9.decode.secure" type="video/x-vnd.on2.vp9" >
@@ -133,6 +142,7 @@ Only the three quirks included above are recognized at this point:
<Limit name="blocks-per-second" min="1" max="2000000" />
<Limit name="bitrate" range="1-120000000" />
<Feature name="adaptive-playback" />
<Limit name="performance-point-3840x2160" value="60" />
<Feature name="secure-playback" required="true" />
</MediaCodec>
<MediaCodec name="OMX.Nvidia.h265.decode" type="video/hevc" >
@@ -141,14 +151,27 @@ Only the three quirks included above are recognized at this point:
<Limit name="block-size" value="16x16" />
<Limit name="blocks-per-second" min="1" max="2000000" />
<Limit name="bitrate" range="1-120000000" />
<Limit name="performance-point-3840x2160" value="60" />
<Feature name="adaptive-playback" />
</MediaCodec>
<MediaCodec name="OMX.Nvidia.h265.decode.secure" type="video/hevc" >
<Limit name="size" min="144x144" max="3840x2176" />
<Limit name="alignment" value="2x2" />
<Limit name="block-size" value="16x16" />
<Limit name="blocks-per-second" min="1" max="2000000" />
<Limit name="bitrate" range="1-120000000" />
<Limit name="performance-point-3840x2160" value="60" />
<Feature name="adaptive-playback" />
<Feature name="secure-playback" required="true" />
</MediaCodec>
<MediaCodec name="OMX.Nvidia.mpeg2v.decode" type="video/mpeg2" >
<Limit name="size" min="32x32" max="3840x2176" />
<Limit name="alignment" value="2x2" />
<Limit name="block-size" value="16x16" />
<Limit name="blocks-per-second" min="1" max="2000000" />
<Limit name="bitrate" range="1-120000000" />
<Limit name="performance-point-1920x1080" value="240" />
<Limit name="performance-point-3840x2160" value="60" />
<Feature name="adaptive-playback" />
</MediaCodec>
@@ -164,17 +187,28 @@ Only the three quirks included above are recognized at this point:
</MediaCodec>
<MediaCodec name="OMX.Nvidia.vc1.decode" >
<Type name="video/x-ms-wmv" />
<Type name="video/wvc1" />
<Limit name="size" min="32x32" max="3840x2176" />
<Limit name="alignment" value="2x2" />
<Limit name="block-size" value="16x16" />
<Limit name="blocks-per-second" min="1" max="783360" />
<Limit name="bitrate" range="1-120000000" />
<Feature name="adaptive-playback" />
<Type name="video/x-ms-wmv" >
<Limit name="size" min="32x32" max="3840x2176" />
<Limit name="alignment" value="2x2" />
<Limit name="block-size" value="16x16" />
<Limit name="blocks-per-second" min="1" max="783360" />
<Limit name="bitrate" range="1-120000000" />
<Limit name="performance-point-1920x1080" value="240" />
<Feature name="adaptive-playback" />
</Type>
<Type name="video/wvc1" >
<Limit name="size" min="32x32" max="3840x2176" />
<Limit name="alignment" value="2x2" />
<Limit name="block-size" value="16x16" />
<Limit name="blocks-per-second" min="1" max="783360" />
<Limit name="bitrate" range="1-120000000" />
<Limit name="performance-point-1920x1080" value="240" />
<Feature name="adaptive-playback" />
</Type>
</MediaCodec>
<MediaCodec name="OMX.Nvidia.mjpeg.decoder" type="video/mjpeg" >
<MediaCodec name="OMX.Nvidia.mjpeg.decoder" type="video/x-motion-jpeg" >
<Limit name="block-size" value="16x16" />
<Limit name="performance-point-1920x1080" value="30" />
<Feature name="adaptive-playback" />
</MediaCodec>
<MediaCodec name="OMX.Nvidia.DOVI.decode" type="video/dolby-vision" >
@@ -183,6 +217,7 @@ Only the three quirks included above are recognized at this point:
<Limit name="block-size" value="16x16" />
<Limit name="blocks-per-second" min="1" max="2000000" />
<Limit name="bitrate" range="1-120000000" />
<Limit name="performance-point-3840x2160" value="60" />
<Feature name="adaptive-playback" />
</MediaCodec>
<MediaCodec name="OMX.Nvidia.DOVI.decode.secure" type="video/dolby-vision" >
@@ -191,6 +226,7 @@ Only the three quirks included above are recognized at this point:
<Limit name="block-size" value="16x16" />
<Limit name="blocks-per-second" min="1" max="2000000" />
<Limit name="bitrate" range="1-120000000" />
<Limit name="performance-point-3840x2160" value="60" />
<Feature name="adaptive-playback" />
<Feature name="secure-playback" required="true" />
</MediaCodec>
@@ -203,6 +239,8 @@ Only the three quirks included above are recognized at this point:
<Limit name="block-size" value="16x16" />
<Limit name="blocks-per-second" min="1" max="783360" />
<Limit name="bitrate" range="1-50000000" />
<Limit name="performance-point-1920x1080" value="240" />
<Limit name="performance-point-3840x2160" value="30" />
<Feature name="bitrate-modes" value="VBR,CBR" />
</MediaCodec>
<MediaCodec name="OMX.Nvidia.h265.encoder" >
@@ -213,6 +251,7 @@ Only the three quirks included above are recognized at this point:
<Limit name="blocks-per-second" min="1" max="783360" />
<Limit name="bitrate" range="1-50000000" />
<Limit name="quality" range="0-100" default="45" />
<Limit name="performance-point-3840x2160" value="30" />
<Feature name="bitrate-modes" value="VBR,CBR,CQ" />
</Type>
<Type name="image/vnd.android.heic" >
@@ -222,6 +261,7 @@ Only the three quirks included above are recognized at this point:
<Limit name="blocks-per-second" min="1" max="783360" />
<Limit name="bitrate" range="1-50000000" />
<Limit name="quality" range="0-100" default="45" />
<Limit name="performance-point-3840x2160" value="30" />
<Feature name="bitrate-modes" value="VBR,CBR,CQ" />
</Type>
</MediaCodec>
@@ -231,6 +271,7 @@ Only the three quirks included above are recognized at this point:
<Limit name="block-size" value="16x16" />
<Limit name="blocks-per-second" min="1" max="783360" />
<Limit name="bitrate" range="1-50000000" />
<Limit name="performance-point-3840x2160" value="30" />
<Feature name="bitrate-modes" value="VBR,CBR" />
</MediaCodec>
</Encoders>
+2 -1
View File
@@ -92,10 +92,11 @@
<Limit name="measured-frame-rate-320x240" range="782-782" />
<Limit name="measured-frame-rate-720x480" range="227-253" />
<Limit name="measured-frame-rate-1280x720" range="86-96" />
<Limit name="measured-frame-rate-1920x1080" range="71-71" />
<Limit name="measured-frame-rate-1920x1080" range="64-71" />
</MediaCodec>
<MediaCodec name="OMX.google.h263.decoder" type="video/3gpp" update="true">
<Limit name="measured-frame-rate-176x144" range="1122-1187" />
<Limit name="measured-frame-rate-352x288" range="720-820" />
</MediaCodec>
<MediaCodec name="OMX.google.hevc.decoder" type="video/hevc" update="true">
<Limit name="measured-frame-rate-352x288" range="584-590" />
+15 -89
View File
@@ -19,9 +19,7 @@
VideoEncoderCap+,
AudioEncoderCap+,
VideoDecoderCap,
AudioDecoderCap,
VideoEditorCap,
ExportVideoProfile+)>
AudioDecoderCap)>
<!ELEMENT CamcorderProfiles (EncoderProfile+, ImageEncoding+, ImageDecoding, Camera)>
<!ELEMENT EncoderProfile (Video, Audio)>
<!ATTLIST EncoderProfile quality (timelapse1080p|timelapse720p|timelapse480p|timelapsehigh|timelapselow|480p|qcif|high|low|1080p) #REQUIRED>
@@ -33,9 +31,6 @@
<!ATTLIST Video width CDATA #REQUIRED>
<!ATTLIST Video height CDATA #REQUIRED>
<!ATTLIST Video frameRate CDATA #REQUIRED>
<!ATTLIST Video profile CDATA #REQUIRED>
<!ATTLIST Video level CDATA #REQUIRED>
<!ATTLIST Video numBFrames CDATA #REQUIRED>
<!ELEMENT Audio EMPTY>
<!ATTLIST Audio codec (amrnb|amrwb|aac) #REQUIRED>
<!ATTLIST Audio bitRate CDATA #REQUIRED>
@@ -75,15 +70,6 @@
<!ELEMENT AudioDecoderCap EMPTY>
<!ATTLIST AudioDecoderCap name (wma) #REQUIRED>
<!ATTLIST AudioDecoderCap enabled (true|false) #REQUIRED>
<!ATTLIST VideoEditorCap maxInputFrameWidth CDATA #REQUIRED>
<!ATTLIST VideoEditorCap maxInputFrameHeight CDATA #REQUIRED>
<!ATTLIST VideoEditorCap maxOutputFrameWidth CDATA #REQUIRED>
<!ATTLIST VideoEditorCap maxOutputFrameHeight CDATA #REQUIRED>
<!ATTLIST VideoEditorCap maxPrefetchYUVFrames CDATA #REQUIRED>
<!ELEMENT ExportVideoProfile EMPTY>
<!ATTLIST ExportVideoProfile name (h264) #REQUIRED>
<!ATTLIST ExportVideoProfile profile CDATA #REQUIRED>
<!ATTLIST ExportVideoProfile level CDATA #REQUIRED>
]>
<!--
This file is used to declare the multimedia profiles and capabilities
@@ -99,10 +85,7 @@
bitRate="384000"
width="176"
height="144"
frameRate="30"
profile="8"
level="1"
numBFrames="0" />
frameRate="30" />
<Audio codec="amrnb"
bitRate="12200"
@@ -115,10 +98,7 @@
bitRate="14000000"
width="1920"
height="1080"
frameRate="30"
profile="8"
level="4096"
numBFrames="0" />
frameRate="30" />
<Audio codec="aac"
bitRate="96000"
@@ -131,10 +111,7 @@
bitRate="384000"
width="176"
height="144"
frameRate="30"
profile="8"
level="1"
numBFrames="0" />
frameRate="30" />
<Audio codec="amrnb"
bitRate="12200"
@@ -147,10 +124,7 @@
bitRate="1536000"
width="352"
height="288"
frameRate="30"
profile="8"
level="32"
numBFrames="0" />
frameRate="30" />
<Audio codec="amrnb"
bitRate="12200"
@@ -163,10 +137,7 @@
bitRate="4000000"
width="640"
height="480"
frameRate="30"
profile="8"
level="256"
numBFrames="0" />
frameRate="30" />
<Audio codec="aac"
bitRate="96000"
@@ -179,10 +150,7 @@
bitRate="8000000"
width="1280"
height="720"
frameRate="30"
profile="8"
level="512"
numBFrames="0" />
frameRate="30" />
<Audio codec="aac"
bitRate="96000"
@@ -195,10 +163,7 @@
bitRate="14000000"
width="1920"
height="1080"
frameRate="30"
profile="8"
level="4096"
numBFrames="0" />
frameRate="30" />
<Audio codec="aac"
bitRate="96000"
@@ -211,10 +176,7 @@
bitRate="384000"
width="176"
height="144"
frameRate="30"
profile="8"
level="1"
numBFrames="0" />
frameRate="30" />
<!--
The Audio part of the profile will not be used since time lapse mode
@@ -231,10 +193,7 @@
bitRate="14000000"
width="1920"
height="1080"
frameRate="30"
profile="8"
level="4096"
numBFrames="0" />
frameRate="30" />
<!--
The Audio part of the profile will not be used since time lapse mode
@@ -251,10 +210,7 @@
bitRate="384000"
width="176"
height="144"
frameRate="30"
profile="8"
level="1"
numBFrames="0" />
frameRate="30" />
<!--
The Audio part of the profile will not be used since time lapse mode
@@ -271,10 +227,7 @@
bitRate="1536000"
width="352"
height="288"
frameRate="30"
profile="8"
level="32"
numBFrames="0" />
frameRate="30" />
<!--
The Audio part of the profile will not be used since time lapse mode
@@ -291,10 +244,7 @@
bitRate="4000000"
width="640"
height="480"
frameRate="30"
profile="8"
level="256"
numBFrames="0" />
frameRate="30" />
<!--
The Audio part of the profile will not be used since time lapse mode
@@ -311,10 +261,7 @@
bitRate="8000000"
width="1280"
height="720"
frameRate="30"
profile="8"
level="512"
numBFrames="0" />
frameRate="30" />
<!--
The Audio part of the profile will not be used since time lapse mode
@@ -331,10 +278,7 @@
bitRate="14000000"
width="1920"
height="1080"
frameRate="30"
profile="8"
level="4096"
numBFrames="0" />
frameRate="30" />
<!--
The Audio part of the profile will not be used since time lapse mode
@@ -395,22 +339,4 @@
<VideoDecoderCap name="wmv" enabled="true"/>
<AudioDecoderCap name="wma" enabled="true"/>
<VideoEditorCap maxInputFrameWidth="1920"
maxInputFrameHeight="1080"
maxOutputFrameWidth="1920"
maxOutputFrameHeight="1080"
maxPrefetchYUVFrames="10" />
<!--
The VideoEditor Export codec profile and level values
correspond to the values in OMX_Video.h.
E.g. for h264, profile value 1 means OMX_VIDEO_AVCProfileBaseline
and level 512 means OMX_VIDEO_AVCLevel31.
Please note that the values are in decimal.
These values are for video encoder.
-->
<!--
Codec = h.264, Baseline profile, level 4
-->
<ExportVideoProfile name="h264" profile="1"
level="2048" />
</MediaSettings>
+29 -3
View File
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (c) 2012 NVIDIA Corporation. All Rights Reserved.
<!-- Copyright (c) 2012-2021 NVIDIA Corporation. All Rights Reserved.
NVIDIA Corporation and its licensors retain all intellectual property and
proprietary rights in and to this software and related documentation. Any
@@ -144,7 +144,7 @@
avail_min="1"/>
<param name="HW Rates" val="48000 44100 96000 192000"/>
<param name="HDMI HW Latency" val="50"/>
<param name="HDMI HW Latency" val="0"/>
</card>
<card name="tegra-hda">
@@ -162,7 +162,33 @@
avail_min="1"/>
<param name="HW Rates" val="48000 44100 96000 192000"/>
<param name="HDMI HW Latency" val="50"/>
<param name="HDMI HW Latency" val="0"/>
</card>
<card name="dummy">
<pcm_config name="music-playback"
device_id="1"
rate="48000"
channels="2"
bps="16"
period_size="256"
period_count="2"
start_threshold="511"
stop_threshold="512"
silence_threshold="0"
avail_min="1"/>
<pcm_config name="music-capture"
device_id="0"
rate="48000"
channels="2"
bps="16"
period_size="256"
period_count="2"
start_threshold="1"
stop_threshold="512"
silence_threshold="0"
avail_min="1"/>
</card>
<card name="dummy">