Searched refs:frame_drop (Results 1 - 1 of 1) sorted by relevance
/linux-4.4.14/drivers/media/usb/usbvision/ |
H A D | usbvision-core.c | 1681 unsigned int frame_rate = 0, frame_drop = 0; usbvision_set_output() local 1741 frame_drop = frame_rate * 32 / 25 - 1; usbvision_set_output() 1743 frame_drop = frame_rate * 32 / 30 - 1; usbvision_set_output() 1745 RESTRICT_TO_RANGE(frame_drop, FRAMERATE_MIN, FRAMERATE_MAX); usbvision_set_output() 1747 PDEBUG(DBG_FUNC, "frame_rate %d fps, frame_drop %d", frame_rate, frame_drop); usbvision_set_output() 1749 frame_drop = FRAMERATE_MAX; /* We can allow the maximum here, because dropping is controlled */ usbvision_set_output() 1753 frame_drop = 25; usbvision_set_output() 1755 frame_drop = 30; usbvision_set_output() 1758 /* frame_drop = 7; => frame_phase = 1, 5, 9, 13, 17, 21, 25, 0, 4, 8, ... usbvision_set_output() 1762 frame_drop = 9; => frame_phase = 1, 5, 8, 11, 14, 17, 21, 24, 27, 1, 4, 8, ... usbvision_set_output() 1766 err_code = usbvision_write_reg(usbvision, USBVISION_FRM_RATE, frame_drop); usbvision_set_output()
|
Completed in 46 milliseconds