Lines Matching refs:jpg_comp
874 if (settings->jpg_comp.quality > 100) in zoran_check_jpg_settings()
875 settings->jpg_comp.quality = 100; in zoran_check_jpg_settings()
876 if (settings->jpg_comp.quality < 5) in zoran_check_jpg_settings()
877 settings->jpg_comp.quality = 5; in zoran_check_jpg_settings()
878 if (settings->jpg_comp.APPn < 0) in zoran_check_jpg_settings()
879 settings->jpg_comp.APPn = 0; in zoran_check_jpg_settings()
880 if (settings->jpg_comp.APPn > 15) in zoran_check_jpg_settings()
881 settings->jpg_comp.APPn = 15; in zoran_check_jpg_settings()
882 if (settings->jpg_comp.APP_len < 0) in zoran_check_jpg_settings()
883 settings->jpg_comp.APP_len = 0; in zoran_check_jpg_settings()
884 if (settings->jpg_comp.APP_len > 60) in zoran_check_jpg_settings()
885 settings->jpg_comp.APP_len = 60; in zoran_check_jpg_settings()
886 if (settings->jpg_comp.COM_len < 0) in zoran_check_jpg_settings()
887 settings->jpg_comp.COM_len = 0; in zoran_check_jpg_settings()
888 if (settings->jpg_comp.COM_len > 60) in zoran_check_jpg_settings()
889 settings->jpg_comp.COM_len = 60; in zoran_check_jpg_settings()
933 zr->jpg_settings.jpg_comp.quality = 50; /* default compression factor 8 */ in zoran_open_init_params()
938 zr->jpg_settings.jpg_comp.APPn = 0; in zoran_open_init_params()
939 zr->jpg_settings.jpg_comp.APP_len = 0; /* No APPn marker */ in zoran_open_init_params()
940 memset(zr->jpg_settings.jpg_comp.APP_data, 0, in zoran_open_init_params()
941 sizeof(zr->jpg_settings.jpg_comp.APP_data)); in zoran_open_init_params()
942 zr->jpg_settings.jpg_comp.COM_len = 0; /* No COM marker */ in zoran_open_init_params()
943 memset(zr->jpg_settings.jpg_comp.COM_data, 0, in zoran_open_init_params()
944 sizeof(zr->jpg_settings.jpg_comp.COM_data)); in zoran_open_init_params()
945 zr->jpg_settings.jpg_comp.jpeg_markers = in zoran_open_init_params()