MCPcopy Create free account
hub / github.com/NatronGitHub/openfx-misc / getPixelAddress

Method getPixelAddress

SlitScan/SlitScan.cpp:196–207  ·  view source on GitHub ↗

@brief return a pixel pointer, returns NULL if (x,y) is outside the image bounds x and y are in pixel coordinates If the components are custom, then this will return NULL as the support code can't know the pixel size to do the work. */

Source from the content-addressed store, hash-verified

194 can't know the pixel size to do the work.
195 */
196 const void * getPixelAddress(double time,
197 int x,
198 int y) const
199 {
200 const Image* img = fetch(time, true);
201
202 if (img) {
203 return img->getPixelAddress(x, y);
204 }
205
206 return NULL;
207 }
208
209private:
210 typedef std::map<double, const Image*> ImagesMap;

Callers 15

HistogramProcessorClass · 0.80
processMethod · 0.80
processMethod · 0.80
processMethod · 0.80
processMethod · 0.80
processMethod · 0.80
processMethod · 0.80
DespillProcessorClass · 0.80
maskLineIsZeroMethod · 0.80
maskColumnIsZeroMethod · 0.80

Calls

no outgoing calls

Tested by 2

processMethod · 0.64
RENDERFUNCMethod · 0.64