• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

device/generic/common


Commit MetaInfo

Revision8abd7297ea53ac268a2fbdf79978e6c32c59d600 (tree)
Time2020-04-23 00:27:47
AuthorFrancescodario Cuzzocrea <bosconovic@gmai...>
CommiterChih-Wei Huang

Log Message

common: add c2 codec

Change Summary

Incremental Difference

--- a/device.mk
+++ b/device.mk
@@ -52,6 +52,9 @@ PRODUCT_COPY_FILES += \
5252 device/sample/etc/apns-full-conf.xml:system/etc/apns-conf.xml \
5353 device/sample/etc/old-apns-conf.xml:system/etc/old-apns-conf.xml \
5454 frameworks/av/media/libstagefright/data/media_codecs_google_audio.xml:system/etc/media_codecs_google_audio.xml \
55+ frameworks/av/media/libstagefright/data/media_codecs_google_c2.xml:system/etc/media_codecs_google_c2.xml \
56+ frameworks/av/media/libstagefright/data/media_codecs_google_c2_audio.xml:system/etc/media_codecs_google_c2_audio.xml \
57+ frameworks/av/media/libstagefright/data/media_codecs_google_c2_video.xml:system/etc/media_codecs_google_c2_video.xml \
5558 frameworks/av/media/libstagefright/data/media_codecs_google_video.xml:system/etc/media_codecs_google_video.xml \
5659 frameworks/native/data/etc/tablet_core_hardware.xml:system/etc/permissions/tablet_core_hardware.xml \
5760 frameworks/native/data/etc/android.hardware.audio.low_latency.xml:system/etc/permissions/android.hardware.audio.low_latency.xml \
--- a/media_codecs.xml
+++ b/media_codecs.xml
@@ -78,6 +78,7 @@ Only the three quirks included above are recognized at this point:
7878 -->
7979
8080 <MediaCodecs>
81+ <Include href="media_codecs_c2.xml" />
8182 <Include href="media_codecs_ffmpeg.xml" />
8283 <Include href="media_codecs_google_audio.xml" />
8384 <Include href="media_codecs_google_video.xml" />
--- a/treble.mk
+++ b/treble.mk
@@ -25,6 +25,11 @@ PRODUCT_PACKAGES += \
2525 android.hardware.camera.provider@2.4-impl \
2626 android.hardware.camera.provider@2.4-service
2727
28+# Media codec
29+PRODUCT_PACKAGES += \
30+ android.hardware.media.c2@1.0-service \
31+ android.hardware.media.omx@1.0-service
32+
2833 # DumpState HAL
2934 PRODUCT_PACKAGES += \
3035 android.hardware.dumpstate@1.0-impl \