Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AcademySoftwareFoundation/OpenColorIO
/ scale
Method
scale
src/OpenColorIO/ops/OpArray.h:190–200 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
188
}
189
190
void scale(T scale)
191
{
192
if (scale != (T)1.)
193
{
194
const size_t nbVal = m_data.size();
195
for (size_t i = 0; i < nbVal; ++i)
196
{
197
m_data[i] *= scale;
198
}
199
}
200
}
201
202
protected:
203
unsigned long m_length;
Callers
9
__init__
Method · 0.45
drawBackground
Method · 0.45
drawForeground
Method · 0.45
_on_processor_ready
Method · 0.45
__init__
Method · 0.45
_update_model_view_mat
Method · 0.45
end
Method · 0.45
OCIO_ADD_TEST
Function · 0.45
OCIO_ADD_TEST
Function · 0.45
Calls
1
size
Method · 0.45
Tested by
2
OCIO_ADD_TEST
Function · 0.36
OCIO_ADD_TEST
Function · 0.36