summaryrefslogtreecommitdiff
authorshihong.zheng <shihong.zheng@amlogic.com>2019-08-27 06:15:27 (GMT)
committer Jianxin Pan <jianxin.pan@amlogic.com>2019-09-03 06:21:05 (GMT)
commit6d19a7bd2dc08f2be341d9decb0420172dcaa35f (patch)
tree2fb37c7156699e8cf6737abc182c7a849d72626a
parentf91a86e1743e1e58058813b835aa47b3df6afae2 (diff)
downloadcommon-6d19a7bd2dc08f2be341d9decb0420172dcaa35f.zip
common-6d19a7bd2dc08f2be341d9decb0420172dcaa35f.tar.gz
common-6d19a7bd2dc08f2be341d9decb0420172dcaa35f.tar.bz2
amstream: update amstream for modules compile fail in media_modules. [1/1]
PD#OPS-679 Problem: amstream.h is not match with newest media_modules. Solution: update amstream.h Verify: local build Change-Id: I830e2dc8e5b79570ff5659ec04807c819040e820 Signed-off-by: shihong.zheng <shihong.zheng@amlogic.com>
Diffstat
-rw-r--r--include/linux/amlogic/media/utils/amstream.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/include/linux/amlogic/media/utils/amstream.h b/include/linux/amlogic/media/utils/amstream.h
index d2e36e0..4e17d2f 100644
--- a/include/linux/amlogic/media/utils/amstream.h
+++ b/include/linux/amlogic/media/utils/amstream.h
@@ -205,6 +205,7 @@
#define AMSTREAM_IOC_GET_OMX_VERSION _IOW((_A_M), 0xb1, int)
#define AMSTREAM_IOC_GET_OMX_INFO _IOR((_A_M), 0xb2, unsigned int)
#define AMSTREAM_IOC_SET_HDR_INFO _IOW((_A_M), 0xb3, int)
+#define AMSTREAM_IOC_SET_TUNNEL_MODE _IOR(_A_M, 0xbd, unsigned int)
#define AMSTREAM_IOC_GET_FIRST_FRAME_TOGGLED _IOR(_A_M, 0xbe, unsigned int)
#define AMSTREAM_IOC_SET_VIDEOPEEK _IOW(_A_M, 0xbf, unsigned int)
@@ -224,6 +225,9 @@
#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
@@ -517,7 +521,12 @@ struct userdata_param_t {
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