Home
last modified time | relevance | path

Searched refs:cropcap (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/drivers/media/pci/bt8xx/
H A Dbttv-vbi.c180 if (fh->vbi_fmt.end >= tvnorm->cropcap.bounds.top) in vbi_buffer_prepare()
181 min_vdelay += fh->vbi_fmt.end - tvnorm->cropcap.bounds.top; in vbi_buffer_prepare()
247 max_end = (tvnorm->cropcap.bounds.top in try_fmt()
248 + tvnorm->cropcap.bounds.height) >> 1; in try_fmt()
383 max_end = (tvnorm->cropcap.bounds.top in bttv_g_fmt_vbi_cap()
384 + tvnorm->cropcap.bounds.height) >> 1; in bttv_g_fmt_vbi_cap()
430 real_count = ((tvnorm->cropcap.defrect.top >> 1) in bttv_vbi_fmt_reset()
H A Dbttv-driver.c252 extraheight Added to sheight for cropcap.bounds.height only
257 .cropcap.bounds.left = minhdelayx1, \
260 .cropcap.bounds.top = (videostart0) * 2 - (vdelay) + MIN_VDELAY, \
262 .cropcap.bounds.width = (totalwidth) - (minhdelayx1) - 4, \
263 .cropcap.bounds.height = (sheight) + (extraheight) + (vdelay) - \
265 .cropcap.defrect.left = hdelayx1, \
266 .cropcap.defrect.top = (videostart0) * 2, \
267 .cropcap.defrect.width = swidth, \
268 .cropcap.defrect.height = sheight, \
269 .cropcap
[all...]
H A Dbttv-risc.c382 if ((crop->left == tvnorm->cropcap.defrect.left in bttv_calc_geo()
383 && crop->top == tvnorm->cropcap.defrect.top in bttv_calc_geo()
384 && crop->width == tvnorm->cropcap.defrect.width in bttv_calc_geo()
385 && crop->height == tvnorm->cropcap.defrect.height in bttv_calc_geo()
404 geo->vdelay = crop->top - tvnorm->cropcap.bounds.top + MIN_VDELAY; in bttv_calc_geo()
H A Dbttvp.h92 is determined by cropcap.bounds. */
97 struct v4l2_cropcap cropcap; member
192 /* A cropping rectangle in struct bttv_tvnorm.cropcap units. */
483 cropping parameters in bttv_tvnorm.cropcap units. Protected
488 bttv_tvnorm.cropcap line units. Set by check_alloc_btres()
/kernel/linux/linux-6.6/drivers/media/pci/bt8xx/
H A Dbttv-vbi.c193 max_end = (tvnorm->cropcap.bounds.top in try_fmt()
194 + tvnorm->cropcap.bounds.height) >> 1; in try_fmt()
323 max_end = (tvnorm->cropcap.bounds.top in bttv_g_fmt_vbi_cap()
324 + tvnorm->cropcap.bounds.height) >> 1; in bttv_g_fmt_vbi_cap()
369 real_count = ((tvnorm->cropcap.defrect.top >> 1) in bttv_vbi_fmt_reset()
H A Dbttv-driver.c252 extraheight Added to sheight for cropcap.bounds.height only
257 .cropcap.bounds.left = minhdelayx1, \
260 .cropcap.bounds.top = (videostart0) * 2 - (vdelay) + MIN_VDELAY, \
262 .cropcap.bounds.width = (totalwidth) - (minhdelayx1) - 4, \
263 .cropcap.bounds.height = (sheight) + (extraheight) + (vdelay) - \
265 .cropcap.defrect.left = hdelayx1, \
266 .cropcap.defrect.top = (videostart0) * 2, \
267 .cropcap.defrect.width = swidth, \
268 .cropcap.defrect.height = sheight, \
269 .cropcap
[all...]
H A Dbttv-risc.c293 if ((crop->left == tvnorm->cropcap.defrect.left in bttv_calc_geo()
294 && crop->top == tvnorm->cropcap.defrect.top in bttv_calc_geo()
295 && crop->width == tvnorm->cropcap.defrect.width in bttv_calc_geo()
296 && crop->height == tvnorm->cropcap.defrect.height in bttv_calc_geo()
315 geo->vdelay = crop->top - tvnorm->cropcap.bounds.top + MIN_VDELAY; in bttv_calc_geo()
544 if (btv->vbi_fmt.end >= tvnorm->cropcap.bounds.top) in bttv_buffer_risc_vbi()
545 min_vdelay += btv->vbi_fmt.end - tvnorm->cropcap.bounds.top; in bttv_buffer_risc_vbi()
H A Dbttvp.h91 is determined by cropcap.bounds. */
96 struct v4l2_cropcap cropcap; member
180 /* A cropping rectangle in struct bttv_tvnorm.cropcap units. */
456 cropping parameters in bttv_tvnorm.cropcap units. Protected
461 bttv_tvnorm.cropcap line units. Set by check_alloc_btres()

Completed in 11 milliseconds