-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Build Codec2 vendor binaries and install xml files - Serve Codec2 data from media_codecs.xml - Add sepolicy for vendor Codec2 service - Add OMX components and lower default OMX ranks Bug: 141594577 Test: local/youtube playback, sceenrecord Change-Id: I72e37dbc96ee1585190e08b0210e9d5e5b968463
- Loading branch information
Jerry Huang
committed
Nov 25, 2019
1 parent
d16d39c
commit 16901c9
Showing
6 changed files
with
304 additions
and
368 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -394,6 +394,14 @@ PRODUCT_PACKAGES += \ | |
PRODUCT_PACKAGES += \ | ||
libqcodec2 \ | ||
[email protected] \ | ||
media_codecs_c2.xml | ||
|
||
# TODO: remove once we generate ours | ||
PRODUCT_PACKAGES += \ | ||
media_codecs_performance_c2.xml | ||
|
||
PRODUCT_PROPERTY_OVERRIDES += \ | ||
debug.stagefright.omx_default_rank=512 | ||
|
||
PRODUCT_PACKAGES += \ | ||
[email protected] \ | ||
|
@@ -548,13 +556,15 @@ PRODUCT_PACKAGES += \ | |
|
||
PRODUCT_COPY_FILES += \ | ||
$(LOCAL_PATH)/media_codecs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs.xml \ | ||
$(LOCAL_PATH)/media_codecs_omx.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_omx.xml \ | ||
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 \ | ||
$(LOCAL_PATH)/media_profiles_V1_0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_V1_0.xml | ||
|
||
# Vendor seccomp policy files for media components: | ||
PRODUCT_COPY_FILES += \ | ||
$(LOCAL_PATH)/seccomp_policy/codec2.vendor.ext.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/codec2.vendor.ext.policy \ | ||
$(LOCAL_PATH)/seccomp_policy/mediacodec.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/mediacodec.policy | ||
|
||
PRODUCT_PROPERTY_OVERRIDES += \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.