Lines Matching refs:row_pointer
542 int i, retval=0; JSAMPROW *row_pointer=NULL; in tjCompress2() local
589 if((row_pointer=(JSAMPROW *)malloc(sizeof(JSAMPROW)*height))==NULL) in tjCompress2()
593 if(flags&TJFLAG_BOTTOMUP) row_pointer[i]=&srcBuf[(height-i-1)*pitch]; in tjCompress2()
594 else row_pointer[i]=&srcBuf[i*pitch]; in tjCompress2()
598 jpeg_write_scanlines(cinfo, &row_pointer[cinfo->next_scanline], in tjCompress2()
610 if(row_pointer) free(row_pointer); in tjCompress2()
750 int i, retval=0; JSAMPROW *row_pointer=NULL; in tjDecompress2() local
819 if((row_pointer=(JSAMPROW *)malloc(sizeof(JSAMPROW) in tjDecompress2()
825 row_pointer[i]=&dstBuf[(dinfo->output_height-i-1)*pitch]; in tjDecompress2()
826 else row_pointer[i]=&dstBuf[i*pitch]; in tjDecompress2()
830 jpeg_read_scanlines(dinfo, &row_pointer[dinfo->output_scanline], in tjDecompress2()
844 if(row_pointer) free(row_pointer); in tjDecompress2()