Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/media/usb/usbvision/
Dusbvision-core.c1670 unsigned int frame_rate = 0, frame_drop = 0; in usbvision_set_output() local
1730 frame_drop = frame_rate * 32 / 25 - 1; in usbvision_set_output()
1732 frame_drop = frame_rate * 32 / 30 - 1; in usbvision_set_output()
1734 RESTRICT_TO_RANGE(frame_drop, FRAMERATE_MIN, FRAMERATE_MAX); in usbvision_set_output()
1736 PDEBUG(DBG_FUNC, "frame_rate %d fps, frame_drop %d", frame_rate, frame_drop); in usbvision_set_output()
1738 frame_drop = FRAMERATE_MAX; /* We can allow the maximum here, because dropping is controlled */ in usbvision_set_output()
1742 frame_drop = 25; in usbvision_set_output()
1744 frame_drop = 30; in usbvision_set_output()
1755 err_code = usbvision_write_reg(usbvision, USBVISION_FRM_RATE, frame_drop); in usbvision_set_output()