summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwenchangliu <wenchangliu@google.com>2020-06-20 18:47:09 +0800
committerWen Chang Liu <wenchangliu@google.com>2020-09-24 03:22:41 +0000
commitc508dd22f63ae4f0fc3c8c2bfdaad9bd947ae311 (patch)
tree9a7c041358544834f9f4d5660518eb42bae3db90
parent93fc3762737d718b6bdfbc52d404493624e442ee (diff)
downloadredbull-c508dd22f63ae4f0fc3c8c2bfdaad9bd947ae311.tar.gz
redbull: video: enbale adaptive b-frame capability
'enc_default_bframe_count' set to 1. 'enc_max_mbs_per_sec' set to max-hw-load. Bug: 156724722 Test: run ECO experiments Change-Id: I884be887e9ae71bb9f8778f8bd0f5dd728d1ba7e
-rw-r--r--device-common.mk1
-rw-r--r--video_system_specs.json8
2 files changed, 9 insertions, 0 deletions
diff --git a/device-common.mk b/device-common.mk
index 10c07e09..a18df12b 100644
--- a/device-common.mk
+++ b/device-common.mk
@@ -625,6 +625,7 @@ PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/media_codecs_c2.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_c2.xml \
$(LOCAL_PATH)/media_codecs_performance_c2.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance_c2.xml \
$(LOCAL_PATH)/media_codecs_omx.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_omx.xml \
+ $(LOCAL_PATH)/video_system_specs.json:$(TARGET_COPY_OUT_VENDOR)/etc/video_system_specs.json \
frameworks/av/media/libstagefright/data/media_codecs_google_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_audio.xml \
frameworks/av/media/libstagefright/data/media_codecs_google_telephony.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_telephony.xml \
frameworks/av/media/libstagefright/data/media_codecs_google_video.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_video.xml \
diff --git a/video_system_specs.json b/video_system_specs.json
new file mode 100644
index 00000000..440a2d10
--- /dev/null
+++ b/video_system_specs.json
@@ -0,0 +1,8 @@
+{
+ "Video": {
+ "Presets": {
+ "enc_default_bframe_count": 1,
+ "enc_max_mbs_per_sec": 1958400
+ }
+ }
+}