Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
6ce915e
Selinux_fc is not used anymore to be defined by Vendor
tanujtekriwal Jan 30, 2025
61ff7c7
Mixins changes to enable wlan on IA
tanujtekriwal Feb 17, 2025
c2a781c
Update the clang version to latest on A15
tanujtekriwal Apr 11, 2025
c4c5396
Disable Bluetooth LE Audio profiles to fix crash
gowthambabu92 Oct 17, 2022
a1826cb
Add and enable virtio camera config
xyzhao2018 Nov 27, 2024
ec67f88
Add openvino, npu driver and compiler packages
JeevakaPrabu Nov 13, 2024
3098098
Add xe firmwares for LNL and PTL
xyzhao2018 Dec 5, 2024
17fbe5a
Add tflite library and config package
JeevakaPrabu Jun 19, 2025
de0939f
Wellbeing package added in config
vdanix Mar 2, 2021
1558dd3
Fix GTS wellbeing testcase failures
SaliniVenate Feb 17, 2021
2ae83f4
Disable partner modules for Android-12
SaliniVenate Oct 14, 2021
fd7dadb
include lts2024 kernel
Jul 3, 2025
be77099
Update kernel config to lts-pre-prod-v6.12.47
bnkoppad Sep 25, 2025
0dc27ef
Fix LTS2024 conflict issue
bnkoppad Jul 7, 2025
5a127c0
Fix android build issue with new kernel 6.12.47
avinashiitk Sep 29, 2025
a992323
Update clang version
Jul 3, 2025
cea29c5
CIV: Fix sensor mediation hal reporting
Jun 30, 2025
ae947e4
Subject: [PATCH] Use new exception OSError for qemu6.0 qmp.py
prashanth-intel May 11, 2022
7740e76
Enable zram swap for device having <= 4G ram
k-mochi Nov 30, 2021
a128fba
update fine tuned values for performance
bkothapx Apr 14, 2022
a6de62e
Media Performance range fix
vdanix Jan 12, 2023
dbfdd27
WW05 Media performance range fix
vdanix Feb 7, 2023
73409ab
Fix VTS issue for media_codecs XMLparsing
bkothapx Jul 26, 2023
a2157ee
update vulkan hardware version xml file
bkothapx Oct 27, 2023
678c98f
Enable BT SCO HCI module
bnkoppad Jul 15, 2025
6bbe13f
Shift storageproxyd to a very early stage
bnkoppad Aug 20, 2025
c2afb9f
Add ttyS4 for TWL CRB
avinashiitk Aug 29, 2025
72cfcc9
usb-gadget: WA to fix mount EP0 race condition
krispan-intel Aug 21, 2025
2a06d52
WA: Force reboot type for android
sfonn Apr 22, 2022
58363fe
Enable trusty on android 15 kernel
avinashiitk Sep 26, 2025
42dd2c5
Added passpoint.xml to PRODUCT_COPY_FILES
telishix Nov 16, 2022
2c33772
Set Verity_update_state in boot flow.
vdanix Nov 16, 2022
f5e4a74
Fix for GTS checkGpuProfilingRequirements TC
bkothapx Aug 24, 2023
ae8a219
Fix mtl_dmc compilation changes
bkothapx May 18, 2023
57f5327
Include sample_encode and sample_decode as part of build system
bnkoppad Oct 4, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions groups/codec2/true/files.spec
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ mfx_c2_store_gen13.conf: "MSDK video codec2.0 configuration for meteorlake and D
media_codecs.xml: "Specific configuration for audio and video codec2.0"
media_codecs_gen13.xml: "Specific codec2.0 configuration for Intel meteorlake and DG2"
media_codecs_intel_c2_video.xml: "Specific configuration for intel video codec2.0"
media_codecs_c2_gen12.xml: "Specific configuration for intel gen12 codec2.0"
media_codecs_intel_c2_video_gen13.xml: "Specific intel video codec2.0 configuration for meteorlake and DG2"
media_profiles_1080p.xml: "Media profile file with 1080p support"
media_profiles_caas.xml: "Media profile file with 1080p support"
Expand Down
189 changes: 189 additions & 0 deletions groups/codec2/true/media_codecs_c2_gen12.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,189 @@
<!-- Copyright (C) 2012 The Android Open Source Project

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->

<!--
<!DOCTYPE MediaCodecs [
<!ELEMENT MediaCodecs (Decoders,Encoders)>
<!ELEMENT Decoders (MediaCodec*)>
<!ELEMENT Encoders (MediaCodec*)>
<!ELEMENT MediaCodec (Type*,Quirk*)>
<!ATTLIST MediaCodec name CDATA #REQUIRED>
<!ATTLIST MediaCodec type CDATA>
<!ELEMENT Type EMPTY>
<!ATTLIST Type name CDATA #REQUIRED>
<!ELEMENT Quirk EMPTY>
<!ATTLIST Quirk name CDATA #REQUIRED>
]>

There's a simple and a complex syntax to declare the availability of a
media codec:

A codec that properly follows the OpenMax spec and therefore doesn't have any
quirks and that only supports a single content type can be declared like so:

<MediaCodec name="OMX.foo.bar" type="something/interesting" />

If a codec has quirks OR supports multiple content types, the following syntax
can be used:

<MediaCodec name="OMX.foo.bar" >
<Type name="something/interesting" />
<Type name="something/else" />
...
<Quirk name="requires-allocate-on-input-ports" />
<Quirk name="requires-allocate-on-output-ports" />
<Quirk name="output-buffers-are-unreadable" />
</MediaCodec>

Only the three quirks included above are recognized at this point:

"requires-allocate-on-input-ports"
must be advertised if the component does not properly support specification
of input buffers using the OMX_UseBuffer(...) API but instead requires
OMX_AllocateBuffer to be used.

"requires-allocate-on-output-ports"
must be advertised if the component does not properly support specification
of output buffers using the OMX_UseBuffer(...) API but instead requires
OMX_AllocateBuffer to be used.

"output-buffers-are-unreadable"
must be advertised if the emitted output buffers of a decoder component
are not readable, i.e. use a custom format even though abusing one of
the official OMX colorspace constants.
Clients of such decoders will not be able to access the decoded data,
naturally making the component much less useful. The only use for
a component with this quirk is to render the output to the screen.
Audio decoders MUST NOT advertise this quirk.
Video decoders that advertise this quirk must be accompanied by a
corresponding color space converter for thumbnail extraction,
matching surfaceflinger support that can render the custom format to
a texture and possibly other code, so just DON'T USE THIS QUIRK.

-->

<MediaCodecs>
<Decoders>

{{#enable_msdk_c2}}
<MediaCodec name="c2.intel.avc.decoder" type="video/avc">
<!-- profiles and levels: ProfileHigh : Level52 -->
<Limit name="size" min="64x64" max="4096x4096" />
<Limit name="alignment" value="2x2" />
<Limit name="block-size" value="16x16" />
<Limit name="block-count" range="1-32768" /> <!-- max 4096x2048 equivalent -->
<Limit name="blocks-per-second" range="1-1966080" />
<Limit name="bitrate" range="1-48000000" />
<Limit name="performance-point-3840x2160" value="30" />
<Feature name="adaptive-playback" />
</MediaCodec>

<MediaCodec name="c2.intel.hevc.decoder" type="video/hevc">
<!-- profiles and levels: ProfileMain : MainTierLevel51 -->
<Limit name="size" min="64x64" max="8192x8192" />
<Limit name="alignment" value="2x2" />
<Limit name="block-size" value="8x8" />
<Limit name="block-count" range="1-196608" /> <!-- max 4096x3072 -->
<Limit name="blocks-per-second" range="1-2000000" />
<Limit name="bitrate" range="1-10000000" />
<Limit name="performance-point-3840x2160" value="30" />
<Feature name="adaptive-playback" />
</MediaCodec>

<MediaCodec name="c2.intel.vp9.decoder" type="video/x-vnd.on2.vp9">
<Limit name="size" min="64x64" max="8192x8192" />
<Limit name="alignment" value="2x2" />
<Limit name="block-size" value="16x16" />
<Limit name="block-count" range="1-16384" />
<Limit name="blocks-per-second" range="1-500000" />
<Limit name="bitrate" range="1-40000000" />
<Limit name="performance-point-3840x2160" value="30" />
<Feature name="adaptive-playback" />
</MediaCodec>

<MediaCodec name="c2.intel.vp8.decoder" type="video/x-vnd.on2.vp8">
<Limit name="size" min="64x64" max="4096x4096" />
<Limit name="alignment" value="2x2" />
<Limit name="block-size" value="16x16" />
<Limit name="block-count" range="1-16384" />
<Limit name="blocks-per-second" range="1-500000" />
<Limit name="bitrate" range="1-40000000" />
<Limit name="performance-point-3840x2160" value="30" />
<Feature name="adaptive-playback" />
</MediaCodec>

<MediaCodec name="c2.intel.mp2.decoder" type="video/mpeg2">
<Limit name="size" min="64x64" max="2048x2048" />
<Limit name="alignment" value="2x2" />
<Limit name="block-size" value="16x16" />
<Limit name="block-count" range="1-16384" />
<Limit name="blocks-per-second" range="1-500000" />
<Limit name="bitrate" range="1-40000000" />
<Limit name="performance-point-1920x1080" value="30" />
<Feature name="adaptive-playback" />
</MediaCodec>

<MediaCodec name="c2.intel.av1.decoder" type="video/av01">
<Limit name="size" min="64x64" max="4096x4096" />
<Limit name="alignment" value="2x2" />
<Limit name="block-size" value="16x16" />
<Limit name="block-count" range="1-16384" />
<Limit name="blocks-per-second" range="1-500000" />
<Limit name="bitrate" range="1-40000000" />
<Limit name="performance-point-3840x2160" value="30" />
<Feature name="adaptive-playback" />
</MediaCodec>
{{/enable_msdk_c2}}
</Decoders>

<Encoders>

{{#enable_msdk_c2}}
<MediaCodec name="c2.intel.avc.encoder" type="video/avc">
<Limit name="size" min="176x144" max="4096x4096" />
<Limit name="alignment" value="2x2" />
<Limit name="block-size" value="16x16" />
<Limit name="block-count" range="1-8192" /> <!-- max 2048x1024 -->
<Limit name="blocks-per-second" range="1-245760" />
<Limit name="bitrate" range="1-12000000" />
<Limit name="performance-point-3840x2160" value="30" />
</MediaCodec>

<MediaCodec name="c2.intel.hevc.encoder" type="video/hevc" >
<Limit name="size" min="176x144" max="8192x8192" />
<Limit name="alignment" value="2x2" />
<Limit name="block-size" value="16x16" />
<Limit name="blocks-per-second" range="1-972000" />
<Limit name="bitrate" range="1-40000000" />
<Limit name="performance-point-3840x2160" value="30" />
</MediaCodec>

<MediaCodec name="c2.intel.vp9.encoder" type="video/x-vnd.on2.vp9" >
<Limit name="size" min="128x96" max="8192x8192" />
<Limit name="alignment" value="2x2" />
<Limit name="block-size" value="16x16" />
<Limit name="block-count" range="1-245760" />
<Limit name="blocks-per-second" range="1-972000" />
<Limit name="bitrate" range="1-40000000" />
<Limit name="performance-point-3840x2160" value="30" />
</MediaCodec>
{{/enable_msdk_c2}}
</Encoders>
<Include href="media_codecs_google_video.xml" />
<Include href="media_codecs_google_audio.xml" />
<Settings>
<Setting name="max-video-encoder-input-buffers" value="9" />
</Settings>
</MediaCodecs>
88 changes: 43 additions & 45 deletions groups/codec2/true/media_codecs_performance_c2_adl.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,34 +21,34 @@
<Limit name="measured-frame-rate-352x288" range="1386-2648" />
</MediaCodec>
<MediaCodec name="c2.android.avc.decoder" type="video/avc" update="true">
<Limit name="measured-frame-rate-320x240" range="336-760" />
<Limit name="measured-frame-rate-320x240" range="650-1200" />
<Limit name="measured-frame-rate-720x480" range="448-720" />
<Limit name="measured-frame-rate-1280x720" range="57-240" />
<Limit name="measured-frame-rate-1920x1080" range="25-106" />
</MediaCodec>
<MediaCodec name="c2.android.hevc.decoder" type="video/hevc" update="true">
<Limit name="measured-frame-rate-352x288" range="324-998" />
<Limit name="measured-frame-rate-640x360" range="215-978" />
<Limit name="measured-frame-rate-720x480" range="220-930" />
<Limit name="measured-frame-rate-1280x720" range="94-462" />
<Limit name="measured-frame-rate-1920x1080" range="56-360" />
<Limit name="measured-frame-rate-352x288" range="648-972" />
<Limit name="measured-frame-rate-640x360" range="656-985" />
<Limit name="measured-frame-rate-720x480" range="524-786" />
<Limit name="measured-frame-rate-1280x720" range="296-444" />
<Limit name="measured-frame-rate-1920x1080" range="208-312" />
</MediaCodec>
<MediaCodec name="c2.android.mpeg4.decoder" type="video/mp4v-es" update="true">
<Limit name="measured-frame-rate-176x144" range="2246-4372" />
<Limit name="measured-frame-rate-480x360" range="1300-3120" />
<Limit name="measured-frame-rate-1280x720" range="300-600" />
</MediaCodec>
<MediaCodec name="c2.android.vp8.decoder" type="video/x-vnd.on2.vp8" update="true">
<Limit name="measured-frame-rate-320x180" range="860-930" />
<Limit name="measured-frame-rate-640x360" range="652-1002" />
<Limit name="measured-frame-rate-1280x720" range="132-284" />
<Limit name="measured-frame-rate-1920x1080" range="64-114" />
<Limit name="measured-frame-rate-320x180" range="701-1161" />
<Limit name="measured-frame-rate-640x360" range="560-841" />
<Limit name="measured-frame-rate-1280x720" range="180-270" />
<Limit name="measured-frame-rate-1920x1080" range="83-124" />
</MediaCodec>
<MediaCodec name="c2.android.vp9.decoder" type="video/x-vnd.on2.vp9" update="true">
<Limit name="measured-frame-rate-320x180" range="404-722" />
<Limit name="measured-frame-rate-640x360" range="632-998" />
<Limit name="measured-frame-rate-1280x720" range="308-492" />
<Limit name="measured-frame-rate-1920x1080" range="80-200" />
<Limit name="measured-frame-rate-320x180" range="800-1800" />
<Limit name="measured-frame-rate-640x360" range="550-1200" />
<Limit name="measured-frame-rate-1280x720" range="250-500" />
<Limit name="measured-frame-rate-1920x1080" range="148-354" />
</MediaCodec>
<MediaCodec name="c2.android.av1.decoder" type="video/av01" update="true">
<Limit name="measured-frame-rate-352x288" range="448-720" />
Expand All @@ -63,18 +63,18 @@
<Limit name="measured-frame-rate-1280x720" range="57-240" />
</MediaCodec>
<MediaCodec name="c2.intel.avc.decoder" type="video/avc" update="true">
<Limit name="measured-frame-rate-320x240" range="3864-6146" />
<Limit name="measured-frame-rate-720x480" range="3526-5368" />
<Limit name="measured-frame-rate-320x240" range="1200-2600" />
<Limit name="measured-frame-rate-720x480" range="1200-2400" />
<Limit name="measured-frame-rate-1280x720" range="1585-2378" />
<Limit name="measured-frame-rate-1920x1088" range="632-1172" />
<Limit name="measured-frame-rate-3840x2160" range="272-492" />
</MediaCodec>
<MediaCodec name="c2.intel.hevc.decoder" type="video/hevc" update="true">
<Limit name="measured-frame-rate-352x288" range="2936-4562" />
<Limit name="measured-frame-rate-640x360" range="2402-3852" />
<Limit name="measured-frame-rate-720x480" range="2216-3484" />
<Limit name="measured-frame-rate-1280x720" range="1448-2286" />
<Limit name="measured-frame-rate-1920x1080" range="718-1584" />
<Limit name="measured-frame-rate-352x288" range="1200-2400" />
<Limit name="measured-frame-rate-640x360" range="1200-1900" />
<Limit name="measured-frame-rate-720x480" range="1200-2100" />
<Limit name="measured-frame-rate-1280x720" range="548-662" />
<Limit name="measured-frame-rate-1920x1080" range="210-460" />
<Limit name="measured-frame-rate-3840x2160" range="272-492" />
</MediaCodec>
<MediaCodec name="c2.intel.mp2.decoder" type="video/mpeg2" update="true">
Expand All @@ -84,10 +84,10 @@
<Limit name="measured-frame-rate-1920x1080" range="1108-1700" />
</MediaCodec>
<MediaCodec name="c2.intel.vp9.decoder" type="video/x-vnd.on2.vp9" update="true">
<Limit name="measured-frame-rate-320x180" range="3228-5688" />
<Limit name="measured-frame-rate-640x360" range="1000-2000" />
<Limit name="measured-frame-rate-1280x720" range="1498-2374" />
<Limit name="measured-frame-rate-1920x1080" range="1108-1700" />
<Limit name="measured-frame-rate-320x180" range="3228-5688" />
<Limit name="measured-frame-rate-640x360" range="1200-2800" />
<Limit name="measured-frame-rate-1280x720" range="408-804" />
<Limit name="measured-frame-rate-1920x1080" range="398-800" />
<Limit name="measured-frame-rate-3840x2160" range="303-492" />
</MediaCodec>
<MediaCodec name="c2.intel.av1.decoder" type="video/av01" update="true">
Expand Down Expand Up @@ -121,37 +121,35 @@
<Limit name="measured-frame-rate-176x144" range="964-3380" />
</MediaCodec>
<MediaCodec name="c2.android.vp8.encoder" type="video/x-vnd.on2.vp8" update="true">
<Limit name="measured-frame-rate-320x180" range="250-1124" />
<Limit name="measured-frame-rate-640x360" range="95-662" />
<Limit name="measured-frame-rate-1280x720" range="60-142" />
<Limit name="measured-frame-rate-1920x1080" range="22-25" />
<Limit name="measured-frame-rate-320x180" range="540-845" />
<Limit name="measured-frame-rate-640x360" range="318-491" />
<Limit name="measured-frame-rate-1280x720" range="91-140" />
<Limit name="measured-frame-rate-1920x1080" range="38-59" />
</MediaCodec>
<MediaCodec name="c2.android.vp9.encoder" type="video/x-vnd.on2.vp9" update="true">
<Limit name="measured-frame-rate-320x180" range="200-560" />
<Limit name="measured-frame-rate-640x360" range="100-200" />
<Limit name="measured-frame-rate-1280x720" range="35-40" />
</MediaCodec>
<MediaCodec name="c2.intel.avc.encoder" type="video/avc" update="true">
<Limit name="measured-frame-rate-320x240" range="156-310" />
<Limit name="measured-frame-rate-720x480" range="100-250" />
<Limit name="measured-frame-rate-1280x720" range="234-428" />
<Limit name="measured-frame-rate-1920x1080" range="96-208" />
<Limit name="measured-frame-rate-320x240" range="168-256" />
<Limit name="measured-frame-rate-720x480" range="125-186" />
<Limit name="measured-frame-rate-1280x720" range="81-124" />
<Limit name="measured-frame-rate-1920x1080" range="48-74" />
</MediaCodec>
<MediaCodec name="c2.intel.hevc.encoder" type="video/hevc" update="true">
<Limit name="measured-frame-rate-320x240" range="68-288" />
<Limit name="measured-frame-rate-720x480" range="60-288" />
<Limit name="measured-frame-rate-1280x720" range="204-306" />
<Limit name="measured-frame-rate-1920x1080" range="98-147" />
<Limit name="measured-frame-rate-3840x2160" range="28-42" />
<Limit name="measured-frame-rate-320x240" range="140-212" />
<Limit name="measured-frame-rate-720x480" range="100-150" />
<Limit name="measured-frame-rate-1280x720" range="70-106" />
<Limit name="measured-frame-rate-1920x1080" range="42-65" />
<Limit name="measured-frame-rate-3840x2160" range="22-35" />
</MediaCodec>
<MediaCodec name="c2.intel.vp9.encoder" type="video/x-vnd.on2.vp9" update="true">
<Limit name="measured-frame-rate-320x180" range="78-302" />
<Limit name="measured-frame-rate-320x240" range="806-1432" />
<Limit name="measured-frame-rate-640x360" range="60-288" />
<Limit name="measured-frame-rate-720x480" range="394-606" />
<Limit name="measured-frame-rate-1280x720" range="204-306" />
<Limit name="measured-frame-rate-1920x1080" range="98-147" />
<Limit name="measured-frame-rate-3840x2160" range="28-42" />
<Limit name="measured-frame-rate-320x240" range="91-136" />
<Limit name="measured-frame-rate-720x480" range="80-118" />
<Limit name="measured-frame-rate-1280x720" range="56-68" />
<Limit name="measured-frame-rate-1920x1080" range="36-53" />
<Limit name="measured-frame-rate-3840x2160" range="24-35" />
</MediaCodec>
</Encoders>
</MediaCodecs>
8 changes: 2 additions & 6 deletions groups/config-partition/true/AndroidBoard.mk
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
INSTALLED_CONFIGIMAGE_TARGET := $(PRODUCT_OUT)/config.img

selinux_fc := $(TARGET_ROOT_OUT)/file_contexts.bin

{{^slot-ab}}
OEM_CONFIG_DIR := $(TARGET_ROOT_OUT)/oem_config
Expand Down Expand Up @@ -30,8 +29,7 @@ $(RECOVERY_OEM_CONFIG_DIR):

$(PRODUCT_OUT)/ramdisk.img: $(OEM_CONFIG_DIR) $(RECOVERY_OEM_CONFIG_DIR)

$(INSTALLED_CONFIGIMAGE_TARGET) : PRIVATE_SELINUX_FC := $(selinux_fc)
$(INSTALLED_CONFIGIMAGE_TARGET) : $(MKEXTUSERIMG) $(MAKE_EXT4FS) $(E2FSCK) $(selinux_fc) $(INSTALLED_BOOTIMAGE_TARGET) $(OEM_CONFIG_DIR) $(RECOVERY_OEM_CONFIG_DIR)
$(INSTALLED_CONFIGIMAGE_TARGET) : $(MKEXTUSERIMG) $(MAKE_EXT4FS) $(E2FSCK) $(INSTALLED_BOOTIMAGE_TARGET) $(OEM_CONFIG_DIR) $(RECOVERY_OEM_CONFIG_DIR)
$(call pretty,"Target config fs image: $(INSTALLED_CONFIGIMAGE_TARGET)")
@mkdir -p $(PRODUCT_OUT)/config
$(hide) PATH=$(HOST_OUT_EXECUTABLES):$$PATH \
Expand All @@ -40,9 +38,7 @@ $(INSTALLED_CONFIGIMAGE_TARGET) : $(MKEXTUSERIMG) $(MAKE_EXT4FS) $(E2FSCK) $(sel
$(PRODUCT_OUT)/config.img \
ext4 \
oem_config \
$(BOARD_CONFIGIMAGE_PARTITION_SIZE) \
$(PRIVATE_SELINUX_FC)
$(BOARD_CONFIGIMAGE_PARTITION_SIZE)

INSTALLED_RADIOIMAGE_TARGET += $(INSTALLED_CONFIGIMAGE_TARGET)

selinux_fc :=
Loading
Loading