Home
last modified time | relevance | path

Searched refs:colortype (Results 126 – 150 of 674) sorted by relevance

12345678910>>...27

/dports/sysutils/onefetch/onefetch-2.10.2/cargo-crates/image-0.23.14/src/codecs/
H A Dtiff.rs42 let color_type = inner.colortype() in new()
252 … ColorType::L8 => encoder.write_image::<tiff::encoder::colortype::Gray8>(width, height, data), in encode()
253 … ColorType::Rgb8 => encoder.write_image::<tiff::encoder::colortype::RGB8>(width, height, data), in encode()
254 … ColorType::Rgba8 => encoder.write_image::<tiff::encoder::colortype::RGBA8>(width, height, data), in encode()
255 …ColorType::L16 => encoder.write_image::<tiff::encoder::colortype::Gray16>(width, height, &u8_slice… in encode()
256 …ColorType::Rgb16 => encoder.write_image::<tiff::encoder::colortype::RGB16>(width, height, &u8_slic… in encode()
257 …ColorType::Rgba16 => encoder.write_image::<tiff::encoder::colortype::RGBA16>(width, height, &u8_sl… in encode()
/dports/www/zola/zola-0.15.2/cargo-crates/image-0.23.14/src/codecs/
H A Dtiff.rs42 let color_type = inner.colortype() in new()
252 … ColorType::L8 => encoder.write_image::<tiff::encoder::colortype::Gray8>(width, height, data), in encode()
253 … ColorType::Rgb8 => encoder.write_image::<tiff::encoder::colortype::RGB8>(width, height, data), in encode()
254 … ColorType::Rgba8 => encoder.write_image::<tiff::encoder::colortype::RGBA8>(width, height, data), in encode()
255 …ColorType::L16 => encoder.write_image::<tiff::encoder::colortype::Gray16>(width, height, &u8_slice… in encode()
256 …ColorType::Rgb16 => encoder.write_image::<tiff::encoder::colortype::RGB16>(width, height, &u8_slic… in encode()
257 …ColorType::Rgba16 => encoder.write_image::<tiff::encoder::colortype::RGBA16>(width, height, &u8_sl… in encode()
/dports/audio/spotify-tui/spotify-tui-0.25.0/cargo-crates/image-0.23.12/src/codecs/
H A Dtiff.rs42 let color_type = inner.colortype() in new()
252 … ColorType::L8 => encoder.write_image::<tiff::encoder::colortype::Gray8>(width, height, data), in encode()
253 … ColorType::Rgb8 => encoder.write_image::<tiff::encoder::colortype::RGB8>(width, height, data), in encode()
254 … ColorType::Rgba8 => encoder.write_image::<tiff::encoder::colortype::RGBA8>(width, height, data), in encode()
255 …ColorType::L16 => encoder.write_image::<tiff::encoder::colortype::Gray16>(width, height, &u8_slice… in encode()
256 …ColorType::Rgb16 => encoder.write_image::<tiff::encoder::colortype::RGB16>(width, height, &u8_slic… in encode()
257 …ColorType::Rgba16 => encoder.write_image::<tiff::encoder::colortype::RGBA16>(width, height, &u8_sl… in encode()
/dports/www/geckodriver/mozilla-central-e9783a644016aa9b317887076618425586730d73/testing/geckodriver/cargo-crates/image-0.22.1/src/
H A Dpng.rs93 colortype: ColorType, field
105 let colortype = reader.output_color_type().into(); in new() localVariable
107 Ok(PNGDecoder { colortype, reader }) in new()
119 fn colortype(&self) -> ColorType { in colortype() method
120 self.colortype in colortype()
/dports/games/openjk/OpenJK-07675e2/code/rd-common/
H A Dtr_image_png.cpp205 int colortype; in Read() local
207 png_get_IHDR (png_ptr, info_ptr, &width_, &height_, &depth, &colortype, NULL, NULL, NULL); in Read()
221 if ( colortype != PNG_COLOR_TYPE_RGB && colortype != PNG_COLOR_TYPE_RGBA ) in Read()
228 if ( colortype == PNG_COLOR_TYPE_RGB ) in Read()
/dports/games/openjk/OpenJK-07675e2/codemp/rd-common/
H A Dtr_image_png.cpp194 int colortype; in Read() local
196 png_get_IHDR (png_ptr, info_ptr, &width_, &height_, &depth, &colortype, NULL, NULL, NULL); in Read()
210 if ( colortype != PNG_COLOR_TYPE_RGB && colortype != PNG_COLOR_TYPE_RGBA ) in Read()
217 if ( colortype == PNG_COLOR_TYPE_RGB ) in Read()
/dports/editors/nano/nano-5.9/src/
H A Dcolor.c45 colortype *combo = color_combo[index]; in set_interface_colorpairs()
82 colortype *older; in set_syntax_colorpairs()
84 for (colortype *ink = sntx->color; ink != NULL; ink = ink->next) { in set_syntax_colorpairs()
109 for (colortype *ink = openfile->syntax->color; ink != NULL; ink = ink->next) in prepare_palette()
231 const colortype *ink; in check_the_multis()
283 const colortype *ink; in precalc_multicolorinfo()
/dports/shells/ion/ion-a8872014dbce730ccd00aaa722397dc394a52bf4/cargo-crates/image-0.21.2/src/ico/
H A Ddecoder.rs171 fn colortype(&self) -> ColorType { in colortype() method
173 BMP(ref decoder) => decoder.colortype(), in colortype()
174 PNG(ref decoder) => decoder.colortype(), in colortype()
201 let color_type = decoder.colortype(); in read_image()
220 if decoder.colortype() != ColorType::RGBA(8) { in read_image()
/dports/graphics/netpbm/netpbm-10.91.01/converter/ppm/
H A Dppmtobmp.c478 Colortype const colortype, in bmpWriteRaster() argument
501 if (colortype == PALETTE) in bmpWriteRaster()
521 Colortype const colortype, in bmpEncode() argument
536 if (colortype == PALETTE) in bmpEncode()
544 if (colortype == PALETTE) in bmpEncode()
550 nbyte += bmpWriteRaster(ifP, x, y, colortype, bpp, pixels, maxval, in bmpEncode()
921 Colortype colortype; in doPgmPpm() local
939 &colortype, &bitsPerPixel); in doPgmPpm()
941 bmpEncode(ofP, class, colortype, bitsPerPixel, in doPgmPpm()
/dports/graphics/opendx/dx-4.4.4/src/exec/dxmods/
H A Dcolorbar.c60 Type type, colortype; in m_ColorBar() local
337 switch (colortype) { in m_ColorBar()
459 switch (colortype) { in m_ColorBar()
603 switch (colortype) { in m_ColorBar()
692 switch (colortype) { in m_ColorBar()
728 switch (colortype) { in m_ColorBar()
796 switch (colortype) { in m_ColorBar()
869 switch (colortype) { in m_ColorBar()
921 switch (colortype) { in m_ColorBar()
994 switch (colortype) { in m_ColorBar()
[all …]
/dports/net/freerdp/freerdp-2.5.0/winpr/libwinpr/utils/lodepng/
H A Dlodepng.h101 const unsigned char* in, size_t insize, LodePNGColorType colortype,
118 LodePNGColorType colortype, unsigned bitdepth);
146 unsigned w, unsigned h, LodePNGColorType colortype,
164 unsigned h, LodePNGColorType colortype, unsigned bitdepth);
252 colortype; /*color type, see PNG standard or documentation further in this header file*/ member
/dports/multimedia/termplay/termplay-2.0.6/cargo-crates/image-0.22.3/src/ico/
H A Ddecoder.rs189 fn colortype(&self) -> ColorType { in colortype() method
191 BMP(ref decoder) => decoder.colortype(), in colortype()
192 PNG(ref decoder) => decoder.colortype(), in colortype()
219 let color_type = decoder.colortype(); in read_image()
238 if decoder.colortype() != ColorType::RGBA(8) { in read_image()
/dports/www/geckodriver/mozilla-central-e9783a644016aa9b317887076618425586730d73/testing/geckodriver/cargo-crates/image-0.22.1/src/ico/
H A Ddecoder.rs189 fn colortype(&self) -> ColorType { in colortype() method
191 BMP(ref decoder) => decoder.colortype(), in colortype()
192 PNG(ref decoder) => decoder.colortype(), in colortype()
219 let color_type = decoder.colortype(); in read_image()
238 if decoder.colortype() != ColorType::RGBA(8) { in read_image()
/dports/games/dose-response/dose-response-179c326/cargo-crates/image-0.20.1/src/ico/
H A Ddecoder.rs171 fn colortype(&mut self) -> ImageResult<ColorType> { in colortype() method
173 BMP(ref mut decoder) => decoder.colortype(), in colortype()
174 PNG(ref mut decoder) => decoder.colortype(), in colortype()
211 let color_type = try!(decoder.colortype()); in read_image()
230 if try!(decoder.colortype()) != ColorType::RGBA(8) { in read_image()
/dports/graphics/viu/viu-1.1/cargo-crates/image-0.22.5/src/ico/
H A Ddecoder.rs189 fn colortype(&self) -> ColorType { in colortype() method
191 BMP(ref decoder) => decoder.colortype(), in colortype()
192 PNG(ref decoder) => decoder.colortype(), in colortype()
219 let color_type = decoder.colortype(); in read_image()
238 if decoder.colortype() != ColorType::RGBA(8) { in read_image()
/dports/games/colobot/colobot-colobot-gold-0.2.0-alpha/src/common/
H A Dimage.cpp82 int colortype = PNG_COLOR_MASK_COLOR; /* grayscale not supported */ in PNGColortypeFromSurface() local
85 colortype |= PNG_COLOR_MASK_PALETTE; in PNGColortypeFromSurface()
87 colortype |= PNG_COLOR_MASK_ALPHA; in PNGColortypeFromSurface()
89 return colortype; in PNGColortypeFromSurface()
142 int colortype = PNGColortypeFromSurface(surf); in PNGSaveSurface() local
143 png_set_IHDR(pngPtr, infoPtr, surf->w, surf->h, 8, colortype, PNG_INTERLACE_NONE, in PNGSaveSurface()
/dports/graphics/pstoedit/pstoedit-3.70/src/
H A Ddrvpptx.h39 OptionT < RSString, RSStringValueExtractor > colortype;
43 colortype(true, "-colors", "string", 0, in DriverOptions()
53 ADD(colortype); in DriverOptions()
/dports/games/libretro-mame2000/mame2000-libretro-e364a15/src/vidhrdw/
H A Dwiz.c138 static void draw_background(struct osd_bitmap *bitmap, int bank, int colortype) in draw_background() argument
156 if (colortype) in draw_background()
204 static void draw_foreground(struct osd_bitmap *bitmap, int colortype) in draw_foreground() argument
217 if (colortype) in draw_foreground()
/dports/games/libretro-mame2003/mame2003-libretro-4358db4/src/vidhrdw/
H A Dwiz_vidhrdw.c161 static void draw_background(struct mame_bitmap *bitmap, int bank, int colortype) in draw_background() argument
175 if (colortype) in draw_background()
201 static void draw_foreground(struct mame_bitmap *bitmap, int colortype) in draw_foreground() argument
214 if (colortype) in draw_foreground()
/dports/games/libretro-mame2003_plus/mame2003-plus-libretro-17e9889/src/vidhrdw/
H A Dwiz_vidhrdw.c161 static void draw_background(struct mame_bitmap *bitmap, int bank, int colortype) in draw_background() argument
175 if (colortype) in draw_background()
201 static void draw_foreground(struct mame_bitmap *bitmap, int colortype) in draw_foreground() argument
214 if (colortype) in draw_foreground()
/dports/graphics/gifski/gifski-1.5.0/cargo-crates/lodepng-3.4.6/src/
H A Dffi.rs106 pub colortype: ColorType, field
143 s.field("colortype", &self.colortype); in fmt()
502 …e_file(filename: *const c_char, image: *const u8, w: c_uint, h: c_uint, colortype: ColorType, bitd… in lodepng_encode_file()
504 …code_file(&c_path(filename), slice::from_raw_parts(image, 0x1FFF_FFFF), w, h, colortype, bitdepth)) in lodepng_encode_file()
520 pub unsafe extern "C" fn lodepng_get_bpp_lct(colortype: ColorType, bitdepth: c_uint) -> c_uint { in lodepng_get_bpp_lct()
521 rustimpl::lodepng_get_bpp_lct(colortype, bitdepth) in lodepng_get_bpp_lct()
565 pub unsafe extern "C" fn lodepng_get_raw_size_lct(w: c_uint, h: c_uint, colortype: ColorType, bitde… in lodepng_get_raw_size_lct()
566 rustimpl::lodepng_get_raw_size_lct(w, h, colortype, bitdepth) in lodepng_get_raw_size_lct()
826 …ode_try!(rustimpl::lodepng_decode_memory(slice::from_raw_parts(inp, insize), colortype, bitdepth)); in lodepng_decode_memory()
847 … let (v, w, h) = lode_try!(rustimpl::lodepng_decode_file(&c_path(filename), colortype, bitdepth)); in lodepng_decode_file()
[all …]
/dports/graphics/dssim/dssim-3.1.2/cargo-crates/lodepng-3.4.7/src/
H A Dffi.rs108 pub colortype: ColorType, field
145 s.field("colortype", &self.colortype); in fmt()
504 …e_file(filename: *const c_char, image: *const u8, w: c_uint, h: c_uint, colortype: ColorType, bitd… in lodepng_encode_file()
506 …code_file(&c_path(filename), slice::from_raw_parts(image, 0x1FFF_FFFF), w, h, colortype, bitdepth)) in lodepng_encode_file()
522 pub unsafe extern "C" fn lodepng_get_bpp_lct(colortype: ColorType, bitdepth: c_uint) -> c_uint { in lodepng_get_bpp_lct()
523 rustimpl::lodepng_get_bpp_lct(colortype, bitdepth) in lodepng_get_bpp_lct()
567 pub unsafe extern "C" fn lodepng_get_raw_size_lct(w: c_uint, h: c_uint, colortype: ColorType, bitde… in lodepng_get_raw_size_lct()
568 rustimpl::lodepng_get_raw_size_lct(w, h, colortype, bitdepth) in lodepng_get_raw_size_lct()
828 …ode_try!(rustimpl::lodepng_decode_memory(slice::from_raw_parts(inp, insize), colortype, bitdepth)); in lodepng_decode_memory()
849 … let (v, w, h) = lode_try!(rustimpl::lodepng_decode_file(&c_path(filename), colortype, bitdepth)); in lodepng_decode_file()
[all …]
/dports/textproc/cast2gif/cast2gif-0.1.0/cargo-crates/lodepng-2.5.0/src/
H A Dffi.rs84 pub colortype: ColorType, field
401 …e_file(filename: *const c_char, image: *const u8, w: c_uint, h: c_uint, colortype: ColorType, bitd… in lodepng_encode_file()
402 …code_file(&c_path(filename), slice::from_raw_parts(image, 0x1FFF_FFFF), w, h, colortype, bitdepth)) in lodepng_encode_file()
416 pub unsafe extern "C" fn lodepng_get_bpp_lct(colortype: ColorType, bitdepth: c_uint) -> c_uint { in lodepng_get_bpp_lct()
417 rustimpl::lodepng_get_bpp_lct(colortype, bitdepth) in lodepng_get_bpp_lct()
461 pub unsafe extern "C" fn lodepng_get_raw_size_lct(w: c_uint, h: c_uint, colortype: ColorType, bitde… in lodepng_get_raw_size_lct()
462 rustimpl::lodepng_get_raw_size_lct(w, h, colortype, bitdepth) in lodepng_get_raw_size_lct()
725 …ode_try!(rustimpl::lodepng_decode_memory(slice::from_raw_parts(inp, insize), colortype, bitdepth)); in lodepng_decode_memory()
746 … let (v, w, h) = lode_try!(rustimpl::lodepng_decode_file(&c_path(filename), colortype, bitdepth)); in lodepng_decode_file()
816 …t *mut u8, outsize: &mut usize, image: *const u8, w: c_uint, h: c_uint, colortype: ColorType, bitd… in lodepng_encode_memory()
[all …]
/dports/graphics/libjxl/libjxl-0.6.1/third_party/lodepng/examples/
H A Dexample_encode_type.cpp64 state.info_raw.colortype = LCT_RGBA; in main()
67 state.info_png.color.colortype = LCT_RGBA; in main()
/dports/emulators/citra/citra-ac98458e0/externals/lodepng/lodepng/examples/
H A Dexample_encode_type.cpp64 state.info_raw.colortype = LCT_RGBA; in main()
67 state.info_png.color.colortype = LCT_RGBA; in main()

12345678910>>...27