Lines Matching refs:subsampling_ver
269 uint8 subsampling_ver; member
446 sp->subsampling_ver=2; in TIFFInitOJPEG()
497 *va_arg(ap,uint16*)=(uint16)sp->subsampling_ver; in OJPEGVGetField()
542 sp->subsampling_ver=(uint8)va_arg(ap,uint16_vap); in OJPEGVSetField()
544 tif->tif_dir.td_ycbcrsubsampling[1]=sp->subsampling_ver; in OJPEGVSetField()
743 …&(sp->libjpeg_jpeg_decompress_struct),sp->subsampling_convert_ycbcrimage,sp->subsampling_ver*8)==0) in OJPEGPreDecodeSkipRaw()
749 …&(sp->libjpeg_jpeg_decompress_struct),sp->subsampling_convert_ycbcrimage,sp->subsampling_ver*8)==0) in OJPEGPreDecodeSkipRaw()
823 …&(sp->libjpeg_jpeg_decompress_struct),sp->subsampling_convert_ycbcrimage,sp->subsampling_ver*8)==0) in OJPEGDecodeRaw()
826 …oy=sp->subsampling_convert_ybuf+sp->subsampling_convert_state*sp->subsampling_ver*sp->subsampling_… in OJPEGDecodeRaw()
833 for (sy=0; sy<sp->subsampling_ver; sy++) in OJPEGDecodeRaw()
991 sp->subsampling_ver=1; in OJPEGSubsamplingCorrect()
998 mv=sp->subsampling_ver; in OJPEGSubsamplingCorrect()
1004 sp->subsampling_ver=1; in OJPEGSubsamplingCorrect()
1007 …if (((sp->subsampling_hor!=mh) || (sp->subsampling_ver!=mv)) && (sp->subsampling_force_desubsampli… in OJPEGSubsamplingCorrect()
1010 … [2,2]; assuming subsampling inside JPEG data is correct",sp->subsampling_hor,sp->subsampling_ver); in OJPEGSubsamplingCorrect()
1012 …; assuming subsampling inside JPEG data is correct",sp->subsampling_hor,sp->subsampling_ver,mh,mv); in OJPEGSubsamplingCorrect()
1023 if (sp->subsampling_hor<sp->subsampling_ver) in OJPEGSubsamplingCorrect()
1024 …dule,"Subsampling values [%d,%d] are not allowed in TIFF",sp->subsampling_hor,sp->subsampling_ver); in OJPEGSubsamplingCorrect()
1056 sp->subsampling_ver=1; in OJPEGReadHeaderInfo()
1074 if (sp->strile_length%(sp->subsampling_ver*8)!=0) in OJPEGReadHeaderInfo()
1079 …idth+sp->subsampling_hor*8-1)/(sp->subsampling_hor*8))*(sp->strile_length/(sp->subsampling_ver*8)); in OJPEGReadHeaderInfo()
1183 sp->subsampling_convert_ylines=sp->subsampling_ver*8; in OJPEGWriteHeaderInfo()
1217 …sp->bytes_per_line=sp->subsampling_convert_clinelenout*(sp->subsampling_ver*sp->subsampling_hor+2); in OJPEGWriteHeaderInfo()
1218 sp->lines_per_strile=((sp->strile_length+sp->subsampling_ver-1)/sp->subsampling_ver); in OJPEGWriteHeaderInfo()
1360 sp->sof_hv[0]=((sp->subsampling_hor<<4)|sp->subsampling_ver); in OJPEGReadHeaderInfoSec()
1637 sp->subsampling_ver=(o&15); in OJPEGReadHeaderInfoSecStreamSof()
1639 … ((sp->subsampling_ver!=1) && (sp->subsampling_ver!=2) && (sp->subsampling_ver!=4))) in OJPEGReadHeaderInfoSecStreamSof()
1655 if (o!=((sp->subsampling_hor<<4)|sp->subsampling_ver)) in OJPEGReadHeaderInfoSecStreamSof()