Home
last modified time | relevance | path

Searched refs:skips (Results 1 – 3 of 3) sorted by relevance

/drivers/media/common/
Dbtcx-risc.c188 struct btcx_skiplist *skips, unsigned int *nskips, in btcx_calc_skips() argument
216 if (0 == skip || clips[clip].c.left > skips[skip-1].end) { in btcx_calc_skips()
218 skips[skip].start = clips[clip].c.left; in btcx_calc_skips()
219 if (skips[skip].start < 0) in btcx_calc_skips()
220 skips[skip].start = 0; in btcx_calc_skips()
221 skips[skip].end = clips[clip].c.left + clips[clip].c.width; in btcx_calc_skips()
222 if (skips[skip].end > width) in btcx_calc_skips()
223 skips[skip].end = width; in btcx_calc_skips()
228 if (skips[skip-1].end < end) in btcx_calc_skips()
229 skips[skip-1].end = end; in btcx_calc_skips()
[all …]
Dbtcx-risc.h27 struct btcx_skiplist *skips, unsigned int *nskips,
/drivers/media/pci/bt8xx/
Dbttv-risc.c252 struct btcx_skiplist *skips; in bttv_risc_overlay() local
258 if (NULL == (skips = kmalloc(sizeof(*skips) * ov->nclips,GFP_KERNEL))) in bttv_risc_overlay()
267 kfree(skips); in bttv_risc_overlay()
294 skips, &nskips, ov->clips, ov->nclips); in bttv_risc_overlay()
301 } else if (start < skips[skip].start) { in bttv_risc_overlay()
303 end = skips[skip].start; in bttv_risc_overlay()
306 end = skips[skip].end; in bttv_risc_overlay()
329 kfree(skips); in bttv_risc_overlay()