/dports/graphics/p5-Geo-GDAL/gdal-3.3.3/frmts/grib/degrib/g2clib/ |
H A D | dec_jpeg2000.cpp | 19 int dec_jpeg2000(const void *injpc,g2int bufsize,g2int **outfld,g2int outpixels) in dec_jpeg2000() argument 87 if( nYSize == 0 || nXSize > outpixels / nYSize ) in dec_jpeg2000() 90 (long)nXSize * nYSize, outpixels); in dec_jpeg2000() 96 if( nXSize < outpixels / nYSize / 100 ) in dec_jpeg2000() 99 (long)nXSize * nYSize, outpixels); in dec_jpeg2000() 104 *outfld=(g2int *)calloc(outpixels,sizeof(g2int)); in dec_jpeg2000()
|
/dports/graphics/gdal/gdal-3.3.3/frmts/grib/degrib/g2clib/ |
H A D | dec_jpeg2000.cpp | 19 int dec_jpeg2000(const void *injpc,g2int bufsize,g2int **outfld,g2int outpixels) in dec_jpeg2000() argument 87 if( nYSize == 0 || nXSize > outpixels / nYSize ) in dec_jpeg2000() 90 (long)nXSize * nYSize, outpixels); in dec_jpeg2000() 96 if( nXSize < outpixels / nYSize / 100 ) in dec_jpeg2000() 99 (long)nXSize * nYSize, outpixels); in dec_jpeg2000() 104 *outfld=(g2int *)calloc(outpixels,sizeof(g2int)); in dec_jpeg2000()
|
/dports/graphics/py-gdal/gdal-3.3.3/frmts/grib/degrib/g2clib/ |
H A D | dec_jpeg2000.cpp | 19 int dec_jpeg2000(const void *injpc,g2int bufsize,g2int **outfld,g2int outpixels) in dec_jpeg2000() argument 87 if( nYSize == 0 || nXSize > outpixels / nYSize ) in dec_jpeg2000() 90 (long)nXSize * nYSize, outpixels); in dec_jpeg2000() 96 if( nXSize < outpixels / nYSize / 100 ) in dec_jpeg2000() 99 (long)nXSize * nYSize, outpixels); in dec_jpeg2000() 104 *outfld=(g2int *)calloc(outpixels,sizeof(g2int)); in dec_jpeg2000()
|
/dports/games/gtkradiant/GPL/GtkRadiant/radiant/ |
H A D | textures.cpp | 166 byte *outpixels = 0; in LoadTextureRGBA() local 213 outpixels = (byte *)malloc(gl_width * gl_height * 4); in LoadTextureRGBA() 214 R_ResampleTexture(pPixels, nWidth, nHeight, outpixels, gl_width, gl_height, 4); in LoadTextureRGBA() 218 outpixels = pPixels; in LoadTextureRGBA() 227 GL_MipReduce(outpixels, outpixels, gl_width, gl_height, target_width, target_height); in LoadTextureRGBA() 236 …_texture_globals.texture_components, gl_width, gl_height, 0, GL_RGBA, GL_UNSIGNED_BYTE, outpixels); in LoadTextureRGBA() 239 GL_MipReduce(outpixels, outpixels, gl_width, gl_height, 1, 1); in LoadTextureRGBA() 246 …_texture_globals.texture_components, gl_width, gl_height, 0, GL_RGBA, GL_UNSIGNED_BYTE, outpixels); in LoadTextureRGBA() 251 free(outpixels); in LoadTextureRGBA()
|
/dports/games/netradiant/netradiant-20150621-src/radiant/ |
H A D | textures.cpp | 176 byte *outpixels = 0; in LoadTextureRGBA() local 221 outpixels = (byte *)malloc( gl_width * gl_height * 4 ); in LoadTextureRGBA() 222 R_ResampleTexture( pPixels, nWidth, nHeight, outpixels, gl_width, gl_height, 4 ); in LoadTextureRGBA() 226 outpixels = pPixels; in LoadTextureRGBA() 235 GL_MipReduce( outpixels, outpixels, gl_width, gl_height, target_width, target_height ); in LoadTextureRGBA() 246 …texture_globals.texture_components, gl_width, gl_height, 0, GL_RGBA, GL_UNSIGNED_BYTE, outpixels ); in LoadTextureRGBA() 249 GL_MipReduce( outpixels, outpixels, gl_width, gl_height, 1, 1 ); in LoadTextureRGBA() 258 …texture_globals.texture_components, gl_width, gl_height, 0, GL_RGBA, GL_UNSIGNED_BYTE, outpixels ); in LoadTextureRGBA() 263 free( outpixels ); in LoadTextureRGBA()
|
/dports/games/nexuiz/Nexuiz/sources/darkplaces/ |
H A D | image.c | 29 …for (y = 0, in = line + row_ofs; y < inputheight; y++, in += row_inc, outpixels += numoutputcompon… in Image_CopyMux() 31 outpixels[c] = ((index = outputinputcomponentindices[c]) & 0x80000000) ? index : in[index]; in Image_CopyMux() 36 …for (x = 0, in = line + col_ofs; x < inputwidth; x++, in += col_inc, outpixels += numoutputcompone… in Image_CopyMux() 38 outpixels[c] = ((index = outputinputcomponentindices[c]) & 0x80000000) ? index : in[index]; in Image_CopyMux() 49 outpixels[c] = in[outputinputcomponentindices[c]]; in Image_CopyMux() 56 outpixels[c] = in[outputinputcomponentindices[c]]; in Image_CopyMux() 77 *outpixels++ = index; in Image_CopyMux() 79 *outpixels++ = in[index]; in Image_CopyMux() 95 *outpixels++ = index; in Image_CopyMux() 97 *outpixels++ = in[index]; in Image_CopyMux() [all …]
|
H A D | image.h | 13 void Image_CopyMux(unsigned char *outpixels, const unsigned char *inpixels, int inputwidth, int inp… 44 void Image_HeightmapToNormalmap_BGRA(const unsigned char *inpixels, unsigned char *outpixels, int w…
|
/dports/games/xonotic/Xonotic/source/darkplaces/ |
H A D | image.c | 11 static void Image_CopyAlphaFromBlueBGRA(unsigned char *outpixels, const unsigned char *inpixels, in… in Image_CopyAlphaFromBlueBGRA() argument 16 outpixels[4*i+3] = inpixels[4*i]; // blue channel in Image_CopyAlphaFromBlueBGRA() 39 outpixels[c] = ((index = outputinputcomponentindices[c]) & 0x80000000) ? index : in[index]; in Image_CopyMux() 46 outpixels[c] = ((index = outputinputcomponentindices[c]) & 0x80000000) ? index : in[index]; in Image_CopyMux() 57 outpixels[c] = in[outputinputcomponentindices[c]]; in Image_CopyMux() 64 outpixels[c] = in[outputinputcomponentindices[c]]; in Image_CopyMux() 85 *outpixels++ = index; in Image_CopyMux() 87 *outpixels++ = in[index]; in Image_CopyMux() 103 *outpixels++ = index; in Image_CopyMux() 105 *outpixels++ = in[index]; in Image_CopyMux() [all …]
|
H A D | image.h | 12 void Image_CopyMux(unsigned char *outpixels, const unsigned char *inpixels, int inputwidth, int inp… 52 void Image_HeightmapToNormalmap_BGRA(const unsigned char *inpixels, unsigned char *outpixels, int w…
|
H A D | dpsoftrast.h | 69 …T_GetPixelsBGRA(int blockx, int blocky, int blockwidth, int blockheight, unsigned char *outpixels);
|
H A D | gl_backend.h | 55 void GL_ReadPixelsBGRA(int x, int y, int width, int height, unsigned char *outpixels);
|
/dports/games/darkplaces/darkplaces/ |
H A D | image.h | 13 void Image_CopyMux(unsigned char *outpixels, const unsigned char *inpixels, int inputwidth, int inp… 56 void Image_HeightmapToNormalmap_BGRA(const unsigned char *inpixels, unsigned char *outpixels, int w…
|
H A D | image.c | 14 static void Image_CopyAlphaFromBlueBGRA(unsigned char *outpixels, const unsigned char *inpixels, in… in Image_CopyAlphaFromBlueBGRA() argument 19 outpixels[4*i+3] = inpixels[4*i]; // blue channel in Image_CopyAlphaFromBlueBGRA() 42 outpixels[c] = ((index = outputinputcomponentindices[c]) & 0x80000000) ? index : in[index]; in Image_CopyMux() 49 outpixels[c] = ((index = outputinputcomponentindices[c]) & 0x80000000) ? index : in[index]; in Image_CopyMux() 60 outpixels[c] = in[outputinputcomponentindices[c]]; in Image_CopyMux() 67 outpixels[c] = in[outputinputcomponentindices[c]]; in Image_CopyMux() 88 *outpixels++ = index; in Image_CopyMux() 90 *outpixels++ = in[index]; in Image_CopyMux() 106 *outpixels++ = index; in Image_CopyMux() 108 *outpixels++ = in[index]; in Image_CopyMux() [all …]
|
/dports/games/gtkradiant/GPL/GtkRadiant/tools/quake2/qdata_heretic2/ |
H A D | tmix.c | 54 long *outpixels = NULL; // Buffer to store combined textures variable 233 if (outpixels) in Cleanup() 234 free(outpixels); in Cleanup() 515 if ((outpixels = (long *)SafeMalloc(destsize * 4, "")) == NULL) in SetVars() 609 dest = (long *)(outpixels + x + (y * out.w)); in CopyToMain32() 673 qtex32 = CreateMip32((unsigned *)outpixels, out.w, out.h, &size, false); in Cmd_TextureMix()
|
/dports/games/netradiant/netradiant-20150621-src/tools/quake2/qdata_heretic2/ |
H A D | tmix.c | 54 long *outpixels = NULL; // Buffer to store combined textures variable 222 if ( outpixels ) { in Cleanup() 223 free( outpixels ); in Cleanup() 492 if ( ( outpixels = (long *)SafeMalloc( destsize * 4, "" ) ) == NULL ) { in SetVars() 583 dest = (long *)( outpixels + x + ( y * out.w ) ); in CopyToMain32() 644 qtex32 = CreateMip32( (unsigned *)outpixels, out.w, out.h, &size, false ); in Cmd_TextureMix()
|
/dports/multimedia/gstreamer1-plugins-theora/gst-plugins-base-1.16.2/tests/check/libs/ |
H A D | video.c | 2091 compare_frame (const GstVideoFormatInfo * finfo, gint depth, guint8 * outpixels, in compare_frame() argument 2105 guint8 *out = outpixels; in compare_frame() 2116 guint16 *out = (guint16 *) outpixels; in compare_frame() 2194 guint8 *pixels, *outpixels; in GST_START_TEST() local 2240 outpixels = g_malloc0 (HEIGHT * stride); in GST_START_TEST() 2244 UNPACK_FRAME (&frame, outpixels, 0, 0, WIDTH); in GST_START_TEST() 2250 UNPACK_FRAME (&frame, outpixels + k * stride, k, 0, WIDTH); in GST_START_TEST() 2265 diff = compare_frame (finfo, depth, outpixels, pixels, WIDTH, HEIGHT); in GST_START_TEST() 2272 gst_util_dump_mem (outpixels, 128); in GST_START_TEST() 2279 g_free (outpixels); in GST_START_TEST()
|
/dports/multimedia/gstreamer1-plugins/gst-plugins-base-1.16.2/tests/check/libs/ |
H A D | video.c | 2091 compare_frame (const GstVideoFormatInfo * finfo, gint depth, guint8 * outpixels, in compare_frame() argument 2105 guint8 *out = outpixels; in compare_frame() 2116 guint16 *out = (guint16 *) outpixels; in compare_frame() 2194 guint8 *pixels, *outpixels; in GST_START_TEST() local 2240 outpixels = g_malloc0 (HEIGHT * stride); in GST_START_TEST() 2244 UNPACK_FRAME (&frame, outpixels, 0, 0, WIDTH); in GST_START_TEST() 2250 UNPACK_FRAME (&frame, outpixels + k * stride, k, 0, WIDTH); in GST_START_TEST() 2265 diff = compare_frame (finfo, depth, outpixels, pixels, WIDTH, HEIGHT); in GST_START_TEST() 2272 gst_util_dump_mem (outpixels, 128); in GST_START_TEST() 2279 g_free (outpixels); in GST_START_TEST()
|
/dports/audio/gstreamer1-plugins-cdparanoia/gst-plugins-base-1.16.2/tests/check/libs/ |
H A D | video.c | 2091 compare_frame (const GstVideoFormatInfo * finfo, gint depth, guint8 * outpixels, in compare_frame() argument 2105 guint8 *out = outpixels; in compare_frame() 2116 guint16 *out = (guint16 *) outpixels; in compare_frame() 2194 guint8 *pixels, *outpixels; in GST_START_TEST() local 2240 outpixels = g_malloc0 (HEIGHT * stride); in GST_START_TEST() 2244 UNPACK_FRAME (&frame, outpixels, 0, 0, WIDTH); in GST_START_TEST() 2250 UNPACK_FRAME (&frame, outpixels + k * stride, k, 0, WIDTH); in GST_START_TEST() 2265 diff = compare_frame (finfo, depth, outpixels, pixels, WIDTH, HEIGHT); in GST_START_TEST() 2272 gst_util_dump_mem (outpixels, 128); in GST_START_TEST() 2279 g_free (outpixels); in GST_START_TEST()
|
/dports/audio/gstreamer1-plugins-vorbis/gst-plugins-base-1.16.2/tests/check/libs/ |
H A D | video.c | 2091 compare_frame (const GstVideoFormatInfo * finfo, gint depth, guint8 * outpixels, in compare_frame() argument 2105 guint8 *out = outpixels; in compare_frame() 2116 guint16 *out = (guint16 *) outpixels; in compare_frame() 2194 guint8 *pixels, *outpixels; in GST_START_TEST() local 2240 outpixels = g_malloc0 (HEIGHT * stride); in GST_START_TEST() 2244 UNPACK_FRAME (&frame, outpixels, 0, 0, WIDTH); in GST_START_TEST() 2250 UNPACK_FRAME (&frame, outpixels + k * stride, k, 0, WIDTH); in GST_START_TEST() 2265 diff = compare_frame (finfo, depth, outpixels, pixels, WIDTH, HEIGHT); in GST_START_TEST() 2272 gst_util_dump_mem (outpixels, 128); in GST_START_TEST() 2279 g_free (outpixels); in GST_START_TEST()
|
/dports/audio/gstreamer1-plugins-opus/gst-plugins-base-1.16.2/tests/check/libs/ |
H A D | video.c | 2091 compare_frame (const GstVideoFormatInfo * finfo, gint depth, guint8 * outpixels, in compare_frame() argument 2105 guint8 *out = outpixels; in compare_frame() 2116 guint16 *out = (guint16 *) outpixels; in compare_frame() 2194 guint8 *pixels, *outpixels; in GST_START_TEST() local 2240 outpixels = g_malloc0 (HEIGHT * stride); in GST_START_TEST() 2244 UNPACK_FRAME (&frame, outpixels, 0, 0, WIDTH); in GST_START_TEST() 2250 UNPACK_FRAME (&frame, outpixels + k * stride, k, 0, WIDTH); in GST_START_TEST() 2265 diff = compare_frame (finfo, depth, outpixels, pixels, WIDTH, HEIGHT); in GST_START_TEST() 2272 gst_util_dump_mem (outpixels, 128); in GST_START_TEST() 2279 g_free (outpixels); in GST_START_TEST()
|
/dports/audio/gstreamer1-plugins-ogg/gst-plugins-base-1.16.2/tests/check/libs/ |
H A D | video.c | 2091 compare_frame (const GstVideoFormatInfo * finfo, gint depth, guint8 * outpixels, in compare_frame() argument 2105 guint8 *out = outpixels; in compare_frame() 2116 guint16 *out = (guint16 *) outpixels; in compare_frame() 2194 guint8 *pixels, *outpixels; in GST_START_TEST() local 2240 outpixels = g_malloc0 (HEIGHT * stride); in GST_START_TEST() 2244 UNPACK_FRAME (&frame, outpixels, 0, 0, WIDTH); in GST_START_TEST() 2250 UNPACK_FRAME (&frame, outpixels + k * stride, k, 0, WIDTH); in GST_START_TEST() 2265 diff = compare_frame (finfo, depth, outpixels, pixels, WIDTH, HEIGHT); in GST_START_TEST() 2272 gst_util_dump_mem (outpixels, 128); in GST_START_TEST() 2279 g_free (outpixels); in GST_START_TEST()
|
/dports/x11-toolkits/gstreamer1-plugins-pango/gst-plugins-base-1.16.2/tests/check/libs/ |
H A D | video.c | 2091 compare_frame (const GstVideoFormatInfo * finfo, gint depth, guint8 * outpixels, in compare_frame() argument 2105 guint8 *out = outpixels; in compare_frame() 2116 guint16 *out = (guint16 *) outpixels; in compare_frame() 2194 guint8 *pixels, *outpixels; in GST_START_TEST() local 2240 outpixels = g_malloc0 (HEIGHT * stride); in GST_START_TEST() 2244 UNPACK_FRAME (&frame, outpixels, 0, 0, WIDTH); in GST_START_TEST() 2250 UNPACK_FRAME (&frame, outpixels + k * stride, k, 0, WIDTH); in GST_START_TEST() 2265 diff = compare_frame (finfo, depth, outpixels, pixels, WIDTH, HEIGHT); in GST_START_TEST() 2272 gst_util_dump_mem (outpixels, 128); in GST_START_TEST() 2279 g_free (outpixels); in GST_START_TEST()
|
/dports/graphics/gstreamer1-plugins-libvisual/gst-plugins-base-1.16.2/tests/check/libs/ |
H A D | video.c | 2091 compare_frame (const GstVideoFormatInfo * finfo, gint depth, guint8 * outpixels, in compare_frame() argument 2105 guint8 *out = outpixels; in compare_frame() 2116 guint16 *out = (guint16 *) outpixels; in compare_frame() 2194 guint8 *pixels, *outpixels; in GST_START_TEST() local 2240 outpixels = g_malloc0 (HEIGHT * stride); in GST_START_TEST() 2244 UNPACK_FRAME (&frame, outpixels, 0, 0, WIDTH); in GST_START_TEST() 2250 UNPACK_FRAME (&frame, outpixels + k * stride, k, 0, WIDTH); in GST_START_TEST() 2265 diff = compare_frame (finfo, depth, outpixels, pixels, WIDTH, HEIGHT); in GST_START_TEST() 2272 gst_util_dump_mem (outpixels, 128); in GST_START_TEST() 2279 g_free (outpixels); in GST_START_TEST()
|
/dports/graphics/gstreamer1-plugins-gl/gst-plugins-base-1.16.2/tests/check/libs/ |
H A D | video.c | 2091 compare_frame (const GstVideoFormatInfo * finfo, gint depth, guint8 * outpixels, in compare_frame() argument 2105 guint8 *out = outpixels; in compare_frame() 2116 guint16 *out = (guint16 *) outpixels; in compare_frame() 2194 guint8 *pixels, *outpixels; in GST_START_TEST() local 2240 outpixels = g_malloc0 (HEIGHT * stride); in GST_START_TEST() 2244 UNPACK_FRAME (&frame, outpixels, 0, 0, WIDTH); in GST_START_TEST() 2250 UNPACK_FRAME (&frame, outpixels + k * stride, k, 0, WIDTH); in GST_START_TEST() 2265 diff = compare_frame (finfo, depth, outpixels, pixels, WIDTH, HEIGHT); in GST_START_TEST() 2272 gst_util_dump_mem (outpixels, 128); in GST_START_TEST() 2279 g_free (outpixels); in GST_START_TEST()
|
/dports/x11/gstreamer1-plugins-x/gst-plugins-base-1.16.2/tests/check/libs/ |
H A D | video.c | 2091 compare_frame (const GstVideoFormatInfo * finfo, gint depth, guint8 * outpixels, in compare_frame() argument 2105 guint8 *out = outpixels; in compare_frame() 2116 guint16 *out = (guint16 *) outpixels; in compare_frame() 2194 guint8 *pixels, *outpixels; in GST_START_TEST() local 2240 outpixels = g_malloc0 (HEIGHT * stride); in GST_START_TEST() 2244 UNPACK_FRAME (&frame, outpixels, 0, 0, WIDTH); in GST_START_TEST() 2250 UNPACK_FRAME (&frame, outpixels + k * stride, k, 0, WIDTH); in GST_START_TEST() 2265 diff = compare_frame (finfo, depth, outpixels, pixels, WIDTH, HEIGHT); in GST_START_TEST() 2272 gst_util_dump_mem (outpixels, 128); in GST_START_TEST() 2279 g_free (outpixels); in GST_START_TEST()
|