Home
last modified time | relevance | path

Searched refs:imgIndex (Results 1 – 25 of 77) sorted by relevance

1234

/dports/graphics/yafaray/libYafaRay-3.5.1/src/yafraycore/
H A Dimagehandler.cc142 int imgIndex = 0; in generateMipMaps() local
155 colorA_t color = imgBuffer.at(imgIndex)->getColor(i, j); in generateMipMaps()
169 ++imgIndex; in generateMipMaps()
170 …imgBuffer.push_back(new imageBuffer_t(w2, h2, imgBuffer.at(imgIndex-1)->getNumChannels(), getTextu… in generateMipMaps()
187 imgBuffer.at(imgIndex)->setColor(i, j, tmpCol); in generateMipMaps()
193 …Y_DEBUG << "ImageHandler: generated mipmap " << imgIndex << " [" << w2 << " x " << h2 << "]" << ye… in generateMipMaps()
196 …Y_VERBOSE << "ImageHandler: mipmap generation done: " << imgIndex << " mipmaps generated." << yend… in generateMipMaps()
203 void imageHandler_t::putPixel(int x, int y, const colorA_t &rgba, int imgIndex) in putPixel() argument
205 imgBuffer.at(imgIndex)->setColor(x, y, rgba); in putPixel()
208 colorA_t imageHandler_t::getPixel(int x, int y, int imgIndex) in getPixel() argument
[all …]
/dports/graphics/mandelbulber/mandelbulber2-2.26/mandelbulber2/src/
H A Dcimage.hpp241 quint64 imgIndex = getImageIndex(x, y); in BlendPixelImage16() local
242 image16[imgIndex].R = quint16(image16[imgIndex].R * factorN + other.R * factor); in BlendPixelImage16()
243 image16[imgIndex].G = quint16(image16[imgIndex].G * factorN + other.G * factor); in BlendPixelImage16()
244 image16[imgIndex].B = quint16(image16[imgIndex].B * factorN + other.B * factor); in BlendPixelImage16()
250 quint64 imgIndex = getImageIndex(x, y); in BlendPixelPostImage() local
251 postImageFloat[imgIndex].R = postImageFloat[imgIndex].R * factorN + other.R * factor; in BlendPixelPostImage()
252 postImageFloat[imgIndex].G = postImageFloat[imgIndex].G * factorN + other.G * factor; in BlendPixelPostImage()
253 postImageFloat[imgIndex].B = postImageFloat[imgIndex].B * factorN + other.B * factor; in BlendPixelPostImage()
259 quint64 imgIndex = getImageIndex(x, y); in BlendPixelAlpha() local
260 alphaBuffer16[imgIndex] = quint16(alphaBuffer16[imgIndex] * factorN + other * factor); in BlendPixelAlpha()
/dports/graphics/yafaray/libYafaRay-3.5.1/src/image_handlers/
H A DhdrHandler.cc47 bool saveToFile(const std::string &name, int imgIndex = 0);
52 bool writeHeader(std::ofstream &file, int imgIndex);
416 int h = getHeight(imgIndex); in saveToFile()
417 int w = getWidth(imgIndex); in saveToFile()
433 writeHeader(file, imgIndex); in saveToFile()
449 scanline[x] = getPixel(x, y, imgIndex); in saveToFile()
453 if (!writeScanline(file, scanline, imgIndex)) in saveToFile()
468 bool hdrHandler_t::writeHeader(std::ofstream &file, int imgIndex) in writeHeader() argument
470 int h = getHeight(imgIndex); in writeHeader()
471 int w = getWidth(imgIndex); in writeHeader()
[all …]
H A DpngHandler.cc51 bool saveToFile(const std::string &name, int imgIndex = 0);
56 …teStructs(FILE* fp, unsigned int colorType, png_structp &pngPtr, png_infop &infoPtr, int imgIndex);
72 bool pngHandler_t::saveToFile(const std::string &name, int imgIndex) in saveToFile() argument
74 int h = getHeight(imgIndex); in saveToFile()
75 int w = getWidth(imgIndex); in saveToFile()
95 …ructs(fp, (m_hasAlpha) ? PNG_COLOR_TYPE_RGB_ALPHA : PNG_COLOR_TYPE_RGB, pngPtr, infoPtr, imgIndex)) in saveToFile()
115 …imageBuffer_t denoised_buffer = imgBuffer.at(imgIndex)->getDenoisedLDRBuffer(m_DenoiseHCol, m_Deno… in saveToFile()
137 colorA_t color = imgBuffer.at(imgIndex)->getColor(x, y); in saveToFile()
275 …iteStructs(FILE* fp, unsigned int colorType, png_structp &pngPtr, png_infop &infoPtr, int imgIndex) in fillWriteStructs() argument
277 int h = getHeight(imgIndex); in fillWriteStructs()
[all …]
H A DtifHandler.cc50 bool saveToFile(const std::string &name, int imgIndex = 0);
67 bool tifHandler_t::saveToFile(const std::string &name, int imgIndex) in saveToFile() argument
69 int h = getHeight(imgIndex); in saveToFile()
70 int w = getWidth(imgIndex); in saveToFile()
107 …imageBuffer_t denoised_buffer = imgBuffer.at(imgIndex)->getDenoisedLDRBuffer(m_DenoiseHCol, m_Deno… in saveToFile()
134 colorA_t col = imgBuffer.at(imgIndex)->getColor(x, y); in saveToFile()
H A DjpgHandler.cc74 bool saveToFile(const std::string &name, int imgIndex = 0);
91 bool jpgHandler_t::saveToFile(const std::string &name, int imgIndex) in saveToFile() argument
93 int h = getHeight(imgIndex); in saveToFile()
94 int w = getWidth(imgIndex); in saveToFile()
138 …imageBuffer_t denoised_buffer = imgBuffer.at(imgIndex)->getDenoisedLDRBuffer(m_DenoiseHCol, m_Deno… in saveToFile()
160 colorA_t col = imgBuffer.at(imgIndex)->getColor(x, y); in saveToFile()
217 float col = std::max(0.f, std::min(1.f, imgBuffer.at(imgIndex)->getColor(x, y).getA())); in saveToFile()
/dports/graphics/yafaray/libYafaRay-3.5.1/include/core_api/
H A Dimagehandler.h104 virtual bool saveToFile(const std::string &name, int imgIndex = 0) = 0;
112 int getWidth(int imgIndex = 0) { return imgBuffer.at(imgIndex)->getWidth(); }
113 int getHeight(int imgIndex = 0) { return imgBuffer.at(imgIndex)->getHeight(); }
118 void putPixel(int x, int y, const colorA_t &rgba, int imgIndex = 0);
119 colorA_t getPixel(int x, int y, int imgIndex = 0);
/dports/x11-toolkits/wxgtk31/wxWidgets-3.1.5/src/xrc/
H A Dxh_treebk.cpp128 int imgIndex = wxNOT_FOUND; in DoCreateResource() local
138 imgIndex = imgList->Add(bmp); in DoCreateResource()
144 imgIndex = GetLong(wxT("image")); in DoCreateResource()
159 GetText(wxT("label")), GetBool(wxT("selected")), imgIndex); in DoCreateResource()
164 GetText(wxT("label")), GetBool(wxT("selected")), imgIndex); in DoCreateResource()
H A Dxh_listc.cpp225 int imgIndex = wxNOT_FOUND; in GetImageIndex() local
240 imgIndex = imgList->Add(bmp); in GetImageIndex()
245 if ( imgIndex != wxNOT_FOUND ) in GetImageIndex()
256 imgIndex = GetLong(imgParam); in GetImageIndex()
259 return imgIndex; in GetImageIndex()
/dports/x11-toolkits/wxgtk30/wxWidgets-3.0.5.1/src/xrc/
H A Dxh_treebk.cpp131 int imgIndex = wxNOT_FOUND; in DoCreateResource() local
141 imgIndex = imgList->Add(bmp); in DoCreateResource()
147 imgIndex = GetLong(wxT("image")); in DoCreateResource()
162 GetText(wxT("label")), GetBool(wxT("selected")), imgIndex); in DoCreateResource()
167 GetText(wxT("label")), GetBool(wxT("selected")), imgIndex); in DoCreateResource()
H A Dxh_listc.cpp228 int imgIndex = wxNOT_FOUND; in GetImageIndex() local
243 imgIndex = imgList->Add(bmp); in GetImageIndex()
248 if ( imgIndex != wxNOT_FOUND ) in GetImageIndex()
259 imgIndex = GetLong(imgParam); in GetImageIndex()
262 return imgIndex; in GetImageIndex()
/dports/x11-toolkits/py-wxPython40/wxPython-4.0.7/ext/wxWidgets/src/xrc/
H A Dxh_treebk.cpp131 int imgIndex = wxNOT_FOUND; in DoCreateResource() local
141 imgIndex = imgList->Add(bmp); in DoCreateResource()
147 imgIndex = GetLong(wxT("image")); in DoCreateResource()
162 GetText(wxT("label")), GetBool(wxT("selected")), imgIndex); in DoCreateResource()
167 GetText(wxT("label")), GetBool(wxT("selected")), imgIndex); in DoCreateResource()
H A Dxh_listc.cpp228 int imgIndex = wxNOT_FOUND; in GetImageIndex() local
243 imgIndex = imgList->Add(bmp); in GetImageIndex()
248 if ( imgIndex != wxNOT_FOUND ) in GetImageIndex()
259 imgIndex = GetLong(imgParam); in GetImageIndex()
262 return imgIndex; in GetImageIndex()
/dports/x11-toolkits/wxgtk28-contrib/wxGTK-2.8.12/src/xrc/
H A Dxh_treebk.cpp106 int imgIndex = wxNOT_FOUND; in DoCreateResource() local
116 imgIndex = imgList->Add(bmp); in DoCreateResource()
125 GetText(wxT("label")), GetBool(wxT("selected")), imgIndex); in DoCreateResource()
130 GetText(wxT("label")), GetBool(wxT("selected")), imgIndex); in DoCreateResource()
/dports/x11-toolkits/wxgtk28-contrib-common/wxGTK-2.8.12/src/xrc/
H A Dxh_treebk.cpp106 int imgIndex = wxNOT_FOUND; in DoCreateResource() local
116 imgIndex = imgList->Add(bmp); in DoCreateResource()
125 GetText(wxT("label")), GetBool(wxT("selected")), imgIndex); in DoCreateResource()
130 GetText(wxT("label")), GetBool(wxT("selected")), imgIndex); in DoCreateResource()
/dports/x11-toolkits/wxgtk28/wxGTK-2.8.12/src/xrc/
H A Dxh_treebk.cpp106 int imgIndex = wxNOT_FOUND; in DoCreateResource() local
116 imgIndex = imgList->Add(bmp); in DoCreateResource()
125 GetText(wxT("label")), GetBool(wxT("selected")), imgIndex); in DoCreateResource()
130 GetText(wxT("label")), GetBool(wxT("selected")), imgIndex); in DoCreateResource()
/dports/x11-toolkits/wxgtk28-common/wxGTK-2.8.12/src/xrc/
H A Dxh_treebk.cpp106 int imgIndex = wxNOT_FOUND; in DoCreateResource() local
116 imgIndex = imgList->Add(bmp); in DoCreateResource()
125 GetText(wxT("label")), GetBool(wxT("selected")), imgIndex); in DoCreateResource()
130 GetText(wxT("label")), GetBool(wxT("selected")), imgIndex); in DoCreateResource()
/dports/devel/cccc/cccc-3.1.6/test/
H A Dprn14.java64 private int opsIndex, imgIndex; field in ImageOps
137 int iw = img[imgIndex].getWidth(null); in render()
138 int ih = img[imgIndex].getHeight(null); in render()
140 biop[opsIndex].filter(img[imgIndex], bi); in render()
219 demo.imgIndex = imgCombo.getSelectedIndex(); in actionPerformed()
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/demo/share/jfc/J2Ddemo/java2d/demos/Images/
H A DImageOps.java79 private int opsIndex, imgIndex; field in ImageOps
152 int iw = img[imgIndex].getWidth(null); in render()
153 int ih = img[imgIndex].getHeight(null); in render()
156 g2.drawImage(img[imgIndex], biop[opsIndex], 0, 0); in render()
231 demo.imgIndex = imgCombo.getSelectedIndex(); in actionPerformed()
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/src/demo/share/jfc/J2Ddemo/java2d/demos/Images/
H A DImageOps.java79 private int opsIndex, imgIndex; field in ImageOps
152 int iw = img[imgIndex].getWidth(null); in render()
153 int ih = img[imgIndex].getHeight(null); in render()
156 g2.drawImage(img[imgIndex], biop[opsIndex], 0, 0); in render()
231 demo.imgIndex = imgCombo.getSelectedIndex(); in actionPerformed()
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/demo/share/jfc/J2Ddemo/java2d/demos/Images/
H A DImageOps.java79 private int opsIndex, imgIndex; field in ImageOps
152 int iw = img[imgIndex].getWidth(null); in render()
153 int ih = img[imgIndex].getHeight(null); in render()
156 g2.drawImage(img[imgIndex], biop[opsIndex], 0, 0); in render()
231 demo.imgIndex = imgCombo.getSelectedIndex(); in actionPerformed()
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/src/demo/share/jfc/J2Ddemo/java2d/demos/Images/
H A DImageOps.java79 private int opsIndex, imgIndex; field in ImageOps
152 int iw = img[imgIndex].getWidth(null); in render()
153 int ih = img[imgIndex].getHeight(null); in render()
156 g2.drawImage(img[imgIndex], biop[opsIndex], 0, 0); in render()
231 demo.imgIndex = imgCombo.getSelectedIndex(); in actionPerformed()
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/demo/share/jfc/J2Ddemo/java2d/demos/Images/
H A DImageOps.java79 private int opsIndex, imgIndex; field in ImageOps
152 int iw = img[imgIndex].getWidth(null); in render()
153 int ih = img[imgIndex].getHeight(null); in render()
156 g2.drawImage(img[imgIndex], biop[opsIndex], 0, 0); in render()
231 demo.imgIndex = imgCombo.getSelectedIndex(); in actionPerformed()
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/src/demo/share/jfc/J2Ddemo/java2d/demos/Images/
H A DImageOps.java79 private int opsIndex, imgIndex; field in ImageOps
152 int iw = img[imgIndex].getWidth(null); in render()
153 int ih = img[imgIndex].getHeight(null); in render()
156 g2.drawImage(img[imgIndex], biop[opsIndex], 0, 0); in render()
231 demo.imgIndex = imgCombo.getSelectedIndex(); in actionPerformed()
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/src/demo/share/jfc/J2Ddemo/java2d/demos/Images/
H A DImageOps.java79 private int opsIndex, imgIndex; field in ImageOps
152 int iw = img[imgIndex].getWidth(null); in render()
153 int ih = img[imgIndex].getHeight(null); in render()
156 g2.drawImage(img[imgIndex], biop[opsIndex], 0, 0); in render()
231 demo.imgIndex = imgCombo.getSelectedIndex(); in actionPerformed()

1234