Searched refs:dataWindow (Results 1 - 21 of 21) sorted by relevance

/haiku-fatelf/src/add-ons/translators/exr/openexr/ilmimf/
H A DImfEnvmap.h64 // dataWindow parameter. For scanline-based images, and for
65 // tiled images with level mode ONE_LEVEL, the dataWindow
98 // Pixel (dataWindow.min.x, dataWindow.min.y) has latitude +pi/2 and
99 // longitude +pi; pixel (dataWindow.max.x, dataWindow.max.y) has
128 Imath::V2f latLong (const Imath::Box2i &dataWindow,
137 Imath::V2f pixelPosition (const Imath::Box2i &dataWindow,
147 Imath::V2f pixelPosition (const Imath::Box2i &dataWindow,
156 Imath::V3f direction (const Imath::Box2i &dataWindow,
[all...]
H A DImfLut.cpp65 HalfLut::apply (const Slice &data, const Imath::Box2i &dataWindow) const
68 assert (dataWindow.min.x % data.xSampling == 0);
69 assert (dataWindow.min.y % data.ySampling == 0);
70 assert ((dataWindow.max.x - dataWindow.min.x + 1) % data.xSampling == 0);
71 assert ((dataWindow.max.y - dataWindow.min.y + 1) % data.ySampling == 0);
74 (dataWindow.min.y / data.ySampling);
76 for (int y = dataWindow.min.y;
77 y <= dataWindow
[all...]
H A DImfEnvmap.cpp69 latLong (const Box2i &dataWindow, const V2f &pixelPosition) argument
73 if (dataWindow.max.y > dataWindow.min.y)
76 ((pixelPosition.y - dataWindow.min.y) /
77 (dataWindow.max.y - dataWindow.min.y) - 0.5f);
84 if (dataWindow.max.x > dataWindow.min.x)
87 ((pixelPosition.x - dataWindow.min.x) /
88 (dataWindow
100 pixelPosition(const Box2i &dataWindow, const V2f &latLong) argument
111 pixelPosition(const Box2i &dataWindow, const V3f &direction) argument
118 direction(const Box2i &dataWindow, const V2f &pixelPosition) argument
133 sizeOfFace(const Box2i &dataWindow) argument
141 dataWindowForFace(CubeMapFace face, const Box2i &dataWindow) argument
157 pixelPosition(CubeMapFace face, const Box2i &dataWindow, V2f positionInFace) argument
206 faceAndPixelPosition(const V3f &direction, const Box2i &dataWindow, CubeMapFace &face, V2f &pif) argument
261 direction(CubeMapFace face, const Box2i &dataWindow, const V2f &positionInFace) argument
[all...]
H A DImfHeader.cpp93 const Box2i &dataWindow,
101 header.insert ("dataWindow", Box2iAttribute (dataWindow));
140 const Box2i &dataWindow,
155 dataWindow,
165 const Box2i &dataWindow,
178 dataWindow,
354 Header::dataWindow () function in class:Imf::Header
357 ((*this)["dataWindow"]).value();
362 Header::dataWindow () cons function in class:Imf::Header
91 initialize(Header &header, const Box2i &displayWindow, const Box2i &dataWindow, float pixelAspectRatio, const V2f &screenWindowCenter, float screenWindowWidth, LineOrder lineOrder, Compression compression) argument
138 Header(int width, int height, const Box2i &dataWindow, float pixelAspectRatio, const V2f &screenWindowCenter, float screenWindowWidth, LineOrder lineOrder, Compression compression) argument
164 Header(const Box2i &displayWindow, const Box2i &dataWindow, float pixelAspectRatio, const V2f &screenWindowCenter, float screenWindowWidth, LineOrder lineOrder, Compression compression) argument
543 const Box2i &dataWindow = this->dataWindow(); local
[all...]
H A DImfLut.h85 const Imath::Box2i &dataWindow) const;
125 const Imath::Box2i &dataWindow) const;
H A DImfRgbaFile.h97 // call arguments (empty dataWindow means "same as displayWindow")
102 const Imath::Box2i &dataWindow = Imath::Box2i(),
165 const Imath::Box2i & dataWindow () const;
285 const Imath::Box2i & dataWindow () const;
H A DImfMisc.cpp104 const Box2i &dataWindow = header.dataWindow(); local
107 bytesPerLine.resize (dataWindow.max.y - dataWindow.min.y + 1);
114 (dataWindow.max.x - dataWindow.min.x + 1) /
117 for (int y = dataWindow.min.y, i = 0; y <= dataWindow.max.y; ++y, ++i)
124 for (int y = dataWindow.min.y, i = 0; y <= dataWindow
[all...]
H A DImfInputFile.cpp370 // Save the dataWindow information
373 const Box2i &dataWindow = _data->header.dataWindow(); local
374 _data->minY = dataWindow.min.y;
375 _data->maxY = dataWindow.max.y;
461 const Box2i &dataWindow = _data->header.dataWindow(); local
463 _data->offset = dataWindow.min.x;
465 int tileRowSize = (dataWindow.max.x - dataWindow
[all...]
H A DImfOutputFile.cpp711 const Box2i &dataWindow = header.dataWindow(); local
714 dataWindow.min.y: dataWindow.max.y;
716 _data->missingScanLines = dataWindow.max.y - dataWindow.min.y + 1;
718 _data->minX = dataWindow.min.x;
719 _data->maxX = dataWindow.max.x;
720 _data->minY = dataWindow.min.y;
721 _data->maxY = dataWindow
1186 const Box2i &dataWindow = hdr.dataWindow(); local
[all...]
H A DImfHeader.h92 const Imath::Box2i &dataWindow,
106 const Imath::Box2i &dataWindow,
210 Imath::Box2i & dataWindow ();
211 const Imath::Box2i & dataWindow () const;
H A DImfPxr24Compressor.cpp193 const Box2i &dataWindow = hdr.dataWindow(); local
195 _minX = dataWindow.min.x;
196 _maxX = dataWindow.max.x;
197 _maxY = dataWindow.max.y;
H A DImfScanLineInputFile.cpp661 const Box2i &dataWindow = _data->header.dataWindow(); local
663 _data->minX = dataWindow.min.x;
664 _data->maxX = dataWindow.max.x;
665 _data->minY = dataWindow.min.y;
666 _data->maxY = dataWindow.max.y;
694 int lineOffsetSize = (dataWindow.max.y - dataWindow.min.y +
H A DImfTiledRgbaFile.h111 // as function call arguments (an empty dataWindow means
121 const Imath::Box2i &dataWindow = Imath::Box2i(),
177 const Imath::Box2i & dataWindow () const;
350 const Imath::Box2i & dataWindow () const;
H A DImfPizCompressor.cpp204 const Box2i &dataWindow = hdr.dataWindow(); local
206 _minX = dataWindow.min.x;
207 _maxX = dataWindow.max.x;
208 _maxY = dataWindow.max.y;
H A DImfRgbaFile.cpp197 const Box2i dw = _outputFile.header().dataWindow();
540 const Imath::Box2i &dataWindow,
552 dataWindow.isEmpty()? displayWindow: dataWindow,
682 RgbaOutputFile::dataWindow () const function in class:Imf::RgbaOutputFile
684 return _outputFile->header().dataWindow();
802 const Box2i dw = _inputFile.header().dataWindow();
1242 RgbaInputFile::dataWindow () const function in class:Imf::RgbaInputFile
1244 return _inputFile->header().dataWindow();
538 RgbaOutputFile(const char name[], const Imath::Box2i &displayWindow, const Imath::Box2i &dataWindow, RgbaChannels rgbaChannels, float pixelAspectRatio, const Imath::V2f screenWindowCenter, float screenWindowWidth, LineOrder lineOrder, Compression compression, int numThreads) argument
H A DImfTiledOutputFile.cpp903 // Save the dataWindow information
906 const Box2i &dataWindow = _data->header.dataWindow(); local
907 _data->minX = dataWindow.min.x;
908 _data->maxX = dataWindow.max.x;
909 _data->minY = dataWindow.min.y;
910 _data->maxY = dataWindow.max.y;
1336 if (!(hdr.dataWindow() == inHdr.dataWindow()))
H A DImfB44Compressor.cpp528 const Box2i &dataWindow = hdr.dataWindow(); local
530 _minX = dataWindow.min.x;
531 _maxX = dataWindow.max.x;
532 _maxY = dataWindow.max.y;
H A DImfTiledRgbaFile.cpp299 const Imath::Box2i &dataWindow,
312 dataWindow.isEmpty()? displayWindow: dataWindow,
420 TiledRgbaOutputFile::dataWindow () const function in class:Imf::TiledRgbaOutputFile
422 return _outputFile->header().dataWindow();
843 TiledRgbaInputFile::dataWindow () const function in class:Imf::TiledRgbaInputFile
845 return _inputFile->header().dataWindow();
292 TiledRgbaOutputFile(const char name[], int tileXSize, int tileYSize, LevelMode mode, LevelRoundingMode rmode, const Imath::Box2i &displayWindow, const Imath::Box2i &dataWindow, RgbaChannels rgbaChannels, float pixelAspectRatio, const Imath::V2f screenWindowCenter, float screenWindowWidth, LineOrder lineOrder, Compression compression, int numThreads) argument
H A DImfTiledInputFile.cpp724 // Save the dataWindow information
727 const Box2i &dataWindow = _data->header.dataWindow(); local
728 _data->minX = dataWindow.min.x;
729 _data->maxX = dataWindow.max.x;
730 _data->minY = dataWindow.min.y;
731 _data->maxY = dataWindow.max.y;
H A DImfCRgbaFile.cpp250 header(hdr)->dataWindow() = Box2i (V2i (xMin, yMin), V2i (xMax, yMax));
259 const Box2i dw = header(hdr)->dataWindow();
/haiku-fatelf/src/add-ons/translators/exr/
H A DEXRTranslator.cpp127 //Imath::Box2i dw = in.dataWindow();
129 const Imath::Box2i &dataWindow = in.dataWindow(); local
131 int dataWidth = dataWindow.max.x - dataWindow.min.x + 1;
132 int dataHeight = dataWindow.max.y - dataWindow.min.y + 1;
154 in.setFrameBuffer (&pixels[0][0] - dataWindow.min.y * dataWidth - dataWindow.min.x, 1, dataWidth);
155 in.readPixels (dataWindow
[all...]

Completed in 119 milliseconds