libdvr: add sec buf for record.[1/1]

PD#SWPL-35573

Problem:
add sec buf for record

Solution:
1 add sec buf for record.

Verify:
ok on sc2.

Change-Id: I046871cb09e75a85e5c3e6f721acdb1e9bf6196f
Signed-off-by: hualing chen <hualing.chen@amlogic.com>
diff --git a/include/dmx.h b/include/dmx.h
index bdc9e55..fe3948c 100644
--- a/include/dmx.h
+++ b/include/dmx.h
@@ -156,6 +156,13 @@
 	__u32 data_end;
 };
 
+struct dmx_sec_ts_data {
+	__u32 buf_start;
+	__u32 buf_end;
+	__u32 data_start;
+	__u32 data_end;
+};
+
 enum dmx_audio_format {
 	AUDIO_UNKNOWN = 0,	/* unknown media */
 	AUDIO_MPX = 1,		/* mpeg audio MP2/MP3 */
@@ -175,6 +182,10 @@
 	__u32 wp_offset;
 };
 
+struct dmx_sec_mem {
+	__u32 buff;
+	__u32 size;
+};
 #endif
 
 /**
@@ -275,6 +286,9 @@
 #define DMX_GET_MEM_INFO        _IOR('o', 81, struct dmx_mem_info)
 #define DMX_SET_HW_SOURCE       _IO('o', 82)
 #define DMX_GET_HW_SOURCE       _IOR('o', 83, int)
+#define DMX_GET_FILTER_MEM_INFO _IOR('o', 84, struct dmx_filter_mem_info)
+/*just for dvr sec mem, please call before DMX_SET_PES_FILTER*/
+#define DMX_SET_SEC_MEM			_IOW('o', 85, struct dmx_sec_mem)
 #endif
 
 #endif /* _UAPI_DVBDMX_H_ */