Home
last modified time | relevance | path

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

/linux/drivers/media/pci/zoran/
H A Dzoran_card.c847 if (settings->jpg_comp.quality > 100) in zoran_check_jpg_settings()
848 settings->jpg_comp.quality = 100; in zoran_check_jpg_settings()
849 if (settings->jpg_comp.quality < 5) in zoran_check_jpg_settings()
850 settings->jpg_comp.quality = 5; in zoran_check_jpg_settings()
851 if (settings->jpg_comp.APPn < 0) in zoran_check_jpg_settings()
852 settings->jpg_comp.APPn = 0; in zoran_check_jpg_settings()
853 if (settings->jpg_comp.APPn > 15) in zoran_check_jpg_settings()
854 settings->jpg_comp.APPn = 15; in zoran_check_jpg_settings()
855 if (settings->jpg_comp.APP_len < 0) in zoran_check_jpg_settings()
856 settings->jpg_comp.APP_len = 0; in zoran_check_jpg_settings()
[all …]
H A Dzoran_device.c619 cap.quality = zr->jpg_settings.jpg_comp.quality; in zr36057_enable_jpg()
637 app.appn = zr->jpg_settings.jpg_comp.APPn; in zr36057_enable_jpg()
638 app.len = zr->jpg_settings.jpg_comp.APP_len; in zr36057_enable_jpg()
639 memcpy(app.data, zr->jpg_settings.jpg_comp.APP_data, 60); in zr36057_enable_jpg()
643 com.len = zr->jpg_settings.jpg_comp.COM_len; in zr36057_enable_jpg()
644 memcpy(com.data, zr->jpg_settings.jpg_comp.COM_data, 60); in zr36057_enable_jpg()
H A Dzoran.h152 struct v4l2_jpegcompression jpg_comp; member