dvr: init the dvr code[1/1]

PD#SWPL-18817

Problem:
New feature, implement a public dvr module

Solution:
implement a public dvr module

Verify:
Android Q + AC214

Change-Id: Ic270a5e7dc36bdb3671c16f1ce64729949386e5e
Signed-off-by: Pengfei Liu <pengfei.liu@amlogic.com>
diff --git a/include/dvr_crypto.h b/include/dvr_crypto.h
new file mode 100644
index 0000000..2948891
--- /dev/null
+++ b/include/dvr_crypto.h
@@ -0,0 +1,28 @@
+#ifndef _DVR_CRYPTO_H_
+#define _DVR_CRYPTO_H_
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+typedef uint32_t DVR_CryptoDeviceHandle;
+
+typedef struct DVR_CryptoParams_s {
+} DVR_CryptoParams;
+
+typedef int (*DVR_CryptoFunction) (DVR_CryptoParams params, void *userdata);
+
+int dvr_crypto_device_open(DVR_CryptoDeviceHandle *p_handle);
+
+int dvr_crypto_device_run(DVR_CryptoDeviceHandle handle,
+    uint8_t *buf_in, uint8_t *buf_out, DVR_CryptoParams *params);
+
+int dvr_crypto_device_register(DVR_CryptoDeviceHandle handle, DVR_CryptoFunction cb, void *userdata, int is_enc);
+
+int dvr_crypto_device_close(DVR_CryptoDeviceHandle handle);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /*END _DVR_CRYPTO_H_*/