Skip to content

Instantly share code, notes, and snippets.

@wolfgar
wolfgar / gist:6568c717efc76bedbb6a
Created January 22, 2015 23:34
double rate kernel patch
--- a/drivers/mxc/ipu3/ipu_device.c
+++ b/drivers/mxc/ipu3/ipu_device.c
@@ -2090,6 +2090,7 @@ static int init_ic(struct ipu_soc *ipu, struct ipu_task_entry *t)
inbuf = t->input.paddr + t->set.istride + t->set.i_off;
params.mem_prp_vf_mem.field_fmt =
IPU_DEINTERLACE_FIELD_BOTTOM;
+ outbuf += t->set.ostride;
} else
inbuf = t->input.paddr + t->set.i_off;
} else {