Lines Matching refs:h_sampling
157 uint16 h_sampling; /* luminance sampling factors */ member
976 sp->h_sampling = td->td_ycbcrsubsampling[0]; in JPEGSetupDecode()
981 sp->h_sampling = 1; in JPEGSetupDecode()
1048 segment_width = TIFFhowmany_32(segment_width, sp->h_sampling); in JPEGPreDecode()
1096 if (sp->cinfo.d.comp_info[0].h_samp_factor != sp->h_sampling || in JPEGPreDecode()
1103 sp->h_sampling, sp->v_sampling); in JPEGPreDecode()
1134 (sp->h_sampling != 1 || sp->v_sampling != 1)) in JPEGPreDecode()
1523 sp->h_sampling = td->td_ycbcrsubsampling[0]; in JPEGSetupEncode()
1555 sp->h_sampling = 1; in JPEGSetupEncode()
1589 if ((td->td_tilewidth % (sp->h_sampling * DCTSIZE)) != 0) { in JPEGSetupEncode()
1592 sp->h_sampling * DCTSIZE); in JPEGSetupEncode()
1667 segment_width = TIFFhowmany_32(segment_width, sp->h_sampling); in JPEGPreEncode()
1684 if (sp->h_sampling != 1 || sp->v_sampling != 1) in JPEGPreEncode()
1693 sp->cinfo.c.comp_info[0].h_samp_factor = sp->h_sampling; in JPEGPreEncode()
1855 bytesperclumpline = (((sp->cinfo.c.image_width+sp->h_sampling-1)/sp->h_sampling) in JPEGEncodeRaw()
1856 *(sp->h_sampling*sp->v_sampling+2)*sp->cinfo.c.data_precision+7) in JPEGEncodeRaw()