Integrate HiSi video decoder support
This adds support for HiSi's video decoder support.
This commit does not contain the library blobs, as those
will be provided in a separate vendor package.
However this seems to gracefully fall back to software
decoding if the libraries aren't present or the kernel
doesn't support the vdec driver (like w/ 4.14+).
Change-Id: I5656e8616b18302a89fb2f708801bd5eb988aa7e
Signed-off-by: John Stultz <john.stultz@linaro.org>
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts
index 9d70393..d9658d3 100644
--- a/sepolicy/file_contexts
+++ b/sepolicy/file_contexts
@@ -11,6 +11,9 @@
/dev/ttyAMA1 u:object_r:hci_attach_dev:s0
/dev/ttyAMA4 u:object_r:hci_attach_dev:s0
/dev/hifi_misc u:object_r:audio_device:s0
+/dev/hi_vdec u:object_r:video_device:s0
+/dev/hi_venc u:object_r:video_device:s0
+
# files in /vendor
/(vendor|system/vendor)/bin/uim u:object_r:hci_attach_exec:s0