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
[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>
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
* 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>
* This is linked by okinawa camera HAL and belongs
to the QCOM Media stack
Change-Id: I065cd7b91c8b69ff69e026d8bd206749f3fd92b3
Signed-off-by: electimon <electimon@gmail.com>
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
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
• 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
* move c2d libs to media as its required by c2
Change-Id: Ifea8af8717fbddc77452438f95b6b4fefb66d7c0
Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>