summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--device-common.mk2
-rw-r--r--media_codecs_c2.xml13
2 files changed, 14 insertions, 1 deletions
diff --git a/device-common.mk b/device-common.mk
index 6c10a122..2ee55bb6 100644
--- a/device-common.mk
+++ b/device-common.mk
@@ -844,7 +844,7 @@ PRODUCT_PACKAGES += $(HIDL_WRAPPER)
# Increment the SVN for any official public releases
ifeq ($(PRODUCT_DEVICE_SVN_OVERRIDE),)
PRODUCT_PROPERTY_OVERRIDES += \
- ro.vendor.build.svn=75
+ ro.vendor.build.svn=76
endif
# Enable iwlan service logging for debug
diff --git a/media_codecs_c2.xml b/media_codecs_c2.xml
index fea96ccc..6ed8eda0 100644
--- a/media_codecs_c2.xml
+++ b/media_codecs_c2.xml
@@ -79,6 +79,7 @@
<Limit name="performance-point-1920x1080" value="120" />
<Limit name="performance-point-1280x720" value="240" />
<Feature name="adaptive-playback" />
+ <Feature name="can-swap-width-height" value="1" />
</MediaCodec>
<MediaCodec name="c2.qti.avc.decoder.low_latency" type="video/avc">
<Limit name="size" min="96x96" max="4096x2176" />
@@ -93,6 +94,7 @@
<Limit name="performance-point-1280x720" value="240" />
<Feature name="adaptive-playback" />
<Feature name="low-latency" />
+ <Feature name="can-swap-width-height" value="1" />
<Limit name="concurrent-instances" max="16" />
</MediaCodec>
<MediaCodec name="c2.qti.avc.decoder.secure" type="video/avc" >
@@ -108,6 +110,7 @@
<Limit name="performance-point-1920x1080" value="60" />
<Feature name="adaptive-playback" />
<Feature name="secure-playback" required="true" />
+ <Feature name="can-swap-width-height" value="1" />
<Limit name="concurrent-instances" max="4" />
</MediaCodec>
<MediaCodec name="c2.qti.hevc.decoder" type="video/hevc" >
@@ -123,6 +126,7 @@
<Limit name="performance-point-1920x1080" value="120" />
<Limit name="performance-point-1280x720" value="240" />
<Feature name="adaptive-playback" />
+ <Feature name="can-swap-width-height" value="1" />
<Limit name="concurrent-instances" max="16" />
</MediaCodec>
<MediaCodec name="c2.qti.hevc.decoder.low_latency" type="video/hevc" >
@@ -138,6 +142,7 @@
<Limit name="performance-point-1280x720" value="240" />
<Feature name="adaptive-playback" />
<Feature name="low-latency" />
+ <Feature name="can-swap-width-height" value="1" />
<Limit name="concurrent-instances" max="16" />
</MediaCodec>
<MediaCodec name="c2.qti.hevc.decoder.secure" type="video/hevc" >
@@ -153,6 +158,7 @@
<Limit name="performance-point-1920x1080" value="60" />
<Feature name="adaptive-playback" />
<Feature name="secure-playback" required="true" />
+ <Feature name="can-swap-width-height" value="1" />
<Limit name="concurrent-instances" max="4" />
</MediaCodec>
<MediaCodec name="c2.qti.vp8.decoder" type="video/x-vnd.on2.vp8" >
@@ -168,6 +174,7 @@
<Limit name="performance-point-1920x1080" value="60" />
<Limit name="performance-point-1280x720" value="120" />
<Feature name="adaptive-playback" />
+ <Feature name="can-swap-width-height" value="1" />
<Limit name="concurrent-instances" max="16" />
</MediaCodec>
<MediaCodec name="c2.qti.vp9.decoder" type="video/x-vnd.on2.vp9" >
@@ -183,6 +190,7 @@
<Limit name="performance-point-1920x1080" value="120" />
<Limit name="performance-point-1280x720" value="240" />
<Feature name="adaptive-playback" />
+ <Feature name="can-swap-width-height" value="1" />
<Limit name="concurrent-instances" max="6" />
</MediaCodec>
<MediaCodec name="c2.qti.vp9.decoder.secure" type="video/x-vnd.on2.vp9" >
@@ -197,6 +205,7 @@
<Limit name="performance-point-1920x1080" value="60" />
<Feature name="adaptive-playback" />
<Feature name="secure-playback" required="true" />
+ <Feature name="can-swap-width-height" value="1" />
<Limit name="concurrent-instances" max="4" />
</MediaCodec>
</Decoders>
@@ -220,6 +229,7 @@
<!-- Video Quality control -->
<!-- QP supported using vendor extensions -->
<Feature name="qp-bounds" />
+ <Feature name="can-swap-width-height" value="1" />
<Mapping kind="vq" name="video-qp-b-max" value="vendor.qti-ext-enc-qp-range.qp-b-max" />
<Mapping kind="vq" name="video-qp-b-min" value="vendor.qti-ext-enc-qp-range.qp-b-min" />
<Mapping kind="vq" name="video-qp-i-max" value="vendor.qti-ext-enc-qp-range.qp-i-max" />
@@ -242,6 +252,7 @@
<Limit name="performance-point-1920x1080" value="120" />
<Limit name="performance-point-1280x720" value="240" />
<Feature name="bitrate-modes" value="VBR,CBR,CQ" />
+ <Feature name="can-swap-width-height" value="1" />
</MediaCodec>
<MediaCodec name="c2.qti.hevc.encoder.cq" type="video/hevc">
<Limit name="size" min="512x512" max="512x512" />
@@ -271,6 +282,7 @@
<Limit name="performance-point-1280x720" value="60" />
<Limit name="performance-point-720x480" value="240" />
<Feature name="bitrate-modes" value="CQ" />
+ <Feature name="can-swap-width-height" value="1" />
</MediaCodec>
<MediaCodec name="c2.qti.vp8.encoder" type="video/x-vnd.on2.vp8">
<Alias name="OMX.qcom.video.encoder.vp8" />
@@ -286,6 +298,7 @@
<Limit name="performance-point-1920x1080" value="60" />
<Limit name="performance-point-1280x720" value="120" />
<Feature name="bitrate-modes" value="VBR,CBR" />
+ <Feature name="can-swap-width-height" value="1" />
</MediaCodec>
</Encoders>
</Included>