Home
last modified time | relevance | path

Searched refs:pixel_depth (Results 1 – 25 of 1646) sorted by relevance

12345678910>>...66

/dports/games/prboom-plus/prboom-plus-2.5.1.3/src/
H A Dr_screenmultiply.c115 int pixel_depth, int pitch_src, int pitch_dest, int ytop, int ybottom, int interlaced) in R_ProcessScreenMultiplyBlock2x() argument
117 switch (pixel_depth) in R_ProcessScreenMultiplyBlock2x()
191 switch (pixel_depth) in R_ProcessScreenMultiplyBlock4x()
241 switch (pixel_depth) in R_ProcessScreenMultiplyBlock()
256 int pixel_depth, int pitch_src, int pitch_dest) in R_ProcessScreenMultiply() argument
261 if (pixel_depth != 1 && pixel_depth != 2 && pixel_depth != 4) in R_ProcessScreenMultiply()
262 I_Error("R_ProcessScreenMultiply: unsupported pixel depth %d", pixel_depth); in R_ProcessScreenMultiply()
278 R_ProcessScreenMultiplyBlock2x(pixels_src, pixels_dest, pixel_depth, in R_ProcessScreenMultiply()
282 R_ProcessScreenMultiplyBlock4x(pixels_src, pixels_dest, pixel_depth, in R_ProcessScreenMultiply()
289 R_ProcessScreenMultiplyBlock(pixels_src, pixels_dest, pixel_depth, in R_ProcessScreenMultiply()
[all …]
/dports/multimedia/opentoonz/opentoonz-1.5.0/toonz/sources/image/tga/
H A Dfiletga.c209 READ(&dest->pixel_depth, 1); in tga_read_from_FILE()
210 if (!SANE_DEPTH(dest->pixel_depth) || in tga_read_from_FILE()
326 uint16_t bpp = src->pixel_depth / 8; in tga_write_row_RLE()
461 if (!SANE_DEPTH(src->pixel_depth) || in tga_write_to_FILE()
464 WRITE(&src->pixel_depth, 1); in tga_write_to_FILE()
512 img->pixel_depth = depth; in init_tga_image()
690 img->pixel_depth = img->color_map_depth; in tga_color_unmap()
833 img->pixel_depth = 8; in tga_desaturate()
873 src_bpp = img->pixel_depth / 8; in tga_convert_depth()
914 img->pixel_depth = bits; in tga_convert_depth()
[all …]
/dports/graphics/freeimage/FreeImage/Source/FreeImage/
H A DPluginPNG.cpp348 if (pixel_depth == 2) { in ConfigureDecoder()
354 if (bIsTransparent && (pixel_depth < 8)) { in ConfigureDecoder()
397 image_type = (pixel_depth == 24) ? FIT_BITMAP : (pixel_depth == 48) ? FIT_RGBA16 : FIT_UNKNOWN; in ConfigureDecoder()
410 if (pixel_depth == 2) { in ConfigureDecoder()
416 if (bIsTransparent && (pixel_depth < 8)) { in ConfigureDecoder()
617 if(dib && (pixel_depth <= 8)) { in Load()
619 const int palette_entries = 1 << pixel_depth; in Load()
658 else if ((trans_alpha) && (pixel_depth <= 8)) { in Load()
878 pixel_depth = FreeImage_GetBPP(dib); in Save()
897 if(pixel_depth >= 16){ in Save()
[all …]
/dports/x11/fbdesk/fbdesk-1.4.1/src/FbTk/
H A DImagePNG.cc80 int pixel_depth; in load() local
121 pixel_depth = bit_depth * png_get_channels(png.png(), png.info()); in load()
127 cerr<<"pixel depth = "<<pixel_depth<<endl; in load()
154 pixel_depth = 8; in load()
166 pixel_depth = 8; in load()
179 pixel_depth = 32; in load()
182 if (pixel_depth == 4 || in load()
183 pixel_depth == 8) in load()
230 pixel_depth); in load()
237 switch (pixel_depth) { in load()
[all …]
/dports/multimedia/gmerlin/gmerlin-1.2.0/plugins/image/
H A Dtarga.c258 READ(&dest->pixel_depth, 1); in tga_read_from_memory()
259 if (!SANE_DEPTH(dest->pixel_depth) || in tga_read_from_memory()
421 uint16_t bpp = src->pixel_depth / 8; in tga_write_row_RLE()
576 if (!SANE_DEPTH(src->pixel_depth) || in tga_write_to_FILE()
579 WRITE(&src->pixel_depth, 1); in tga_write_to_FILE()
640 img->pixel_depth = depth; in init_tga_image()
1019 img->pixel_depth = 8; in tga_desaturate()
1057 !SANE_DEPTH(img->pixel_depth) in tga_convert_depth()
1068 src_bpp = img->pixel_depth / 8; in tga_convert_depth()
1116 img->pixel_depth = bits; in tga_convert_depth()
[all …]
/dports/games/openspades/openspades-0.1.3/Sources/Core/
H A DTargaWriter.cpp97 uint8_t pixel_depth; member
421 READ(&dest->pixel_depth, 1); in tga_read_from_FILE()
544 uint16_t bpp = src->pixel_depth / 8; in tga_write_row_RLE()
702 if (!SANE_DEPTH(src->pixel_depth) || in tga_write_to_FILE()
705 WRITE(&src->pixel_depth, 1); in tga_write_to_FILE()
762 img->pixel_depth = depth; in init_tga_image()
1135 img->pixel_depth = 8; in tga_desaturate()
1173 !SANE_DEPTH(img->pixel_depth) in tga_convert_depth()
1184 src_bpp = img->pixel_depth / 8; in tga_convert_depth()
1232 img->pixel_depth = bits; in tga_convert_depth()
[all …]
/dports/devel/tbb/oneTBB-2020.3/examples/common/gui/
H A Dvideo.h45 depth_t pixel_depth;
50 inline int get_size() const { return ((pixel_depth>16) ? 4:2) * sizex * sizey; } in get_size()
122 const depth_t pixel_depth; variable
150 dmem.pixel_depth = depth; in get_drawing_memory()
185 pixel_depth(dmem.pixel_depth), ptr32(reinterpret_cast<unsigned int*>(dmem.my_address)), in drawing_area()
202 if(pixel_depth > 16) ptr32[index++] = color; in put_pixel()
203 else if(pixel_depth > 0) in put_pixel()
/dports/devel/taskflow/taskflow-3.2.0/3rd-party/tbb/examples/common/gui/
H A Dvideo.h45 depth_t pixel_depth;
50 inline int get_size() const { return ((pixel_depth>16) ? 4:2) * sizex * sizey; } in get_size()
122 const depth_t pixel_depth; variable
150 dmem.pixel_depth = depth; in get_drawing_memory()
185 pixel_depth(dmem.pixel_depth), ptr32(reinterpret_cast<unsigned int*>(dmem.my_address)), in drawing_area()
202 if(pixel_depth > 16) ptr32[index++] = color; in put_pixel()
203 else if(pixel_depth > 0) in put_pixel()
/dports/devel/taskflow/taskflow-3.2.0/sandbox/seismic/
H A Dvideo.h45 depth_t pixel_depth;
50 inline int get_size() const { return ((pixel_depth>16) ? 4:2) * sizex * sizey; } in get_size()
122 const depth_t pixel_depth; variable
150 dmem.pixel_depth = depth; in get_drawing_memory()
185 pixel_depth(dmem.pixel_depth), ptr32(reinterpret_cast<unsigned int*>(dmem.my_address)), in drawing_area()
202 if(pixel_depth > 16) ptr32[index++] = color; in put_pixel()
203 else if(pixel_depth > 0) in put_pixel()
/dports/devel/onetbb/oneTBB-2021.4.0/examples/common/gui/
H A Dvideo.hpp42 depth_t pixel_depth; member in drawing_memory
50 return ((pixel_depth > 16) ? 4 : 2) * sizex * sizey; in get_size()
127 const depth_t pixel_depth; member in drawing_area
157 dmem.pixel_depth = depth; in get_drawing_memory()
197 pixel_depth(dmem.pixel_depth), in drawing_area()
217 if (pixel_depth > 16) in put_pixel()
219 else if (pixel_depth > 0) in put_pixel()
/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/tgautils/
H A Dtgautils.cpp53 ubyte pixel_depth; member
409 header.pixel_depth = cfread_ubyte(targa_file); in targa_read_header()
420 if ( (header.pixel_depth != 16) && (header.pixel_depth != 24) && (header.pixel_depth != 32) ) { in targa_read_header()
421pixel_depth != 16) && (header.pixel_depth != 24) && (header.pixel_depth != 32), "Invalid colour de… in targa_read_header()
427 if (bpp) *bpp = header.pixel_depth; in targa_read_header()
568 header.pixel_depth = cfread_ubyte(targa_file); in targa_read_bitmap()
574 int bytes_per_pixel = (header.pixel_depth>>3); in targa_read_bitmap()
/dports/games/diaspora/Diaspora_R1_Linux/Diaspora/fs2_open/code/tgautils/
H A Dtgautils.cpp54 ubyte pixel_depth; member
416 header.pixel_depth = cfread_ubyte(targa_file); in targa_read_header()
427 if ( (header.pixel_depth != 16) && (header.pixel_depth != 24) && (header.pixel_depth != 32) ) { in targa_read_header()
428pixel_depth != 16) && (header.pixel_depth != 24) && (header.pixel_depth != 32), "Invalid colour de… in targa_read_header()
434 if (bpp) *bpp = header.pixel_depth; in targa_read_header()
575 header.pixel_depth = cfread_ubyte(targa_file); in targa_read_bitmap()
581 int bytes_per_pixel = (header.pixel_depth>>3); in targa_read_bitmap()
/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/cargo-crates/image-0.23.4/src/tga/
H A Ddecoder.rs82 pixel_depth: u8, // bits per pixel field
100 pixel_depth: 0, in new()
118 pixel_depth: r.read_u8()?, in from_reader()
206 self.bytes_per_pixel = (self.header.pixel_depth as usize + 7) / 8; in read_header()
226 if self.header.pixel_depth % 8 != 0 || self.header.pixel_depth > 32 { in read_color_information()
233 self.header.pixel_depth, in read_color_information()
244 if num_alpha_bits > self.header.pixel_depth { in read_color_information()
249 self.header.pixel_depth, in read_color_information()
255 self.header.pixel_depth - num_alpha_bits in read_color_information()
272 self.header.pixel_depth, in read_color_information()
/dports/graphics/pcl-pointclouds/pcl-pcl-1.12.0/io/include/pcl/compression/
H A Dorganized_pointcloud_conversion.h237 const float& pixel_depth = depthData_arg[i];
240 if (pixel_depth)
243 newPoint.x = static_cast<float> (x) * pixel_depth * fl_const;
244 newPoint.y = static_cast<float> (y) * pixel_depth * fl_const;
245 newPoint.z = pixel_depth;
506 const float& pixel_depth = depthData_arg[i];
508 if (pixel_depth)
511 newPoint.z = pixel_depth;
512 newPoint.x = static_cast<float> (x) * pixel_depth * fl_const;
513 newPoint.y = static_cast<float> (y) * pixel_depth * fl_const;
/dports/games/openspades/openspades-0.1.3/Sources/Tools/
H A DBdfToOSFont.cpp85 uint8_t pixel_depth; member
409 READ(&dest->pixel_depth, 1); in tga_read_from_FILE()
532 uint16_t bpp = src->pixel_depth / 8; in tga_write_row_RLE()
691 if (!SANE_DEPTH(src->pixel_depth) || in tga_write_to_FILE()
694 WRITE(&src->pixel_depth, 1); in tga_write_to_FILE()
751 img->pixel_depth = depth; in init_tga_image()
1124 img->pixel_depth = 8; in tga_desaturate()
1162 !SANE_DEPTH(img->pixel_depth) in tga_convert_depth()
1173 src_bpp = img->pixel_depth / 8; in tga_convert_depth()
1221 img->pixel_depth = bits; in tga_convert_depth()
[all …]
/dports/devel/godot/godot-3.2.3-stable/modules/tga/
H A Dimage_loader_tga.cpp129 if (p_header.pixel_depth == 8) { in convert_to_image()
171 } else if (p_header.pixel_depth == 24) { in convert_to_image()
186 } else if (p_header.pixel_depth == 32) { in convert_to_image()
234 tga_header.pixel_depth = f->get_8(); in load_image()
257 …if (!(tga_header.pixel_depth == 8 || tga_header.pixel_depth == 24 || tga_header.pixel_depth == 32)… in load_image()
282 const size_t pixel_size = tga_header.pixel_depth >> 3; in load_image()
/dports/devel/godot-tools/godot-3.2.3-stable/modules/tga/
H A Dimage_loader_tga.cpp129 if (p_header.pixel_depth == 8) { in convert_to_image()
171 } else if (p_header.pixel_depth == 24) { in convert_to_image()
186 } else if (p_header.pixel_depth == 32) { in convert_to_image()
234 tga_header.pixel_depth = f->get_8(); in load_image()
257 …if (!(tga_header.pixel_depth == 8 || tga_header.pixel_depth == 24 || tga_header.pixel_depth == 32)… in load_image()
282 const size_t pixel_size = tga_header.pixel_depth >> 3; in load_image()
/dports/graphics/viu/viu-1.1/cargo-crates/image-0.23.9/src/tga/
H A Ddecoder.rs95 self.bytes_per_pixel = (self.header.pixel_depth as usize + 7) / 8; in read_header()
115 if self.header.pixel_depth % 8 != 0 || self.header.pixel_depth > 32 { in read_color_information()
122 self.header.pixel_depth, in read_color_information()
133 if num_alpha_bits > self.header.pixel_depth { in read_color_information()
138 self.header.pixel_depth, in read_color_information()
144 self.header.pixel_depth - num_alpha_bits in read_color_information()
161 self.header.pixel_depth, in read_color_information()
/dports/audio/spotify-tui/spotify-tui-0.25.0/cargo-crates/image-0.23.12/src/codecs/tga/
H A Ddecoder.rs95 self.bytes_per_pixel = (self.header.pixel_depth as usize + 7) / 8; in read_header()
115 if self.header.pixel_depth % 8 != 0 || self.header.pixel_depth > 32 { in read_color_information()
122 self.header.pixel_depth, in read_color_information()
133 if num_alpha_bits > self.header.pixel_depth { in read_color_information()
138 self.header.pixel_depth, in read_color_information()
144 self.header.pixel_depth - num_alpha_bits in read_color_information()
161 self.header.pixel_depth, in read_color_information()
/dports/graphics/piglit/piglit-136a7f5fa0703603be1ffb338abe4865e76a8058/tests/util/
H A Dpiglit_ktx.c119 if (info->pixel_depth != 0) in piglit_ktx_calc_target()
129 } else if (info->pixel_depth == 0) { in piglit_ktx_calc_target()
208 info->pixel_depth = u32[11]; in piglit_ktx_parse_header()
281 *depth = info->pixel_depth; in piglit_ktx_calc_base_image_size()
309 uint32_t pixel_depth; in piglit_ktx_parse_images() local
318 &pixel_depth); in piglit_ktx_parse_images()
356 image->pixel_depth = pixel_depth; in piglit_ktx_parse_images()
373 minify(&pixel_depth); in piglit_ktx_parse_images()
695 img->pixel_depth, in piglit_ktx_load_noncubeface()
705 img->pixel_depth, in piglit_ktx_load_noncubeface()
/dports/games/julius/julius-1.7.0/ext/png/
H A Dpngwrite.c158 row_info.pixel_depth = (png_byte)(row_info.bit_depth * row_info.channels); in png_write_row()
159 row_info.rowbytes = PNG_ROWBYTES(row_info.pixel_depth, row_info.width); in png_write_row()
165 png_debug1(3, "row_info->pixel_depth = %d", row_info.pixel_depth); in png_write_row()
168 if (row_info.pixel_depth != png_ptr->pixel_depth || in png_write_row()
169 row_info.pixel_depth != png_ptr->transformed_pixel_depth) in png_write_row()
/dports/x11/xpra/xpra-4.3/xpra/client/gl/
H A Dwindow_backend.py85 def test_gl_client_window(gl_client_window_class, max_window_size=(1024, 1024), pixel_depth=24, sho… argument
110 border, max_window_size, default_cursor_data, pixel_depth)
202 pixel_depth = 0
203 …("do_run_glcheck() gl_client_window_class=%s, pixel_depth=%s", gl_client_window_class, pixel_depth)
206 … draw_result = test_gl_client_window(gl_client_window_class, pixel_depth=pixel_depth, show=True)
/dports/multimedia/librav1e/rav1e-0.5.1/cargo-crates/image-0.23.14/src/codecs/tga/
H A Ddecoder.rs97 self.bytes_per_pixel = (self.header.pixel_depth as usize + 7) / 8; in read_header()
117 if self.header.pixel_depth % 8 != 0 || self.header.pixel_depth > 32 { in read_color_information()
124 self.header.pixel_depth, in read_color_information()
135 if num_alpha_bits > self.header.pixel_depth { in read_color_information()
140 self.header.pixel_depth, in read_color_information()
146 self.header.pixel_depth - num_alpha_bits in read_color_information()
168 self.header.pixel_depth, in read_color_information()
/dports/misc/broot/broot-1.7.0/cargo-crates/image-0.23.14/src/codecs/tga/
H A Ddecoder.rs97 self.bytes_per_pixel = (self.header.pixel_depth as usize + 7) / 8; in read_header()
117 if self.header.pixel_depth % 8 != 0 || self.header.pixel_depth > 32 { in read_color_information()
124 self.header.pixel_depth, in read_color_information()
135 if num_alpha_bits > self.header.pixel_depth { in read_color_information()
140 self.header.pixel_depth, in read_color_information()
146 self.header.pixel_depth - num_alpha_bits in read_color_information()
168 self.header.pixel_depth, in read_color_information()
/dports/multimedia/gstreamer1-plugins-rust/gst-plugins-rs-d0466b3eee114207f851b37cae0015c0e718f021/cargo-crates/image-0.23.14/src/codecs/tga/
H A Ddecoder.rs97 self.bytes_per_pixel = (self.header.pixel_depth as usize + 7) / 8; in read_header()
117 if self.header.pixel_depth % 8 != 0 || self.header.pixel_depth > 32 { in read_color_information()
124 self.header.pixel_depth, in read_color_information()
135 if num_alpha_bits > self.header.pixel_depth { in read_color_information()
140 self.header.pixel_depth, in read_color_information()
146 self.header.pixel_depth - num_alpha_bits in read_color_information()
168 self.header.pixel_depth, in read_color_information()

12345678910>>...66