/dports/misc/xgboost/xgboost-1.5.1/cub/experimental/ |
H A D | histogram_compare.cu | 129 pixel.x = tga_pixel[2]; in ParseTgaPixel() 130 pixel.y = tga_pixel[1]; in ParseTgaPixel() 131 pixel.z = tga_pixel[0]; in ParseTgaPixel() 132 pixel.w = tga_pixel[3]; in ParseTgaPixel() 136 pixel.x = tga_pixel[2]; in ParseTgaPixel() 137 pixel.y = tga_pixel[1]; in ParseTgaPixel() 138 pixel.z = tga_pixel[0]; in ParseTgaPixel() 144 pixel.y = ((tga_pixel[1] & 0x03) << 6) | ((tga_pixel[0] & 0xe0) >> 2); in ParseTgaPixel() 146 pixel.w = (tga_pixel[1] & 0x80); in ParseTgaPixel() 205 unsigned char tga_pixel[5]; in ReadTga() local [all …]
|
/dports/x11/xloadimage/xloadimage.4.1/jpeg/ |
H A D | jrdtarga.c | 56 static U_CHAR tga_pixel[4]; variable 123 tga_pixel[i] = (U_CHAR) getc(infile); in read_non_rle_pixel() 154 tga_pixel[i] = (U_CHAR) getc(infile); in read_rle_pixel() 176 *ptr0++ = (JSAMPLE) UCH(tga_pixel[0]); in get_8bit_gray_row() 193 t = UCH(tga_pixel[0]); in get_8bit_row() 213 t = UCH(tga_pixel[0]); in get_16bit_row() 214 t += UCH(tga_pixel[1]) << 8; in get_16bit_row() 239 *ptr0++ = (JSAMPLE) UCH(tga_pixel[2]); /* convert BGR to RGB order */ in get_24bit_row() 240 *ptr1++ = (JSAMPLE) UCH(tga_pixel[1]); in get_24bit_row() 241 *ptr2++ = (JSAMPLE) UCH(tga_pixel[0]); in get_24bit_row()
|
/dports/games/libretro-scummvm/scummvm-7b1e929/backends/platform/libretro/deps/libjpeg/ |
H A D | rdtarga.c | 65 U_CHAR tga_pixel[4]; member 132 sinfo->tga_pixel[i] = (U_CHAR) getc(infile); in read_non_rle_pixel() 163 sinfo->tga_pixel[i] = (U_CHAR) getc(infile); in read_rle_pixel() 186 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[0]); in get_8bit_gray_row() 204 t = UCH(source->tga_pixel[0]); in get_8bit_row() 224 t = UCH(source->tga_pixel[0]); in get_16bit_row() 225 t += UCH(source->tga_pixel[1]) << 8; in get_16bit_row() 251 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[2]); /* change BGR to RGB order */ in get_24bit_row() 252 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[1]); in get_24bit_row() 253 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[0]); in get_24bit_row()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/angle/third_party/glmark2/src/src/libjpeg-turbo/ |
H A D | rdtarga.c | 65 U_CHAR tga_pixel[4]; member 132 sinfo->tga_pixel[i] = (U_CHAR) getc(infile); in read_non_rle_pixel() 163 sinfo->tga_pixel[i] = (U_CHAR) getc(infile); in read_rle_pixel() 186 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[0]); in get_8bit_gray_row() 204 t = UCH(source->tga_pixel[0]); in get_8bit_row() 224 t = UCH(source->tga_pixel[0]); in get_16bit_row() 225 t += UCH(source->tga_pixel[1]) << 8; in get_16bit_row() 251 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[2]); /* change BGR to RGB order */ in get_24bit_row() 252 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[1]); in get_24bit_row() 253 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[0]); in get_24bit_row()
|
/dports/multimedia/mpeg_encode/mpeg_encode/jpeg/ |
H A D | rdtarga.c | 62 U_CHAR tga_pixel[4]; member 130 sinfo->tga_pixel[i] = (U_CHAR) getc(infile); in read_non_rle_pixel() 161 sinfo->tga_pixel[i] = (U_CHAR) getc(infile); in read_rle_pixel() 184 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[0]); in get_8bit_gray_row() 202 t = UCH(source->tga_pixel[0]); in get_8bit_row() 222 t = UCH(source->tga_pixel[0]); in get_16bit_row() 223 t += UCH(source->tga_pixel[1]) << 8; in get_16bit_row() 249 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[2]); /* change BGR to RGB order */ in get_24bit_row() 250 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[1]); in get_24bit_row() 251 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[0]); in get_24bit_row()
|
/dports/japanese/xv/xv-3.10a/jpeg/ |
H A D | rdtarga.c | 62 U_CHAR tga_pixel[4]; member 130 sinfo->tga_pixel[i] = (U_CHAR) getc(infile); in read_non_rle_pixel() 161 sinfo->tga_pixel[i] = (U_CHAR) getc(infile); in read_rle_pixel() 184 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[0]); in get_8bit_gray_row() 202 t = UCH(source->tga_pixel[0]); in get_8bit_row() 222 t = UCH(source->tga_pixel[0]); in get_16bit_row() 223 t += UCH(source->tga_pixel[1]) << 8; in get_16bit_row() 249 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[2]); /* change BGR to RGB order */ in get_24bit_row() 250 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[1]); in get_24bit_row() 251 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[0]); in get_24bit_row()
|
/dports/benchmarks/glmark2/glmark2-2021.12/src/libjpeg-turbo/ |
H A D | rdtarga.c | 65 U_CHAR tga_pixel[4]; member 132 sinfo->tga_pixel[i] = (U_CHAR) getc(infile); in read_non_rle_pixel() 163 sinfo->tga_pixel[i] = (U_CHAR) getc(infile); in read_rle_pixel() 186 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[0]); in get_8bit_gray_row() 204 t = UCH(source->tga_pixel[0]); in get_8bit_row() 224 t = UCH(source->tga_pixel[0]); in get_16bit_row() 225 t += UCH(source->tga_pixel[1]) << 8; in get_16bit_row() 251 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[2]); /* change BGR to RGB order */ in get_24bit_row() 252 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[1]); in get_24bit_row() 253 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[0]); in get_24bit_row()
|
/dports/graphics/xv/xv-3.10a/jpeg/ |
H A D | rdtarga.c | 62 U_CHAR tga_pixel[4]; member 130 sinfo->tga_pixel[i] = (U_CHAR) getc(infile); in read_non_rle_pixel() 161 sinfo->tga_pixel[i] = (U_CHAR) getc(infile); in read_rle_pixel() 184 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[0]); in get_8bit_gray_row() 202 t = UCH(source->tga_pixel[0]); in get_8bit_row() 222 t = UCH(source->tga_pixel[0]); in get_16bit_row() 223 t += UCH(source->tga_pixel[1]) << 8; in get_16bit_row() 249 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[2]); /* change BGR to RGB order */ in get_24bit_row() 250 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[1]); in get_24bit_row() 251 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[0]); in get_24bit_row()
|
/dports/graphics/xv-m17n/xv-3.10a/jpeg/ |
H A D | rdtarga.c | 62 U_CHAR tga_pixel[4]; member 130 sinfo->tga_pixel[i] = (U_CHAR) getc(infile); in read_non_rle_pixel() 161 sinfo->tga_pixel[i] = (U_CHAR) getc(infile); in read_rle_pixel() 184 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[0]); in get_8bit_gray_row() 202 t = UCH(source->tga_pixel[0]); in get_8bit_row() 222 t = UCH(source->tga_pixel[0]); in get_16bit_row() 223 t += UCH(source->tga_pixel[1]) << 8; in get_16bit_row() 249 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[2]); /* change BGR to RGB order */ in get_24bit_row() 250 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[1]); in get_24bit_row() 251 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[0]); in get_24bit_row()
|
/dports/graphics/seejpeg/seejpeg-1.10/jpeglib/ |
H A D | rdtarga.c | 62 U_CHAR tga_pixel[4]; member 130 sinfo->tga_pixel[i] = (U_CHAR) getc(infile); in read_non_rle_pixel() 161 sinfo->tga_pixel[i] = (U_CHAR) getc(infile); in read_rle_pixel() 184 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[0]); in get_8bit_gray_row() 202 t = UCH(source->tga_pixel[0]); in get_8bit_row() 222 t = UCH(source->tga_pixel[0]); in get_16bit_row() 223 t += UCH(source->tga_pixel[1]) << 8; in get_16bit_row() 249 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[2]); /* change BGR to RGB order */ in get_24bit_row() 250 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[1]); in get_24bit_row() 251 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[0]); in get_24bit_row()
|
/dports/graphics/freeimage/FreeImage/Source/LibJPEG/ |
H A D | rdtarga.c | 63 U_CHAR tga_pixel[4]; member 132 sinfo->tga_pixel[i] = (U_CHAR) getc(infile); in read_non_rle_pixel() 163 sinfo->tga_pixel[i] = (U_CHAR) getc(infile); in read_rle_pixel() 186 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[0]); in get_8bit_gray_row() 207 t = UCH(source->tga_pixel[0]); in get_8bit_row() 229 t = UCH(source->tga_pixel[0]); in get_16bit_row() 230 t += UCH(source->tga_pixel[1]) << 8; in get_16bit_row() 256 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[2]); /* change BGR to RGB order */ in get_24bit_row() 257 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[1]); in get_24bit_row() 258 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[0]); in get_24bit_row()
|
/dports/emulators/mess/mame-mame0226/3rdparty/libjpeg/ |
H A D | rdtarga.c | 62 U_CHAR tga_pixel[4]; member 130 sinfo->tga_pixel[i] = (U_CHAR) getc(infile); in read_non_rle_pixel() 161 sinfo->tga_pixel[i] = (U_CHAR) getc(infile); in read_rle_pixel() 184 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[0]); in get_8bit_gray_row() 202 t = UCH(source->tga_pixel[0]); in get_8bit_row() 222 t = UCH(source->tga_pixel[0]); in get_16bit_row() 223 t += UCH(source->tga_pixel[1]) << 8; in get_16bit_row() 249 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[2]); /* change BGR to RGB order */ in get_24bit_row() 250 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[1]); in get_24bit_row() 251 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[0]); in get_24bit_row()
|
/dports/graphics/aseprite/aseprite-1.2.9/third_party/jpeg/ |
H A D | rdtarga.c | 62 U_CHAR tga_pixel[4]; member 130 sinfo->tga_pixel[i] = (U_CHAR) getc(infile); in read_non_rle_pixel() 161 sinfo->tga_pixel[i] = (U_CHAR) getc(infile); in read_rle_pixel() 184 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[0]); in get_8bit_gray_row() 202 t = UCH(source->tga_pixel[0]); in get_8bit_row() 222 t = UCH(source->tga_pixel[0]); in get_16bit_row() 223 t += UCH(source->tga_pixel[1]) << 8; in get_16bit_row() 249 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[2]); /* change BGR to RGB order */ in get_24bit_row() 250 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[1]); in get_24bit_row() 251 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[0]); in get_24bit_row()
|
/dports/graphics/argyllcms/Argyll_V1.9.2/jpeg/ |
H A D | rdtarga.c | 62 U_CHAR tga_pixel[4]; member 130 sinfo->tga_pixel[i] = (U_CHAR) getc(infile); in read_non_rle_pixel() 161 sinfo->tga_pixel[i] = (U_CHAR) getc(infile); in read_rle_pixel() 184 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[0]); in get_8bit_gray_row() 202 t = UCH(source->tga_pixel[0]); in get_8bit_row() 222 t = UCH(source->tga_pixel[0]); in get_16bit_row() 223 t += UCH(source->tga_pixel[1]) << 8; in get_16bit_row() 249 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[2]); /* change BGR to RGB order */ in get_24bit_row() 250 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[1]); in get_24bit_row() 251 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[0]); in get_24bit_row()
|
/dports/graphics/jpeg-turbo/libjpeg-turbo-2.1.1/ |
H A D | rdtarga.c | 57 U_CHAR tga_pixel[4]; member 124 sinfo->tga_pixel[i] = (U_CHAR)read_byte(sinfo); in read_non_rle_pixel() 154 sinfo->tga_pixel[i] = (U_CHAR)read_byte(sinfo); in read_rle_pixel() 177 *ptr++ = (JSAMPLE)UCH(source->tga_pixel[0]); in get_8bit_gray_row() 196 t = UCH(source->tga_pixel[0]); in get_8bit_row() 218 t = UCH(source->tga_pixel[0]); in get_16bit_row() 219 t += UCH(source->tga_pixel[1]) << 8; in get_16bit_row() 245 *ptr++ = (JSAMPLE)UCH(source->tga_pixel[2]); /* change BGR to RGB order */ in get_24bit_row() 246 *ptr++ = (JSAMPLE)UCH(source->tga_pixel[1]); in get_24bit_row() 247 *ptr++ = (JSAMPLE)UCH(source->tga_pixel[0]); in get_24bit_row()
|
/dports/cad/openctm/OpenCTM-1.0.3/tools/jpeg/ |
H A D | rdtarga.c | 62 U_CHAR tga_pixel[4]; member 130 sinfo->tga_pixel[i] = (U_CHAR) getc(infile); in read_non_rle_pixel() 161 sinfo->tga_pixel[i] = (U_CHAR) getc(infile); in read_rle_pixel() 184 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[0]); in get_8bit_gray_row() 202 t = UCH(source->tga_pixel[0]); in get_8bit_row() 222 t = UCH(source->tga_pixel[0]); in get_16bit_row() 223 t += UCH(source->tga_pixel[1]) << 8; in get_16bit_row() 249 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[2]); /* change BGR to RGB order */ in get_24bit_row() 250 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[1]); in get_24bit_row() 251 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[0]); in get_24bit_row()
|
/dports/science/afni/afni-AFNI_21.3.16/src/jpeg-6b/ |
H A D | rdtarga.c | 62 U_CHAR tga_pixel[4]; member 130 sinfo->tga_pixel[i] = (U_CHAR) getc(infile); in read_non_rle_pixel() 161 sinfo->tga_pixel[i] = (U_CHAR) getc(infile); in read_rle_pixel() 184 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[0]); in get_8bit_gray_row() 202 t = UCH(source->tga_pixel[0]); in get_8bit_row() 222 t = UCH(source->tga_pixel[0]); in get_16bit_row() 223 t += UCH(source->tga_pixel[1]) << 8; in get_16bit_row() 249 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[2]); /* change BGR to RGB order */ in get_24bit_row() 250 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[1]); in get_24bit_row() 251 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[0]); in get_24bit_row()
|
/dports/science/py-dlib/dlib-19.22/dlib/external/libjpeg/ |
H A D | rdtarga.c | 62 U_CHAR tga_pixel[4]; member 130 sinfo->tga_pixel[i] = (U_CHAR) getc(infile); in read_non_rle_pixel() 161 sinfo->tga_pixel[i] = (U_CHAR) getc(infile); in read_rle_pixel() 184 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[0]); in get_8bit_gray_row() 202 t = UCH(source->tga_pixel[0]); in get_8bit_row() 222 t = UCH(source->tga_pixel[0]); in get_16bit_row() 223 t += UCH(source->tga_pixel[1]) << 8; in get_16bit_row() 249 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[2]); /* change BGR to RGB order */ in get_24bit_row() 250 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[1]); in get_24bit_row() 251 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[0]); in get_24bit_row()
|
/dports/graphics/libjpeg-turbo/libjpeg-turbo-2.1.1/ |
H A D | rdtarga.c | 57 U_CHAR tga_pixel[4]; member 124 sinfo->tga_pixel[i] = (U_CHAR)read_byte(sinfo); in read_non_rle_pixel() 154 sinfo->tga_pixel[i] = (U_CHAR)read_byte(sinfo); in read_rle_pixel() 177 *ptr++ = (JSAMPLE)UCH(source->tga_pixel[0]); in get_8bit_gray_row() 196 t = UCH(source->tga_pixel[0]); in get_8bit_row() 218 t = UCH(source->tga_pixel[0]); in get_16bit_row() 219 t += UCH(source->tga_pixel[1]) << 8; in get_16bit_row() 245 *ptr++ = (JSAMPLE)UCH(source->tga_pixel[2]); /* change BGR to RGB order */ in get_24bit_row() 246 *ptr++ = (JSAMPLE)UCH(source->tga_pixel[1]); in get_24bit_row() 247 *ptr++ = (JSAMPLE)UCH(source->tga_pixel[0]); in get_24bit_row()
|
/dports/devel/upp/upp/uppsrc/plugin/jpg/lib/ |
H A D | rdtarga.c | 62 U_CHAR tga_pixel[4]; member 130 sinfo->tga_pixel[i] = (U_CHAR) read_byte(sinfo); in read_non_rle_pixel() 159 sinfo->tga_pixel[i] = (U_CHAR) read_byte(sinfo); in read_rle_pixel() 181 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[0]); in get_8bit_gray_row() 202 t = UCH(source->tga_pixel[0]); in get_8bit_row() 224 t = UCH(source->tga_pixel[0]); in get_16bit_row() 225 t += UCH(source->tga_pixel[1]) << 8; in get_16bit_row() 251 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[2]); /* change BGR to RGB order */ in get_24bit_row() 252 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[1]); in get_24bit_row() 253 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[0]); in get_24bit_row()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/libjpeg_turbo/ |
H A D | rdtarga.c | 67 U_CHAR tga_pixel[4]; member 134 sinfo->tga_pixel[i] = (U_CHAR)read_byte(sinfo); in read_non_rle_pixel() 164 sinfo->tga_pixel[i] = (U_CHAR)read_byte(sinfo); in read_rle_pixel() 187 *ptr++ = (JSAMPLE)UCH(source->tga_pixel[0]); in get_8bit_gray_row() 206 t = UCH(source->tga_pixel[0]); in get_8bit_row() 228 t = UCH(source->tga_pixel[0]); in get_16bit_row() 229 t += UCH(source->tga_pixel[1]) << 8; in get_16bit_row() 255 *ptr++ = (JSAMPLE)UCH(source->tga_pixel[2]); /* change BGR to RGB order */ in get_24bit_row() 256 *ptr++ = (JSAMPLE)UCH(source->tga_pixel[1]); in get_24bit_row() 257 *ptr++ = (JSAMPLE)UCH(source->tga_pixel[0]); in get_24bit_row()
|
/dports/emulators/mame/mame-mame0226/3rdparty/libjpeg/ |
H A D | rdtarga.c | 62 U_CHAR tga_pixel[4]; member 130 sinfo->tga_pixel[i] = (U_CHAR) getc(infile); in read_non_rle_pixel() 161 sinfo->tga_pixel[i] = (U_CHAR) getc(infile); in read_rle_pixel() 184 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[0]); in get_8bit_gray_row() 202 t = UCH(source->tga_pixel[0]); in get_8bit_row() 222 t = UCH(source->tga_pixel[0]); in get_16bit_row() 223 t += UCH(source->tga_pixel[1]) << 8; in get_16bit_row() 249 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[2]); /* change BGR to RGB order */ in get_24bit_row() 250 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[1]); in get_24bit_row() 251 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[0]); in get_24bit_row()
|
/dports/graphics/povray37/povray-3.7.0.10/libraries/jpeg/ |
H A D | rdtarga.c | 62 U_CHAR tga_pixel[4]; member 130 sinfo->tga_pixel[i] = (U_CHAR) getc(infile); in read_non_rle_pixel() 161 sinfo->tga_pixel[i] = (U_CHAR) getc(infile); in read_rle_pixel() 184 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[0]); in get_8bit_gray_row() 202 t = UCH(source->tga_pixel[0]); in get_8bit_row() 222 t = UCH(source->tga_pixel[0]); in get_16bit_row() 223 t += UCH(source->tga_pixel[1]) << 8; in get_16bit_row() 249 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[2]); /* change BGR to RGB order */ in get_24bit_row() 250 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[1]); in get_24bit_row() 251 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[0]); in get_24bit_row()
|
/dports/science/dlib-cpp/dlib-19.22/dlib/external/libjpeg/ |
H A D | rdtarga.c | 62 U_CHAR tga_pixel[4]; member 130 sinfo->tga_pixel[i] = (U_CHAR) getc(infile); in read_non_rle_pixel() 161 sinfo->tga_pixel[i] = (U_CHAR) getc(infile); in read_rle_pixel() 184 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[0]); in get_8bit_gray_row() 202 t = UCH(source->tga_pixel[0]); in get_8bit_row() 222 t = UCH(source->tga_pixel[0]); in get_16bit_row() 223 t += UCH(source->tga_pixel[1]) << 8; in get_16bit_row() 249 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[2]); /* change BGR to RGB order */ in get_24bit_row() 250 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[1]); in get_24bit_row() 251 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[0]); in get_24bit_row()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/libjpeg_turbo/ |
H A D | rdtarga.c | 67 U_CHAR tga_pixel[4]; member 134 sinfo->tga_pixel[i] = (U_CHAR)read_byte(sinfo); in read_non_rle_pixel() 164 sinfo->tga_pixel[i] = (U_CHAR)read_byte(sinfo); in read_rle_pixel() 187 *ptr++ = (JSAMPLE)UCH(source->tga_pixel[0]); in get_8bit_gray_row() 206 t = UCH(source->tga_pixel[0]); in get_8bit_row() 228 t = UCH(source->tga_pixel[0]); in get_16bit_row() 229 t += UCH(source->tga_pixel[1]) << 8; in get_16bit_row() 255 *ptr++ = (JSAMPLE)UCH(source->tga_pixel[2]); /* change BGR to RGB order */ in get_24bit_row() 256 *ptr++ = (JSAMPLE)UCH(source->tga_pixel[1]); in get_24bit_row() 257 *ptr++ = (JSAMPLE)UCH(source->tga_pixel[0]); in get_24bit_row()
|