PD#OPS-679
Problem:
add decoder slt test code.
Solution:
add crc check interlace in amstream.
Verify:
x301
Change-Id: Ie7c82140bc4e1fa4c470d0e133a12afee14d9ca8
Signed-off-by: shihong.zheng <shihong.zheng@amlogic.com>
#define AMSTREAM_IOC_GET_AVINFO _IOR((_A_M), 0xc7, struct av_param_info_t)
#define AMSTREAM_IOC_GET_QOSINFO _IOR((_A_M), 0xc8, struct av_param_qosinfo_t)
+#define AMSTREAM_IOC_SET_CRC _IOW((_A_M), 0xc9, struct usr_crc_info_t)
+#define AMSTREAM_IOC_GET_CRC_CMP_RESULT _IOWR((_A_M), 0xca, int)
+
#define TRICKMODE_NONE 0x00
#define TRICKMODE_I 0x01
struct userdata_meta_info_t meta_info; /*output*/
};
-
+struct usr_crc_info_t {
+ u32 id;
+ u32 pic_num;
+ u32 y_crc;
+ u32 uv_crc;
+};
/*******************************************************************
* 0x100~~0x1FF : set cmd