Lines Matching refs:plane_sample_offset
260 uint8 plane_sample_offset; member
689 sp->plane_sample_offset=(uint8)s; in OJPEGPreDecode()
1053 sp->plane_sample_offset=0; in OJPEGReadHeaderInfo()
1066 sp->plane_sample_offset=0; in OJPEGReadHeaderInfo()
1101 sp->plane_sample_offset=s-1; in OJPEGReadSecondarySos()
1102 while(sp->sos_end[sp->plane_sample_offset].log==0) in OJPEGReadSecondarySos()
1103 sp->plane_sample_offset--; in OJPEGReadSecondarySos()
1104 sp->in_buffer_source=sp->sos_end[sp->plane_sample_offset].in_buffer_source; in OJPEGReadSecondarySos()
1105 sp->in_buffer_next_strile=sp->sos_end[sp->plane_sample_offset].in_buffer_next_strile; in OJPEGReadSecondarySos()
1106 sp->in_buffer_file_pos=sp->sos_end[sp->plane_sample_offset].in_buffer_file_pos; in OJPEGReadSecondarySos()
1108 sp->in_buffer_file_togo=sp->sos_end[sp->plane_sample_offset].in_buffer_file_togo; in OJPEGReadSecondarySos()
1111 while(sp->plane_sample_offset<s) in OJPEGReadSecondarySos()
1130 sp->plane_sample_offset++; in OJPEGReadSecondarySos()
1133 sp->sos_end[sp->plane_sample_offset].log=1; in OJPEGReadSecondarySos()
1134 sp->sos_end[sp->plane_sample_offset].in_buffer_source=sp->in_buffer_source; in OJPEGReadSecondarySos()
1135 sp->sos_end[sp->plane_sample_offset].in_buffer_next_strile=sp->in_buffer_next_strile; in OJPEGReadSecondarySos()
1136 … sp->sos_end[sp->plane_sample_offset].in_buffer_file_pos=sp->in_buffer_file_pos-sp->in_buffer_togo; in OJPEGReadSecondarySos()
1137 …sp->sos_end[sp->plane_sample_offset].in_buffer_file_togo=sp->in_buffer_file_togo+sp->in_buffer_tog… in OJPEGReadSecondarySos()
1342 assert(sp->plane_sample_offset==0); in OJPEGReadHeaderInfoSec()
1719 sp->sos_cs[sp->plane_sample_offset+o]=n; in OJPEGReadHeaderInfoSecStreamSos()
1723 sp->sos_tda[sp->plane_sample_offset+o]=n; in OJPEGReadHeaderInfoSecStreamSos()
2271 sp->out_buffer[10+m*3]=sp->sof_c[sp->plane_sample_offset+m]; in OJPEGWriteStreamSof()
2273 sp->out_buffer[10+m*3+1]=sp->sof_hv[sp->plane_sample_offset+m]; in OJPEGWriteStreamSof()
2275 sp->out_buffer[10+m*3+2]=sp->sof_tq[sp->plane_sample_offset+m]; in OJPEGWriteStreamSof()
2299 sp->out_buffer[5+m*2]=sp->sos_cs[sp->plane_sample_offset+m]; in OJPEGWriteStreamSos()
2301 sp->out_buffer[5+m*2+1]=sp->sos_tda[sp->plane_sample_offset+m]; in OJPEGWriteStreamSos()