rec: busy to calc the rec's size [1/1]

PD#SWPL-51660

Problem:
time lost in pipe exec

Solution:
enable the .list mechanism
to speed up the segment list fetch

Verify:
Patchbuild

Change-Id: I4670ac523d163ee07c58117e311085d8a01f246d
Signed-off-by: Zhiqiang Han <zhiqiang.han@amlogic.com>
diff --git a/include/dvr_segment.h b/include/dvr_segment.h
index 7d31f88..1a27d5a 100644
--- a/include/dvr_segment.h
+++ b/include/dvr_segment.h
@@ -61,6 +61,11 @@
  */
 int dvr_segment_link(const char *location, uint32_t nb_segments, uint64_t *p_segment_ids);
 
+
+#define LSEG_OP_NEW 0
+#define LSEG_OP_ADD 1
+int dvr_segment_link_op(const char *location, uint32_t nb_segments, uint64_t *p_segment_ids, int op);
+
 #ifdef __cplusplus
 }
 #endif