name
string
code
string
asm
string
file
string
unsigned long pbrt::FindInterval<pbrt::PiecewiseLinear2D<2ul>::Sample(pbrt::Vector2<float>, float const*) const::'lambda3'(unsigned int)>(unsigned long, pbrt::PiecewiseLinear2D<2ul>::Sample(pbrt::Vector2<float>, float const*) const::'lambda3'(unsigned int) const&)
PBRT_CPU_GPU inline size_t FindInterval(size_t size_, const Predicate &pred) { using ssize_t = std::make_signed_t<size_t>; // Not all platforms have ssize_t ssize_t size = (ssize_t)size_ - 2, first = 1; while (size > 0) { size_t half = (size_t)size >> 1, middle = first + half; // .. and r...
subq $0x48, %rsp movq %rdi, 0x40(%rsp) movq %rsi, 0x38(%rsp) movq 0x40(%rsp), %rax subq $0x2, %rax movq %rax, 0x30(%rsp) movq $0x1, 0x28(%rsp) cmpq $0x0, 0x30(%rsp) jle 0x748ae4 movq 0x30(%rsp), %rax shrq %rax movq %rax, 0x20(%rsp) movq 0x28(%rsp), %rax addq 0x20(%rsp), %rax movq %rax, 0x18(%rsp) movq 0x38(%rsp), %rdi ...
/anderslanglands[P]pbrt-v4/src/pbrt/util/math.h
void pbrt::detail::stringPrintfRecursive<pbrt::DielectricInterfaceBxDF const&, pbrt::IdealDiffuseBxDF const&, float const&, pbrt::SampledSpectrum const&, float const&>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>*, char const*, pbrt::DielectricInterfaceBxDF const&, pbrt::IdealDiffuseBx...
inline void stringPrintfRecursive(std::string *s, const char *fmt, T &&v, Args &&... args) { std::string nextFmt = copyToFormatString(&fmt, s); bool precisionViaArg = nextFmt.find('*') != std::string::npos; bool isSFmt = nextFmt.find('s') != std::string::npos; bool isD...
subq $0x268, %rsp # imm = 0x268 movq 0x270(%rsp), %rax movq %rdi, 0x260(%rsp) movq %rsi, 0x258(%rsp) movq %rdx, 0x250(%rsp) movq %rcx, 0x248(%rsp) movq %r8, 0x240(%rsp) movq %r9, 0x238(%rsp) movq 0x260(%rsp), %rdx leaq 0x218(%rsp), %rdi leaq 0x258(%rsp), %rsi callq 0x4ccc90 leaq 0x218(%rsp), %rdi movl $0x2a,...
/anderslanglands[P]pbrt-v4/src/pbrt/util/print.h
void pbrt::detail::stringPrintfRecursive<pbrt::DielectricInterfaceBxDF const&, pbrt::ConductorBxDF const&, float const&, pbrt::SampledSpectrum const&, float const&>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>*, char const*, pbrt::DielectricInterfaceBxDF const&, pbrt::ConductorBxDF con...
inline void stringPrintfRecursive(std::string *s, const char *fmt, T &&v, Args &&... args) { std::string nextFmt = copyToFormatString(&fmt, s); bool precisionViaArg = nextFmt.find('*') != std::string::npos; bool isSFmt = nextFmt.find('s') != std::string::npos; bool isD...
subq $0x268, %rsp # imm = 0x268 movq 0x270(%rsp), %rax movq %rdi, 0x260(%rsp) movq %rsi, 0x258(%rsp) movq %rdx, 0x250(%rsp) movq %rcx, 0x248(%rsp) movq %r8, 0x240(%rsp) movq %r9, 0x238(%rsp) movq 0x260(%rsp), %rdx leaq 0x218(%rsp), %rdi leaq 0x258(%rsp), %rsi callq 0x4ccc90 leaq 0x218(%rsp), %rdi movl $0x2a,...
/anderslanglands[P]pbrt-v4/src/pbrt/util/print.h
auto pbrt::detail::DispatchSplitCPU<4>::operator()<pbrt::LightSamplerHandle::ToString[abi:cxx11]() const::$_0, pbrt::TaggedPointer<pbrt::UniformLightSampler, pbrt::PowerLightSampler, pbrt::BVHLightSampler, pbrt::ExhaustiveLightSampler>, pbrt::UniformLightSampler, pbrt::PowerLightSampler, pbrt::BVHLightSampler, pbrt::Ex...
inline auto operator()(F func, Tp tp, int tag, TypePack<Ts...> types) { constexpr int mid = n / 2; if (tag - 1 < mid) // 0-based indexing here to be more traditional return DispatchSplitCPU<mid>()( func, tp, tag, typename TakeFirstN<mid, TypePack<Ts...>>::type()); e...
subq $0x68, %rsp movq %rdx, (%rsp) movq %rdi, 0x8(%rsp) movq %rdi, %rax movq %rax, 0x10(%rsp) movq %rdi, 0x60(%rsp) movq %rsi, 0x50(%rsp) movq %rdx, 0x48(%rsp) movl %ecx, 0x44(%rsp) movl $0x2, 0x40(%rsp) movl 0x44(%rsp), %eax subl $0x1, %eax cmpl $0x2, %eax jge 0x74d504 movq (%rsp), %rsi leaq 0x30(%rsp), %rdi callq 0x6...
/anderslanglands[P]pbrt-v4/src/pbrt/util/taggedptr.h
pbrt::HashMap<pbrt::LightHandle, pbrt::LightBVHNode*, pbrt::LightHandleHash, pstd::pmr::polymorphic_allocator<pstd::optional<std::pair<pbrt::LightHandle, pbrt::LightBVHNode*>>>>::Insert(pbrt::LightHandle const&, pbrt::LightBVHNode* const&)
void Insert(const Key &key, const Value &value) { size_t offset = FindOffset(key); if (table[offset].has_value() == false) { // Not there already; possibly grow. if (3 * ++nStored > capacity()) { Grow(); offset = FindOffset(key); } ...
subq $0x48, %rsp movq %rdi, 0x40(%rsp) movq %rsi, 0x38(%rsp) movq %rdx, 0x30(%rsp) movq 0x40(%rsp), %rdi movq %rdi, 0x10(%rsp) movq 0x38(%rsp), %rsi callq 0x6f2bf0 movq 0x10(%rsp), %rdi movq %rax, 0x28(%rsp) movq 0x28(%rsp), %rsi callq 0x751f00 movq %rax, %rdi callq 0x6f2d30 andb $0x1, %al movzbl %al, %eax cmpl $0x0, %...
/anderslanglands[P]pbrt-v4/src/pbrt/util/containers.h
pbrt::WeightedReservoirSampler<pbrt::LightHandle>::Add(pbrt::LightHandle const&, float)
PBRT_CPU_GPU void Add(const T &sample, Float weight) { weightSum += weight; // Randomly add _sample_ to reservoir Float p = weight / weightSum; if (rng.Uniform<Float>() < p) { reservoir = sample; reservoirWeight = weight; } DCHECK_LT(weightSum...
subq $0x28, %rsp movq %rdi, 0x20(%rsp) movq %rsi, 0x18(%rsp) vmovss %xmm0, 0x14(%rsp) movq 0x20(%rsp), %rdi movq %rdi, 0x8(%rsp) vmovss 0x14(%rsp), %xmm0 vaddss 0x10(%rdi), %xmm0, %xmm0 vmovss %xmm0, 0x10(%rdi) vmovss 0x14(%rsp), %xmm0 vdivss 0x10(%rdi), %xmm0, %xmm0 vmovss %xmm0, 0x10(%rsp) callq 0x4d64c0 vmovaps %xmm...
/anderslanglands[P]pbrt-v4/src/pbrt/util/sampling.h
pstd::vector<pstd::optional<std::pair<pbrt::LightHandle, unsigned long>>, pstd::pmr::polymorphic_allocator<pstd::optional<std::pair<pbrt::LightHandle, unsigned long>>>>::operator=(pstd::vector<pstd::optional<std::pair<pbrt::LightHandle, unsigned long>>, pstd::pmr::polymorphic_allocator<pstd::optional<std::pair<pbrt::Li...
vector &operator=(vector &&other) { if (this == &other) return *this; if (alloc == other.alloc) { pstd::swap(ptr, other.ptr); pstd::swap(nAlloc, other.nAlloc); pstd::swap(nStored, other.nStored); } else { clear(); reserve(o...
subq $0x38, %rsp movq %rdi, 0x28(%rsp) movq %rsi, 0x20(%rsp) movq 0x28(%rsp), %rax movq %rax, 0x10(%rsp) cmpq 0x20(%rsp), %rax jne 0x75072e movq 0x10(%rsp), %rax movq %rax, 0x30(%rsp) jmp 0x75083e movq 0x10(%rsp), %rdi movq 0x20(%rsp), %rsi callq 0x750850 testb $0x1, %al jne 0x750743 jmp 0x75078d movq 0x10(%rsp), %rdi ...
/anderslanglands[P]pbrt-v4/src/pbrt/util/pstd.h
void pbrt::detail::stringPrintfRecursive<pbrt::LightHandle const&>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>*, char const*, pbrt::LightHandle const&)
inline void stringPrintfRecursive(std::string *s, const char *fmt, T &&v, Args &&... args) { std::string nextFmt = copyToFormatString(&fmt, s); bool precisionViaArg = nextFmt.find('*') != std::string::npos; bool isSFmt = nextFmt.find('s') != std::string::npos; bool isD...
subq $0x248, %rsp # imm = 0x248 movq %rdi, 0x240(%rsp) movq %rsi, 0x238(%rsp) movq %rdx, 0x230(%rsp) movq 0x240(%rsp), %rdx leaq 0x210(%rsp), %rdi leaq 0x238(%rsp), %rsi callq 0x4ccc90 leaq 0x210(%rsp), %rdi movl $0x2a, %esi xorl %eax, %eax movl %eax, %edx callq 0x328670 cmpq $-0x1, %rax setne %al andb $0x1,...
/anderslanglands[P]pbrt-v4/src/pbrt/util/print.h
Imf_2_5::Attribute::registerAttributeType(char const*, Imf_2_5::Attribute* (*)())
void Attribute::registerAttributeType (const char typeName[], Attribute *(*newAttribute)()) { LockedTypeMap& tMap = typeMap(); Lock lock (tMap.mutex); if (tMap.find (typeName) != tMap.end()) THROW (IEX_NAMESPACE::ArgExc, "Cannot register image file attribute " "type \"" << typeName <<...
subq $0x228, %rsp # imm = 0x228 movq %rdi, 0x220(%rsp) movq %rsi, 0x218(%rsp) callq 0x753ba0 movq %rax, 0x210(%rsp) movq 0x210(%rsp), %rsi addq $0x30, %rsi leaq 0x200(%rsp), %rdi movl $0x1, %edx callq 0x754f40 movq 0x210(%rsp), %rdi leaq 0x220(%rsp), %rsi callq 0x753c00 movq %rax, 0x30(%rsp) jmp 0x753cbe mov...
/anderslanglands[P]pbrt-v4/src/ext/openexr/OpenEXR/IlmImf/ImfAttribute.cpp
Imf_2_5::ChannelList::channelsWithPrefix(char const*, Imf_2_5::ChannelList::Iterator&, Imf_2_5::ChannelList::Iterator&)
void ChannelList::channelsWithPrefix (const char prefix[], Iterator &first, Iterator &last) { first = last = _map.lower_bound (prefix); size_t n = int(strlen (prefix)); while (last != Iterator (_map.end()) && strncmp (last.name(), prefix, n) <= 0) { ++last; } }
subq $0x168, %rsp # imm = 0x168 movq %rdi, 0x160(%rsp) movq %rsi, 0x158(%rsp) movq %rdx, 0x150(%rsp) movq %rcx, 0x148(%rsp) movq 0x160(%rsp), %rax movq %rax, 0x8(%rsp) movq 0x158(%rsp), %rsi leaq 0x38(%rsp), %rdi callq 0x46c540 movq 0x8(%rsp), %rdi leaq 0x38(%rsp), %rsi callq 0x7567b0 movq %rax, 0x138(%rsp) ...
/anderslanglands[P]pbrt-v4/src/ext/openexr/OpenEXR/IlmImf/ImfChannelList.cpp
Imf_2_5::ChannelList::operator==(Imf_2_5::ChannelList const&) const
bool ChannelList::operator == (const ChannelList &other) const { ConstIterator i = begin(); ConstIterator j = other.begin(); while (i != end() && j != other.end()) { if (!(i.channel() == j.channel())) return false; ++i; ++j; } return i == end() && j == other.end(); }
subq $0x68, %rsp movq %rdi, 0x58(%rsp) movq %rsi, 0x50(%rsp) movq 0x58(%rsp), %rdi movq %rdi, 0x18(%rsp) callq 0x755bb0 movq %rax, 0x48(%rsp) movq 0x50(%rsp), %rdi callq 0x755bb0 movq %rax, 0x40(%rsp) movq 0x18(%rsp), %rdi callq 0x755c10 movq %rax, 0x38(%rsp) leaq 0x48(%rsp), %rdi leaq 0x38(%rsp), %rsi callq 0x46bf20 m...
/anderslanglands[P]pbrt-v4/src/ext/openexr/OpenEXR/IlmImf/ImfChannelList.cpp
Imf_2_5::Header::Header(int, int, float, Imath_2_5::Vec2<float> const&, float, Imf_2_5::LineOrder, Imf_2_5::Compression)
Header::Header (int width, int height, float pixelAspectRatio, const V2f &screenWindowCenter, float screenWindowWidth, LineOrder lineOrder, Compression compression) : _map() { sanityCheckDisplayWindow (width, height); staticInitialize(); Box2i displayWindow (V2i (0, 0), V2i (width - 1, hei...
subq $0x78, %rsp movq %rdi, 0x70(%rsp) movl %esi, 0x6c(%rsp) movl %edx, 0x68(%rsp) movss %xmm0, 0x64(%rsp) movq %rcx, 0x58(%rsp) movss %xmm1, 0x54(%rsp) movl %r8d, 0x50(%rsp) movl %r9d, 0x4c(%rsp) movq 0x70(%rsp), %rdi movq %rdi, 0x8(%rsp) movq %rdi, %rax movq %rax, 0x10(%rsp) xorps %xmm0, %xmm0 movups %xmm0, 0x20(%rdi...
/anderslanglands[P]pbrt-v4/src/ext/openexr/OpenEXR/IlmImf/ImfHeader.cpp
Imf_2_5::Header::operator=(Imf_2_5::Header const&)
Header & Header::operator = (const Header &other) { if (this != &other) { for (AttributeMap::iterator i = _map.begin(); i != _map.end(); ++i) { delete i->second; } _map.erase (_map.begin(), _map.end()); for (AttributeMap::const_iterator i = other._map.begin(); i != other._map.en...
subq $0x78, %rsp movq %rdi, 0x70(%rsp) movq %rsi, 0x68(%rsp) movq 0x70(%rsp), %rax movq %rax, 0x18(%rsp) cmpq 0x68(%rsp), %rax je 0x75ad68 movq 0x18(%rsp), %rdi callq 0x75e480 movq %rax, 0x60(%rsp) movq 0x18(%rsp), %rdi callq 0x75e4d0 movq %rax, 0x58(%rsp) leaq 0x60(%rsp), %rdi leaq 0x58(%rsp), %rsi callq 0x75e4b0 test...
/anderslanglands[P]pbrt-v4/src/ext/openexr/OpenEXR/IlmImf/ImfHeader.cpp
Imf_2_5::Header::setType(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
void Header::setType(const string& type) { if (isSupportedType(type) == false) { throw IEX_NAMESPACE::ArgExc (type + "is not a supported image type." + "The following are supported: " + SCANLINEIMAGE + ", " + TILEDIMAGE + "...
subq $0x1a8, %rsp # imm = 0x1A8 movq %rdi, 0x1a0(%rsp) movq %rsi, 0x198(%rsp) movq 0x1a0(%rsp), %rax movq %rax, 0x18(%rsp) movq 0x198(%rsp), %rdi callq 0x7e1200 andb $0x1, %al movzbl %al, %eax cmpl $0x0, %eax jne 0x75ba6b movb $0x1, 0x4b(%rsp) movl $0x48, %edi callq 0x327860 movq %rax, 0x10(%rsp) movq 0x198(...
/anderslanglands[P]pbrt-v4/src/ext/openexr/OpenEXR/IlmImf/ImfHeader.cpp
void Imf_2_5::(anonymous namespace)::checkIsNullTerminated<256ul>(char const (&) [256ul], char const*)
void checkIsNullTerminated (const char (&str)[N], const char *what) { for (size_t i = 0; i < N; ++i) { if (str[i] == '\0') return; } std::stringstream s; s << "Invalid " << what << ": it is more than " << (N - 1) << " characters long."; throw IEX_NAMESPACE::InputExc(s); }
subq $0x1d8, %rsp # imm = 0x1D8 movq %rdi, 0x1d0(%rsp) movq %rsi, 0x1c8(%rsp) movq $0x0, 0x1c0(%rsp) cmpq $0x100, 0x1c0(%rsp) # imm = 0x100 jae 0x75e2aa movq 0x1d0(%rsp), %rax movq 0x1c0(%rsp), %rcx movsbl (%rax,%rcx), %eax cmpl $0x0, %eax jne 0x75e292 addq $0x1d8, %rsp # imm = 0x1D8 retq jmp 0x75...
/anderslanglands[P]pbrt-v4/src/ext/openexr/OpenEXR/IlmImf/ImfHeader.cpp
Imf_2_5::TypedAttribute<int>& Imf_2_5::Header::typedAttribute<Imf_2_5::TypedAttribute<int>>(char const*)
T & Header::typedAttribute (const char name[]) { Attribute *attr = &(*this)[name]; T *tattr = dynamic_cast <T*> (attr); if (tattr == 0) throw IEX_NAMESPACE::TypeExc ("Unexpected attribute type."); return *tattr; }
subq $0x38, %rsp movq %rdi, 0x30(%rsp) movq %rsi, 0x28(%rsp) movq 0x30(%rsp), %rdi movq 0x28(%rsp), %rsi callq 0x75af50 movq %rax, 0x20(%rsp) movq 0x20(%rsp), %rax movq %rax, 0x10(%rsp) cmpq $0x0, %rax je 0x75eb95 movq 0x10(%rsp), %rdi leaq 0x2caff42(%rip), %rsi # 0x340eac0 leaq 0x2cae113(%rip), %rdx # 0x340cc98 xo...
/anderslanglands[P]pbrt-v4/src/ext/openexr/OpenEXR/IlmImf/ImfHeader.h
void Imf_2_5::Xdr::write<Imf_2_5::StreamIO, Imf_2_5::OStream>(Imf_2_5::OStream&, double)
void write (T &out, double v) { union {Int64 i; double d;} u; u.d = v; unsigned char b[8]; b[0] = (unsigned char) (u.i); b[1] = (unsigned char) (u.i >> 8); b[2] = (unsigned char) (u.i >> 16); b[3] = (unsigned char) (u.i >> 24); b[4] = (unsigned char) (u.i >> 32); b[5] = (unsigned c...
subq $0x28, %rsp movq %rdi, 0x20(%rsp) movsd %xmm0, 0x18(%rsp) movsd 0x18(%rsp), %xmm0 movsd %xmm0, 0x10(%rsp) movq 0x10(%rsp), %rax movb %al, 0x8(%rsp) movq 0x10(%rsp), %rax shrq $0x8, %rax movb %al, 0x9(%rsp) movq 0x10(%rsp), %rax shrq $0x10, %rax movb %al, 0xa(%rsp) movq 0x10(%rsp), %rax shrq $0x18, %rax movb %al, 0...
/anderslanglands[P]pbrt-v4/src/ext/openexr/OpenEXR/IlmImf/ImfXdr.h
Imf_2_5::TypedAttribute<double>::cast(Imf_2_5::Attribute const*)
const TypedAttribute<T> * TypedAttribute<T>::cast (const Attribute *attribute) { const TypedAttribute<T> *t = dynamic_cast <const TypedAttribute<T> *> (attribute); if (t == 0) throw IEX_NAMESPACE::TypeExc ("Unexpected attribute type."); return t; }
subq $0x28, %rsp movq %rdi, 0x20(%rsp) movq 0x20(%rsp), %rax movq %rax, 0x10(%rsp) cmpq $0x0, %rax je 0x76320c movq 0x10(%rsp), %rdi leaq 0x2cab8cb(%rip), %rsi # 0x340eac0 leaq 0x2cabcdc(%rip), %rdx # 0x340eed8 xorl %eax, %eax movl %eax, %ecx callq 0x3283c0 movq %rax, 0x8(%rsp) jmp 0x763215 xorl %eax, %eax movq %ra...
/anderslanglands[P]pbrt-v4/src/ext/openexr/OpenEXR/IlmImf/ImfAttribute.h
Imath_2_5::Matrix44<double>::operator=(Imath_2_5::Matrix44<double> const&)
inline const Matrix44<T> & Matrix44<T>::operator = (const Matrix44 &v) { x[0][0] = v.x[0][0]; x[0][1] = v.x[0][1]; x[0][2] = v.x[0][2]; x[0][3] = v.x[0][3]; x[1][0] = v.x[1][0]; x[1][1] = v.x[1][1]; x[1][2] = v.x[1][2]; x[1][3] = v.x[1][3]; x[2][0] = v.x[2][0]; x[2][1] = v.x[2][1...
movq %rdi, -0x8(%rsp) movq %rsi, -0x10(%rsp) movq -0x8(%rsp), %rax movq -0x10(%rsp), %rcx movsd (%rcx), %xmm0 movsd %xmm0, (%rax) movq -0x10(%rsp), %rcx movsd 0x8(%rcx), %xmm0 movsd %xmm0, 0x8(%rax) movq -0x10(%rsp), %rcx movsd 0x10(%rcx), %xmm0 movsd %xmm0, 0x10(%rax) movq -0x10(%rsp), %rcx movsd 0x18(%rcx), %xmm0 mov...
/anderslanglands[P]pbrt-v4/src/ext/openexr/IlmBase/Imath/ImathMatrix.h
Imf_2_5::TypedAttribute<Imf_2_5::Rational>::cast(Imf_2_5::Attribute const*)
const TypedAttribute<T> * TypedAttribute<T>::cast (const Attribute *attribute) { const TypedAttribute<T> *t = dynamic_cast <const TypedAttribute<T> *> (attribute); if (t == 0) throw IEX_NAMESPACE::TypeExc ("Unexpected attribute type."); return t; }
subq $0x28, %rsp movq %rdi, 0x20(%rsp) movq 0x20(%rsp), %rax movq %rax, 0x10(%rsp) cmpq $0x0, %rax je 0x76518c movq 0x10(%rsp), %rdi leaq 0x2ca994b(%rip), %rsi # 0x340eac0 leaq 0x2ca9ffc(%rip), %rdx # 0x340f178 xorl %eax, %eax movl %eax, %ecx callq 0x3283c0 movq %rax, 0x8(%rsp) jmp 0x765195 xorl %eax, %eax movq %ra...
/anderslanglands[P]pbrt-v4/src/ext/openexr/OpenEXR/IlmImf/ImfAttribute.h
Imf_2_5::TypedAttribute<Imf_2_5::TimeCode>::cast(Imf_2_5::Attribute const*)
const TypedAttribute<T> * TypedAttribute<T>::cast (const Attribute *attribute) { const TypedAttribute<T> *t = dynamic_cast <const TypedAttribute<T> *> (attribute); if (t == 0) throw IEX_NAMESPACE::TypeExc ("Unexpected attribute type."); return t; }
subq $0x28, %rsp movq %rdi, 0x20(%rsp) movq 0x20(%rsp), %rax movq %rax, 0x10(%rsp) cmpq $0x0, %rax je 0x76552c movq 0x10(%rsp), %rdi leaq 0x2ca95ab(%rip), %rsi # 0x340eac0 leaq 0x2ca9cbc(%rip), %rdx # 0x340f1d8 xorl %eax, %eax movl %eax, %ecx callq 0x3283c0 movq %rax, 0x8(%rsp) jmp 0x765535 xorl %eax, %eax movq %ra...
/anderslanglands[P]pbrt-v4/src/ext/openexr/OpenEXR/IlmImf/ImfAttribute.h
Imf_2_5::TypedAttribute<Imath_2_5::Vec2<double>>::cast(Imf_2_5::Attribute const*)
const TypedAttribute<T> * TypedAttribute<T>::cast (const Attribute *attribute) { const TypedAttribute<T> *t = dynamic_cast <const TypedAttribute<T> *> (attribute); if (t == 0) throw IEX_NAMESPACE::TypeExc ("Unexpected attribute type."); return t; }
subq $0x28, %rsp movq %rdi, 0x20(%rsp) movq 0x20(%rsp), %rax movq %rax, 0x10(%rsp) cmpq $0x0, %rax je 0x7657fc movq 0x10(%rsp), %rdi leaq 0x2ca92db(%rip), %rsi # 0x340eac0 leaq 0x2ca9a4c(%rip), %rdx # 0x340f238 xorl %eax, %eax movl %eax, %ecx callq 0x3283c0 movq %rax, 0x8(%rsp) jmp 0x765805 xorl %eax, %eax movq %ra...
/anderslanglands[P]pbrt-v4/src/ext/openexr/OpenEXR/IlmImf/ImfAttribute.h
Imf_2_5::InputFile::Data::Data(int)
InputFile::Data::Data (int numThreads): isTiled (false), tFile (0), sFile (0), dsFile(0), cachedBuffer (0), compositor(0), cachedTileY (-1), numThreads (numThreads), partNumber (-1), part(NULL), multiPartBackwardSupport (false), multiPartFile (0), _streamData(0), ...
subq $0x28, %rsp movq %rdi, 0x20(%rsp) movl %esi, 0x1c(%rsp) movq 0x20(%rsp), %rdi movq %rdi, 0x8(%rsp) callq 0x355d10 movq 0x8(%rsp), %rax addq $0x28, %rax movq %rax, (%rsp) leaq 0x14(%rsp), %rdi xorps %xmm1, %xmm1 movaps %xmm1, %xmm0 callq 0x468a80 movq (%rsp), %rdi movl $0x40, %edx movss 0xe4aea(%rip), %xmm1 # 0x...
/anderslanglands[P]pbrt-v4/src/ext/openexr/OpenEXR/IlmImf/ImfInputFile.cpp
Imf_2_5::InputFile::compatibilityInitialize(Imf_2_5::IStream&)
void InputFile::compatibilityInitialize (OPENEXR_IMF_INTERNAL_NAMESPACE::IStream& is) { is.seekg(0); // // Construct a MultiPartInputFile, initialize InputFile // with the part 0 data. // (TODO) may want to have a way to set the reconstruction flag. // _data->multiPartBackwardSupport = true...
subq $0x38, %rsp movq %rdi, 0x30(%rsp) movq %rsi, 0x28(%rsp) movq 0x30(%rsp), %rax movq %rax, (%rsp) movq 0x28(%rsp), %rdi movq (%rdi), %rax movq 0x30(%rax), %rax xorl %ecx, %ecx movl %ecx, %esi callq *%rax movq (%rsp), %rax movq 0x8(%rax), %rax movb $0x1, 0xe8(%rax) movl $0x10, %edi callq 0x3273b0 movq %rax, %rdi movq...
/anderslanglands[P]pbrt-v4/src/ext/openexr/OpenEXR/IlmImf/ImfInputFile.cpp
Imf_2_5::InputFile::InputFile(Imf_2_5::IStream&, int)
InputFile::InputFile (OPENEXR_IMF_INTERNAL_NAMESPACE::IStream &is, int numThreads): _data (new Data (numThreads)) { _data->_streamData=NULL; _data->_deleteStream=false; try { readMagicNumberAndVersionField(is, _data->version); // // Backward compatibility to read multpart fi...
subq $0x248, %rsp # imm = 0x248 movq %rdi, 0x240(%rsp) movq %rsi, 0x238(%rsp) movl %edx, 0x234(%rsp) movq 0x240(%rsp), %rdi movq %rdi, 0x78(%rsp) callq 0x7e0e60 movq 0x78(%rsp), %rax leaq 0x2ca799c(%rip), %rcx # 0x340f478 addq $0x10, %rcx movq %rcx, (%rax) addq $0x8, %rax movq %rax, 0x80(%rsp) movl $0x108,...
/anderslanglands[P]pbrt-v4/src/ext/openexr/OpenEXR/IlmImf/ImfInputFile.cpp
Imf_2_5::InputFile::frameBuffer() const
const FrameBuffer & InputFile::frameBuffer () const { if(_data->compositor) { return _data->compositor->frameBuffer(); } else if(_data->isTiled) { Lock lock (*_data); return _data->tFileBuffer; } else { return _data->sFile->frameBuffer(); } }
subq $0x28, %rsp movq %rdi, 0x18(%rsp) movq 0x18(%rsp), %rax movq %rax, (%rsp) movq 0x8(%rax), %rax cmpq $0x0, 0xc8(%rax) je 0x768d4b movq (%rsp), %rax movq 0x8(%rax), %rax movq 0xc8(%rax), %rdi callq 0x7f9920 movq %rax, 0x20(%rsp) jmp 0x768da5 movq (%rsp), %rax movq 0x8(%rax), %rax testb $0x1, 0x64(%rax) je 0x768d8f m...
/anderslanglands[P]pbrt-v4/src/ext/openexr/OpenEXR/IlmImf/ImfInputFile.cpp
Imf_2_5::InputFile::rawTileData(int&, int&, int&, int&, char const*&, int&)
void InputFile::rawTileData (int &dx, int &dy, int &lx, int &ly, const char *&pixelData, int &pixelDataSize) { try { if (!_data->isTiled) { throw IEX_NAMESPACE::ArgExc ("Tried to read a raw tile " "from a scanline-based image."); } _data->tFile->rawTileData (dx, dy, l...
subq $0x208, %rsp # imm = 0x208 movq 0x210(%rsp), %rax movq %rdi, 0x200(%rsp) movq %rsi, 0x1f8(%rsp) movq %rdx, 0x1f0(%rsp) movq %rcx, 0x1e8(%rsp) movq %r8, 0x1e0(%rsp) movq %r9, 0x1d8(%rsp) movq 0x200(%rsp), %rax movq %rax, 0x30(%rsp) movq 0x8(%rax), %rax testb $0x1, 0x64(%rax) jne 0x769b1f movl $0x48, %edi...
/anderslanglands[P]pbrt-v4/src/ext/openexr/OpenEXR/IlmImf/ImfInputFile.cpp
Imf_2_5::B44Compressor::compress(char const*, int, Imath_2_5::Box<Imath_2_5::Vec2<int>>, char const*&)
int B44Compressor::compress (const char *inPtr, int inSize, IMATH_NAMESPACE::Box2i range, const char *&outPtr) { // // Compress a block of pixel data: First copy the input pixels // from the input buffer into _tmpBuffer, rearranging them such // that blocks of 4x4 pixels of a single channel...
subq $0x128, %rsp # imm = 0x128 movq %rcx, (%rsp) movq %rdi, 0x118(%rsp) movq %rsi, 0x110(%rsp) movl %edx, 0x10c(%rsp) movq %rcx, 0x100(%rsp) movq %r8, 0xf8(%rsp) movq 0x118(%rsp), %rax movq %rax, 0x8(%rsp) movq 0x28(%rax), %rcx movq 0xf8(%rsp), %rax movq %rcx, (%rax) cmpl $0x0, 0x10c(%rsp) jne 0x777948 movl...
/anderslanglands[P]pbrt-v4/src/ext/openexr/OpenEXR/IlmImf/ImfB44Compressor.cpp
Imf_2_5::DwaCompressor::compress(char const*, int, Imath_2_5::Box<Imath_2_5::Vec2<int>>, char const*&)
int DwaCompressor::compress (const char *inPtr, int inSize, IMATH_NAMESPACE::Box2i range, const char *&outPtr) { const char *inDataPtr = inPtr; char *packedAcEnd = 0; char *packedDcEnd = 0; int fileVersion = 2; // St...
pushq %rbp pushq %rbx subq $0x978, %rsp # imm = 0x978 movq %rcx, 0x228(%rsp) movq %rdi, 0x970(%rsp) movq %rsi, 0x968(%rsp) movl %edx, 0x964(%rsp) movq %rcx, 0x958(%rsp) movq %r8, 0x950(%rsp) movq 0x970(%rsp), %rax movq %rax, 0x230(%rsp) movq 0x968(%rsp), %rax movq %rax, 0x948(%rsp) movq $0x0, 0x940(%rsp) mov...
/anderslanglands[P]pbrt-v4/src/ext/openexr/OpenEXR/IlmImf/ImfDwaCompressor.cpp
Imf_2_5::copyFromDeepFrameBuffer(char*&, char const*, char*, long, long, int, int, int, int, int, int, int, long, long, long, Imf_2_5::Compressor::Format, Imf_2_5::PixelType)
void copyFromDeepFrameBuffer (char *& writePtr, const char * base, char* sampleCountBase, ptrdiff_t sampleCountXStride, ptrdiff_t sampleCountYStride, int y, int xMin, int xMax, ...
subq $0x128, %rsp # imm = 0x128 movl 0x180(%rsp), %eax movl 0x178(%rsp), %eax movq 0x170(%rsp), %rax movq 0x168(%rsp), %rax movq 0x160(%rsp), %rax movl 0x158(%rsp), %eax movl 0x150(%rsp), %eax movl 0x148(%rsp), %eax movl 0x140(%rsp), %eax movl 0x138(%rsp), %eax movl 0x130(%rsp), %eax movq %rdi, 0x120(%rsp) m...
/anderslanglands[P]pbrt-v4/src/ext/openexr/OpenEXR/IlmImf/ImfMisc.cpp
void Imf_2_5::Xdr::read<Imf_2_5::StreamIO, Imf_2_5::IStream>(Imf_2_5::IStream&, unsigned int&)
void read (T &in, unsigned int &v) { unsigned char b[4]; readUnsignedChars<S> (in, b, 4); v = (b[0] & 0x000000ff) | ((b[1] << 8) & 0x0000ff00) | ((b[2] << 16) & 0x00ff0000) | (b[3] << 24); }
subq $0x18, %rsp movq %rdi, 0x10(%rsp) movq %rsi, 0x8(%rsp) movq 0x10(%rsp), %rdi leaq 0x4(%rsp), %rsi movl $0x4, %edx callq 0x483dc0 movzbl 0x4(%rsp), %ecx andl $0xff, %ecx movzbl 0x5(%rsp), %eax shll $0x8, %eax andl $0xff00, %eax # imm = 0xFF00 orl %eax, %ecx movzbl 0x6(%rsp), %eax shll $0x10, %eax andl $0x...
/anderslanglands[P]pbrt-v4/src/ext/openexr/OpenEXR/IlmImf/ImfXdr.h
Imf_2_5::TypedAttribute<Imath_2_5::Vec2<float>>& Imf_2_5::Header::typedAttribute<Imf_2_5::TypedAttribute<Imath_2_5::Vec2<float>>>(char const*)
T & Header::typedAttribute (const char name[]) { Attribute *attr = &(*this)[name]; T *tattr = dynamic_cast <T*> (attr); if (tattr == 0) throw IEX_NAMESPACE::TypeExc ("Unexpected attribute type."); return *tattr; }
subq $0x38, %rsp movq %rdi, 0x30(%rsp) movq %rsi, 0x28(%rsp) movq 0x30(%rsp), %rdi movq 0x28(%rsp), %rsi callq 0x75af50 movq %rax, 0x20(%rsp) movq 0x20(%rsp), %rax movq %rax, 0x10(%rsp) cmpq $0x0, %rax je 0x7b8ba5 movq 0x10(%rsp), %rdi leaq 0x2c55f32(%rip), %rsi # 0x340eac0 leaq 0x2c55fe3(%rip), %rdx # 0x340eb78 xo...
/anderslanglands[P]pbrt-v4/src/ext/openexr/OpenEXR/IlmImf/ImfHeader.h
Imf_2_5::ScanLineInputFile::ScanLineInputFile(Imf_2_5::InputPartData*)
ScanLineInputFile::ScanLineInputFile(InputPartData* part) { if (part->header.type() != SCANLINEIMAGE) throw IEX_NAMESPACE::ArgExc("Can't build a ScanLineInputFile from a type-mismatched part."); _data = new Data(part->numThreads); _streamData = part->mutex; _data->memoryMapped = _streamData->is...
subq $0x68, %rsp movq %rdi, 0x60(%rsp) movq %rsi, 0x58(%rsp) movq 0x60(%rsp), %rdi movq %rdi, 0x30(%rsp) callq 0x7e0e60 movq 0x30(%rsp), %rax leaq 0x2c54267(%rip), %rcx # 0x340faa0 addq $0x10, %rcx movq %rcx, (%rax) movq 0x58(%rsp), %rdi callq 0x75bc00 movq %rax, 0x38(%rsp) jmp 0x7bb851 movq 0x38(%rsp), %rdi leaq 0x2...
/anderslanglands[P]pbrt-v4/src/ext/openexr/OpenEXR/IlmImf/ImfScanLineInputFile.cpp
Imf_2_5::(anonymous namespace)::readLineOffsets(Imf_2_5::IStream&, Imf_2_5::LineOrder, std::vector<unsigned long, std::allocator<unsigned long>>&, bool&)
void readLineOffsets (OPENEXR_IMF_INTERNAL_NAMESPACE::IStream &is, LineOrder lineOrder, vector<Int64> &lineOffsets, bool &complete) { for (unsigned int i = 0; i < lineOffsets.size(); i++) { OPENEXR_IMF_INTERNAL_NAMESPACE::Xdr::read <OPENEXR_IMF_INTERNAL_NAMESPACE::StreamIO> (is, lineOffsets[i]); }...
subq $0x48, %rsp movq %rdi, 0x40(%rsp) movl %esi, 0x3c(%rsp) movq %rdx, 0x30(%rsp) movq %rcx, 0x28(%rsp) movl $0x0, 0x24(%rsp) movl 0x24(%rsp), %eax movq %rax, 0x18(%rsp) movq 0x30(%rsp), %rdi callq 0x355cf0 movq %rax, %rcx movq 0x18(%rsp), %rax cmpq %rcx, %rax jae 0x7bbe93 movq 0x40(%rsp), %rax movq %rax, 0x10(%rsp) m...
/anderslanglands[P]pbrt-v4/src/ext/openexr/OpenEXR/IlmImf/ImfScanLineInputFile.cpp
void Imf_2_5::writeToRGBASSETemplate<true, true>(long long vector[2]*&, long long vector[2]*&, long long vector[2]*&, long long vector[2]*&, long long vector[2]*&, unsigned long const&)
EXR_FORCEINLINE void writeToRGBASSETemplate (__m128i*& readPtrSSERed, __m128i*& readPtrSSEGreen, __m128i*& readPtrSSEBlue, __m128i*& readPtrSSEAlpha, __m128i*& writePtrSSE, const size_t& lPixelsToCopySSE) { for (size_t i = 0; i < lPixelsToCopySSE; ++i) { __m128i redRegiste...
subq $0x1c8, %rsp # imm = 0x1C8 movq %rdi, 0xb8(%rsp) movq %rsi, 0xb0(%rsp) movq %rdx, 0xa8(%rsp) movq %rcx, 0xa0(%rsp) movq %r8, 0x98(%rsp) movq %r9, 0x90(%rsp) movq $0x0, 0x88(%rsp) movq 0x88(%rsp), %rax movq 0x90(%rsp), %rcx cmpq (%rcx), %rax jae 0x7c8bc8 movq 0xb8(%rsp), %rdi callq 0x7c6e00 movaps %xmm0,...
/anderslanglands[P]pbrt-v4/src/ext/openexr/OpenEXR/IlmImf/ImfOptimizedPixelReading.h
Imf_2_5::TiledInputFile::Data::Data(int)
TiledInputFile::Data::Data (int numThreads): numXTiles (0), numYTiles (0), partNumber (-1), multiPartBackwardSupport(false), numThreads(numThreads), multiPartFile(nullptr), memoryMapped(false), _streamData(NULL), _deleteStream(false) { // // We need at least one tileBuffer, b...
subq $0x78, %rsp movq %rdi, 0x70(%rsp) movl %esi, 0x6c(%rsp) movq 0x70(%rsp), %rdi movq %rdi, 0x40(%rsp) callq 0x355d10 movq 0x40(%rsp), %rax addq $0x28, %rax movq %rax, 0x30(%rsp) leaq 0x64(%rsp), %rdi movq %rdi, 0x38(%rsp) xorps %xmm1, %xmm1 movaps %xmm1, %xmm0 callq 0x468a80 movq 0x30(%rsp), %rdi movq 0x38(%rsp), %r...
/anderslanglands[P]pbrt-v4/src/ext/openexr/OpenEXR/IlmImf/ImfTiledInputFile.cpp
Imf_2_5::TiledInputFile::TiledInputFile(char const*, int)
TiledInputFile::TiledInputFile (const char fileName[], int numThreads): _data (new Data (numThreads)) { _data->_streamData=NULL; _data->_deleteStream=true; // // This constructor is called when a user // explicitly wants to read a tiled file. // IStream* is = 0; try { ...
subq $0x258, %rsp # imm = 0x258 movq %rdi, 0x250(%rsp) movq %rsi, 0x248(%rsp) movl %edx, 0x244(%rsp) movq 0x250(%rsp), %rdi movq %rdi, 0x78(%rsp) callq 0x7e0e60 movq 0x78(%rsp), %rax leaq 0x2c463bc(%rip), %rcx # 0x340fb58 addq $0x10, %rcx movq %rcx, (%rax) addq $0x8, %rax movq %rax, 0x80(%rsp) movl $0x180,...
/anderslanglands[P]pbrt-v4/src/ext/openexr/OpenEXR/IlmImf/ImfTiledInputFile.cpp
Imf_2_5::TiledInputFile::TiledInputFile(Imf_2_5::Header const&, Imf_2_5::IStream*, int, int)
TiledInputFile::TiledInputFile (const Header &header, OPENEXR_IMF_INTERNAL_NAMESPACE::IStream *is, int version, int numThreads) : _data (new Data (numThreads)) { _data->_deleteStream=false; _data->_streamData = n...
subq $0x88, %rsp movq %rdi, 0x80(%rsp) movq %rsi, 0x78(%rsp) movq %rdx, 0x70(%rsp) movl %ecx, 0x6c(%rsp) movl %r8d, 0x68(%rsp) movq 0x80(%rsp), %rdi movq %rdi, 0x38(%rsp) callq 0x7e0e60 movq 0x38(%rsp), %rax leaq 0x2c45298(%rip), %rcx # 0x340fb58 addq $0x10, %rcx movq %rcx, (%rax) addq $0x8, %rax movq %rax, 0x40(%rsp...
/anderslanglands[P]pbrt-v4/src/ext/openexr/OpenEXR/IlmImf/ImfTiledInputFile.cpp
Imf_2_5::TiledInputFile::~TiledInputFile()
TiledInputFile::~TiledInputFile () { if (!_data->memoryMapped) for (size_t i = 0; i < _data->tileBuffers.size(); i++) delete [] _data->tileBuffers[i]->buffer; if (_data->_deleteStream) delete _data->_streamData->is; if (_data->partNumber == -1) delete _data->_streamData...
subq $0x48, %rsp movq %rdi, 0x40(%rsp) movq 0x40(%rsp), %rax movq %rax, 0x30(%rsp) leaq 0x2c44aee(%rip), %rcx # 0x340fb58 addq $0x10, %rcx movq %rcx, (%rax) movq 0x8(%rax), %rax testb $0x1, 0x168(%rax) jne 0x7cb0fd movq $0x0, 0x38(%rsp) movq 0x30(%rsp), %rax movq 0x38(%rsp), %rcx movq %rcx, 0x28(%rsp) movq 0x8(%rax),...
/anderslanglands[P]pbrt-v4/src/ext/openexr/OpenEXR/IlmImf/ImfTiledInputFile.cpp
Imf_2_5::TiledInputFile::numXTiles(int) const
int TiledInputFile::numXTiles (int lx) const { if (lx < 0 || lx >= _data->numXLevels) { THROW (IEX_NAMESPACE::ArgExc, "Error calling numXTiles() on image " "file \"" << _data->_streamData->is->fileName() << "\" " "(Argument is not in valid range)."); } return _data->numXTiles...
subq $0x1d8, %rsp # imm = 0x1D8 movq %rdi, 0x1d0(%rsp) movl %esi, 0x1cc(%rsp) movq 0x1d0(%rsp), %rax movq %rax, 0x28(%rsp) cmpl $0x0, 0x1cc(%rsp) jl 0x7cda99 movq 0x28(%rsp), %rcx movl 0x1cc(%rsp), %eax movq 0x8(%rcx), %rcx cmpl 0xbc(%rcx), %eax jl 0x7cdb5b jmp 0x7cda9b callq 0x3284d0 leaq 0x40(%rsp), %rdi c...
/anderslanglands[P]pbrt-v4/src/ext/openexr/OpenEXR/IlmImf/ImfTiledInputFile.cpp
Imf_2_5::(anonymous namespace)::readTileData(Imf_2_5::InputStreamMutex*, Imf_2_5::TiledInputFile::Data*, int, int, int, int, char*&, int&)
void readTileData (InputStreamMutex *streamData, TiledInputFile::Data *ifd, int dx, int dy, int lx, int ly, char *&buffer, int &dataSize) { // // Read a single tile block from the file and into the array pointed // to by buffer. If the file is memory-...
subq $0x3f8, %rsp # imm = 0x3F8 movq 0x408(%rsp), %rax movq 0x400(%rsp), %rax movq %rdi, 0x3f0(%rsp) movq %rsi, 0x3e8(%rsp) movl %edx, 0x3e4(%rsp) movl %ecx, 0x3e0(%rsp) movl %r8d, 0x3dc(%rsp) movl %r9d, 0x3d8(%rsp) movq 0x3e8(%rsp), %rdi addq $0xd8, %rdi movl 0x3e4(%rsp), %esi movl 0x3e0(%rsp), %edx movl 0x...
/anderslanglands[P]pbrt-v4/src/ext/openexr/OpenEXR/IlmImf/ImfTiledInputFile.cpp
Imf_2_5::dataWindowForTile(Imf_2_5::TileDescription const&, int, int, int, int, int, int, int, int)
Box2i dataWindowForTile (const TileDescription &tileDesc, int minX, int maxX, int minY, int maxY, int dx, int dy, int lx, int ly) { V2i tileMin = V2i (minX + dx * tileDesc.xSize, minY + dy * tileDesc.ySize); V2i tileMax = tileMin + V2i (tileDesc.xSize - 1, tileDesc.ySize - 1); ...
subq $0x98, %rsp movq %rdi, 0x30(%rsp) movq %rdi, %rax movq %rax, 0x38(%rsp) movl 0xb8(%rsp), %eax movl 0xb0(%rsp), %eax movl 0xa8(%rsp), %eax movl 0xa0(%rsp), %eax movq %rdi, 0x90(%rsp) movq %rsi, 0x88(%rsp) movl %edx, 0x84(%rsp) movl %ecx, 0x80(%rsp) movl %r8d, 0x7c(%rsp) movl %r9d, 0x78(%rsp) movl 0x84(%rsp), %esi m...
/anderslanglands[P]pbrt-v4/src/ext/openexr/OpenEXR/IlmImf/ImfTiledMisc.cpp
Imf_2_5::(anonymous namespace)::calculateNumXLevels(Imf_2_5::TileDescription const&, int, int, int, int)
int calculateNumXLevels (const TileDescription& tileDesc, int minX, int maxX, int minY, int maxY) { int num = 0; switch (tileDesc.mode) { case ONE_LEVEL: num = 1; break; case MIPMAP_LEVELS: { int w = maxX - minX + 1; int h = maxY - minY + 1; num = roundLog2 (std::ma...
subq $0x38, %rsp movq %rdi, 0x30(%rsp) movl %esi, 0x2c(%rsp) movl %edx, 0x28(%rsp) movl %ecx, 0x24(%rsp) movl %r8d, 0x20(%rsp) movl $0x0, 0x1c(%rsp) movq 0x30(%rsp), %rax movl 0x8(%rax), %eax movl %eax, 0xc(%rsp) testl %eax, %eax je 0x7d1d9a jmp 0x7d1d84 movl 0xc(%rsp), %eax subl $0x1, %eax je 0x7d1da7 jmp 0x7d1d8f mov...
/anderslanglands[P]pbrt-v4/src/ext/openexr/OpenEXR/IlmImf/ImfTiledMisc.cpp
Imf_2_5::(anonymous namespace)::floorLog2(int)
int floorLog2 (int x) { // // For x > 0, floorLog2(y) returns floor(log(x)/log(2)). // int y = 0; while (x > 1) { y += 1; x >>= 1; } return y; }
movl %edi, -0x4(%rsp) movl $0x0, -0x8(%rsp) cmpl $0x1, -0x4(%rsp) jle 0x7d24ba movl -0x8(%rsp), %eax addl $0x1, %eax movl %eax, -0x8(%rsp) movl -0x4(%rsp), %eax sarl %eax movl %eax, -0x4(%rsp) jmp 0x7d249c movl -0x8(%rsp), %eax retq nop
/anderslanglands[P]pbrt-v4/src/ext/openexr/OpenEXR/IlmImf/ImfTiledMisc.cpp
Imf_2_5::TypedAttribute<Imf_2_5::TileDescription>::readValueFrom(Imf_2_5::IStream&, int, int)
void TileDescriptionAttribute::readValueFrom (OPENEXR_IMF_INTERNAL_NAMESPACE::IStream &is, int size, int version) { Xdr::read <StreamIO> (is, _value.xSize); Xdr::read <StreamIO> (is, _value.ySize); unsigned char tmp; Xdr::read <StreamIO> (is, tmp); // // four bits are allocated for...
subq $0x28, %rsp movq %rdi, 0x20(%rsp) movq %rsi, 0x18(%rsp) movl %edx, 0x14(%rsp) movl %ecx, 0x10(%rsp) movq 0x20(%rsp), %rsi movq %rsi, (%rsp) movq 0x18(%rsp), %rdi addq $0x8, %rsi callq 0x7b6660 movq (%rsp), %rsi movq 0x18(%rsp), %rdi addq $0x8, %rsi addq $0x4, %rsi callq 0x7b6660 movq 0x18(%rsp), %rdi leaq 0xf(%rsp...
/anderslanglands[P]pbrt-v4/src/ext/openexr/OpenEXR/IlmImf/ImfTileDescriptionAttribute.cpp
Imf_2_5::TypedAttribute<std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>>::readValueFrom(Imf_2_5::IStream&, int, int)
void StringVectorAttribute::readValueFrom (OPENEXR_IMF_INTERNAL_NAMESPACE::IStream &is, int size, int version) { int read = 0; while (read < size) { int strSize; Xdr::read <StreamIO> (is, strSize); read += Xdr::size<int>(); // check there is enough space remaining in ...
subq $0x78, %rsp movq %rdi, 0x70(%rsp) movq %rsi, 0x68(%rsp) movl %edx, 0x64(%rsp) movl %ecx, 0x60(%rsp) movq 0x70(%rsp), %rax movq %rax, 0x20(%rsp) movl $0x0, 0x5c(%rsp) movl 0x5c(%rsp), %eax cmpl 0x64(%rsp), %eax jge 0x7d8f16 movq 0x68(%rsp), %rdi leaq 0x58(%rsp), %rsi callq 0x484570 callq 0x773730 addl 0x5c(%rsp), %...
/anderslanglands[P]pbrt-v4/src/ext/openexr/OpenEXR/IlmImf/ImfStringVectorAttribute.cpp
Imf_2_5::GenericOutputFile::writeMagicNumberAndVersionField(Imf_2_5::OStream&, Imf_2_5::Header const*, int)
void GenericOutputFile::writeMagicNumberAndVersionField (OPENEXR_IMF_INTERNAL_NAMESPACE::OStream& os, const Header * headers, int parts) { OPENEXR_IMF_INTERNAL_NAMESPACE::Xdr::write <OPENEXR_IMF_INTERNAL_NAMESPAC...
subq $0x28, %rsp movq %rdi, 0x20(%rsp) movq %rsi, 0x18(%rsp) movq %rdx, 0x10(%rsp) movl %ecx, 0xc(%rsp) movq 0x18(%rsp), %rdi movl $0x1312f76, %esi # imm = 0x1312F76 callq 0x4844f0 movl $0x2, 0x8(%rsp) cmpl $0x1, 0xc(%rsp) jne 0x7d90a3 movq 0x10(%rsp), %rdi callq 0x75bc20 movq %rax, %rdi leaq 0x2c7bc5f(%rip), %r...
/anderslanglands[P]pbrt-v4/src/ext/openexr/OpenEXR/IlmImf/ImfGenericOutputFile.cpp
Imf_2_5::MultiPartInputFile::initialize()
void MultiPartInputFile::initialize() { readMagicNumberAndVersionField(*_data->is, _data->version); bool multipart = isMultiPart(_data->version); bool tiled = isTiled(_data->version); // // Multipart files don't have and shouldn't have the tiled bit set. // if (tiled && multipart) ...
subq $0x2f8, %rsp # imm = 0x2F8 movq %rdi, 0x2f0(%rsp) movq 0x2f0(%rsp), %rdi movq %rdi, 0x108(%rsp) movq 0x8(%rdi), %rax movq 0x28(%rax), %rsi movq 0x8(%rdi), %rdx addq $0x38, %rdx callq 0x7e0e80 movq 0x108(%rsp), %rax movq 0x8(%rax), %rax movl 0x38(%rax), %edi callq 0x769cd0 movb %al, %cl movq 0x108(%rsp),...
/anderslanglands[P]pbrt-v4/src/ext/openexr/OpenEXR/IlmImf/ImfMultiPartInputFile.cpp
Imf_2_5::MultiPartInputFile::~MultiPartInputFile()
MultiPartInputFile::~MultiPartInputFile() { for (map<int, GenericInputFile*>::iterator it = _data->_inputFiles.begin(); it != _data->_inputFiles.end(); it++) { delete it->second; } delete _data; }
subq $0x38, %rsp movq %rdi, 0x30(%rsp) movq 0x30(%rsp), %rax movq %rax, 0x10(%rsp) leaq 0x2c356fe(%rip), %rcx # 0x340fc68 addq $0x10, %rcx movq %rcx, (%rax) movq 0x8(%rax), %rdi addq $0x60, %rdi callq 0x7dcc60 movq %rax, 0x28(%rsp) movq 0x10(%rsp), %rax movq 0x8(%rax), %rdi addq $0x60, %rdi callq 0x7dc2a0 movq %rax, ...
/anderslanglands[P]pbrt-v4/src/ext/openexr/OpenEXR/IlmImf/ImfMultiPartInputFile.cpp
Imf_2_5::MultiPartInputFile::Data::readChunkOffsetTables(bool)
void MultiPartInputFile::Data::readChunkOffsetTables(bool reconstructChunkOffsetTable) { bool brokenPartsExist = false; for (size_t i = 0; i < parts.size(); i++) { int chunkOffsetTableSize = getChunkOffsetTableSize(parts[i]->header); parts[i]->chunkOffsets.resize(chunkOffsetTableSize); ...
subq $0x48, %rsp movb %sil, %al movq %rdi, 0x40(%rsp) andb $0x1, %al movb %al, 0x3f(%rsp) movq 0x40(%rsp), %rax movq %rax, 0x18(%rsp) movb $0x0, 0x3e(%rsp) movq $0x0, 0x30(%rsp) movq 0x18(%rsp), %rdi movq 0x30(%rsp), %rax movq %rax, 0x10(%rsp) addq $0x40, %rdi callq 0x7dce50 movq %rax, %rcx movq 0x10(%rsp), %rax cmpq %...
/anderslanglands[P]pbrt-v4/src/ext/openexr/OpenEXR/IlmImf/ImfMultiPartInputFile.cpp
Imf_2_5::MultiPartInputFile::Data::createTileOffsets(Imf_2_5::Header const&)
TileOffsets* MultiPartInputFile::Data::createTileOffsets(const Header& header) { // // Get the dataWindow information // const Box2i &dataWindow = header.dataWindow(); int minX = dataWindow.min.x; int maxX = dataWindow.max.x; int minY = dataWindow.min.y; int maxY = dataWindow.max.y; ...
subq $0xb8, %rsp movq %rdi, 0xb0(%rsp) movq %rsi, 0xa8(%rsp) movq 0xa8(%rsp), %rdi callq 0x75b4f0 movq %rax, 0xa0(%rsp) movq 0xa0(%rsp), %rax movl (%rax), %eax movl %eax, 0x9c(%rsp) movq 0xa0(%rsp), %rax movl 0x8(%rax), %eax movl %eax, 0x98(%rsp) movq 0xa0(%rsp), %rax movl 0x4(%rax), %eax movl %eax, 0x94(%rsp) movq 0xa...
/anderslanglands[P]pbrt-v4/src/ext/openexr/OpenEXR/IlmImf/ImfMultiPartInputFile.cpp
Imf_2_5::TiledInputFile* Imf_2_5::MultiPartInputFile::getInputPart<Imf_2_5::TiledInputFile>(int)
T* MultiPartInputFile::getInputPart(int partNumber) { Lock lock(*_data); if (_data->_inputFiles.find(partNumber) == _data->_inputFiles.end()) { T* file = new T(_data->getPart(partNumber)); _data->_inputFiles.insert(std::make_pair(partNumber, (GenericInputFile*) file)); ...
subq $0xd8, %rsp movq %rdi, 0xc8(%rsp) movl %esi, 0xc4(%rsp) movq 0xc8(%rsp), %rax movq %rax, 0x48(%rsp) movq 0x8(%rax), %rsi leaq 0xb0(%rsp), %rdi movl $0x1, %edx callq 0x754f40 movq 0x48(%rsp), %rax movq 0x8(%rax), %rdi addq $0x60, %rdi leaq 0xc4(%rsp), %rsi callq 0x7dc270 movq %rax, 0x50(%rsp) jmp 0x7dc49a movq 0x48...
/anderslanglands[P]pbrt-v4/src/ext/openexr/OpenEXR/IlmImf/ImfMultiPartInputFile.cpp
Imf_2_5::DeepScanLineInputFile* Imf_2_5::MultiPartInputFile::getInputPart<Imf_2_5::DeepScanLineInputFile>(int)
T* MultiPartInputFile::getInputPart(int partNumber) { Lock lock(*_data); if (_data->_inputFiles.find(partNumber) == _data->_inputFiles.end()) { T* file = new T(_data->getPart(partNumber)); _data->_inputFiles.insert(std::make_pair(partNumber, (GenericInputFile*) file)); ...
subq $0xd8, %rsp movq %rdi, 0xc8(%rsp) movl %esi, 0xc4(%rsp) movq 0xc8(%rsp), %rax movq %rax, 0x48(%rsp) movq 0x8(%rax), %rsi leaq 0xb0(%rsp), %rdi movl $0x1, %edx callq 0x754f40 movq 0x48(%rsp), %rax movq 0x8(%rax), %rdi addq $0x60, %rdi leaq 0xc4(%rsp), %rsi callq 0x7dc270 movq %rax, 0x50(%rsp) jmp 0x7dc6ca movq 0x48...
/anderslanglands[P]pbrt-v4/src/ext/openexr/OpenEXR/IlmImf/ImfMultiPartInputFile.cpp
Imf_2_5::DeepTiledInputFile* Imf_2_5::MultiPartInputFile::getInputPart<Imf_2_5::DeepTiledInputFile>(int)
T* MultiPartInputFile::getInputPart(int partNumber) { Lock lock(*_data); if (_data->_inputFiles.find(partNumber) == _data->_inputFiles.end()) { T* file = new T(_data->getPart(partNumber)); _data->_inputFiles.insert(std::make_pair(partNumber, (GenericInputFile*) file)); ...
subq $0xd8, %rsp movq %rdi, 0xc8(%rsp) movl %esi, 0xc4(%rsp) movq 0xc8(%rsp), %rax movq %rax, 0x48(%rsp) movq 0x8(%rax), %rsi leaq 0xb0(%rsp), %rdi movl $0x1, %edx callq 0x754f40 movq 0x48(%rsp), %rax movq 0x8(%rax), %rdi addq $0x60, %rdi leaq 0xc4(%rsp), %rsi callq 0x7dc270 movq %rax, 0x50(%rsp) jmp 0x7dc8fa movq 0x48...
/anderslanglands[P]pbrt-v4/src/ext/openexr/OpenEXR/IlmImf/ImfMultiPartInputFile.cpp
Imf_2_5::MultiPartInputFile::Data::Data(bool, int, bool)
Data (bool deleteStream, int numThreads, bool reconstructChunkOffsetTable): InputStreamMutex(), deleteStream (deleteStream), numThreads (numThreads), reconstructChunkOffsetTable(reconstructChunkOffsetTable) { }
subq $0x28, %rsp movb %cl, %al movb %sil, %cl movq %rdi, 0x20(%rsp) andb $0x1, %cl movb %cl, 0x1f(%rsp) movl %edx, 0x18(%rsp) andb $0x1, %al movb %al, 0x17(%rsp) movq 0x20(%rsp), %rdi movq %rdi, 0x8(%rsp) callq 0x769cf0 movq 0x8(%rsp), %rdi movb 0x1f(%rsp), %al andb $0x1, %al movb %al, 0x3c(%rdi) addq $0x40, %rdi callq...
/anderslanglands[P]pbrt-v4/src/ext/openexr/OpenEXR/IlmImf/ImfMultiPartInputFile.cpp
Imf_2_5::MultiPartInputFile::Data::~Data()
~Data() { if (deleteStream) delete is; for (size_t i = 0; i < parts.size(); i++) delete parts[i]; }
subq $0x38, %rsp movq %rdi, 0x30(%rsp) movq 0x30(%rsp), %rax movq %rax, 0x20(%rsp) testb $0x1, 0x3c(%rax) je 0x7dcb8a movq 0x20(%rsp), %rax movq 0x28(%rax), %rax movq %rax, 0x18(%rsp) cmpq $0x0, %rax je 0x7dcb88 movq 0x18(%rsp), %rdi movq (%rdi), %rax callq *0x8(%rax) jmp 0x7dcb8a movq $0x0, 0x28(%rsp) movq 0x20(%rsp),...
/anderslanglands[P]pbrt-v4/src/ext/openexr/OpenEXR/IlmImf/ImfMultiPartInputFile.cpp
Imf_2_5::GenericInputFile::readMagicNumberAndVersionField(Imf_2_5::IStream&, int&)
void GenericInputFile::readMagicNumberAndVersionField(OPENEXR_IMF_INTERNAL_NAMESPACE::IStream& is, int& version) { // // Read the magic number and the file format version number. // Then check if we can read the rest of this file. // int magic; OPENEXR_IMF_INTERNAL_NAMESPACE::Xdr::read <OPENEX...
subq $0x388, %rsp # imm = 0x388 movq %rdi, 0x380(%rsp) movq %rsi, 0x378(%rsp) movq %rdx, 0x370(%rsp) movq 0x378(%rsp), %rdi leaq 0x36c(%rsp), %rsi callq 0x484570 movq 0x378(%rsp), %rdi movq 0x370(%rsp), %rsi callq 0x484570 cmpl $0x1312f76, 0x36c(%rsp) # imm = 0x1312F76 je 0x7e0f0c movl $0x48, %edi callq 0x32...
/anderslanglands[P]pbrt-v4/src/ext/openexr/OpenEXR/IlmImf/ImfGenericInputFile.cpp
Imf_2_5::DeepScanLineInputFile::Data::Data(int)
DeepScanLineInputFile::Data::Data (int numThreads): partNumber(-1), numThreads(numThreads), multiPartBackwardSupport(false), multiPartFile(NULL), memoryMapped(false), frameBufferValid(false), _streamData(NULL), _deleteStream(false) { // // We need ...
subq $0xb8, %rsp movq %rdi, 0xb0(%rsp) movl %esi, 0xac(%rsp) movq 0xb0(%rsp), %rdi movq %rdi, 0x70(%rsp) callq 0x355d10 movq 0x70(%rsp), %rax addq $0x28, %rax movq %rax, 0x60(%rsp) leaq 0xa4(%rsp), %rdi movq %rdi, 0x68(%rsp) xorps %xmm1, %xmm1 movaps %xmm1, %xmm0 callq 0x468a80 movq 0x60(%rsp), %rdi movq 0x68(%rsp), %r...
/anderslanglands[P]pbrt-v4/src/ext/openexr/OpenEXR/IlmImf/ImfDeepScanLineInputFile.cpp
Imf_2_5::DeepScanLineInputFile::initialize(Imf_2_5::Header const&)
void DeepScanLineInputFile::initialize(const Header& header) { try { if (header.type() != DEEPSCANLINE) throw IEX_NAMESPACE::ArgExc("Can't build a DeepScanLineInputFile from " "a type-mismatched part."); if(header.version()!=1) { THROW(IEX_NAM...
subq $0x478, %rsp # imm = 0x478 movq %rdi, 0x470(%rsp) movq %rsi, 0x468(%rsp) movq 0x470(%rsp), %rax movq %rax, 0xf0(%rsp) movq 0x468(%rsp), %rdi callq 0x75bc20 movq %rax, 0xf8(%rsp) jmp 0x7e1b7e movq 0xf8(%rsp), %rdi leaq 0x2c7331b(%rip), %rsi # 0x3454ea8 callq 0x444010 testb $0x1, %al jne 0x7e1b98 jmp 0x...
/anderslanglands[P]pbrt-v4/src/ext/openexr/OpenEXR/IlmImf/ImfDeepScanLineInputFile.cpp
Imf_2_5::(anonymous namespace)::LineBuffer::LineBuffer()
LineBuffer::LineBuffer (): uncompressedData (0), buffer (0), packedDataSize (0), compressor (0), format (defaultFormat(compressor)), number (-1), hasException (false), exception (), _sem (1) { // empty }
subq $0x28, %rsp movq %rdi, 0x20(%rsp) movq 0x20(%rsp), %rax movq %rax, 0x8(%rsp) movq $0x0, (%rax) movq $0x0, 0x8(%rax) movq $0x0, 0x10(%rax) movq $0x0, 0x28(%rax) movq 0x28(%rax), %rdi callq 0x7adaf0 movq 0x8(%rsp), %rdi movl %eax, 0x30(%rdi) movl $0xffffffff, 0x34(%rdi) # imm = 0xFFFFFFFF movb $0x0, 0x38(%rdi) addq ...
/anderslanglands[P]pbrt-v4/src/ext/openexr/OpenEXR/IlmImf/ImfDeepScanLineInputFile.cpp
Imf_2_5::DeepScanLineInputFile::DeepScanLineInputFile(char const*, int)
DeepScanLineInputFile::DeepScanLineInputFile (const char fileName[], int numThreads) : _data (new Data (numThreads)) { _data->_deleteStream = true; OPENEXR_IMF_INTERNAL_NAMESPACE::IStream* is = 0; try { is = new StdIFStream (fileName); readMagicNumberAndVersionField(*is, _data-...
subq $0x408, %rsp # imm = 0x408 movq %rdi, 0x400(%rsp) movq %rsi, 0x3f8(%rsp) movl %edx, 0x3f4(%rsp) movq 0x400(%rsp), %rdi movq %rdi, 0xa0(%rsp) callq 0x7e0e60 movq 0xa0(%rsp), %rax leaq 0x2c2d57e(%rip), %rcx # 0x340fcd0 addq $0x10, %rcx movq %rcx, (%rax) addq $0x8, %rax movq %rax, 0xa8(%rsp) movl $0x208,...
/anderslanglands[P]pbrt-v4/src/ext/openexr/OpenEXR/IlmImf/ImfDeepScanLineInputFile.cpp
Imf_2_5::DeepScanLineInputFile::compatibilityInitialize(Imf_2_5::IStream&)
void DeepScanLineInputFile::compatibilityInitialize(OPENEXR_IMF_INTERNAL_NAMESPACE::IStream& is) { is.seekg(0); // // Construct a MultiPartInputFile, initialize TiledInputFile // with the part 0 data. // (TODO) maybe change the third parameter of the constructor of MultiPartInputFile later. // ...
subq $0x38, %rsp movq %rdi, 0x30(%rsp) movq %rsi, 0x28(%rsp) movq 0x30(%rsp), %rax movq %rax, (%rsp) movq 0x28(%rsp), %rdi movq (%rdi), %rax movq 0x30(%rax), %rax xorl %ecx, %ecx movl %ecx, %esi callq *%rax movq (%rsp), %rax movq 0x8(%rax), %rax movb $0x1, 0x174(%rax) movl $0x10, %edi callq 0x3273b0 movq %rax, %rdi mov...
/anderslanglands[P]pbrt-v4/src/ext/openexr/OpenEXR/IlmImf/ImfDeepScanLineInputFile.cpp
Imf_2_5::(anonymous namespace)::readLineOffsets(Imf_2_5::IStream&, Imf_2_5::LineOrder, std::vector<unsigned long, std::allocator<unsigned long>>&, bool&)
void readLineOffsets (OPENEXR_IMF_INTERNAL_NAMESPACE::IStream &is, LineOrder lineOrder, vector<Int64> &lineOffsets, bool &complete) { for (unsigned int i = 0; i < lineOffsets.size(); i++) { OPENEXR_IMF_INTERNAL_NAMESPACE::Xdr::read <OPENEXR_IMF_INTERNAL...
subq $0x48, %rsp movq %rdi, 0x40(%rsp) movl %esi, 0x3c(%rsp) movq %rdx, 0x30(%rsp) movq %rcx, 0x28(%rsp) movl $0x0, 0x24(%rsp) movl 0x24(%rsp), %eax movq %rax, 0x18(%rsp) movq 0x30(%rsp), %rdi callq 0x355cf0 movq %rax, %rcx movq 0x18(%rsp), %rax cmpq %rcx, %rax jae 0x7e3033 movq 0x40(%rsp), %rax movq %rax, 0x10(%rsp) m...
/anderslanglands[P]pbrt-v4/src/ext/openexr/OpenEXR/IlmImf/ImfDeepScanLineInputFile.cpp
Imf_2_5::DeepScanLineInputFile::~DeepScanLineInputFile()
DeepScanLineInputFile::~DeepScanLineInputFile () { if (_data->_deleteStream) delete _data->_streamData->is; if (_data) { if (!_data->memoryMapped) for (size_t i = 0; i < _data->lineBuffers.size(); i++) delete [] _data->lineBuffers[i]->buffer; // ...
subq $0x48, %rsp movq %rdi, 0x40(%rsp) movq 0x40(%rsp), %rax movq %rax, 0x30(%rsp) leaq 0x2c2c996(%rip), %rcx # 0x340fcd0 addq $0x10, %rcx movq %rcx, (%rax) movq 0x8(%rax), %rax testb $0x1, 0x200(%rax) je 0x7e337a movq 0x30(%rsp), %rax movq 0x8(%rax), %rax movq 0x1f8(%rax), %rax movq 0x28(%rax), %rax movq %rax, 0x28(...
/anderslanglands[P]pbrt-v4/src/ext/openexr/OpenEXR/IlmImf/ImfDeepScanLineInputFile.cpp
Imf_2_5::DeepScanLineInputFile::~DeepScanLineInputFile()
DeepScanLineInputFile::~DeepScanLineInputFile () { if (_data->_deleteStream) delete _data->_streamData->is; if (_data) { if (!_data->memoryMapped) for (size_t i = 0; i < _data->lineBuffers.size(); i++) delete [] _data->lineBuffers[i]->buffer; // ...
subq $0x18, %rsp movq %rdi, 0x10(%rsp) movq 0x10(%rsp), %rdi movq %rdi, 0x8(%rsp) callq 0x7e3320 movq 0x8(%rsp), %rdi movl $0x10, %esi callq 0x327290 addq $0x18, %rsp retq nopl (%rax)
/anderslanglands[P]pbrt-v4/src/ext/openexr/OpenEXR/IlmImf/ImfDeepScanLineInputFile.cpp
Imf_2_5::(anonymous namespace)::newLineBufferTask(IlmThread_2_5::TaskGroup*, Imf_2_5::DeepScanLineInputFile::Data*, int, int, int)
LineBufferTask * newLineBufferTask (TaskGroup *group, DeepScanLineInputFile::Data *ifd, int number, int scanLineMin, int scanLineMax) { // // Wait for a line buffer to become available, fill the line // buffer with raw data from the file if necessary, and create // a new LineBuff...
subq $0x48, %rsp movq %rdi, 0x40(%rsp) movq %rsi, 0x38(%rsp) movl %edx, 0x34(%rsp) movl %ecx, 0x30(%rsp) movl %r8d, 0x2c(%rsp) movq 0x38(%rsp), %rdi movl 0x34(%rsp), %esi callq 0x7e7ca0 movq %rax, 0x20(%rsp) movq 0x20(%rsp), %rdi callq 0x7e7d00 jmp 0x7e4e2a movq 0x20(%rsp), %rax movl 0x34(%rax), %eax cmpl 0x34(%rsp), %...
/anderslanglands[P]pbrt-v4/src/ext/openexr/OpenEXR/IlmImf/ImfDeepScanLineInputFile.cpp
Imf_2_5::DeepScanLineInputFile::rawPixelData(int, char*, unsigned long&)
void DeepScanLineInputFile::rawPixelData (int firstScanLine, char *pixelData, Int64 &pixelDataSize) { int minY = lineBufferMinY (firstScanLine, _data->minY, _data->linesInBuffer); int lineBufferNumber = (minY - _data->minY) /...
subq $0x3f8, %rsp # imm = 0x3F8 movq %rdi, 0x3f0(%rsp) movl %esi, 0x3ec(%rsp) movq %rdx, 0x3e0(%rsp) movq %rcx, 0x3d8(%rsp) movq 0x3f0(%rsp), %rax movq %rax, 0x68(%rsp) movl 0x3ec(%rsp), %edi movq 0x8(%rax), %rcx movl 0xdc(%rcx), %esi movq 0x8(%rax), %rax movl 0x168(%rax), %edx callq 0x7ada90 movq 0x68(%rsp)...
/anderslanglands[P]pbrt-v4/src/ext/openexr/OpenEXR/IlmImf/ImfDeepScanLineInputFile.cpp
Imf_2_5::DeepScanLineInputFile::readPixelSampleCounts(int, int)
void DeepScanLineInputFile::readPixelSampleCounts (int scanline1, int scanline2) { Int64 savedFilePos = 0; if(!_data->frameBufferValid) { throw IEX_NAMESPACE::ArgExc("readPixelSampleCounts called with no valid frame buffer"); } try { Lock lock (*_data->_streamData); ...
subq $0x248, %rsp # imm = 0x248 movq %rdi, 0x240(%rsp) movl %esi, 0x23c(%rsp) movl %edx, 0x238(%rsp) movq 0x240(%rsp), %rax movq %rax, 0x60(%rsp) movq $0x0, 0x230(%rsp) movq 0x8(%rax), %rax testb $0x1, 0x1d0(%rax) jne 0x7e6829 movl $0x48, %edi callq 0x327860 movq %rax, %rdi movq %rdi, 0x58(%rsp) leaq 0x2b110...
/anderslanglands[P]pbrt-v4/src/ext/openexr/OpenEXR/IlmImf/ImfDeepScanLineInputFile.cpp
Imf_2_5::(anonymous namespace)::fillSampleCountFromCache(int, Imf_2_5::DeepScanLineInputFile::Data*)
void fillSampleCountFromCache(int y, DeepScanLineInputFile::Data* data) { int yInDataWindow = y - data->minY; char* base = data->sampleCountSliceBase; int xStride = data->sampleCountXStride; int yStride = data->sampleCountYStride; for (int x = data->minX; x <= data->maxX; x++) { uns...
subq $0x38, %rsp movl %edi, 0x34(%rsp) movq %rsi, 0x28(%rsp) movl 0x34(%rsp), %eax movq 0x28(%rsp), %rcx subl 0xdc(%rcx), %eax movl %eax, 0x24(%rsp) movq 0x28(%rsp), %rax movq 0x1c0(%rax), %rax movq %rax, 0x18(%rsp) movq 0x28(%rsp), %rax movl 0x1c8(%rax), %eax movl %eax, 0x14(%rsp) movq 0x28(%rsp), %rax movl 0x1cc(%rax...
/anderslanglands[P]pbrt-v4/src/ext/openexr/OpenEXR/IlmImf/ImfDeepScanLineInputFile.cpp
Imf_2_5::(anonymous namespace)::reconstructLineOffsets(Imf_2_5::IStream&, Imf_2_5::LineOrder, std::vector<unsigned long, std::allocator<unsigned long>>&)
void reconstructLineOffsets (OPENEXR_IMF_INTERNAL_NAMESPACE::IStream &is, LineOrder lineOrder, vector<Int64> &lineOffsets) { Int64 position = is.tellg(); try { for (unsigned int i = 0; i < lineOffsets.size(); i++) { Int64 lineOffse...
subq $0x78, %rsp movq %rdi, 0x70(%rsp) movl %esi, 0x6c(%rsp) movq %rdx, 0x60(%rsp) movq 0x70(%rsp), %rdi movq (%rdi), %rax callq *0x28(%rax) movq %rax, 0x58(%rsp) movl $0x0, 0x54(%rsp) movl 0x54(%rsp), %eax movq %rax, 0x20(%rsp) movq 0x60(%rsp), %rdi callq 0x355cf0 movq %rax, %rcx movq 0x20(%rsp), %rax cmpq %rcx, %rax ...
/anderslanglands[P]pbrt-v4/src/ext/openexr/OpenEXR/IlmImf/ImfDeepScanLineInputFile.cpp
Imf_2_5::(anonymous namespace)::LineBufferTask::execute()
void LineBufferTask::execute () { try { // // Uncompress the data, if necessary // if (_lineBuffer->uncompressedData == 0) { Int64 uncompressedSize = 0; int maxY = min (_lineBuffer->maxY, _ifd->maxY); for (int i = _lineBuffer->minY - ...
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x140, %rsp # imm = 0x140 movq %rdi, 0x138(%rsp) movq 0x138(%rsp), %rax movq %rax, 0xc8(%rsp) movq 0x18(%rax), %rax cmpq $0x0, (%rax) jne 0x7e88f5 movq 0xc8(%rsp), %rax movq $0x0, 0x130(%rsp) movq 0x18(%rax), %rdi addq $0x24, %rdi movq 0x10(%rax), ...
/anderslanglands[P]pbrt-v4/src/ext/openexr/OpenEXR/IlmImf/ImfDeepScanLineInputFile.cpp
Imf_2_5::DeepTiledInputFile::Data::Data(int)
DeepTiledInputFile::Data::Data (int numThreads): numXTiles (0), numYTiles (0), partNumber (-1), multiPartBackwardSupport(false), numThreads(numThreads), memoryMapped(false), sampleCountTableComp(nullptr), _streamData(nullptr), _deleteStream(false) { // // We need at least one...
subq $0x88, %rsp movq %rdi, 0x80(%rsp) movl %esi, 0x7c(%rsp) movq 0x80(%rsp), %rdi movq %rdi, 0x50(%rsp) callq 0x355d10 movq 0x50(%rsp), %rax addq $0x28, %rax movq %rax, 0x40(%rsp) leaq 0x74(%rsp), %rdi movq %rdi, 0x48(%rsp) xorps %xmm1, %xmm1 movaps %xmm1, %xmm0 callq 0x468a80 movq 0x40(%rsp), %rdi movq 0x48(%rsp), %r...
/anderslanglands[P]pbrt-v4/src/ext/openexr/OpenEXR/IlmImf/ImfDeepTiledInputFile.cpp
Imf_2_5::DeepTiledInputFile::DeepTiledInputFile(char const*, int)
DeepTiledInputFile::DeepTiledInputFile (const char fileName[], int numThreads): _data (new Data (numThreads)) { _data->_deleteStream=true; // // This constructor is called when a user // explicitly wants to read a tiled file. // IStream* is = 0; try { is = new StdIFStream (f...
subq $0x248, %rsp # imm = 0x248 movq %rdi, 0x240(%rsp) movq %rsi, 0x238(%rsp) movl %edx, 0x234(%rsp) movq 0x240(%rsp), %rdi movq %rdi, 0x70(%rsp) callq 0x7e0e60 movq 0x70(%rsp), %rax leaq 0x2c23b0c(%rip), %rcx # 0x340fd48 addq $0x10, %rcx movq %rcx, (%rax) addq $0x8, %rax movq %rax, 0x78(%rsp) movl $0x1e8,...
/anderslanglands[P]pbrt-v4/src/ext/openexr/OpenEXR/IlmImf/ImfDeepTiledInputFile.cpp
Imf_2_5::DeepTiledInputFile::compatibilityInitialize(Imf_2_5::IStream&)
void DeepTiledInputFile::compatibilityInitialize(OPENEXR_IMF_INTERNAL_NAMESPACE::IStream& is) { is.seekg(0); // // Construct a MultiPartInputFile, initialize TiledInputFile // with the part 0 data. // (TODO) maybe change the third parameter of the constructor of MultiPartInputFile later. // ...
subq $0x38, %rsp movq %rdi, 0x30(%rsp) movq %rsi, 0x28(%rsp) movq 0x30(%rsp), %rax movq %rax, (%rsp) movq 0x28(%rsp), %rdi movq (%rdi), %rax movq 0x30(%rax), %rax xorl %ecx, %ecx movl %ecx, %esi callq *%rax movl $0x10, %edi callq 0x3273b0 movq %rax, %rdi movq (%rsp), %rax movq %rdi, %rcx movq %rcx, 0x8(%rsp) movq 0x28(...
/anderslanglands[P]pbrt-v4/src/ext/openexr/OpenEXR/IlmImf/ImfDeepTiledInputFile.cpp
Imf_2_5::DeepTiledInputFile::initialize()
void DeepTiledInputFile::initialize () { if (_data->partNumber == -1) if (_data->header.type() != DEEPTILE) throw IEX_NAMESPACE::ArgExc ("Expected a deep tiled file but the file is not deep tiled."); if(_data->header.version()!=1) { THROW(IEX_NAMESPACE::ArgExc, "Version " << _data->...
subq $0x408, %rsp # imm = 0x408 movq %rdi, 0x400(%rsp) movq 0x400(%rsp), %rax movq %rax, 0x80(%rsp) movq 0x8(%rax), %rax cmpl $-0x1, 0x158(%rax) jne 0x7ec91e movq 0x80(%rsp), %rax movq 0x8(%rax), %rdi addq $0x28, %rdi callq 0x75bc00 movq %rax, %rdi leaq 0x2c68675(%rip), %rsi # 0x3454f50 callq 0x444010 test...
/anderslanglands[P]pbrt-v4/src/ext/openexr/OpenEXR/IlmImf/ImfDeepTiledInputFile.cpp
Imf_2_5::DeepTiledInputFile::DeepTiledInputFile(Imf_2_5::Header const&, Imf_2_5::IStream*, int, int)
DeepTiledInputFile::DeepTiledInputFile (const Header &header, OPENEXR_IMF_INTERNAL_NAMESPACE::IStream *is, int version, int numThreads) : _data (new Data (numThreads)) { _data->_streamDat...
subq $0x58, %rsp movq %rdi, 0x50(%rsp) movq %rsi, 0x48(%rsp) movq %rdx, 0x40(%rsp) movl %ecx, 0x3c(%rsp) movl %r8d, 0x38(%rsp) movq 0x50(%rsp), %rdi movq %rdi, 0x10(%rsp) callq 0x7e0e60 movq 0x10(%rsp), %rax leaq 0x2c22861(%rip), %rcx # 0x340fd48 addq $0x10, %rcx movq %rcx, (%rax) addq $0x8, %rax movq %rax, 0x18(%rsp...
/anderslanglands[P]pbrt-v4/src/ext/openexr/OpenEXR/IlmImf/ImfDeepTiledInputFile.cpp
Imf_2_5::DeepTiledInputFile::multiPartInitialize(Imf_2_5::InputPartData*)
void DeepTiledInputFile::multiPartInitialize(InputPartData* part) { if (isTiled(part->header.type()) == false) THROW (IEX_NAMESPACE::ArgExc, "Can't build a DeepTiledInputFile from a part of type " << part->header.type()); _data->_streamData = part->mutex; _data->header = part->header; _data->ve...
subq $0x1f8, %rsp # imm = 0x1F8 movq %rdi, 0x1f0(%rsp) movq %rsi, 0x1e8(%rsp) movq 0x1f0(%rsp), %rax movq %rax, 0x30(%rsp) movq 0x1e8(%rsp), %rdi callq 0x75bc00 movq %rax, %rdi callq 0x7e1160 andb $0x1, %al movzbl %al, %eax cmpl $0x0, %eax jne 0x7ed88b jmp 0x7ed7e9 callq 0x3284d0 leaq 0x60(%rsp), %rdi callq ...
/anderslanglands[P]pbrt-v4/src/ext/openexr/OpenEXR/IlmImf/ImfDeepTiledInputFile.cpp
Imf_2_5::DeepTiledInputFile::~DeepTiledInputFile()
DeepTiledInputFile::~DeepTiledInputFile () { if (!_data->memoryMapped) for (size_t i = 0; i < _data->tileBuffers.size(); i++) if (_data->tileBuffers[i]->buffer != 0) delete [] _data->tileBuffers[i]->buffer; if (_data->_deleteStream) delete _data->_streamData->is; ...
subq $0x48, %rsp movq %rdi, 0x40(%rsp) movq 0x40(%rsp), %rax movq %rax, 0x30(%rsp) leaq 0x2c2225e(%rip), %rcx # 0x340fd48 addq $0x10, %rcx movq %rcx, (%rax) movq 0x8(%rax), %rax testb $0x1, 0x188(%rax) jne 0x7edbaa movq $0x0, 0x38(%rsp) movq 0x30(%rsp), %rax movq 0x38(%rsp), %rcx movq %rcx, 0x28(%rsp) movq 0x8(%rax),...
/anderslanglands[P]pbrt-v4/src/ext/openexr/OpenEXR/IlmImf/ImfDeepTiledInputFile.cpp
Imf_2_5::DeepTiledInputFile::setFrameBuffer(Imf_2_5::DeepFrameBuffer const&)
void DeepTiledInputFile::setFrameBuffer (const DeepFrameBuffer &frameBuffer) { Lock lock (*_data->_streamData); // // Set the frame buffer // // // Check if the new frame buffer descriptor is // compatible with the image file header. // const ChannelList &channels = _data->header....
pushq %rbp pushq %rbx subq $0x4c8, %rsp # imm = 0x4C8 movq %rdi, 0x4c0(%rsp) movq %rsi, 0x4b8(%rsp) movq 0x4c0(%rsp), %rax movq %rax, 0x258(%rsp) movq 0x8(%rax), %rax movq 0x1d8(%rax), %rsi leaq 0x4a8(%rsp), %rdi movl $0x1, %edx callq 0x754f40 movq 0x258(%rsp), %rax movq 0x8(%rax), %rdi addq $0x28, %rdi call...
/anderslanglands[P]pbrt-v4/src/ext/openexr/OpenEXR/IlmImf/ImfDeepTiledInputFile.cpp
Imf_2_5::DeepTiledInputFile::readTiles(int, int, int, int, int, int)
void DeepTiledInputFile::readTiles (int dx1, int dx2, int dy1, int dy2, int lx, int ly) { // // Read a range of tiles from the file into the framebuffer // try { Lock lock (*_data->_streamData); if (_data->slices.size() == 0) throw IEX_NAMESPACE::ArgExc ("No frame buffe...
subq $0x5f8, %rsp # imm = 0x5F8 movl 0x600(%rsp), %eax movq %rdi, 0x5f0(%rsp) movl %esi, 0x5ec(%rsp) movl %edx, 0x5e8(%rsp) movl %ecx, 0x5e4(%rsp) movl %r8d, 0x5e0(%rsp) movl %r9d, 0x5dc(%rsp) movq 0x5f0(%rsp), %rax movq %rax, 0xd0(%rsp) movq 0x8(%rax), %rax movq 0x1d8(%rax), %rsi leaq 0x5c8(%rsp), %rdi movl...
/anderslanglands[P]pbrt-v4/src/ext/openexr/OpenEXR/IlmImf/ImfDeepTiledInputFile.cpp
Imf_2_5::DeepTiledInputFile::levelWidth(int) const
int DeepTiledInputFile::levelWidth (int lx) const { try { return levelSize (_data->minX, _data->maxX, lx, _data->tileDesc.roundingMode); } catch (IEX_NAMESPACE::BaseExc &e) { REPLACE_EXC (e, "Error calling levelWidth() on image " "file \...
subq $0x1e8, %rsp # imm = 0x1E8 movq %rdi, 0x1e0(%rsp) movl %esi, 0x1dc(%rsp) movq 0x1e0(%rsp), %rax movq %rax, 0x28(%rsp) movq 0x8(%rax), %rax movl 0x6c(%rax), %ecx movl 0xe4(%rax), %edi movl 0xe8(%rax), %esi movl 0x1dc(%rsp), %edx callq 0x7d1670 movl %eax, 0x34(%rsp) jmp 0x7f05e8 movl 0x34(%rsp), %eax addq...
/anderslanglands[P]pbrt-v4/src/ext/openexr/OpenEXR/IlmImf/ImfDeepTiledInputFile.cpp
Imf_2_5::DeepTiledInputFile::levelHeight(int) const
int DeepTiledInputFile::levelHeight (int ly) const { try { return levelSize (_data->minY, _data->maxY, ly, _data->tileDesc.roundingMode); } catch (IEX_NAMESPACE::BaseExc &e) { REPLACE_EXC (e, "Error calling levelHeight() on image " "file...
subq $0x1e8, %rsp # imm = 0x1E8 movq %rdi, 0x1e0(%rsp) movl %esi, 0x1dc(%rsp) movq 0x1e0(%rsp), %rax movq %rax, 0x28(%rsp) movq 0x8(%rax), %rax movl 0x6c(%rax), %ecx movl 0xec(%rax), %edi movl 0xf0(%rax), %esi movl 0x1dc(%rsp), %edx callq 0x7d1670 movl %eax, 0x34(%rsp) jmp 0x7f0778 movl 0x34(%rsp), %eax addq...
/anderslanglands[P]pbrt-v4/src/ext/openexr/OpenEXR/IlmImf/ImfDeepTiledInputFile.cpp
Imf_2_5::DeepTiledInputFile::dataWindowForLevel(int, int) const
Box2i DeepTiledInputFile::dataWindowForLevel (int lx, int ly) const { try { return OPENEXR_IMF_INTERNAL_NAMESPACE::dataWindowForLevel ( _data->tileDesc, _data->minX, _data->maxX, _data->minY, _data->maxY, lx, ly); } catch (IEX_NAMES...
subq $0x1f8, %rsp # imm = 0x1F8 movq %rdi, %rax movq %rax, 0x30(%rsp) movq %rdi, 0x1f0(%rsp) movq %rsi, 0x1e8(%rsp) movl %edx, 0x1e4(%rsp) movl %ecx, 0x1e0(%rsp) movq 0x1e8(%rsp), %rax movq %rax, 0x38(%rsp) movq 0x8(%rax), %rax movq %rax, %rsi addq $0x60, %rsi movl 0xe4(%rax), %edx movl 0xe8(%rax), %ecx movl...
/anderslanglands[P]pbrt-v4/src/ext/openexr/OpenEXR/IlmImf/ImfDeepTiledInputFile.cpp
Imf_2_5::DeepTiledInputFile::readPixelSampleCounts(int, int, int, int, int, int)
void DeepTiledInputFile::readPixelSampleCounts (int dx1, int dx2, int dy1, int dy2, int lx, int ly) { Int64 savedFilePos = 0; try { Lock lock (*_data->_streamData); savedFilePos = _data->_streamData->is-...
pushq %rbx subq $0x1000, %rsp # imm = 0x1000 movl 0x1010(%rsp), %eax movq %rdi, 0xff8(%rsp) movl %esi, 0xff4(%rsp) movl %edx, 0xff0(%rsp) movl %ecx, 0xfec(%rsp) movl %r8d, 0xfe8(%rsp) movl %r9d, 0xfe4(%rsp) movq 0xff8(%rsp), %rax movq %rax, 0x2d8(%rsp) movq $0x0, 0xfd8(%rsp) movq 0x8(%rax), %rax movq 0x1d8(%r...
/anderslanglands[P]pbrt-v4/src/ext/openexr/OpenEXR/IlmImf/ImfDeepTiledInputFile.cpp
Imf_2_5::(anonymous namespace)::readTileData(Imf_2_5::InputStreamMutex*, Imf_2_5::DeepTiledInputFile::Data*, int, int, int, int, char*&, unsigned long&, unsigned long&)
void readTileData (InputStreamMutex *streamData, DeepTiledInputFile::Data *ifd, int dx, int dy, int lx, int ly, char *&buffer, Int64 &dataSize, Int64 &unpackedDataSize) { // // Read a single tile block from the file and into the...
subq $0x408, %rsp # imm = 0x408 movq 0x420(%rsp), %rax movq 0x418(%rsp), %rax movq 0x410(%rsp), %rax movq %rdi, 0x400(%rsp) movq %rsi, 0x3f8(%rsp) movl %edx, 0x3f4(%rsp) movl %ecx, 0x3f0(%rsp) movl %r8d, 0x3ec(%rsp) movl %r9d, 0x3e8(%rsp) movq 0x3f8(%rsp), %rdi addq $0x110, %rdi # imm = 0x110 movl...
/anderslanglands[P]pbrt-v4/src/ext/openexr/OpenEXR/IlmImf/ImfDeepTiledInputFile.cpp
Imf_2_5::DeepFrameBuffer::insert(char const*, Imf_2_5::DeepSlice const&)
void DeepFrameBuffer::insert (const char name[], const DeepSlice &slice) { if (name[0] == 0) { THROW (IEX_NAMESPACE::ArgExc, "Frame buffer slice name cannot be an empty string."); } _map[name] = slice; }
subq $0x2c8, %rsp # imm = 0x2C8 movq %rdi, 0x2c0(%rsp) movq %rsi, 0x2b8(%rsp) movq %rdx, 0x2b0(%rsp) movq 0x2c0(%rsp), %rax movq %rax, 0x10(%rsp) movq 0x2b8(%rsp), %rax movsbl (%rax), %eax cmpl $0x0, %eax jne 0x7f5cd6 jmp 0x7f5c52 callq 0x3284d0 leaq 0x128(%rsp), %rdi callq 0x327670 leaq 0x138(%rsp), %rdi le...
/anderslanglands[P]pbrt-v4/src/ext/openexr/OpenEXR/IlmImf/ImfDeepFrameBuffer.cpp
Imf_2_5::DeepFrameBuffer::operator[](char const*) const
const DeepSlice & DeepFrameBuffer::operator [] (const char name[]) const { SliceMap::const_iterator i = _map.find (name); if (i == _map.end()) { THROW (IEX_NAMESPACE::ArgExc, "Cannot find frame buffer slice \"" << name << "\"."); } return i->second; }
subq $0x2d8, %rsp # imm = 0x2D8 movq %rdi, 0x2d0(%rsp) movq %rsi, 0x2c8(%rsp) movq 0x2d0(%rsp), %rax movq %rax, 0x18(%rsp) movq 0x2c8(%rsp), %rsi leaq 0x1c0(%rsp), %rdi callq 0x46c540 movq 0x18(%rsp), %rdi leaq 0x1c0(%rsp), %rsi callq 0x7f66c0 movq 0x18(%rsp), %rdi movq %rax, 0x2c0(%rsp) callq 0x7f66f0 movq ...
/anderslanglands[P]pbrt-v4/src/ext/openexr/OpenEXR/IlmImf/ImfDeepFrameBuffer.cpp
Imf_2_5::CompositeDeepScanLine::Data::handleDeepFrameBuffer(Imf_2_5::DeepFrameBuffer&, std::vector<unsigned int, std::allocator<unsigned int>>&, std::vector<std::vector<float*, std::allocator<float*>>, std::allocator<std::vector<float*, std::allocator<float*>>>>&, Imf_2_5::Header const&, int, int)
void CompositeDeepScanLine::Data::handleDeepFrameBuffer (DeepFrameBuffer& buf, std::vector< unsigned int > & counts, vector< std::vector< float* > > & pointers, co...
subq $0x1f8, %rsp # imm = 0x1F8 movl 0x200(%rsp), %eax movq %rdi, 0x1f0(%rsp) movq %rsi, 0x1e8(%rsp) movq %rdx, 0x1e0(%rsp) movq %rcx, 0x1d8(%rsp) movq %r8, 0x1d0(%rsp) movl %r9d, 0x1cc(%rsp) movq 0x1f0(%rsp), %rsi movq %rsi, 0x58(%rsp) addq $0x98, %rsi leaq 0x1b8(%rsp), %rdi callq 0x7fa750 movq 0x58(%rsp), ...
/anderslanglands[P]pbrt-v4/src/ext/openexr/OpenEXR/IlmImf/ImfCompositeDeepScanLine.cpp
Imf_2_5::CompositeDeepScanLine::setFrameBuffer(Imf_2_5::FrameBuffer const&)
void CompositeDeepScanLine::setFrameBuffer(const FrameBuffer& fr) { // // count channels; build map between channels in frame buffer // and channels in internal buffers // _Data->_channels.resize(3); _Data->_channels[0]="Z"; _Data->_channels[1]=_Data->_zback ? "ZBack" : "Z"; _D...
subq $0xa8, %rsp movq %rdi, 0xa0(%rsp) movq %rsi, 0x98(%rsp) movq 0xa0(%rsp), %rax movq %rax, 0x30(%rsp) movq 0x8(%rax), %rdi addq $0xb0, %rdi movl $0x3, %esi callq 0x4f4530 movq 0x30(%rsp), %rax movq 0x8(%rax), %rdi addq $0xb0, %rdi xorl %eax, %eax movl %eax, %esi callq 0x42c9c0 movq %rax, %rdi leaq 0x2aff990(%rip), %...
/anderslanglands[P]pbrt-v4/src/ext/openexr/OpenEXR/IlmImf/ImfCompositeDeepScanLine.cpp
Imf_2_5::(anonymous namespace)::LineCompositeTask::LineCompositeTask(IlmThread_2_5::TaskGroup*, Imf_2_5::CompositeDeepScanLine::Data*, int, int, std::vector<char const*, std::allocator<char const*>>*, std::vector<std::vector<std::vector<float*, std::allocator<float*>>, std::allocator<std::vector<float*, std::allocator<...
LineCompositeTask ( TaskGroup* group , CompositeDeepScanLine::Data * data, int y, int start, vector<const char*>* names, vector<vector< vector<float *> > >* pointers, vector<unsigned int>* total_s...
subq $0x38, %rsp movq 0x50(%rsp), %rax movq 0x48(%rsp), %rax movq 0x40(%rsp), %rax movq %rdi, 0x30(%rsp) movq %rsi, 0x28(%rsp) movq %rdx, 0x20(%rsp) movl %ecx, 0x1c(%rsp) movl %r8d, 0x18(%rsp) movq %r9, 0x10(%rsp) movq 0x30(%rsp), %rdi movq %rdi, 0x8(%rsp) movq 0x28(%rsp), %rsi callq 0x3274d0 movq 0x8(%rsp), %rax leaq ...
/anderslanglands[P]pbrt-v4/src/ext/openexr/OpenEXR/IlmImf/ImfCompositeDeepScanLine.cpp
Imf_2_5::Zip::compress(char const*, int, char*)
int Zip::compress(const char *raw, int rawSize, char *compressed) { // // Reorder the pixel data. // { char *t1 = _tmpBuffer; char *t2 = _tmpBuffer + (rawSize + 1) / 2; const char *stop = raw + rawSize; while (true) { if (raw < stop) *(t1...
subq $0x78, %rsp movq %rdi, 0x70(%rsp) movq %rsi, 0x68(%rsp) movl %edx, 0x64(%rsp) movq %rcx, 0x58(%rsp) movq 0x70(%rsp), %rax movq %rax, 0x10(%rsp) movq 0x8(%rax), %rcx movq %rcx, 0x50(%rsp) movq 0x8(%rax), %rax movq %rax, 0x18(%rsp) movl 0x64(%rsp), %eax addl $0x1, %eax movl $0x2, %ecx cltd idivl %ecx movl %eax, %ecx...
/anderslanglands[P]pbrt-v4/src/ext/openexr/OpenEXR/IlmImf/ImfZip.cpp
Imf_2_5::(anonymous namespace)::hufBuildEncTable(unsigned long*, int*, int*)
void hufBuildEncTable (Int64* frq, // io: input frequencies [HUF_ENCSIZE], output table int* im, // o: min frq index int* iM) // o: max frq index { // // This function assumes that when it is called, array frq // indicates the frequency of all possible symbols in the data // that are to ...
subq $0x168, %rsp # imm = 0x168 movq %rdi, 0x160(%rsp) movq %rsi, 0x158(%rsp) movq %rdx, 0x150(%rsp) leaq 0x148(%rsp), %rdi callq 0x805550 leaq 0x140(%rsp), %rdi callq 0x805590 jmp 0x802d1b movq 0x158(%rsp), %rax movl $0x0, (%rax) movq 0x160(%rsp), %rax movq 0x158(%rsp), %rcx movslq (%rcx), %rcx cmpq $0x0, (...
/anderslanglands[P]pbrt-v4/src/ext/openexr/OpenEXR/IlmImf/ImfHuf.cpp
Imf_2_5::(anonymous namespace)::readUInt(char const*)
unsigned int readUInt (const char buf[4]) { const unsigned char *b = (const unsigned char *) buf; return ( b[0] & 0x000000ff) | ((b[1] << 8) & 0x0000ff00) | ((b[2] << 16) & 0x00ff0000) | ((b[3] << 24) & 0xff000000); }
movq %rdi, -0x8(%rsp) movq -0x8(%rsp), %rax movq %rax, -0x10(%rsp) movq -0x10(%rsp), %rax movzbl (%rax), %eax andl $0xff, %eax movq -0x10(%rsp), %rcx movzbl 0x1(%rcx), %ecx shll $0x8, %ecx andl $0xff00, %ecx # imm = 0xFF00 orl %ecx, %eax movq -0x10(%rsp), %rcx movzbl 0x2(%rcx), %ecx shll $0x10, %ecx andl $0xf...
/anderslanglands[P]pbrt-v4/src/ext/openexr/OpenEXR/IlmImf/ImfHuf.cpp
Imf_2_5::(anonymous namespace)::hufBuildDecTable(unsigned long const*, int, int, Imf_2_5::(anonymous namespace)::HufDec*)
void hufBuildDecTable (const Int64* hcode, // i : encoding table int im, // i : min index in hcode int iM, // i : max index in hcode HufDec * hdecod) // o: (allocated by caller) // decoding table [HUF_DECSIZE] { // // Init hashtable & loop on all codes. // Assumes th...
subq $0x58, %rsp movq %rdi, 0x50(%rsp) movl %esi, 0x4c(%rsp) movl %edx, 0x48(%rsp) movq %rcx, 0x40(%rsp) movl 0x4c(%rsp), %eax cmpl 0x48(%rsp), %eax jg 0x80421b movq 0x50(%rsp), %rax movslq 0x4c(%rsp), %rcx movq (%rax,%rcx,8), %rdi callq 0x8052e0 movq %rax, 0x38(%rsp) movq 0x50(%rsp), %rax movslq 0x4c(%rsp), %rcx movq ...
/anderslanglands[P]pbrt-v4/src/ext/openexr/OpenEXR/IlmImf/ImfHuf.cpp
Imf_2_5::(anonymous namespace)::hufFreeDecTable(Imf_2_5::(anonymous namespace)::HufDec*)
void hufFreeDecTable (HufDec *hdecod) // io: Decoding table { for (int i = 0; i < HUF_DECSIZE; i++) { if (hdecod[i].p) { delete [] hdecod[i].p; hdecod[i].p = 0; } } }
subq $0x18, %rsp movq %rdi, 0x10(%rsp) movl $0x0, 0xc(%rsp) cmpl $0x4000, 0xc(%rsp) # imm = 0x4000 jge 0x8049d3 movq 0x10(%rsp), %rax movslq 0xc(%rsp), %rcx shlq $0x4, %rcx addq %rcx, %rax cmpq $0x0, 0x8(%rax) je 0x8049c4 movq 0x10(%rsp), %rax movslq 0xc(%rsp), %rcx shlq $0x4, %rcx addq %rcx, %rax movq 0x8(%rax), ...
/anderslanglands[P]pbrt-v4/src/ext/openexr/OpenEXR/IlmImf/ImfHuf.cpp
Imf_2_5::(anonymous namespace)::getBits(int, unsigned long&, int&, char const*&)
inline Int64 getBits (int nBits, Int64 &c, int &lc, const char *&in) { while (lc < nBits) { c = (c << 8) | *(unsigned char *)(in++); lc += 8; } lc -= nBits; return (c >> lc) & ((1 << nBits) - 1); }
movl %edi, -0x4(%rsp) movq %rsi, -0x10(%rsp) movq %rdx, -0x18(%rsp) movq %rcx, -0x20(%rsp) movq -0x18(%rsp), %rax movl (%rax), %eax cmpl -0x4(%rsp), %eax jge 0x80538a movq -0x10(%rsp), %rax movq (%rax), %rcx shlq $0x8, %rcx movq -0x20(%rsp), %rdx movq (%rdx), %rax movq %rax, %rsi addq $0x1, %rsi movq %rsi, (%rdx) movzb...
/anderslanglands[P]pbrt-v4/src/ext/openexr/OpenEXR/IlmImf/ImfHuf.cpp
Imf_2_5::wav2Decode(unsigned short*, int, int, int, int, unsigned short)
void wav2Decode (unsigned short* in, // io: values are transformed in place int nx, // i : x size int ox, // i : x offset int ny, // i : y size int oy, // i : y offset unsigned short mx) // i : maximum in[x][y] value { bool w14 = (mx < (1 << 14)); int n = (nx > ny)? ny: nx; ...
subq $0xa8, %rsp movw %r9w, %ax movq %rdi, 0xa0(%rsp) movl %esi, 0x9c(%rsp) movl %edx, 0x98(%rsp) movl %ecx, 0x94(%rsp) movl %r8d, 0x90(%rsp) movw %ax, 0x8e(%rsp) movzwl 0x8e(%rsp), %eax cmpl $0x4000, %eax # imm = 0x4000 setl %al andb $0x1, %al movb %al, 0x8d(%rsp) movl 0x9c(%rsp), %eax cmpl 0x94(%rsp), %eax ...
/anderslanglands[P]pbrt-v4/src/ext/openexr/OpenEXR/IlmImf/ImfWav.cpp
Imf_2_5::FastHufDecoder::decode(unsigned char const*, int, unsigned short*, int)
void FastHufDecoder::decode (const unsigned char *src, int numSrcBits, unsigned short *dst, int numDstElems) { if (numSrcBits < 128) throw IEX_NAMESPACE::InputExc ("Error choosing Huffman decoder implementation " "(insufficient number of bits)."); ...
subq $0xc8, %rsp movq %rdi, 0xc0(%rsp) movq %rsi, 0xb8(%rsp) movl %edx, 0xb4(%rsp) movq %rcx, 0xa8(%rsp) movl %r8d, 0xa4(%rsp) movq 0xc0(%rsp), %rax movq %rax, 0x50(%rsp) cmpl $0x80, 0xb4(%rsp) jge 0x80864e movl $0x48, %edi callq 0x327860 movq %rax, %rdi movq %rdi, 0x48(%rsp) leaq 0x2aefc5b(%rip), %rsi # 0x32f828c ca...
/anderslanglands[P]pbrt-v4/src/ext/openexr/OpenEXR/IlmImf/ImfFastHuf.cpp
Imf_2_5::FastHufDecoder::refill(unsigned long&, int, unsigned long&, int&, unsigned char const*&, int&)
inline void FastHufDecoder::refill (Int64 &buffer, int numBits, // number of bits to refill Int64 &bufferBack, // the next 64-bits, to refill from int &bufferBackNumBits, // number of bits left in bufferBack const unsigned char *&currByte, // c...
movq 0x8(%rsp), %rax movq %rdi, -0x8(%rsp) movq %rsi, -0x10(%rsp) movl %edx, -0x14(%rsp) movq %rcx, -0x20(%rsp) movq %r8, -0x28(%rsp) movq %r9, -0x30(%rsp) movq -0x20(%rsp), %rax movq (%rax), %rax movl $0x40, %ecx subl -0x14(%rsp), %ecx movl %ecx, %ecx shrq %cl, %rax movq %rax, %rcx movq -0x10(%rsp), %rax orq (%rax), %...
/anderslanglands[P]pbrt-v4/src/ext/openexr/OpenEXR/IlmImf/ImfFastHuf.cpp
Ptex::v2_2::PtexReaderCache::findFile(char const*&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&)
bool PtexReaderCache::findFile(const char*& filename, std::string& buffer, Ptex::String& error) { bool isAbsolute = (filename[0] == '/' #ifdef WINDOWS || filename[0] == '\\' || (isalpha(filename[0]) && filename[1] == ':') #endif ); if (isAbsolute || _searchdirs....
subq $0x118, %rsp # imm = 0x118 movq %rdi, 0x108(%rsp) movq %rsi, 0x100(%rsp) movq %rdx, 0xf8(%rsp) movq %rcx, 0xf0(%rsp) movq 0x108(%rsp), %rax movq %rax, 0x8(%rsp) movq 0x100(%rsp), %rax movq (%rax), %rax movsbl (%rax), %eax cmpl $0x2f, %eax sete %al andb $0x1, %al movb %al, 0xef(%rsp) testb $0x1, 0xef(%rs...
/anderslanglands[P]pbrt-v4/src/ext/ptex/src/ptex/PtexCache.cpp