Home
last modified time | relevance | path

Searched refs:row_pointer (Results 1 – 8 of 8) 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.c770 int i, retval=0, alloc=1; JSAMPROW *row_pointer=NULL; in tjCompress2() local
819 if((row_pointer=(JSAMPROW *)malloc(sizeof(JSAMPROW)*height))==NULL) in tjCompress2()
824 row_pointer[i]=(JSAMPROW)&srcBuf[(height-i-1)*(size_t)pitch]; in tjCompress2()
825 else row_pointer[i]=(JSAMPROW)&srcBuf[i*(size_t)pitch]; in tjCompress2()
829 jpeg_write_scanlines(cinfo, &row_pointer[cinfo->next_scanline], in tjCompress2()
839 if(row_pointer) free(row_pointer); in tjCompress2()
871 int i, retval=0; JSAMPROW *row_pointer=NULL; in tjEncodeYUVPlanes() local
946 if((row_pointer=(JSAMPROW *)malloc(sizeof(JSAMPROW)*ph0))==NULL) in tjEncodeYUVPlanes()
951 row_pointer[i]=(JSAMPROW)&srcBuf[(height-i-1)*(size_t)pitch]; in tjEncodeYUVPlanes()
952 else row_pointer[i]=(JSAMPROW)&srcBuf[i*(size_t)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/fxcodec/codec/
Dfx_codec_jpeg.cpp546 JSAMPROW row_pointer[1]; local
565 row_pointer[0] = line_buf;
567 row_pointer[0] = (uint8_t*)src_scan;
570 jpeg_write_scanlines(&cinfo, row_pointer, 1);
/external/syslinux/com32/lib/libpng/
Dlibpng.txt1170 a single row_pointer instead of an array of row_pointers:
1172 png_bytep row_pointer = row;
1173 png_read_row(png_ptr, row_pointer, NULL);
2214 a single row_pointer instead of an array of row_pointers:
2216 png_bytep row_pointer = row;
2218 png_write_row(png_ptr, row_pointer);
/external/skia/third_party/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);
/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);
3578 a single row_pointer instead of an array of row_pointers:
3580 png_bytep row_pointer = row;
3582 png_write_row(png_ptr, row_pointer);