Home
last modified time | relevance | path

Searched refs:row_pointer (Results 1 – 7 of 7) sorted by relevance

/external/libvncserver/common/
Dturbojpeg.c542 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()
[all …]
/external/libjpeg-turbo/
Dexample.c92 JSAMPROW row_pointer[1]; /* pointer to JSAMPLE row[s] */ in write_JPEG_file() local
161 row_pointer[0] = & image_buffer[cinfo.next_scanline * row_stride]; in write_JPEG_file()
162 (void) jpeg_write_scanlines(&cinfo, row_pointer, 1); in write_JPEG_file()
Dturbojpeg.c735 int i, retval=0, alloc=1; JSAMPROW *row_pointer=NULL; in tjCompress2() local
784 if((row_pointer=(JSAMPROW *)malloc(sizeof(JSAMPROW)*height))==NULL) in tjCompress2()
788 if(flags&TJFLAG_BOTTOMUP) row_pointer[i]=&srcBuf[(height-i-1)*pitch]; in tjCompress2()
789 else row_pointer[i]=&srcBuf[i*pitch]; in tjCompress2()
793 jpeg_write_scanlines(cinfo, &row_pointer[cinfo->next_scanline], in tjCompress2()
803 if(row_pointer) free(row_pointer); in tjCompress2()
834 int i, retval=0; JSAMPROW *row_pointer=NULL; in tjEncodeYUVPlanes() local
909 if((row_pointer=(JSAMPROW *)malloc(sizeof(JSAMPROW)*ph0))==NULL) in tjEncodeYUVPlanes()
913 if(flags&TJFLAG_BOTTOMUP) row_pointer[i]=&srcBuf[(height-i-1)*pitch]; in tjEncodeYUVPlanes()
914 else row_pointer[i]=&srcBuf[i*pitch]; in tjEncodeYUVPlanes()
[all …]
Dlibjpeg.txt406 JSAMPROW row_pointer[1]; /* pointer to a single row */
412 row_pointer[0] = & image_buffer[cinfo.next_scanline * row_stride];
413 jpeg_write_scanlines(&cinfo, row_pointer, 1);
/external/pdfium/core/src/fxcodec/codec/
Dfx_codec_jpeg.cpp195 JSAMPROW row_pointer[1]; in _JpegEncode() local
214 row_pointer[0] = line_buf; in _JpegEncode()
216 row_pointer[0] = (uint8_t*)src_scan; in _JpegEncode()
219 jpeg_write_scanlines(&cinfo, row_pointer, 1); in _JpegEncode()
/external/skia/src/images/
DSkImageDecoder_libjpeg.cpp884 JSAMPROW row_pointer[1]; /* pointer to JSAMPLE row[s] */ in onEncode() local
887 row_pointer[0] = oneRowP; in onEncode()
888 (void) jpeg_write_scanlines(&cinfo, row_pointer, 1); in onEncode()
/external/libpng/
Dlibpng-manual.txt2186 a single row_pointer instead of an array of row_pointers:
2188 png_bytep row_pointer = row;
2189 png_read_row(png_ptr, row_pointer, NULL);
3573 a single row_pointer instead of an array of row_pointers:
3575 png_bytep row_pointer = row;
3577 png_write_row(png_ptr, row_pointer);