di_buf->canvas_config_flag = 2;
}
di_buf->index = i;
- di_buf->vframe = &(vframe_local[i]);
+ di_buf->vframe = &(vframe_local[i]);
di_buf->vframe->private_data = di_buf;
di_buf->vframe->canvas0Addr = di_buf->nr_canvas_idx;
di_buf->vframe->canvas1Addr = di_buf->nr_canvas_idx;
pr_err("DI:no free in_buffer for progressive skip.\n");
return 0;
}
+ queue_out(di_buf_tmp);
di_buf_tmp->vframe->private_data
= di_buf_tmp;
di_buf_tmp->seq = di_pre_stru.in_seq;
di_pre_stru.in_seq++;
- queue_out(di_buf_tmp);
vframe_in[di_buf_tmp->index] = vframe;
memcpy(
di_buf_tmp->vframe, vframe,
return -1;
while (1) {
ret = down_interruptible(&di_sema);
+ if (ret != 0)
+ continue;
if (active_flag) {
if ((di_pre_stru.unreg_req_flag ||
di_pre_stru.force_unreg_req_flag ||
module_param_named(overturn, overturn, bool, 0664);
module_param_named(queue_print_flag, queue_print_flag, int, 0664);
module_param_named(full_422_pack, full_422_pack, bool, 0644);
+module_param_named(cma_print, cma_print, bool, 0644);
#ifdef DEBUG_SUPPORT
module_param_named(pulldown_enable, pulldown_enable, bool, 0644);
-module_param_named(cma_print, cma_print, bool, 0644);
#ifdef RUN_DI_PROCESS_IN_IRQ
module_param_named(input2pre, input2pre, uint, 0664);
module_param_named(input2pre_buf_miss_count, input2pre_buf_miss_count,