turbojpeg.c | 838 int row, pw0, ph0, pw[MAX_COMPONENTS], ph[MAX_COMPONENTS]; local 907 ph0=PAD(height, cinfo->max_v_samp_factor); 909 if((row_pointer=(JSAMPROW *)malloc(sizeof(JSAMPROW)*ph0))==NULL) 916 if(height<ph0) 917 for(i=height; i<ph0; i++) row_pointer[i]=row_pointer[height-1]; 949 ph[i]=ph0*compptr->v_samp_factor/cinfo->max_v_samp_factor; 960 for(row=0; row<ph0; row+=cinfo->max_v_samp_factor) 996 int pw0, ph0, strides[3], retval=-1; local 1003 ph0=tjPlaneHeight(0, height, subsamp); 1016 dstPlanes[1]=dstPlanes[0]+strides[0]*ph0; 1180 int pw0, ph0, strides[3], retval=-1; local 1509 int row, pw0, ph0, pw[MAX_COMPONENTS], ph[MAX_COMPONENTS]; local 1669 int pw0, ph0, strides[3], retval=-1; local 1879 int pw0, ph0, strides[3], retval=-1, jpegSubsamp=-1; local [all...] |