SHA256
1
0
forked from pool/libmfx-gen
libmfx-gen/generate-supplements.sh
Stefan Dirsch a49d61f376 - created package libmfx-gen (jira#SLE/SLE-19446)
Intel oneVPL GPU Runtime is a Runtime implementation of oneVPL
  API for Intel Gen GPUs: Runtime provides access to
  hardware-accelerated video decode, encode and filtering.

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libmfx-gen?expand=0&rev=1
2021-09-23 13:42:45 +00:00

13 lines
372 B
Bash

#!/bin/sh
# run in root directory of extracted oneVPL-intel-gpu-intel-onevpl sources
for i in \
$(grep ", MFX_HW" _studio/shared/include/mfxstructures-int.h | \
grep 0x | \
sed 's/.*{.*0x//g' | \
cut -d "," -f1 | \
tr [:lower:] [:upper:] | \
sort -u); do
echo "Supplements: modalias(xorg-x11-server:pci:v00008086d0000${i}sv*sd*bc*sc*i*)"
done