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

Add secure decoder xml #2229

Open
wants to merge 1 commit 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
30 changes: 30 additions & 0 deletions groups/codec2/true/media_codecs_intel_c2_video.xml
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,36 @@ and updated to vendor media codecs.
<Feature name="adaptive-playback" />
</MediaCodec>
{{/hw_vd_av1}}
<!--secure components-->
{{#hw_vd_h264}}
<MediaCodec name="c2.intel.avc.decoder.secure" 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-65536" /> <!-- max 4096x4096 equivalent -->
<Limit name="blocks-per-second" range="1-1966080" />
<Limit name="bitrate" range="1-40000000" />
<Limit name="performance-point-3840x2160" value="30" />
<Feature name="adaptive-playback" />
<Feature name="secure-playback" required="true" />
</MediaCodec>
{{/hw_vd_h264}}

{{#hw_vd_h265}}
<MediaCodec name="c2.intel.hevc.decoder.secure" 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-1048576" /> <!-- max 8192x8192 -->
<Limit name="blocks-per-second" range="1-31457280" />
<Limit name="bitrate" range="1-40000000" />
<Limit name="performance-point-3840x2160" value="30" />
<Feature name="adaptive-playback" />
<Feature name="secure-playback" required="true" />
</MediaCodec>
{{/hw_vd_h265}}
</Decoders>

<Encoders>
Expand Down
8 changes: 8 additions & 0 deletions groups/codec2/true/mfx_c2_store.conf
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,11 @@ c2.intel.av1.decoder : libmfx_c2_components_hw.so
{{#hw_ve_av1}}
c2.intel.av1.encoder : libmfx_c2_components_hw.so
{{/hw_ve_av1}}

{{#hw_vd_h264}}
c2.intel.avc.decoder.secure : libmfx_c2_components_hw.so
{{/hw_vd_h264}}

{{#hw_vd_h265}}
c2.intel.hevc.decoder.secure : libmfx_c2_components_hw.so
{{/hw_vd_h265}}