Home
last modified time | relevance | path

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

/drivers/media/pci/bt8xx/
Dbtcx-risc.c175 struct btcx_skiplist *skips, unsigned int *nskips, in btcx_calc_skips() argument
203 if (0 == skip || clips[clip].c.left > skips[skip-1].end) { in btcx_calc_skips()
205 skips[skip].start = clips[clip].c.left; in btcx_calc_skips()
206 if (skips[skip].start < 0) in btcx_calc_skips()
207 skips[skip].start = 0; in btcx_calc_skips()
208 skips[skip].end = clips[clip].c.left + clips[clip].c.width; in btcx_calc_skips()
209 if (skips[skip].end > width) in btcx_calc_skips()
210 skips[skip].end = width; in btcx_calc_skips()
215 if (skips[skip-1].end < end) in btcx_calc_skips()
216 skips[skip-1].end = end; in btcx_calc_skips()
[all …]
Dbttv-risc.c241 struct btcx_skiplist *skips; in bttv_risc_overlay() local
247 skips = kmalloc_array(ov->nclips, sizeof(*skips),GFP_KERNEL); in bttv_risc_overlay()
248 if (NULL == skips) in bttv_risc_overlay()
257 kfree(skips); in bttv_risc_overlay()
284 skips, &nskips, ov->clips, ov->nclips); in bttv_risc_overlay()
291 } else if (start < skips[skip].start) { in bttv_risc_overlay()
293 end = skips[skip].start; in bttv_risc_overlay()
296 end = skips[skip].end; in bttv_risc_overlay()
319 kfree(skips); in bttv_risc_overlay()
Dbtcx-risc.h26 struct btcx_skiplist *skips, unsigned int *nskips,
/drivers/media/common/
Dbtcx-risc.h28 struct btcx_skiplist *skips, unsigned int *nskips,