Commit Graph

17 Commits

Author SHA1 Message Date
Adithya R 3179cd9ccc Revert "vendor: media: Allow override media.settings.xml node"
This reverts commit 325222637d.

Reason for revert: Doesn't work (incorrect syntax), and this is already handled since long:
5edbd92a38/media/libmedia/MediaProfiles.cpp (L1156)
ro.media.xml_variant.codecs is set by media init scripts.

Change-Id: I8daf68b3fb5ca5e67df5010cac1428734ec74731
2024-01-12 06:05:54 +00:00
chrisl7 325222637d vendor: media: Allow override media.settings.xml node
[1] - Qualcomm has many platforms with several variants of the same SoC, and in general media_profiles_vendor is only used for the platform's main SoC, so allow an override of this in the device tree.
[2] - We could use an override prop in ODM and functions, but this causes double definition recording in the logs, so in SYSTEM_EXT it seems better for now

Change-Id: Ide473af87ae228aa99e0e5702d5cb3638ec2f495
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-12-31 14:33:03 +00:00
Jake Weinstein be583adf6e vendor: perf: Update to LA.VENDOR.13.2.6.r1-00600-KAILUA.0
Move videooptfeature to perf because it is part
  of LM.

Change-Id: I67f40b31f6eb0ad121b31b685b011b02e982cfce
2023-11-13 07:48:08 +09:00
Mashopy 1eda96183f vendor: media-legacy: Allow to use a custom c2_manifest_vendor.xml
Some devices may have additional Codec2 HAL service forks like OZO Audio, which add another instance on manifest.

AOSP vintf_check will throw an error if there is at least two exact same HAL name and type defined on vintf list with
a different version or interface, hence why TARGET_USES_CUSTOM_C2_MANIFEST flag is needed to bypass this error.

Change-Id: I106d44a176d080c682a6b6c9eecff772119775ef
2023-09-19 14:31:29 +00:00
chrisl7 495f5cba37 vendor: media-legacy: Disable MediaC2 codec for SoC that don't support it
* Only 3 SoC support this, msmnile, sm650 and kona, So it's not necessary to keep this here for all other platforms. Also this was causing video playback bug in all chromium based browsers after they went to updated to version 114. or higher[1].

1 - Bug: Go to Chrome or another Chromium based browser and run any non-YouTube video, the video will always load and won't play.

* After removing Codec C2 and trying to play the videos, they worked fine.
* Allow enable with override

Change-Id: Ic8ed85c5b4a8ad6a83f5d0b21e9f75ec9902f786
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-09-07 16:22:19 +00:00
Yuan Si 151877f57a media-legacy: Replace LOCAL_COPY_HEADERS with headers lib
Change-Id: I4aa16a6aeabc878ae240776e823dff9a776032b3
Signed-off-by: Yuan Si <do4suki@gmail.com>
2023-05-21 16:29:36 +00:00
chrisl7 780cbb760c vendor: media/media-legacy: Add vppservice_interface prebuilt_hidl_interfaces
[1] - https://gerrit.aospa.co/c/AOSPA/android_device_qcom_common/+/28005

Change-Id: Ia433be924f34352aebe7d40fed5e95f76999a445
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-03-18 11:28:53 +00:00
electimon fea0af2f6b common: vendor/media: Add vendor.qti.hardware.vpp interfaces
* This is linked by okinawa camera HAL and belongs
  to the QCOM Media stack

Change-Id: I065cd7b91c8b69ff69e026d8bd206749f3fd92b3
Signed-off-by: electimon <electimon@gmail.com>
2023-03-05 02:01:32 +08:00
Alexander Koskovich 327de13160 vendor: media: Conditionally update to LA.VENDOR.1.0.r1-16000-WAIPIO.QSSI13.0
For now, this is for 5.10 only. 5.4 and others may upgrade
at some point. Until then, 5.4 uses media-5.4
and pre-5.4 uses media-legacy.

Change-Id: I7dccc184f81d5b1733852397c59d36ca0c3489ca
2022-12-05 04:03:27 +00:00
Jake Weinstein 19ec3eba9c common: Redo component selection logic
Maintainers should not need to manually select
the appropriate variant of a component for
their SoC. We know what does and does not
work for an SoC. Automatically select
the necessary component. This allows us
to be more flexible when new SoCs launch
and components may need to be renamed or
refactored.

Change-Id: Ibe9815ba7f70ec760c7b0cbd3771707af2e59854
2022-12-05 03:57:01 +00:00
Michael Bestas 831e893fcf common: Automatically add apk/jar/vintf fragments to PRODUCT_PACKAGES
Change-Id: Iaa9d66b0bbdc55f046ee1347cbf83c7eecebb35e
Signed-off-by: Omkar Chandorkar <gotenksIN@aospa.co>
2022-08-23 03:46:51 +00:00
Omkar Chandorkar a2fec66f99 media-legacy: copy media_profiles to vendor/etc as well
Signed-off-by: Omkar Chandorkar <gotenksIN@aospa.co>
Change-Id: Id052bc1ed0a7dd959fa19d0373a9c5bf2b789330
2022-06-29 04:55:39 +00:00
Kunmun 6f9dd0ef08
Revert "common: Upgrade adreno stack to WAIPIO 13100"
• Add back c2d2 libs to adreno component as well.
• This breaks eis, as well as creating problems related to display in many devices.

This reverts commit 769e48d051.

Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
Change-Id: I876a13074588065b4234505d05d2085c0e93326e
2022-06-03 17:48:46 +09:00
Adithya R 769e48d051
common: Upgrade adreno stack to WAIPIO 13100
* move c2d libs to media as its required by c2

Change-Id: Ifea8af8717fbddc77452438f95b6b4fefb66d7c0
Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
2022-05-13 16:22:46 +09:00
Omkar Chandorkar 86677cd412 media-legacy: add libOmxVideoDSMode for avc.decoder DSMode
Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
Change-Id: Idb50244bb5eff4af0de3a336e72c57842c37eecf
2022-03-26 19:52:37 +00:00
Marco Marinho 7df0c64674
common: vendor: Update to LA.UM.9.14.r1-18400.02-LAHAINA.QSSI12.0
Change-Id: Ib0791bd74ebcb8a0aa37485be7500e83b80838fe
Co-authored-by: Vishalcj17 <vishalcj@aospa.co>>
Co-authored-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
2022-01-09 18:06:24 +09:00
Vishalcj17 bfaf4ecb25 Split system and vendor to their own folders.
Change-Id: Ie93e9fdf854f97aab1e2b6e61d55b309f49c1cd9
2021-11-24 21:04:52 +00:00