Lines Matching refs:row_pointer
631 JSAMPROW *row_pointer = NULL; in tjCompress2() local
646 if ((row_pointer = (JSAMPROW *)malloc(sizeof(JSAMPROW) * height)) == NULL) in tjCompress2()
673 row_pointer[i] = (JSAMPROW)&srcBuf[(height - i - 1) * pitch]; in tjCompress2()
675 row_pointer[i] = (JSAMPROW)&srcBuf[i * pitch]; in tjCompress2()
678 jpeg_write_scanlines(cinfo, &row_pointer[cinfo->next_scanline], in tjCompress2()
684 if (row_pointer) free(row_pointer); in tjCompress2()
718 JSAMPROW *row_pointer = NULL; in tjEncodeYUVPlanes() local
780 if ((row_pointer = (JSAMPROW *)malloc(sizeof(JSAMPROW) * ph0)) == NULL) in tjEncodeYUVPlanes()
784 row_pointer[i] = (JSAMPROW)&srcBuf[(height - i - 1) * pitch]; in tjEncodeYUVPlanes()
786 row_pointer[i] = (JSAMPROW)&srcBuf[i * pitch]; in tjEncodeYUVPlanes()
789 for (i = height; i < ph0; i++) row_pointer[i] = row_pointer[height - 1]; in tjEncodeYUVPlanes()
844 (*cinfo->cconvert->color_convert) (cinfo, &row_pointer[row], tmpbuf, 0, in tjEncodeYUVPlanes()
858 if (row_pointer) free(row_pointer); in tjEncodeYUVPlanes()
1238 JSAMPROW *row_pointer = NULL; in tjDecompress2() local
1285 if ((row_pointer = in tjDecompress2()
1294 row_pointer[i] = &dstBuf[(dinfo->output_height - i - 1) * pitch]; in tjDecompress2()
1296 row_pointer[i] = &dstBuf[i * pitch]; in tjDecompress2()
1299 jpeg_read_scanlines(dinfo, &row_pointer[dinfo->output_scanline], in tjDecompress2()
1305 if (row_pointer) free(row_pointer); in tjDecompress2()
1380 JSAMPROW *row_pointer = NULL; in tjDecodeYUVPlanes() local
1447 if ((row_pointer = (JSAMPROW *)malloc(sizeof(JSAMPROW) * ph0)) == NULL) in tjDecodeYUVPlanes()
1451 row_pointer[i] = &dstBuf[(height - i - 1) * pitch]; in tjDecodeYUVPlanes()
1453 row_pointer[i] = &dstBuf[i * pitch]; in tjDecodeYUVPlanes()
1456 for (i = height; i < ph0; i++) row_pointer[i] = row_pointer[height - 1]; in tjDecodeYUVPlanes()
1501 dinfo->max_v_samp_factor, &row_pointer[row], in tjDecodeYUVPlanes()
1508 if (row_pointer) free(row_pointer); in tjDecodeYUVPlanes()