Home
last modified time | relevance | path

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

/plan9/sys/src/cmd/gs/src/
H A Dsdeparam.c257 if (pdct->ColorTransform < 0) in s_DCTE_put_params()
258 pdct->ColorTransform = 1; /* default */ in s_DCTE_put_params()
259 if (pdct->ColorTransform == 0) { in s_DCTE_put_params()
263 pdct->ColorTransform = 1; /* flag YCC xform */ in s_DCTE_put_params()
266 if (pdct->ColorTransform < 0) in s_DCTE_put_params()
267 pdct->ColorTransform = 0; /* default */ in s_DCTE_put_params()
268 if (pdct->ColorTransform != 0) { in s_DCTE_put_params()
271 pdct->ColorTransform = 2; /* flag YCCK xform */ in s_DCTE_put_params()
278 pdct->ColorTransform = 0; /* no transform otherwise */ in s_DCTE_put_params()
H A Dsdctc.c40 ss->ColorTransform = -1; in s_DCT_set_defaults()
H A Dsdctd.c164 if (ss->ColorTransform >= 0 && in s_DCTD_process()
169 (ss->ColorTransform ? JCS_YCbCr : JCS_RGB); in s_DCTD_process()
174 (ss->ColorTransform ? JCS_YCCK : JCS_CMYK); in s_DCTD_process()
H A Dsdcte.c57 ss->ColorTransform = -1; in s_DCTE_set_defaults()
128 *pw->ptr = ss->ColorTransform; in s_DCTE_process()
H A Dsdct.h112 int ColorTransform; /* -1 if not specified */ member
H A Dsdcparam.c35 dctp("ColorTransform", gs_param_type_int, stream_DCT_state, ColorTransform),
433 pdct->ColorTransform < -1 || pdct->ColorTransform > 2 || in s_DCT_put_params()
H A Dgdevjpeg.c251 state.ColorTransform = 1; /* default for RGB */ in jpeg_print_page()