Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port video related commits from android 14 #2169

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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: 0 additions & 1 deletion groups/codec2/false/default

This file was deleted.

2 changes: 1 addition & 1 deletion groups/codec2/true/auto_hal.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
DG2_IDS=(
"0x4f80" "0x4f81" "0x4f82" "0x4f83" "0x4f84" "0x4f85" "0x4f86" "0x4f87" "0x4f88"
"0x5690" "0x5691" "0x5692" "0x5693" "0x5694" "0x5695" "0x5696" "0x5697" "0x5698"
"0x56a0" "0x56a1" "0x56a2" "0x56a3" "0x56a4" "0x56a5" "0x56a6" "0x56a7" "0x56a8" "0x56a9"
"0x56a0" "0x56a1" "0x56a2" "0x56a3" "0x56a4" "0x56a5" "0x56a6" "0x56a7" "0x56a8" "0x56a9" "0x56af"
"0x56b0" "0x56b1" "0x56b2" "0x56b3" "0x56ba" "0x56bb" "0x56bc" "0x56bd" "0x56be" "0x56bf"
)

Expand Down
3 changes: 1 addition & 2 deletions groups/codec2/true/media_codecs_intel_c2_video.xml
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,7 @@ and updated to vendor media codecs.
<Limit name="performance-point-1920x1080" value="180" />
<Feature name="bitrate-modes" value="VBR,CBR" />
<!--Feature name="intra-refresh" /-->
<Limit name="dumpOutput" value="false" />
<Limit name="lowPowerMode" value="false" />
<Limit name="low-power-mode" value="false" />
</MediaCodec>
{{/hw_ve_h264}}

Expand Down
3 changes: 1 addition & 2 deletions groups/codec2/true/media_codecs_intel_c2_video_gen13.xml
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,7 @@ and updated to vendor media codecs.
<Limit name="performance-point-3840x2160" value="120" />
<Limit name="performance-point-1920x1080" value="180" />
<!--Feature name="intra-refresh" /-->
<Limit name="dumpOutput" value="false" />
<Limit name="lowPowerMode" value="false" />
<Limit name="low-power-mode" value="false" />
</MediaCodec>

<MediaCodec name="c2.intel.hevc.encoder" type="video/hevc" >
Expand Down
7 changes: 6 additions & 1 deletion groups/codec2/true/product.mk
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,12 @@ BOARD_HAVE_MEDIASDK_CODEC2 := true
{{#use_onevpl}}
PRODUCT_PACKAGES += \
libvpl \
libmfx-gen
libmfx-gen \
hello-encode \
vpl_sample_decode \
vpl_sample_encode \
vpl_sample_multi_transcode \
vpl_sample_vpp
USE_ONEVPL := true
{{/use_onevpl}}

5 changes: 0 additions & 5 deletions groups/media/auto/igfx_user_feature_next.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
[config]
Perf Profiler Enable=1
Perf Profiler Output File Name=linux_perf_out.bin
Perf Profiler Multi Process Support=0
Perf Profiler Register 8=1835148
Perf Profiler Buffer Size=10000000
Enable HCP Scalability Decode=0
Disable Media Encode Scalability=1

Expand Down
2 changes: 1 addition & 1 deletion groups/media/auto/product.mk
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@ PRODUCT_PACKAGES += libhdcpsdk
PRODUCT_PACKAGES += lihdcpcommon

PRODUCT_DEFAULT_PROPERTY_OVERRIDES += debug.stagefright.c2inputsurface=-1

PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.has_HDR_display=false
Loading