static u32 double_write_mode;
static u32 without_display_mode;
-static u32 loop_playback_poc_threshold = 400;
-static u32 poc_threshold = 50;
+static int loop_playback_poc_threshold = 400;
+static int poc_threshold = 50;
/*
*[3:0] 0: default use config from omx.
module_param(mb_count_threshold, uint, 0664);
MODULE_PARM_DESC(mb_count_threshold, "\n mb_count_threshold\n");
-module_param(loop_playback_poc_threshold, uint, 0664);
+module_param(loop_playback_poc_threshold, int, 0664);
MODULE_PARM_DESC(loop_playback_poc_threshold, "\n loop_playback_poc_threshold\n");
-module_param(poc_threshold, uint, 0664);
+module_param(poc_threshold, int, 0664);
MODULE_PARM_DESC(poc_threshold, "\n poc_threshold\n");
module_param(force_config_fence, uint, 0664);
bit 0, stream base resend data when decoding buf empty
*/
static u32 data_resend_policy = 1;
-static u32 poc_num_margin = 1000;
-static u32 poc_error_limit = 30;
+static int poc_num_margin = 1000;
+static int poc_error_limit = 30;
static u32 dirty_time_threshold = 2000;
static u32 dirty_count_threshold = 200;
MODULE_PARM_DESC(data_resend_policy,
"\n h265 data_resend_policy\n");
-module_param(poc_num_margin, uint, 0664);
+module_param(poc_num_margin, int, 0664);
MODULE_PARM_DESC(poc_num_margin,
"\n h265 poc_num_margin\n");
-module_param(poc_error_limit, uint, 0664);
+module_param(poc_error_limit, int, 0664);
MODULE_PARM_DESC(poc_error_limit,
"\n h265 poc_error_limit\n");