Home
last modified time | relevance | path

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

/external/webrtc/test/testsupport/
Djpeg_frame_writer.cc59 JSAMPROW row_pointer[1]; in WriteFrame() local
75 row_pointer[0] = &rgb_buf.get()[cinfo.next_scanline * row_stride]; in WriteFrame()
76 jpeg_write_scanlines(&cinfo, row_pointer, 1); in WriteFrame()
/external/libjpeg-turbo/
Dturbojpeg.c672 JSAMPROW *row_pointer = NULL; in tjCompress2() local
687 if ((row_pointer = (JSAMPROW *)malloc(sizeof(JSAMPROW) * height)) == NULL) in tjCompress2()
713 row_pointer[i] = (JSAMPROW)&srcBuf[(height - i - 1) * (size_t)pitch]; in tjCompress2()
715 row_pointer[i] = (JSAMPROW)&srcBuf[i * (size_t)pitch]; in tjCompress2()
718 jpeg_write_scanlines(cinfo, &row_pointer[cinfo->next_scanline], in tjCompress2()
727 free(row_pointer); in tjCompress2()
761 JSAMPROW *row_pointer = NULL; in tjEncodeYUVPlanes() local
823 if ((row_pointer = (JSAMPROW *)malloc(sizeof(JSAMPROW) * ph0)) == NULL) in tjEncodeYUVPlanes()
827 row_pointer[i] = (JSAMPROW)&srcBuf[(height - i - 1) * (size_t)pitch]; in tjEncodeYUVPlanes()
829 row_pointer[i] = (JSAMPROW)&srcBuf[i * (size_t)pitch]; in tjEncodeYUVPlanes()
[all …]
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/libgav1/libgav1/examples/
Dfile_writer.cc142 const uint8_t* const row_pointer = &plane_pointer[row * stride]; in WriteFrame() local
143 if (fwrite(row_pointer, pixel_size, width, file_) != in WriteFrame()
/external/tensorflow/tensorflow/core/lib/jpeg/
Djpeg_mem.cc729 JSAMPROW row_pointer[1]; // pointer to JSAMPLE row[s] in CompressInternal() local
739 row_pointer[0] = row_temp.get(); in CompressInternal()
748 row_pointer[0] = row_temp.get(); in CompressInternal()
752 row_pointer[0] = reinterpret_cast<JSAMPLE*>(const_cast<JSAMPLE*>(r)); in CompressInternal()
755 CHECK_EQ(jpeg_write_scanlines(&cinfo, row_pointer, 1), 1u); in CompressInternal()
/external/pdfium/core/fxcodec/jpeg/
Djpegmodule.cpp642 JSAMPROW row_pointer[1]; in JpegEncode() local
661 row_pointer[0] = line_buf; in JpegEncode()
663 row_pointer[0] = const_cast<uint8_t*>(src_scan); in JpegEncode()
666 jpeg_write_scanlines(&cinfo, row_pointer, 1); in JpegEncode()
/external/libpng/
Dlibpng-manual.txt2234 a single row_pointer instead of an array of row_pointers:
2236 png_bytep row_pointer = row;
2237 png_read_row(png_ptr, row_pointer, NULL);
3632 a single row_pointer instead of an array of row_pointers:
3634 png_bytep row_pointer = row;
3636 png_write_row(png_ptr, row_pointer);