Home
last modified time | relevance | path

Searched refs:pixel_pos (Results 1 – 25 of 37) sorted by relevance

12

/dports/graphics/simpleviewer/andreyu-simple-viewer-gl-d8928067922d/src/formats/
H A Dformatjp2k.cpp59 uint32_t r = image->comps[0].data[pixel_pos]; in RGBAtoRGBA()
62 uint32_t g = image->comps[1].data[pixel_pos]; in RGBAtoRGBA()
65 uint32_t b = image->comps[2].data[pixel_pos]; in RGBAtoRGBA()
68 uint32_t a = image->comps[3].data[pixel_pos]; in RGBAtoRGBA()
82 uint32_t cc = image->comps[0].data[pixel_pos]; in CMYKtoRGB()
86 uint32_t cm = image->comps[1].data[pixel_pos]; in CMYKtoRGB()
90 uint32_t cy = image->comps[2].data[pixel_pos]; in CMYKtoRGB()
111 uint32_t r = image->comps[0].data[pixel_pos]; in RGBtoRGB()
114 uint32_t g = image->comps[1].data[pixel_pos]; in RGBtoRGB()
117 uint32_t b = image->comps[2].data[pixel_pos]; in RGBtoRGB()
[all …]
/dports/graphics/freeimage/FreeImage/Source/FreeImage/
H A DJ2KHelper.cpp252 int r = image->comps[0].data[pixel_pos]; in J2KImageToFIBITMAP()
255 int g = image->comps[1].data[pixel_pos]; in J2KImageToFIBITMAP()
258 int b = image->comps[2].data[pixel_pos]; in J2KImageToFIBITMAP()
285 int r = image->comps[0].data[pixel_pos]; in J2KImageToFIBITMAP()
288 int g = image->comps[1].data[pixel_pos]; in J2KImageToFIBITMAP()
291 int b = image->comps[2].data[pixel_pos]; in J2KImageToFIBITMAP()
294 int a = image->comps[3].data[pixel_pos]; in J2KImageToFIBITMAP()
347 int r = image->comps[0].data[pixel_pos]; in J2KImageToFIBITMAP()
350 int g = image->comps[1].data[pixel_pos]; in J2KImageToFIBITMAP()
353 int b = image->comps[2].data[pixel_pos]; in J2KImageToFIBITMAP()
[all …]
/dports/print/ghostscript9-agpl-base/ghostscript-9.52/base/
H A Dspwgd.c120 int pixel_pos = line_pos % bpp; in s_PWGD_process() local
121 int avail = bpp - pixel_pos; in s_PWGD_process()
128 pixel_pos += avail; in s_PWGD_process()
130 if (pixel_pos != bpp) in s_PWGD_process()
/dports/print/ghostscript9-agpl-x11/ghostscript-9.52/base/
H A Dspwgd.c120 int pixel_pos = line_pos % bpp; in s_PWGD_process() local
121 int avail = bpp - pixel_pos; in s_PWGD_process()
128 pixel_pos += avail; in s_PWGD_process()
130 if (pixel_pos != bpp) in s_PWGD_process()
/dports/www/netsurf/netsurf-3.10/frontends/atari/plot/
H A Dfont_vdi.c38 static int pixel_pos( FONT_PLOTTER self, const plot_font_style_t *fstyle,const char *string,
71 self->pixel_pos = pixel_pos; in ctor_font_plotter_vdi()
197 static int pixel_pos( FONT_PLOTTER self, const plot_font_style_t * fstyle,const char *string, in pixel_pos() function
H A Dfont_internal.c44 static int pixel_pos( FONT_PLOTTER self, const plot_font_style_t *fstyle,const char *string,
97 self->pixel_pos = pixel_pos; in ctor_font_plotter_internal()
150 static int pixel_pos( FONT_PLOTTER self, const plot_font_style_t * fstyle,const char *string, in pixel_pos() function
H A Dfont_freetype.c126 static int pixel_pos( FONT_PLOTTER self, const plot_font_style_t *fstyle,
474 static int pixel_pos( FONT_PLOTTER self, const plot_font_style_t *fstyle, in pixel_pos() function
685 self->pixel_pos = pixel_pos; in ctor_font_plotter_freetype()
H A Dfontplot.h58 _fpmf_pixel_pos pixel_pos; member
/dports/www/netsurf/netsurf-3.10/frontends/atari/
H A Dfont.c64 fplotter->pixel_pos(fplotter, &newstyle, string, length, x, in atari_font_position()
67 fplotter->pixel_pos(fplotter, fstyle, string, length, x, in atari_font_position()
/dports/print/hplip/hplip-3.20.6/ip/
H A Dxfax.c1426 int pixel_pos; /* coordinate of next pixel; 0 is leftmost */ member
2010 g->pixel_pos = 0; in decode_row_init()
2031 int pixel_pos; in decode_row_1d() local
2038 if (g->pixel_pos == 0) { in decode_row_1d()
2044 pixel_pos = g->pixel_pos; in decode_row_1d()
2064 set_run (pbOutBuf, pixel_pos, run_len, g->row_len); in decode_row_1d()
2068 pixel_pos += run_len; in decode_row_1d()
2090 if (pixel_pos == 0) in decode_row_1d()
2092 if (pixel_pos == g->row_len) { in decode_row_1d()
2110 g->pixel_pos = pixel_pos; in decode_row_1d()
/dports/devel/upp/upp/uppsrc/plugin/ppm/
H A Dppm.cpp35 pixel_pos = stream.GetPos(); in Create()
61 stream.Seek(pixel_pos + ii * row_bytes * (1 + is16)); in GetLine()
H A Dppm.h12 int64 pixel_pos; variable
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/ui/gfx/
H A Dcolor_analysis.cc489 int pixel_pos = sampler->GetSample(img_width, img_height) % in CalculateKMeanColorOfBuffer() local
493 uint8_t b = decoded_data[pixel_pos * 4]; in CalculateKMeanColorOfBuffer()
494 uint8_t g = decoded_data[pixel_pos * 4 + 1]; in CalculateKMeanColorOfBuffer()
495 uint8_t r = decoded_data[pixel_pos * 4 + 2]; in CalculateKMeanColorOfBuffer()
496 uint8_t a = decoded_data[pixel_pos * 4 + 3]; in CalculateKMeanColorOfBuffer()
498 uint8_t a = decoded_data[pixel_pos * 4]; in CalculateKMeanColorOfBuffer()
499 uint8_t r = decoded_data[pixel_pos * 4 + 1]; in CalculateKMeanColorOfBuffer()
500 uint8_t g = decoded_data[pixel_pos * 4 + 2]; in CalculateKMeanColorOfBuffer()
501 uint8_t b = decoded_data[pixel_pos * 4 + 3]; in CalculateKMeanColorOfBuffer()
/dports/emulators/mednafen/mednafen/src/sms/
H A Dvdp.cpp80 unsigned int pixel_pos = ((sms.timestamp % CYCLES_PER_LINE) * 3) >> 1; in vdp_hclatch() local
82 if(pixel_pos >= 0x128) in vdp_hclatch()
83 pixel_pos += 0xAA; in vdp_hclatch()
85 vdp.hc_latch = pixel_pos >> 1; in vdp_hclatch()
/dports/lang/micropython/micropython-1.17/ports/nrf/examples/
H A Dseeed_tft.py222 for pixel_pos in range(0, 8):
225 if ((compressed_pixel >> pixel_pos) & 0x1) == 0:
/dports/graphics/piglit/piglit-136a7f5fa0703603be1ffb338abe4865e76a8058/tests/spec/ext_framebuffer_multisample/
H A Dcommon.cpp521 int pixel_pos = 4*(y*pattern_width + x) + c; in measure_accuracy() local
522 float ref = reference_data[pixel_pos]; in measure_accuracy()
523 float test = test_data[pixel_pos]; in measure_accuracy()
/dports/graphics/appleseed/appleseed-2.1.0-beta/src/appleseed/renderer/modeling/aov/
H A Dcryptomatteaov.cpp595 const Vector2u pixel_pos(pixel_context.get_pixel_coords()); in write() local
598 if (!m_crop_window.contains(pixel_pos)) in write()
603 const size_t x = pixel_pos.x - m_tile_origin_x; in write()
604 const size_t y = pixel_pos.y - m_tile_origin_y; in write()
/dports/audio/ardour6/Ardour-6.8.0/libs/ardour/
H A Daudiosource.cc696 double pixel_pos = start / samples_per_visual_peak; in read_peaks_with_fpp() local
697 double next_pixel_pos = 1.0 + floor (pixel_pos); in read_peaks_with_fpp()
740 pixel_pos += pixels_per_sample; in read_peaks_with_fpp()
742 if (pixel_pos >= next_pixel_pos) { in read_peaks_with_fpp()
750 next_pixel_pos = ceil (pixel_pos + 0.5); in read_peaks_with_fpp()
/dports/x11-wm/fvwm2/fvwm-2.6.9/libs/
H A DFlocale.c651 superimpose_char_t *comb_chars, int *pixel_pos) in FlocaleRotateDrawString() argument
734 int offset = pixel_pos[comb_chars[i].position]; in FlocaleRotateDrawString()
1827 int *pixel_pos = NULL; in FlocaleDrawString() local
1867 pixel_pos = (int *)safemalloc( in FlocaleDrawString()
1874 pixel_pos[0] = 0; in FlocaleDrawString()
1888 pixel_pos[i] = curr_pixel_pos; in FlocaleDrawString()
1932 comb_chars, pixel_pos); in FlocaleDrawString()
1982 int offset = pixel_pos[comb_chars[i].position]; in FlocaleDrawString()
2097 if(pixel_pos) in FlocaleDrawString()
2098 free(pixel_pos); in FlocaleDrawString()
/dports/x11-wm/fvwm3/fvwm3-1.0.4/libs/
H A DFlocale.c660 superimpose_char_t *comb_chars, int *pixel_pos) in FlocaleRotateDrawString() argument
743 int offset = pixel_pos[comb_chars[i].position]; in FlocaleRotateDrawString()
1827 int *pixel_pos = NULL; in FlocaleDrawString() local
1867 pixel_pos = fxmalloc( in FlocaleDrawString()
1874 pixel_pos[0] = 0; in FlocaleDrawString()
1888 pixel_pos[i] = curr_pixel_pos; in FlocaleDrawString()
1932 comb_chars, pixel_pos); in FlocaleDrawString()
1982 int offset = pixel_pos[comb_chars[i].position]; in FlocaleDrawString()
2097 if(pixel_pos) in FlocaleDrawString()
2098 free(pixel_pos); in FlocaleDrawString()
/dports/www/chromium-legacy/chromium-88.0.4324.182/ui/gfx/
H A Dcolor_analysis.cc483 int pixel_pos = sampler->GetSample(img_width, img_height) % in CalculateKMeanColorOfBuffer() local
486 uint8_t b = decoded_data[pixel_pos * 4]; in CalculateKMeanColorOfBuffer()
487 uint8_t g = decoded_data[pixel_pos * 4 + 1]; in CalculateKMeanColorOfBuffer()
488 uint8_t r = decoded_data[pixel_pos * 4 + 2]; in CalculateKMeanColorOfBuffer()
489 uint8_t a = decoded_data[pixel_pos * 4 + 3]; in CalculateKMeanColorOfBuffer()
/dports/graphics/movit/movit-1.6.3/
H A Dresample_effect.cpp268 const float pixel_pos = to_fp32(bilinear_weights[i].pos) * size - 0.5f; in compute_sum_sq_error() local
269 const int x0 = int(floor(pixel_pos)) - lower_pos; in compute_sum_sq_error()
271 …const float f = lrintf((pixel_pos - (x0 + lower_pos)) / movit_texel_subpixel_precision) * movit_te… in compute_sum_sq_error()
/dports/science/pulseview/pulseview-0.4.2/pv/views/trace/
H A Danalogsignal.cpp938 const int pixel_pos = (int)(x + 0.5); in process_next_sample_value() local
940 if (pixel_pos > current_pixel_pos_) { in process_next_sample_value()
941 if (pixel_pos - current_pixel_pos_ == 1) { in process_next_sample_value()
953 const int steps = fabs(pixel_pos - current_pixel_pos_); in process_next_sample_value()
965 current_pixel_pos_ = pixel_pos; in process_next_sample_value()
/dports/games/battletanks/btanks-0.9.8083/editor/
H A Deditor.cpp573 v2<int> pixel_pos = base + window_pos; in onKey() local
574 v2<int> tile_pos = pixel_pos / _tile_size; in onKey()
576 …g("grid_position: %d,%d, pixel position: %d,%d", tile_pos.x, tile_pos.y, pixel_pos.x, pixel_pos.y); in onKey()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/pdfium/core/fxge/dib/
H A Dcstretchengine.cpp80 int pixel_pos = static_cast<int>(floor(static_cast<float>(src_pos))); in Calc() local
81 pixel_weights.m_SrcStart = std::max(pixel_pos, src_min); in Calc()
82 pixel_weights.m_SrcEnd = std::min(pixel_pos, src_max - 1); in Calc()

12