Home
last modified time | relevance | path

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

/external/libjpeg-turbo/
Dturbojpeg.c640 JSAMPROW *row_pointer = NULL; in tjCompress2() local
655 if ((row_pointer = (JSAMPROW *)malloc(sizeof(JSAMPROW) * height)) == NULL) in tjCompress2()
682 row_pointer[i] = (JSAMPROW)&srcBuf[(height - i - 1) * (size_t)pitch]; in tjCompress2()
684 row_pointer[i] = (JSAMPROW)&srcBuf[i * (size_t)pitch]; in tjCompress2()
687 jpeg_write_scanlines(cinfo, &row_pointer[cinfo->next_scanline], in tjCompress2()
693 if (row_pointer) free(row_pointer); in tjCompress2()
727 JSAMPROW *row_pointer = NULL; in tjEncodeYUVPlanes() local
789 if ((row_pointer = (JSAMPROW *)malloc(sizeof(JSAMPROW) * ph0)) == NULL) in tjEncodeYUVPlanes()
793 row_pointer[i] = (JSAMPROW)&srcBuf[(height - i - 1) * (size_t)pitch]; in tjEncodeYUVPlanes()
795 row_pointer[i] = (JSAMPROW)&srcBuf[i * (size_t)pitch]; in tjEncodeYUVPlanes()
[all …]
Dexample.txt106 JSAMPROW row_pointer[1]; /* pointer to JSAMPLE row[s] */
175 row_pointer[0] = &image_buffer[cinfo.next_scanline * row_stride];
176 (void)jpeg_write_scanlines(&cinfo, row_pointer, 1);
Dlibjpeg.txt408 JSAMPROW row_pointer[1]; /* pointer to a single row */
414 row_pointer[0] = &image_buffer[cinfo.next_scanline * row_stride];
415 jpeg_write_scanlines(&cinfo, row_pointer, 1);
/external/tensorflow/tensorflow/core/lib/jpeg/
Djpeg_mem.cc724 JSAMPROW row_pointer[1]; // pointer to JSAMPLE row[s] in CompressInternal() local
734 row_pointer[0] = row_temp.get(); in CompressInternal()
743 row_pointer[0] = row_temp.get(); in CompressInternal()
747 row_pointer[0] = reinterpret_cast<JSAMPLE*>(const_cast<JSAMPLE*>(r)); in CompressInternal()
750 CHECK_EQ(jpeg_write_scanlines(&cinfo, row_pointer, 1), 1u); in CompressInternal()
/external/pdfium/core/fxcodec/codec/
Dfx_codec_jpeg.cpp563 JSAMPROW row_pointer[1]; local
582 row_pointer[0] = line_buf;
584 row_pointer[0] = (uint8_t*)src_scan;
587 jpeg_write_scanlines(&cinfo, row_pointer, 1);
/external/libpng/
Dlibpng-manual.txt2233 a single row_pointer instead of an array of row_pointers:
2235 png_bytep row_pointer = row;
2236 png_read_row(png_ptr, row_pointer, NULL);
3631 a single row_pointer instead of an array of row_pointers:
3633 png_bytep row_pointer = row;
3635 png_write_row(png_ptr, row_pointer);