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_segment.h b/include/dvr_segment.h
new file mode 100644
index 0000000..25ed203
--- /dev/null
+++ b/include/dvr_segment.h
@@ -0,0 +1,23 @@
+#ifndef _DVR_SEGMENT_H_
+#define _DVR_SEGMENT_H_
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#include "dvr_common.h"
+
+typedef struct DVR_Segment_s {
+} DVR_Segment;
+
+int dvr_segment_open(const char *location, uint64_t segment_id);
+
+int dvr_segment_file_load(const char *location, uint64_t segment_id, DVR_SegmentStoreInfo *p_info);
+
+int dvr_segment_file_del(const char *location, uint64_t segment_id);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /*END _DVR_SEGMENT_H_*/