/dports/net/xrdp-devel/xrdp-0.9.16/librfxcodec/src/ |
H A D | rfxencode_compose.c | 213 int stride_bytes, const char *quantVals, in rfx_compose_message_tile_yuv() argument 233 stride_bytes, in rfx_compose_message_tile_yuv() 257 int stride_bytes, const char *quantVals, in rfx_compose_message_tile_yuva() argument 278 stride_bytes, in rfx_compose_message_tile_yuva() 303 int stride_bytes, const char *quantVals, in rfx_compose_message_tile_rgb() argument 323 stride_bytes, in rfx_compose_message_tile_rgb() 347 int stride_bytes, const char *quantVals, in rfx_compose_message_tile_argb() argument 369 stride_bytes, in rfx_compose_message_tile_argb() 394 int stride_bytes, in rfx_compose_message_tileset() argument 465 tile_data = buf + (y << 8) * (stride_bytes >> 8) + (x << 8); in rfx_compose_message_tileset() [all …]
|
H A D | rfxencode_rgb_to_yuv.c | 49 int stride_bytes, int pixel_format, in rfx_encode_format_rgb() argument 71 src = (uint8 *) (rgb_data + y * stride_bytes); in rfx_encode_format_rgb() 107 src = (uint8 *) (rgb_data + y * stride_bytes); in rfx_encode_format_rgb() 143 src = (uint8 *) (rgb_data + y * stride_bytes); in rfx_encode_format_rgb() 178 src = (uint8 *) (rgb_data + y * stride_bytes); in rfx_encode_format_rgb() 217 int stride_bytes, int pixel_format, in rfx_encode_format_argb() argument 242 src = (uint8 *) (argb_data + y * stride_bytes); in rfx_encode_format_argb() 283 src = (uint8 *) (argb_data + y * stride_bytes); in rfx_encode_format_argb() 324 src = (uint8 *) (argb_data + y * stride_bytes); in rfx_encode_format_argb() 359 src = (uint8 *) (argb_data + y * stride_bytes); in rfx_encode_format_argb() [all …]
|
H A D | rfxencode_tile.h | 39 int width, int height, int stride_bytes, 45 int width, int height, int stride_bytes, 52 int width, int height, int stride_bytes, 58 int width, int height, int stride_bytes,
|
H A D | rfxencode_tile.c | 103 int width, int height, int stride_bytes, in rfx_encode_rgb() argument 114 stride_bytes) != 0) in rfx_encode_rgb() 154 int width, int height, int stride_bytes, in rfx_encode_argb() argument 167 stride_bytes) != 0) in rfx_encode_argb() 209 int width, int height, int stride_bytes, in rfx_encode_yuv() argument 251 int width, int height, int stride_bytes, in rfx_encode_yuva() argument
|
/dports/math/vtk9/VTK-9.1.0/ThirdParty/hdf5/vtkhdf5/src/ |
H A D | H5mpi.c | 459 H5_mpio_create_large_type(hsize_t num_elements, MPI_Aint stride_bytes, MPI_Datatype old_type, in H5_mpio_create_large_type() argument 483 if (0 == stride_bytes) { in H5_mpio_create_large_type() 488 … (mpi_code = MPI_Type_create_hvector((int)bigio_count_g, 1, stride_bytes, old_type, &inner_type))) in H5_mpio_create_large_type() 494 if (0 == stride_bytes) { in H5_mpio_create_large_type() 499 … (mpi_code = MPI_Type_create_hvector(num_big_types, 1, stride_bytes, inner_type, &outer_type))) in H5_mpio_create_large_type() 508 if (stride_bytes == 0) { in H5_mpio_create_large_type() 514 stride_bytes, old_type, &leftover_type))) in H5_mpio_create_large_type() 532 disp[1] = (old_extent + stride_bytes) * num_big_types * (MPI_Aint)bigio_count_g; in H5_mpio_create_large_type()
|
/dports/devel/bullet/bullet3-3.21/examples/ThirdPartyLibs/stb_image/ |
H A D | stb_image_write.h | 453 if (stride_bytes == 0) in stbi_write_png_to_mem() 454 stride_bytes = x * n; in stbi_write_png_to_mem() 475 unsigned char *z = pixels + stride_bytes * j; in stbi_write_png_to_mem() 486 line_buffer[i] = z[i] - z[i - stride_bytes]; in stbi_write_png_to_mem() 489 line_buffer[i] = z[i] - (z[i - stride_bytes] >> 1); in stbi_write_png_to_mem() 492 line_buffer[i] = (signed char)(z[i] - stbi__paeth(0, z[i - stride_bytes], 0)); in stbi_write_png_to_mem() 512 line_buffer[i] = z[i] - z[i - stride_bytes]; in stbi_write_png_to_mem() 515 line_buffer[i] = z[i] - ((z[i - n] + z[i - stride_bytes]) >> 1); in stbi_write_png_to_mem() 518 line_buffer[i] = z[i] - stbi__paeth(z[i - n], z[i - stride_bytes], z[i - stride_bytes - n]); in stbi_write_png_to_mem() 582 int stbi_write_png(char const *filename, int x, int y, int comp, const void *data, int stride_bytes) in stbi_write_png() argument [all …]
|
/dports/emulators/mess/mame-mame0226/3rdparty/nanosvg/example/ |
H A D | stb_image_write.h | 407 if (stride_bytes == 0) in stbi_write_png_to_mem() 408 stride_bytes = x * n; in stbi_write_png_to_mem() 420 unsigned char *z = pixels + stride_bytes*j; in stbi_write_png_to_mem() 425 case 2: line_buffer[i] = z[i] - z[i-stride_bytes]; break; in stbi_write_png_to_mem() 426 case 3: line_buffer[i] = z[i] - (z[i-stride_bytes]>>1); break; in stbi_write_png_to_mem() 427 … case 4: line_buffer[i] = (signed char) (z[i] - stbi__paeth(0,z[i-stride_bytes],0)); break; in stbi_write_png_to_mem() 435 case 2: line_buffer[i] = z[i] - z[i-stride_bytes]; break; in stbi_write_png_to_mem() 436 case 3: line_buffer[i] = z[i] - ((z[i-n] + z[i-stride_bytes])>>1); break; in stbi_write_png_to_mem() 437 …case 4: line_buffer[i] = z[i] - stbi__paeth(z[i-n], z[i-stride_bytes], z[i-stride_bytes-n]); break; in stbi_write_png_to_mem() 489 int stbi_write_png(char const *filename, int x, int y, int comp, const void *data, int stride_bytes) in stbi_write_png() argument [all …]
|
/dports/graphics/instant-meshes/instant-meshes-0.0-42-g4a083f4/ext/nanogui/ext/nanovg/example/ |
H A D | stb_image_write.h | 407 if (stride_bytes == 0) in stbi_write_png_to_mem() 408 stride_bytes = x * n; in stbi_write_png_to_mem() 420 unsigned char *z = pixels + stride_bytes*j; in stbi_write_png_to_mem() 425 case 2: line_buffer[i] = z[i] - z[i-stride_bytes]; break; in stbi_write_png_to_mem() 426 case 3: line_buffer[i] = z[i] - (z[i-stride_bytes]>>1); break; in stbi_write_png_to_mem() 427 … case 4: line_buffer[i] = (signed char) (z[i] - stbi__paeth(0,z[i-stride_bytes],0)); break; in stbi_write_png_to_mem() 435 case 2: line_buffer[i] = z[i] - z[i-stride_bytes]; break; in stbi_write_png_to_mem() 436 case 3: line_buffer[i] = z[i] - ((z[i-n] + z[i-stride_bytes])>>1); break; in stbi_write_png_to_mem() 437 …case 4: line_buffer[i] = z[i] - stbi__paeth(z[i-n], z[i-stride_bytes], z[i-stride_bytes-n]); break; in stbi_write_png_to_mem() 489 int stbi_write_png(char const *filename, int x, int y, int comp, const void *data, int stride_bytes) in stbi_write_png() argument [all …]
|
/dports/audio/moony-lv2/moony-0.36.0/subprojects/d2tk/nanovg/example/ |
H A D | stb_image_write.h | 407 if (stride_bytes == 0) in stbi_write_png_to_mem() 408 stride_bytes = x * n; in stbi_write_png_to_mem() 420 unsigned char *z = pixels + stride_bytes*j; in stbi_write_png_to_mem() 425 case 2: line_buffer[i] = z[i] - z[i-stride_bytes]; break; in stbi_write_png_to_mem() 426 case 3: line_buffer[i] = z[i] - (z[i-stride_bytes]>>1); break; in stbi_write_png_to_mem() 427 … case 4: line_buffer[i] = (signed char) (z[i] - stbi__paeth(0,z[i-stride_bytes],0)); break; in stbi_write_png_to_mem() 435 case 2: line_buffer[i] = z[i] - z[i-stride_bytes]; break; in stbi_write_png_to_mem() 436 case 3: line_buffer[i] = z[i] - ((z[i-n] + z[i-stride_bytes])>>1); break; in stbi_write_png_to_mem() 437 …case 4: line_buffer[i] = z[i] - stbi__paeth(z[i-n], z[i-stride_bytes], z[i-stride_bytes-n]); break; in stbi_write_png_to_mem() 489 int stbi_write_png(char const *filename, int x, int y, int comp, const void *data, int stride_bytes) in stbi_write_png() argument [all …]
|
/dports/deskutils/coolreader/coolreader-cr3.2.55/thirdparty_unman/nanosvg/src/ |
H A D | stb_image_write.h | 407 if (stride_bytes == 0) in stbi_write_png_to_mem() 408 stride_bytes = x * n; in stbi_write_png_to_mem() 420 unsigned char *z = pixels + stride_bytes*j; in stbi_write_png_to_mem() 425 case 2: line_buffer[i] = z[i] - z[i-stride_bytes]; break; in stbi_write_png_to_mem() 426 case 3: line_buffer[i] = z[i] - (z[i-stride_bytes]>>1); break; in stbi_write_png_to_mem() 427 … case 4: line_buffer[i] = (signed char) (z[i] - stbi__paeth(0,z[i-stride_bytes],0)); break; in stbi_write_png_to_mem() 435 case 2: line_buffer[i] = z[i] - z[i-stride_bytes]; break; in stbi_write_png_to_mem() 436 case 3: line_buffer[i] = z[i] - ((z[i-n] + z[i-stride_bytes])>>1); break; in stbi_write_png_to_mem() 437 …case 4: line_buffer[i] = z[i] - stbi__paeth(z[i-n], z[i-stride_bytes], z[i-stride_bytes-n]); break; in stbi_write_png_to_mem() 489 int stbi_write_png(char const *filename, int x, int y, int comp, const void *data, int stride_bytes) in stbi_write_png() argument [all …]
|
/dports/emulators/mame/mame-mame0226/3rdparty/nanosvg/example/ |
H A D | stb_image_write.h | 407 if (stride_bytes == 0) in stbi_write_png_to_mem() 408 stride_bytes = x * n; in stbi_write_png_to_mem() 420 unsigned char *z = pixels + stride_bytes*j; in stbi_write_png_to_mem() 425 case 2: line_buffer[i] = z[i] - z[i-stride_bytes]; break; in stbi_write_png_to_mem() 426 case 3: line_buffer[i] = z[i] - (z[i-stride_bytes]>>1); break; in stbi_write_png_to_mem() 427 … case 4: line_buffer[i] = (signed char) (z[i] - stbi__paeth(0,z[i-stride_bytes],0)); break; in stbi_write_png_to_mem() 435 case 2: line_buffer[i] = z[i] - z[i-stride_bytes]; break; in stbi_write_png_to_mem() 436 case 3: line_buffer[i] = z[i] - ((z[i-n] + z[i-stride_bytes])>>1); break; in stbi_write_png_to_mem() 437 …case 4: line_buffer[i] = z[i] - stbi__paeth(z[i-n], z[i-stride_bytes], z[i-stride_bytes-n]); break; in stbi_write_png_to_mem() 489 int stbi_write_png(char const *filename, int x, int y, int comp, const void *data, int stride_bytes) in stbi_write_png() argument [all …]
|
/dports/games/arx-libertatis/arx-libertatis-1.1.2/src/graphics/image/ |
H A D | stb_image_write.cpp | 351 if (stride_bytes == 0) in stbi_write_png_to_mem() 352 stride_bytes = x * n; in stbi_write_png_to_mem() 364 const unsigned char *z = pixels + stride_bytes*j; in stbi_write_png_to_mem() 369 case 2: line_buffer[i] = z[i] - z[i-stride_bytes]; break; in stbi_write_png_to_mem() 370 case 3: line_buffer[i] = z[i] - (z[i-stride_bytes]>>1); break; in stbi_write_png_to_mem() 371 … case 4: line_buffer[i] = (signed char) (z[i] - stbi_paeth(0,z[i-stride_bytes],0)); break; in stbi_write_png_to_mem() 379 case 2: line_buffer[i] = z[i] - z[i-stride_bytes]; break; in stbi_write_png_to_mem() 380 case 3: line_buffer[i] = z[i] - ((z[i-n] + z[i-stride_bytes])>>1); break; in stbi_write_png_to_mem() 381 … case 4: line_buffer[i] = z[i] - stbi_paeth(z[i-n], z[i-stride_bytes], z[i-stride_bytes-n]); break; in stbi_write_png_to_mem() 433 …nt stbi_write_png(char const *filename, int x, int y, int comp, const void *data, int stride_bytes) in stbi_write_png() argument [all …]
|
/dports/graphics/nanosvg/nanosvg-ccdb199/example/ |
H A D | stb_image_write.h | 407 if (stride_bytes == 0) in stbi_write_png_to_mem() 408 stride_bytes = x * n; in stbi_write_png_to_mem() 420 unsigned char *z = pixels + stride_bytes*j; in stbi_write_png_to_mem() 425 case 2: line_buffer[i] = z[i] - z[i-stride_bytes]; break; in stbi_write_png_to_mem() 426 case 3: line_buffer[i] = z[i] - (z[i-stride_bytes]>>1); break; in stbi_write_png_to_mem() 427 … case 4: line_buffer[i] = (signed char) (z[i] - stbi__paeth(0,z[i-stride_bytes],0)); break; in stbi_write_png_to_mem() 435 case 2: line_buffer[i] = z[i] - z[i-stride_bytes]; break; in stbi_write_png_to_mem() 436 case 3: line_buffer[i] = z[i] - ((z[i-n] + z[i-stride_bytes])>>1); break; in stbi_write_png_to_mem() 437 …case 4: line_buffer[i] = z[i] - stbi__paeth(z[i-n], z[i-stride_bytes], z[i-stride_bytes-n]); break; in stbi_write_png_to_mem() 489 int stbi_write_png(char const *filename, int x, int y, int comp, const void *data, int stride_bytes) in stbi_write_png() argument [all …]
|
/dports/x11/fuzzel/fuzzel/3rd-party/nanosvg/example/ |
H A D | stb_image_write.h | 407 if (stride_bytes == 0) in stbi_write_png_to_mem() 408 stride_bytes = x * n; in stbi_write_png_to_mem() 420 unsigned char *z = pixels + stride_bytes*j; in stbi_write_png_to_mem() 425 case 2: line_buffer[i] = z[i] - z[i-stride_bytes]; break; in stbi_write_png_to_mem() 426 case 3: line_buffer[i] = z[i] - (z[i-stride_bytes]>>1); break; in stbi_write_png_to_mem() 427 … case 4: line_buffer[i] = (signed char) (z[i] - stbi__paeth(0,z[i-stride_bytes],0)); break; in stbi_write_png_to_mem() 435 case 2: line_buffer[i] = z[i] - z[i-stride_bytes]; break; in stbi_write_png_to_mem() 436 case 3: line_buffer[i] = z[i] - ((z[i-n] + z[i-stride_bytes])>>1); break; in stbi_write_png_to_mem() 437 …case 4: line_buffer[i] = z[i] - stbi__paeth(z[i-n], z[i-stride_bytes], z[i-stride_bytes-n]); break; in stbi_write_png_to_mem() 489 int stbi_write_png(char const *filename, int x, int y, int comp, const void *data, int stride_bytes) in stbi_write_png() argument [all …]
|
/dports/x11/fnott/fnott/3rd-party/nanosvg/example/ |
H A D | stb_image_write.h | 407 if (stride_bytes == 0) in stbi_write_png_to_mem() 408 stride_bytes = x * n; in stbi_write_png_to_mem() 420 unsigned char *z = pixels + stride_bytes*j; in stbi_write_png_to_mem() 425 case 2: line_buffer[i] = z[i] - z[i-stride_bytes]; break; in stbi_write_png_to_mem() 426 case 3: line_buffer[i] = z[i] - (z[i-stride_bytes]>>1); break; in stbi_write_png_to_mem() 427 … case 4: line_buffer[i] = (signed char) (z[i] - stbi__paeth(0,z[i-stride_bytes],0)); break; in stbi_write_png_to_mem() 435 case 2: line_buffer[i] = z[i] - z[i-stride_bytes]; break; in stbi_write_png_to_mem() 436 case 3: line_buffer[i] = z[i] - ((z[i-n] + z[i-stride_bytes])>>1); break; in stbi_write_png_to_mem() 437 …case 4: line_buffer[i] = z[i] - stbi__paeth(z[i-n], z[i-stride_bytes], z[i-stride_bytes-n]); break; in stbi_write_png_to_mem() 489 int stbi_write_png(char const *filename, int x, int y, int comp, const void *data, int stride_bytes) in stbi_write_png() argument [all …]
|
/dports/x11-toolkits/nanogui/nanogui-e9ec8a1a9861cf578d9c6e85a6420080aa715c03/ext/nanovg/example/ |
H A D | stb_image_write.h | 407 if (stride_bytes == 0) in stbi_write_png_to_mem() 408 stride_bytes = x * n; in stbi_write_png_to_mem() 420 unsigned char *z = pixels + stride_bytes*j; in stbi_write_png_to_mem() 425 case 2: line_buffer[i] = z[i] - z[i-stride_bytes]; break; in stbi_write_png_to_mem() 426 case 3: line_buffer[i] = z[i] - (z[i-stride_bytes]>>1); break; in stbi_write_png_to_mem() 427 … case 4: line_buffer[i] = (signed char) (z[i] - stbi__paeth(0,z[i-stride_bytes],0)); break; in stbi_write_png_to_mem() 435 case 2: line_buffer[i] = z[i] - z[i-stride_bytes]; break; in stbi_write_png_to_mem() 436 case 3: line_buffer[i] = z[i] - ((z[i-n] + z[i-stride_bytes])>>1); break; in stbi_write_png_to_mem() 437 …case 4: line_buffer[i] = z[i] - stbi__paeth(z[i-n], z[i-stride_bytes], z[i-stride_bytes-n]); break; in stbi_write_png_to_mem() 489 int stbi_write_png(char const *filename, int x, int y, int comp, const void *data, int stride_bytes) in stbi_write_png() argument [all …]
|
/dports/devel/py-bullet3/bullet3-3.21/examples/ThirdPartyLibs/stb_image/ |
H A D | stb_image_write.h | 453 if (stride_bytes == 0) in stbi_write_png_to_mem() 454 stride_bytes = x * n; in stbi_write_png_to_mem() 475 unsigned char *z = pixels + stride_bytes * j; in stbi_write_png_to_mem() 486 line_buffer[i] = z[i] - z[i - stride_bytes]; in stbi_write_png_to_mem() 489 line_buffer[i] = z[i] - (z[i - stride_bytes] >> 1); in stbi_write_png_to_mem() 492 line_buffer[i] = (signed char)(z[i] - stbi__paeth(0, z[i - stride_bytes], 0)); in stbi_write_png_to_mem() 512 line_buffer[i] = z[i] - z[i - stride_bytes]; in stbi_write_png_to_mem() 515 line_buffer[i] = z[i] - ((z[i - n] + z[i - stride_bytes]) >> 1); in stbi_write_png_to_mem() 518 line_buffer[i] = z[i] - stbi__paeth(z[i - n], z[i - stride_bytes], z[i - stride_bytes - n]); in stbi_write_png_to_mem() 582 int stbi_write_png(char const *filename, int x, int y, int comp, const void *data, int stride_bytes) in stbi_write_png() argument [all …]
|
/dports/misc/py-mxnet/incubator-mxnet-1.9.0/src/operator/random/ |
H A D | shuffle_op.cc | 74 const size_t stride_bytes = sizeof(DType) * stride; in ShuffleND() local 76 ctx.requested[1].get_space_typed<cpu, 1, char>(Shape1(stride_bytes), ctx.get_stream<cpu>()); in ShuffleND() 80 std::memcpy(buf.dptr_, out + stride * i, stride_bytes); in ShuffleND() 81 std::memcpy(out + stride * i, out + stride * j, stride_bytes); in ShuffleND() 82 std::memcpy(out + stride * j, buf.dptr_, stride_bytes); in ShuffleND()
|
/dports/misc/mxnet/incubator-mxnet-1.9.0/src/operator/random/ |
H A D | shuffle_op.cc | 74 const size_t stride_bytes = sizeof(DType) * stride; in ShuffleND() local 76 ctx.requested[1].get_space_typed<cpu, 1, char>(Shape1(stride_bytes), ctx.get_stream<cpu>()); in ShuffleND() 80 std::memcpy(buf.dptr_, out + stride * i, stride_bytes); in ShuffleND() 81 std::memcpy(out + stride * i, out + stride * j, stride_bytes); in ShuffleND() 82 std::memcpy(out + stride * j, buf.dptr_, stride_bytes); in ShuffleND()
|
/dports/net/tigervnc-server/tigervnc-1.12.0/common/rfb/ |
H A D | RawEncoder.cxx | 48 int h, line_bytes, stride_bytes; in writeRect() local 56 stride_bytes = stride * pb->getPF().bpp/8; in writeRect() 59 buffer += stride_bytes; in writeRect()
|
/dports/net/tigervnc-viewer/tigervnc-1.12.0/common/rfb/ |
H A D | RawEncoder.cxx | 48 int h, line_bytes, stride_bytes; in writeRect() local 56 stride_bytes = stride * pb->getPF().bpp/8; in writeRect() 59 buffer += stride_bytes; in writeRect()
|
/dports/devel/zpu-gcc/zpu-toolchain-1.0/toolchain/gcc/libjava/jni/gtk-peer/ |
H A D | gnu_java_awt_peer_gtk_GdkPixbufDecoder.c | 95 jint stride_bytes, stride_pixels, n_channels, n_pixels; in area_updated() local 111 stride_bytes = gdk_pixbuf_get_rowstride (pixbuf); in area_updated() 113 stride_pixels = stride_bytes / n_channels; in area_updated() 121 gdk_pixels + (y * stride_bytes), in area_updated() 122 (height * stride_bytes)); in area_updated()
|
/dports/devel/zpu-binutils/zpu-toolchain-1.0/toolchain/gcc/libjava/jni/gtk-peer/ |
H A D | gnu_java_awt_peer_gtk_GdkPixbufDecoder.c | 95 jint stride_bytes, stride_pixels, n_channels, n_pixels; 111 stride_bytes = gdk_pixbuf_get_rowstride (pixbuf); 113 stride_pixels = stride_bytes / n_channels; 121 gdk_pixels + (y * stride_bytes), 122 (height * stride_bytes));
|
/dports/x11-toolkits/pangolin/Pangolin-0.6/src/geometry/ |
H A D | geometry_ply.cpp | 85 el.stride_bytes = 0; in PLY_GROUP_LIST() 106 prop.offset_bytes = el.stride_bytes; in PLY_GROUP_LIST() 108 el.stride_bytes = -1; in PLY_GROUP_LIST() 112 prop.offset_bytes = el.stride_bytes; in PLY_GROUP_LIST() 115 if( el.stride_bytes >= 0) { in PLY_GROUP_LIST() 116 el.stride_bytes += size_bytes; in PLY_GROUP_LIST() 372 if(el.stride_bytes > 0) { in ParsePlyLE() 375 geom_el.Reinitialise(el.stride_bytes, el.num_items); in ParsePlyLE() 403 el.stride_bytes = 0; in ParsePlyLE() 405 el.stride_bytes += prop.num_items * GlDataTypeBytes(prop.type); in ParsePlyLE() [all …]
|
/dports/graphics/opensubdiv/OpenSubdiv-3_4_4/examples/common/ |
H A D | stb_image_write.h | 582 if (stride_bytes == 0) in stbi_write_png_to_mem() 583 stride_bytes = x * n; in stbi_write_png_to_mem() 595 unsigned char *z = pixels + stride_bytes*j; in stbi_write_png_to_mem() 600 case 2: line_buffer[i] = z[i] - z[i-stride_bytes]; break; in stbi_write_png_to_mem() 601 case 3: line_buffer[i] = z[i] - (z[i-stride_bytes]>>1); break; in stbi_write_png_to_mem() 602 … case 4: line_buffer[i] = (signed char) (z[i] - stbiw__paeth(0,z[i-stride_bytes],0)); break; in stbi_write_png_to_mem() 610 case 2: line_buffer[i] = z[i] - z[i-stride_bytes]; break; in stbi_write_png_to_mem() 611 case 3: line_buffer[i] = z[i] - ((z[i-n] + z[i-stride_bytes])>>1); break; in stbi_write_png_to_mem() 612 …case 4: line_buffer[i] = z[i] - stbiw__paeth(z[i-n], z[i-stride_bytes], z[i-stride_bytes-n]); brea… in stbi_write_png_to_mem() 664 int stbi_write_png(char const *filename, int x, int y, int comp, const void *data, int stride_bytes) in stbi_write_png() argument [all …]
|