Skip to content

Commit

Permalink
resolving ambiguos symbols
Browse files Browse the repository at this point in the history
  • Loading branch information
danielkaneider authored and pstanczyk committed Apr 17, 2013
1 parent 7dcffff commit f38a591
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
14 changes: 7 additions & 7 deletions OpenEXR/IlmImfFuzzTest/testFuzzDeepScanLines.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ void generateRandomFile(const char filename[], int channelCount,int parts , Comp
stringstream ss;
ss << i;
string str = ss.str();
headers[0].channels().insert(str, Channel(FLOAT));
headers[0].channels().insert(str, Channel(Imf::FLOAT));
}

headers[0].setType(DEEPSCANLINE);
Expand Down Expand Up @@ -126,7 +126,7 @@ void generateRandomFile(const char filename[], int channelCount,int parts , Comp

DeepFrameBuffer frameBuffer;

frameBuffer.insertSampleCountSlice (Slice (UINT, // type // 7
frameBuffer.insertSampleCountSlice (Slice (Imf::UINT, // type // 7
(char *) (&sampleCount[0][0]
- dataWindow.min.x
- dataWindow.min.y * width), // base // 8
Expand All @@ -135,7 +135,7 @@ void generateRandomFile(const char filename[], int channelCount,int parts , Comp

for (int i = 0; i < channelCount; i++)
{
PixelType type=FLOAT;
PixelType type = Imf::FLOAT;
stringstream ss;
ss << i;
string str = ss.str();
Expand Down Expand Up @@ -208,7 +208,7 @@ void readFile(const char filename[])

DeepFrameBuffer frameBuffer;

frameBuffer.insertSampleCountSlice (Slice (UINT, // type // 7
frameBuffer.insertSampleCountSlice (Slice (Imf::UINT, // type // 7
(char *) (&localSampleCount[0][0]
- dataWindow.min.x
- dataWindow.min.y * width), // base // 8)
Expand All @@ -220,7 +220,7 @@ void readFile(const char filename[])

for (int i = 0; i < channelCount; i++)
{
PixelType type = FLOAT;
PixelType type = Imf::FLOAT;

stringstream ss;
ss << i;
Expand Down Expand Up @@ -301,7 +301,7 @@ void readFile(const char filename[])

DeepFrameBuffer frameBuffer;

frameBuffer.insertSampleCountSlice (Slice (UINT, // type // 7
frameBuffer.insertSampleCountSlice (Slice (Imf::UINT, // type // 7
(char *) (&localSampleCount[0][0]
- dataWindow.min.x
- dataWindow.min.y * width), // base // 8)
Expand All @@ -313,7 +313,7 @@ void readFile(const char filename[])

for (int i = 0; i < channelCount; i++)
{
PixelType type = FLOAT;
PixelType type = Imf::FLOAT;

stringstream ss;
ss << i;
Expand Down
6 changes: 3 additions & 3 deletions OpenEXR/IlmImfFuzzTest/testFuzzDeepTiles.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ void generateRandomFile(const char filename[], int channelCount, int parts , Com
int pointerSize = sizeof (char *);

frameBuffer.insert (str,
DeepSlice (FLOAT,
DeepSlice (Imf::FLOAT,
(char *) (&data[i][0][0] - memOffset),
pointerSize * 1,
pointerSize * width,
Expand Down Expand Up @@ -278,7 +278,7 @@ void readFile(const char filename[])
int pointerSize = sizeof (char *);

frameBuffer.insert (str,
DeepSlice (FLOAT,
DeepSlice (Imf::FLOAT,
(char *) (&data[i][0][0] - memOffset),
pointerSize * 1,
pointerSize * width,
Expand Down Expand Up @@ -391,7 +391,7 @@ void readFile(const char filename[])
int pointerSize = sizeof (char *);

frameBuffer.insert (str,
DeepSlice (FLOAT,
DeepSlice (Imf::FLOAT,
(char *) (&data[i][0][0] - memOffset),
pointerSize * 1,
pointerSize * width,
Expand Down

0 comments on commit f38a591

Please sign in to comment.