nx: media: Tailor codecs
- update policy configuration based on latest aosp - remove secure decode entries for nx Change-Id: I1160e9e192059fc6a8428ed9e6161e719d3b0896
This commit is contained in:
1 parent
ea7bef805a
commit
e18af28bdb
3 files changed
+9
-10
No files matched your search
@@ -45,7 +45,7 @@
|
||||
-->
|
||||
<modules>
|
||||
<!-- Primary Audio HAL -->
|
||||
<module name="primary" halVersion="2.0">
|
||||
<module name="primary" halVersion="3.0">
|
||||
<attachedDevices>
|
||||
<item>Speaker</item>
|
||||
</attachedDevices>
|
||||
|
||||
@@ -105,7 +105,7 @@ Only the three quirks included above are recognized at this point:
|
||||
<Limit name="performance-point-3840x2160" value="60" />
|
||||
<Feature name="adaptive-playback" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="OMX.Nvidia.h264.decode.secure" type="video/avc" >
|
||||
<!-- <MediaCodec name="OMX.Nvidia.h264.decode.secure" type="video/avc" >
|
||||
<Limit name="size" min="48x48" max="3840x2176" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
@@ -115,7 +115,7 @@ Only the three quirks included above are recognized at this point:
|
||||
<Limit name="performance-point-3840x2160" value="60" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Feature name="secure-playback" required="true" />
|
||||
</MediaCodec>
|
||||
</MediaCodec> -->
|
||||
<MediaCodec name="OMX.Nvidia.vp8.decode" type="video/x-vnd.on2.vp8" >
|
||||
<Limit name="size" min="48x48" max="3840x2176" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
@@ -135,7 +135,7 @@ Only the three quirks included above are recognized at this point:
|
||||
<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" >
|
||||
<!-- <MediaCodec name="OMX.Nvidia.vp9.decode.secure" type="video/x-vnd.on2.vp9" >
|
||||
<Limit name="size" min="144x144" max="3840x2176" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
@@ -144,7 +144,7 @@ Only the three quirks included above are recognized at this point:
|
||||
<Feature name="adaptive-playback" />
|
||||
<Limit name="performance-point-3840x2160" value="60" />
|
||||
<Feature name="secure-playback" required="true" />
|
||||
</MediaCodec>
|
||||
</MediaCodec> -->
|
||||
<MediaCodec name="OMX.Nvidia.h265.decode" type="video/hevc" >
|
||||
<Limit name="size" min="144x144" max="3840x2176" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
@@ -201,7 +201,7 @@ Only the three quirks included above are recognized at this point:
|
||||
<Limit name="performance-point-1920x1080" value="30" />
|
||||
<Feature name="adaptive-playback" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="OMX.Nvidia.DOVI.decode" type="video/dolby-vision" >
|
||||
<!-- <MediaCodec name="OMX.Nvidia.DOVI.decode" type="video/dolby-vision" >
|
||||
<Limit name="size" min="144x144" max="3840x2176" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
@@ -219,7 +219,7 @@ Only the three quirks included above are recognized at this point:
|
||||
<Limit name="performance-point-3840x2160" value="60" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Feature name="secure-playback" required="true" />
|
||||
</MediaCodec>
|
||||
</MediaCodec> -->
|
||||
</Decoders>
|
||||
|
||||
<Encoders>
|
||||
|
||||
@@ -50,12 +50,12 @@
|
||||
</MediaCodec>
|
||||
</Encoders>
|
||||
<Decoders>
|
||||
<MediaCodec name="OMX.Nvidia.DOVI.decode" type="video/dolby-vision" update="true">
|
||||
<!-- <MediaCodec name="OMX.Nvidia.DOVI.decode" type="video/dolby-vision" update="true">
|
||||
<Limit name="measured-frame-rate-352x288" range="2239-2239" />
|
||||
<Limit name="measured-frame-rate-640x368" range="1950-1950" />
|
||||
<Limit name="measured-frame-rate-1280x720" range="1030-1030" />
|
||||
<Limit name="measured-frame-rate-1920x1088" range="409-589" />
|
||||
</MediaCodec>
|
||||
</MediaCodec> -->
|
||||
<MediaCodec name="OMX.Nvidia.h265.decode" type="video/hevc" update="true">
|
||||
<Limit name="measured-frame-rate-352x288" range="2239-2239" />
|
||||
<Limit name="measured-frame-rate-640x368" range="1950-1950" />
|
||||
@@ -121,4 +121,3 @@
|
||||
</MediaCodec>
|
||||
</Decoders>
|
||||
</MediaCodecs>
|
||||
|
||||
Reference in new issue
Block a user