MCPcopy Create free account
hub / github.com/AcademySoftwareFoundation/OpenImageIO / write_tiles

Method write_tiles

src/python/py_imageoutput.cpp:172–182  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

170
171
172bool
173ImageOutputWrap::write_tiles (int xbegin, int xend, int ybegin, int yend,
174 int zbegin, int zend, TypeDesc format,
175 object &buffer, stride_t xstride,
176 stride_t ystride, stride_t zstride)
177{
178 imagesize_t size = m_output->spec().tile_bytes();
179 const void *array = make_read_buffer(buffer, size);
180 return m_output->write_tiles (xbegin, xend, ybegin, yend, zbegin, zend,
181 format, array, xstride, ystride, zstride);
182}
183
184bool
185ImageOutputWrap::write_tiles_bt (int xbegin, int xend, int ybegin, int yend,

Callers 2

copy_subimageFunction · 0.45

Calls 2

tile_bytesMethod · 0.80
specMethod · 0.45

Tested by 2

copy_subimageFunction · 0.36