name
stringlengths
1
473k
code
stringlengths
7
647k
asm
stringlengths
4
3.39M
file
stringlengths
8
196
Catch::XmlWriter& Catch::XmlWriter::writeAttribute<unsigned int>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, unsigned int const&)
XmlWriter& writeAttribute( std::string const& name, T const& attribute ) { ReusableStringStream rss; rss << attribute; return writeAttribute( name, rss.str() ); }
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x38, %rsp movq %rdx, %r12 movq %rsi, %r14 movq %rdi, %rbx leaq 0x4c2e7(%rip), %rax # 0x8e2d8 movq %rax, (%rsp) callq 0x60362 leaq 0x8(%rax), %rdi callq 0x405c2 movq %rax, %r15 movq %rax, 0x8(%rsp) callq 0x60362 movq 0x8(%rax), %rax movq (%rax,%r15,8), %r15 movq %r1...
/Neargye[P]magic_enum/test/3rdparty/Catch2/include/catch2/catch.hpp
Catch::XmlWriter& Catch::XmlWriter::writeAttribute<Catch::StringRef>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, Catch::StringRef const&)
XmlWriter& writeAttribute( std::string const& name, T const& attribute ) { ReusableStringStream rss; rss << attribute; return writeAttribute( name, rss.str() ); }
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x38, %rsp movq %rdx, %r12 movq %rsi, %r14 movq %rdi, %rbx leaq 0x4bd9f(%rip), %rax # 0x8e2d8 movq %rax, (%rsp) callq 0x60362 leaq 0x8(%rax), %rdi callq 0x405c2 movq %rax, %r15 movq %rax, 0x8(%rsp) callq 0x60362 movq 0x8(%rax), %rax movq (%rax,%r15,8), %r15 movq %r1...
/Neargye[P]magic_enum/test/3rdparty/Catch2/include/catch2/catch.hpp
Catch::ReporterRegistrar<Catch::JunitReporter>::ReporterRegistrar(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
explicit ReporterRegistrar( std::string const& name ) { getMutableRegistryHub().registerReporter( name, std::make_shared<ReporterFactory>() ); }
pushq %r15 pushq %r14 pushq %rbx subq $0x10, %rsp movq %rsi, %rbx callq 0x3d8be movq %rax, %r14 leaq 0x8(%rax), %r15 movl $0x18, %edi callq 0x11440 movabsq $0x100000001, %rcx # imm = 0x100000001 movq %rcx, 0x8(%rax) leaq 0x4f4a3(%rip), %rcx # 0x91ad8 movq %rcx, (%rax) leaq 0x10(%rax), %rcx leaq 0x4f4e5(%rip), ...
/Neargye[P]magic_enum/test/3rdparty/Catch2/include/catch2/catch.hpp
Catch::StreamingReporterBase<Catch::XmlReporter>::testGroupStarting(Catch::GroupInfo const&)
void testGroupStarting(GroupInfo const& _groupInfo) override { currentGroupInfo = _groupInfo; }
pushq %r15 pushq %r14 pushq %rbx movq %rsi, %rbx movq %rdi, %r14 addq $0x50, %rdi callq 0x4cbc2 leaq 0x58(%r14), %r15 leaq 0x68(%r14), %rax movq %rax, 0x58(%r14) movq (%rbx), %rsi movq 0x8(%rbx), %rdx addq %rsi, %rdx movq %r15, %rdi callq 0x4ef3c movups 0x20(%rbx), %xmm0 movups %xmm0, 0x78(%r14) movq %r15, 0x50(%r14) m...
/Neargye[P]magic_enum/test/3rdparty/Catch2/include/catch2/catch.hpp
Catch::Generators::GeneratorTracker::close()
void close() override { TrackerBase::close(); // If a generator has a child (it is followed by a section) // and none of its children have started, then we must wait // until later to start consuming its values. // This catches cases where ...
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx movq %rdi, %rbx callq 0x27c78 movq 0x48(%rbx), %rdi movq 0x50(%rbx), %rsi cmpq %rsi, %rdi je 0x43208 callq 0x4ea54 cmpq 0x50(%rbx), %rax je 0x43225 cmpl $0x4, 0x60(%rbx) jne 0x432a9 movq 0x70(%rbx), %rdi movq (%rdi), %rax callq *0x10(%rax) testb %al, %al jne 0x4329...
/Neargye[P]magic_enum/test/3rdparty/Catch2/include/catch2/catch.hpp
Catch::Generators::GeneratorTracker::setGenerator(std::unique_ptr<Catch::Generators::GeneratorUntypedBase, std::default_delete<Catch::Generators::GeneratorUntypedBase>>&&)
void setGenerator( GeneratorBasePtr&& generator ) override { m_generator = std::move( generator ); }
movq %rdi, %rax movq (%rsi), %rcx movq $0x0, (%rsi) movq 0x70(%rdi), %rdi movq %rcx, 0x70(%rax) testq %rdi, %rdi je 0x432e6 movq (%rdi), %rax jmpq *0x8(%rax) retq nop
/Neargye[P]magic_enum/test/3rdparty/Catch2/include/catch2/catch.hpp
Catch::StreamingReporterBase<Catch::CompactReporter>::testRunStarting(Catch::TestRunInfo const&)
void testRunStarting(TestRunInfo const& _testRunInfo) override { currentTestRunInfo = _testRunInfo; }
pushq %r15 pushq %r14 pushq %rbx movq %rsi, %rbx movq %rdi, %r14 addq $0x20, %rdi callq 0x4cbee leaq 0x28(%r14), %r15 leaq 0x38(%r14), %rax movq %rax, 0x28(%r14) movq (%rbx), %rsi movq 0x8(%rbx), %rdx addq %rsi, %rdx movq %r15, %rdi callq 0x4ef3c movq %r15, 0x20(%r14) movb $0x0, 0x48(%r14) popq %rbx popq %r14 popq %r15...
/Neargye[P]magic_enum/test/3rdparty/Catch2/include/catch2/catch.hpp
Catch::StreamingReporterBase<Catch::CompactReporter>::testGroupStarting(Catch::GroupInfo const&)
void testGroupStarting(GroupInfo const& _groupInfo) override { currentGroupInfo = _groupInfo; }
pushq %r15 pushq %r14 pushq %rbx movq %rsi, %rbx movq %rdi, %r14 addq $0x50, %rdi callq 0x4cbc2 leaq 0x58(%r14), %r15 leaq 0x68(%r14), %rax movq %rax, 0x58(%r14) movq (%rbx), %rsi movq 0x8(%rbx), %rdx addq %rsi, %rdx movq %r15, %rdi callq 0x4ef3c movups 0x20(%rbx), %xmm0 movups %xmm0, 0x78(%r14) movq %r15, 0x50(%r14) m...
/Neargye[P]magic_enum/test/3rdparty/Catch2/include/catch2/catch.hpp
Catch::clara::detail::BasicResult<Catch::clara::detail::ParseResultType>::enforceOk() const
void enforceOk() const override { // Errors shouldn't reach this point, but if they do // the actual error message will be in m_errorMessage assert( m_type != ResultBase::LogicError ); assert( m_type != ResultBase::RuntimeError ); if( m_type != ResultBase::Ok...
pushq %rax movl 0x8(%rdi), %eax testl %eax, %eax jne 0x4455a popq %rax retq cmpl $0x2, %eax je 0x44583 cmpl $0x1, %eax jne 0x445a2 leaq 0x23ac6(%rip), %rdi # 0x68031 leaq 0x2296f(%rip), %rsi # 0x66ee1 leaq 0x23bd6(%rip), %rcx # 0x6814f movl $0x2334, %edx # imm = 0x2334 callq 0x112a0 leaq 0x23b17(%...
/Neargye[P]magic_enum/test/3rdparty/Catch2/include/catch2/catch.hpp
Catch::clara::detail::Opt::validate() const
auto validate() const -> Result override { if( m_optNames.empty() ) return Result::logicError( "No options supplied to Opt" ); for( auto const &name : m_optNames ) { if( name.empty() ) return Result::logicError( "Option name cannot be empty" );...
pushq %rbp pushq %r14 pushq %rbx subq $0x20, %rsp movq %rdi, %rbx movq 0x60(%rsi), %rax movq 0x68(%rsi), %rcx cmpq %rcx, %rax je 0x4475d xorl %ebp, %ebp cmpq $0x0, 0x8(%rax) je 0x447ab movq (%rax), %rdx cmpb $0x2d, (%rdx) jne 0x447dc addq $0x20, %rax cmpq %rcx, %rax sete %bpl jne 0x44738 jmp 0x44827 leaq 0x10(%rsp), %r...
/Neargye[P]magic_enum/test/3rdparty/Catch2/include/catch2/catch.hpp
Catch::clara::detail::ParserRefImpl<Catch::clara::detail::Opt>::ParserRefImpl(std::shared_ptr<Catch::clara::detail::BoundRef> const&)
explicit ParserRefImpl( std::shared_ptr<BoundRef> const &ref ) : m_ref( ref ) {}
leaq 0x4b915(%rip), %rax # 0x90810 movq %rax, (%rdi) movl $0x0, 0x8(%rdi) movq (%rsi), %rax movq %rax, 0x10(%rdi) movq 0x8(%rsi), %rax movq %rax, 0x18(%rdi) testq %rax, %rax je 0x44f2e movq 0x4d070(%rip), %rcx # 0x91f90 cmpb $0x0, (%rcx) je 0x44f2a incl 0x8(%rax) jmp 0x44f2e lock incl 0x8(%rax) leaq 0x30(%rdi),...
/Neargye[P]magic_enum/test/3rdparty/Catch2/include/catch2/catch.hpp
Catch::clara::detail::BasicResult<Catch::clara::detail::ParseState>::BasicResult<Catch::clara::detail::ParseResultType>(Catch::clara::detail::BasicResult<Catch::clara::detail::ParseResultType> const&)
explicit BasicResult( BasicResult<U> const &other ) : ResultValueBase<T>( other.type() ), m_errorMessage( other.errorMessage() ) { assert( type() != ResultBase::Ok ); }
pushq %r14 pushq %rbx pushq %rax movq %rdi, %rbx movl 0x8(%rsi), %eax movl %eax, 0x8(%rdi) leaq 0x4b198(%rip), %rax # 0x904a8 movq %rax, (%rdi) addq $0x40, %rdi leaq 0x50(%rbx), %rax movq %rax, 0x40(%rbx) movq 0x10(%rsi), %rax movq 0x18(%rsi), %rdx addq %rax, %rdx movq %rax, %rsi callq 0x4ef3c cmpl $0x0, 0x8(%rbx) ...
/Neargye[P]magic_enum/test/3rdparty/Catch2/include/catch2/catch.hpp
Catch::clara::detail::TokenStream::operator++()
auto operator++() -> TokenStream & { if( m_tokenBuffer.size() >= 2 ) { m_tokenBuffer.erase( m_tokenBuffer.begin() ); } else { if( it != itEnd ) ++it; loadBuffer(); } return *this; }
pushq %rbx movq %rdi, %rbx movq 0x10(%rdi), %rsi movq 0x18(%rdi), %rax subq %rsi, %rax sarq $0x3, %rax movabsq $-0x3333333333333333, %rcx # imm = 0xCCCCCCCCCCCCCCCD imulq %rax, %rcx cmpq $0x2, %rcx jb 0x453b8 leaq 0x10(%rbx), %rdi callq 0x456c2 jmp 0x453d0 movq (%rbx), %rax cmpq 0x8(%rbx), %rax je 0x453c8 addq $0x20, %...
/Neargye[P]magic_enum/test/3rdparty/Catch2/include/catch2/catch.hpp
Catch::clara::detail::Parser::validate() const
auto validate() const -> Result override { for( auto const &opt : m_options ) { auto result = opt.validate(); if( !result ) return result; } for( auto const &arg : m_args ) { auto result = arg.validate(); ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %rsi, %r14 movq %rdi, %rbx movq 0x30(%rsi), %r15 movq 0x38(%rsi), %r12 cmpq %r12, %r15 sete %bpl je 0x46471 movq (%r15), %rax movq %rbx, %rdi movq %r15, %rsi callq *0x10(%rax) cmpl $0x0, 0x8(%rbx) jne 0x46468 leaq 0x20(%rbx), %r13 addq $0...
/Neargye[P]magic_enum/test/3rdparty/Catch2/include/catch2/catch.hpp
Catch::clara::detail::ExeName::set(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
auto set( std::string const& newName ) -> ParserResult { auto lastSlash = newName.find_last_of( "\\/" ); auto filename = ( lastSlash == std::string::npos ) ? newName : newName.substr( lastSlash+1 ); *m_name = filename; if( m_ref )...
pushq %r15 pushq %r14 pushq %rbx subq $0x20, %rsp movq %rdx, %r15 movq %rsi, %r14 movq %rdi, %rbx leaq 0x21a5f(%rip), %rsi # 0x686ee movl $0x2, %ecx movq %rdx, %rdi movq $-0x1, %rdx callq 0x46d70 cmpq $-0x1, %rax je 0x46cc3 incq %rax movq %rsp, %rdi movq %r15, %rsi movq %rax, %rdx movq $-0x1, %rcx callq 0x406be jmp...
/Neargye[P]magic_enum/test/3rdparty/Catch2/include/catch2/catch.hpp
Catch::clara::detail::ResultValueBase<Catch::clara::detail::ParseState>::operator=(Catch::clara::detail::ResultValueBase<Catch::clara::detail::ParseState> const&)
auto operator=( ResultValueBase const &other ) -> ResultValueBase & { if( m_type == ResultBase::Ok ) m_value.~T(); ResultBase::operator=(other); if( m_type == ResultBase::Ok ) new( &m_value ) T( other.m_value ); return *this; }
pushq %r14 pushq %rbx pushq %rax movq %rsi, %r14 movq %rdi, %rbx cmpl $0x0, 0x8(%rdi) jne 0x46def leaq 0x28(%rbx), %rdi callq 0x443d6 movl 0x8(%r14), %eax movl %eax, 0x8(%rbx) testl %eax, %eax jne 0x46e1a movl 0x10(%r14), %eax movl %eax, 0x10(%rbx) movups 0x18(%r14), %xmm0 movups %xmm0, 0x18(%rbx) leaq 0x28(%rbx), %rdi...
/Neargye[P]magic_enum/test/3rdparty/Catch2/include/catch2/catch.hpp
Catch::clara::TextFlow::Column::iterator::iterator(Catch::clara::TextFlow::Column const&)
explicit iterator(Column const& column) : m_column(column) { assert(m_column.m_width > m_column.m_indent); assert(m_column.m_initialIndent == std::string::npos || m_column.m_width > m_column.m_initialIndent); calcLength(); if (m_len == 0) m_stringIndex++; // Empty string }
pushq %rbx movq %rsi, (%rdi) xorps %xmm0, %xmm0 movups %xmm0, 0x8(%rdi) movups %xmm0, 0x18(%rdi) movb $0x0, 0x28(%rdi) movq 0x18(%rsi), %rax cmpq 0x20(%rsi), %rax jbe 0x470a4 movq 0x28(%rsi), %rcx cmpq $-0x1, %rcx sete %dl cmpq %rcx, %rax seta %al orb %dl, %al je 0x470c3 movq %rdi, %rbx callq 0x470e2 cmpq $0x0, 0x18(%r...
/Neargye[P]magic_enum/test/3rdparty/Catch2/include/catch2/catch.hpp
std::basic_ostream<char, std::char_traits<char>>& magic_enum::ostream_operators::operator<<<char, std::char_traits<char>, Color, 0>(std::basic_ostream<char, std::char_traits<char>>&, Color)
std::basic_ostream<Char, Traits>& operator<<(std::basic_ostream<Char, Traits>& os, E value) { using D = std::decay_t<E>; using U = underlying_type_t<D>; if constexpr (detail::supported<D>::value) { if constexpr (detail::subtype_v<D> == detail::enum_subtype::flags) { if (const auto name = enum_flags_nam...
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x20, %rsp movl %esi, %ebp movq %rdi, %rbx movq %rsp, %r14 movq %r14, %rdi movl $0x7c, %edx callq 0x4e809 movq 0x8(%r14), %r14 testq %r14, %r14 je 0x4e715 movq (%rsp), %r15 xorl %r12d, %r12d movsbl (%r15,%r12), %esi movq %rbx, %rdi callq 0x11040 incq %r12 cmp...
/Neargye[P]magic_enum/include/magic_enum/magic_enum_iostream.hpp
Catch::Option<Catch::AssertionResult>::reset()
void reset() { if( nullableValue ) nullableValue->~T(); nullableValue = nullptr; }
pushq %r14 pushq %rbx pushq %rax movq %rdi, %rbx movq (%rdi), %r14 testq %r14, %r14 je 0x5f57f movq 0x58(%r14), %rdi leaq 0x68(%r14), %rax cmpq %rax, %rdi je 0x5f567 movq (%rax), %rsi incq %rsi callq 0x11460 movq 0x38(%r14), %rdi addq $0x48, %r14 cmpq %r14, %rdi je 0x5f57f movq (%r14), %rsi incq %rsi callq 0x11460 movq...
/Neargye[P]magic_enum/test/3rdparty/Catch2/include/catch2/catch.hpp
Catch::Singleton<Catch::StringStreams, Catch::StringStreams, Catch::StringStreams>::~Singleton()
static auto getInternal() -> Singleton* { static Singleton* s_instance = nullptr; if( !s_instance ) { s_instance = new Singleton; addSingleton( s_instance ); } return s_instance; }
pushq %rbx movq %rdi, %rbx addq $0x38, %rdi movq 0x31b7b(%rip), %rsi # 0x91f80 callq 0x11210 leaq 0xa8(%rbx), %rdi callq 0x11110 movq 0x20(%rbx), %rdi testq %rdi, %rdi je 0x6042b movq 0x30(%rbx), %rsi subq %rdi, %rsi callq 0x11460 addq $0x8, %rbx movq %rbx, %rdi popq %rbx jmp 0x60484
/Neargye[P]magic_enum/test/3rdparty/Catch2/include/catch2/catch.hpp
Catch::ReporterRegistrar<Catch::JunitReporter>::ReporterFactory::getDescription[abi:cxx11]() const
std::string getDescription() const override { return T::getDescription(); }
pushq %r15 pushq %r14 pushq %rbx subq $0x10, %rsp movq %rdi, %rbx leaq 0x10(%rdi), %rax movq %rax, (%rdi) leaq 0x8(%rsp), %r14 movq $0x4e, (%r14) movq %r14, %rsi xorl %edx, %edx callq 0x43e34 movq %rax, %r15 movq %rax, (%rbx) movq (%r14), %r14 movq %r14, 0x10(%rbx) leaq 0x37db(%rip), %rsi # 0x67c30 movl $0x4e, %ed...
/Neargye[P]magic_enum/test/3rdparty/Catch2/include/catch2/catch.hpp
Catch::ReporterRegistrar<Catch::XmlReporter>::ReporterFactory::getDescription[abi:cxx11]() const
std::string getDescription() const override { return T::getDescription(); }
pushq %r14 pushq %rbx pushq %rax movq %rdi, %rbx leaq 0x10(%rdi), %rax movq %rax, (%rdi) movq %rsp, %r14 movq $0x27, (%r14) movq %r14, %rsi xorl %edx, %edx callq 0x43e34 movq %rax, (%rbx) movq (%r14), %rcx movq %rcx, 0x10(%rbx) movabsq $0x746e656d75636f64, %rdx # imm = 0x746E656D75636F64 movq %rdx, 0x1f(%rax) movups 0x...
/Neargye[P]magic_enum/test/3rdparty/Catch2/include/catch2/catch.hpp
Catch::CumulativeReporterBase<Catch::JunitReporter>::Node<Catch::TestRunStats, Catch::CumulativeReporterBase<Catch::JunitReporter>::Node<Catch::TestGroupStats, Catch::CumulativeReporterBase<Catch::JunitReporter>::Node<Catch::TestCaseStats, Catch::CumulativeReporterBase<Catch::JunitReporter>::SectionNode>>>::~Node()
virtual ~Node() {}
pushq %rbx movq %rdi, %rbx leaq 0x2d031(%rip), %rax # 0x91cd8 movq %rax, (%rdi) addq $0x70, %rdi callq 0x4cd2e leaq 0x29116(%rip), %rax # 0x8ddd0 movq %rax, 0x8(%rbx) movq 0x10(%rbx), %rdi addq $0x20, %rbx cmpq %rbx, %rdi je 0x64cd7 movq (%rbx), %rsi incq %rsi popq %rbx jmp 0x11460 popq %rbx retq nop
/Neargye[P]magic_enum/test/3rdparty/Catch2/include/catch2/catch.hpp
sinStrokeFunction(float, float)
std::pair<Coordf,Coordf> sinStrokeFunction(Coordf x0, Coordf x1) { // To understand the apparently random numbers below (0.422, 0.072, 0.086), // see line 135 Coordf base = 0.422f - 0.072f*std::sin(2*3.141592f*((x0 - 0.086f)/0.211f)); Coordf end = 0.422f - 0.072f*std::sin(2*3.141592f*((x1 - 0.086f)/0.2...
subq $0x28, %rsp movss %xmm1, 0xc(%rsp) addss 0x9bd6(%rip), %xmm0 # 0xe004 divss 0x9bd2(%rip), %xmm0 # 0xe008 mulss 0x9bce(%rip), %xmm0 # 0xe00c callq 0x4110 mulss 0x9bc5(%rip), %xmm0 # 0xe010 addss 0x9bc1(%rip), %xmm0 # 0xe014 movaps %xmm0, 0x10(%rsp) movss 0xc(%rsp), %xmm0 addss 0x9b9e(%rip), %xmm...
/fbbdev[P]plot/examples/real_canvas.cpp
plot::RealCanvas<plot::BrailleCanvas>& plot::RealCanvas<plot::BrailleCanvas>::stroke<std::pair<float, float> (&)(float, float)>(plot::Color const&, plot::GenericRect<float> const&, std::pair<float, float> (&)(float, float))
RealCanvas& stroke(Color const& color, Rectf const& rct, Fn&& fn, Args&&... args) { canvas_.stroke(color, map(rct), [this,&fn](typename Canvas::coord_type x) { auto real_bounds = fn(unmap(Point(x, 0)).x, unmap(Point(x + 1, 0)).x); auto base = map(Pointf(0, real_bounds.first)).y, ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x58, %rsp movq %rcx, %r15 movq %rdx, %r12 movq %rsi, 0x20(%rsp) movq %rdi, %rbx leaq 0x10(%rdi), %r13 movq %rdx, %rsi callq 0x7a64 movq %rax, %rbp movq %rdx, %r14 addq $0x8, %r12 movq %rbx, %rdi movq %r12, %rsi callq 0x7a64 movq %rbp, 0x28(%rsp) m...
/fbbdev[P]plot/include/real_canvas.hpp
plot::BrailleCanvas::rect(plot::Color const&, plot::Color const&, plot::GenericRect<long>, plot::TerminalOp)
BrailleCanvas& rect(Color const& stroke_color, Color const& fill_color, Rect rct, TerminalOp op = TerminalOp::Over) { rct = rct.sorted(); return push() .line(stroke_color, rct.p1, { rct.p2.x, rct.p1.y }, TerminalOp::Over) .line(stroke_color, rct.p1, { rct.p1.x, rct.p2.y }, Te...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x58, %rsp movl %ecx, 0x2c(%rsp) movq %rdx, 0x30(%rsp) movq %rsi, %r13 movq 0xa0(%rsp), %rbp movq 0x90(%rsp), %rax cmpq %rbp, %rax movq %rbp, %r15 cmovlq %rax, %r15 cmovgq %rax, %rbp movq 0x98(%rsp), %rax movq 0xa8(%rsp), %rbx cmpq %rbx, %rax movq ...
/fbbdev[P]plot/include/braille.hpp
plot::detail::braille::block_t::paint(plot::detail::braille::block_t const&, plot::TerminalOp) const
block_t paint(block_t const& dst, TerminalOp op) const { if (pixels) { switch (op) { case TerminalOp::Over: return over(dst); case TerminalOp::ClipDst: return *this; case TerminalOp::C...
pushq %rbx movq %rdi, %rbx cmpb $0x0, 0x10(%rsi) je 0x777a cmpl $0x2, %ecx je 0x7774 cmpl $0x1, %ecx je 0x7785 testl %ecx, %ecx jne 0x777a movq %rbx, %rdi callq 0x7796 jmp 0x7791 cmpb $0x0, 0x10(%rdx) je 0x7785 movl 0x10(%rdx), %eax movl %eax, 0x10(%rbx) movups (%rdx), %xmm0 jmp 0x778e movl 0x10(%rsi), %eax movl %eax, ...
/fbbdev[P]plot/include/braille.hpp
plot::detail::braille::block_t::over(plot::detail::braille::block_t const&) const
block_t over(block_t const& other) const { auto old = bitcount(other.pixels & ~pixels); auto new_ = bitcount(pixels & ~other.pixels); std::uint8_t over_pixels = other.pixels & pixels; auto over_ = bitcount(over_pixels); float total = old + new_ + over_; ...
pushq %rbp pushq %r15 pushq %r14 pushq %rbx movb 0x10(%rdx), %r8b movb 0x10(%rsi), %cl movl %ecx, %eax notb %al andb %r8b, %al movl %eax, %r9d andb $0x1, %r9b movl %eax, %r10d shrb %r10b andb $0x1, %r10b movl %eax, %r11d shrb $0x3, %r11b andb $0x1, %r11b movl %eax, %ebx shrb $0x5, %bl andb $0x1, %bl movzbl %al, %ebp sh...
/fbbdev[P]plot/include/braille.hpp
plot::RealCanvas<plot::BrailleCanvas>::map(plot::GenericPoint<float> const&) const
typename Canvas::point_type map(Pointf const& p) const { auto canvas_bounds = canvas_.size(); canvas_bounds -= decltype(canvas_bounds){ 1, 1 }; return { std::lround((p.x - bounds_.p1.x)/(bounds_.p2.x - bounds_.p1.x) * canvas_bounds.x), std::lround((p.y - bounds_.p1.y)/(bo...
pushq %r15 pushq %r14 pushq %r12 pushq %rbx pushq %rax movq %rsi, %rbx movq %rdi, %r14 movq 0x18(%rdi), %rax movq 0x10(%rdi), %rcx leaq -0x1(%rax,%rax), %rax leaq -0x1(,%rcx,4), %r12 movss (%rsi), %xmm1 movss (%rdi), %xmm0 movss 0x8(%rdi), %xmm2 subss %xmm0, %xmm1 subss %xmm0, %xmm2 divss %xmm2, %xmm1 xorps %xmm0, %xmm...
/fbbdev[P]plot/include/real_canvas.hpp
plot::BrailleCanvas::ellipse(plot::Color const&, plot::Color const&, plot::GenericRect<long>, plot::TerminalOp)
BrailleCanvas& ellipse(Color const& stroke_color, Color const& fill_color, Rect rct, TerminalOp op = TerminalOp::Over) { rct = rct.sorted(); auto size_ = rct.size() + Point(1, 1); float x_fac = 2.0f/size_.x; Coord y_fac = size_.y/2 - (!(size_.y % 2)), cx = rct.p1.x + (size...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x288, %rsp # imm = 0x288 movl %ecx, 0x3c(%rsp) movq %rdx, 0x78(%rsp) movq %rsi, 0x70(%rsp) movq 0x2c0(%rsp), %rcx movq 0x2c8(%rsp), %rdx movq 0x2d8(%rsp), %r9 movq %rdx, %rsi subq %r9, %rsi negq %rsi movq %rdx, %rax subq %r9, %rax movq ...
/fbbdev[P]plot/include/braille.hpp
plot::BrailleCanvas::dot(plot::Color const&, plot::GenericPoint<long>, plot::TerminalOp)
BrailleCanvas& dot(Color const& color, Point p, TerminalOp op = TerminalOp::Over) { if (Rect({}, size()).contains(p)) { paint(p.y / cell_rows, p.x / cell_cols, detail::braille::block_t(color).set(p.x % cell_cols, p.y % cell_rows), op); } return *this; }
pushq %r15 pushq %r14 pushq %rbx subq $0x30, %rsp movq %rdi, %rbx testq %rdx, %rdx js 0xc9df movq 0x8(%rbx), %rax leaq (%rax,%rax), %rdi cmpq %rdx, %rdi jle 0xc9df testq %rcx, %rcx js 0xc9df movq (%rbx), %rdi shlq $0x2, %rdi cmpq %rcx, %rdi jle 0xc9df movq %rcx, %rdi shrq $0x2, %rdi movq %rdx, %r9 shrq %r9 movups (%rsi...
/fbbdev[P]plot/include/braille.hpp
doctest::Context::Context(int, char const* const*)
Context::Context(int argc, const char* const* argv) : p(new detail::ContextState) { parseArgs(argc, argv, true); if(argc) p->binary_name = argv[0]; }
subq $0x68, %rsp movq %rdi, 0x60(%rsp) movl %esi, 0x5c(%rsp) movq %rdx, 0x50(%rsp) movq 0x60(%rsp), %rax movq %rax, 0x10(%rsp) movq %rax, 0x18(%rsp) movl $0x1160, %edi # imm = 0x1160 callq 0x8570 movq %rax, %rdi movq %rdi, %rax movq %rax, 0x20(%rsp) callq 0x43930 jmp 0x1148d movq 0x18(%rsp), %rdi movq 0x10(%r...
/taskflow[P]taskflow/3rd-party/doctest/doctest.h
doctest::(anonymous namespace)::FatalConditionHandler::FatalConditionHandler()
FatalConditionHandler() { isSet = true; stack_t sigStack; sigStack.ss_sp = altStackMem; sigStack.ss_size = altStackSize; sigStack.ss_flags = 0; sigaltstack(&sigStack, &oldSigStack); struct sigaction sa = {}; sa.sa_handle...
subq $0xc8, %rsp movq %rdi, 0xc0(%rsp) movb $0x1, 0xb57ba(%rip) # 0xcbe10 movq 0xb573b(%rip), %rax # 0xcbd98 movq %rax, 0xa8(%rsp) movq 0xb50a4(%rip), %rax # 0xcb710 movq %rax, 0xb8(%rsp) movl $0x0, 0xb0(%rsp) leaq 0xa8(%rsp), %rdi leaq 0xb578a(%rip), %rsi # 0xcbe18 callq 0x8b30 leaq 0x10(%rsp), %rdi xo...
/taskflow[P]taskflow/3rd-party/doctest/doctest.h
silent_dependent_async(unsigned long)
void silent_dependent_async(size_t W) { std::srand(static_cast<unsigned int>(time(NULL))); tf::Executor executor(W); std::vector<int> data; for(size_t n=0; n < 100000; n = (n ? n*10 : 1)) { data.resize(n); for(auto& d : data) { d = ::rand() % 1000 - 500; } executor.silent_dep...
subq $0x2d8, %rsp # imm = 0x2D8 movq %rdi, 0x2d0(%rsp) xorl %eax, %eax movl %eax, %edi movq %rdi, 0x38(%rsp) callq 0x84f0 movl %eax, %edi callq 0x8530 movq 0x38(%rsp), %rsi movq 0x2d0(%rsp), %rax movq %rax, 0x40(%rsp) leaq 0x188(%rsp), %rdi movq %rdi, 0x48(%rsp) callq 0x44bc0 movq 0x40(%rsp), %rsi movq 0x48(...
/taskflow[P]taskflow/unittests/test_sort.cpp
tf::Node::Node<std::in_place_type_t<tf::Node::Subflow>, bubble_sort(unsigned int)::$_3>(int, int, tf::DefaultTaskParams const&, tf::Topology*, tf::Node*, unsigned long, std::in_place_type_t<tf::Node::Subflow>&&, bubble_sort(unsigned int)::$_3&&)
Node::Node( nstate_t nstate, estate_t estate, const DefaultTaskParams&, Topology* topology, Node* parent, size_t join_counter, Args&&... args ) : _nstate {nstate}, _estate {estate}, _topology {topology}, _parent {parent}, _join_counter {join_counter}, _handle {std...
subq $0x58, %rsp movq 0x70(%rsp), %rax movq 0x68(%rsp), %rax movq 0x60(%rsp), %rax movq %rdi, 0x50(%rsp) movl %esi, 0x4c(%rsp) movl %edx, 0x48(%rsp) movq %rcx, 0x40(%rsp) movq %r8, 0x38(%rsp) movq %r9, 0x30(%rsp) movq 0x50(%rsp), %rdi movq %rdi, 0x10(%rsp) movl 0x4c(%rsp), %eax movl %eax, (%rdi) addq $0x4, %rdi movl 0x...
/taskflow[P]taskflow/taskflow/core/graph.hpp
vfprintf
int vfprintf( struct _PDCLIB_file_t * _PDCLIB_restrict stream, const char * _PDCLIB_restrict format, va_list arg ) { /* TODO: This function should interpret format as multibyte characters. */ struct _PDCLIB_status_t status; status.base = 0; status.flags = 0; status.n = SIZE_MAX; status.i = 0; ...
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x60, %rsp movq %rdx, %r12 movq %rsi, %r13 movq %rdi, %rbx movq $0x0, 0x8(%rsp) movq $-0x1, 0x10(%rsp) xorps %xmm0, %xmm0 movups %xmm0, 0x18(%rsp) movups %xmm0, 0x28(%rsp) movl $0xffffffff, 0x38(%rsp) # imm = 0xFFFFFFFF movq %rdi, 0x40(%rsp) leaq 0x48(%rdi), ...
/DevSolar[P]pdclib/functions/stdio/vfprintf.c
PDCLIB_prepwrite
int _PDCLIB_prepwrite( struct _PDCLIB_file_t * stream ) { if ( ( stream->bufidx < stream->bufend ) || ( stream->ungetidx > 0 ) || ( stream->status & ( _PDCLIB_FREAD | _PDCLIB_ERRORFLAG | _PDCLIB_WIDESTREAM | _PDCLIB_EOFFLAG ) ) || !( stream->status & ( _PDCLIB_FWRITE | _PDCLIB_FAPPEND | _PDCLIB_FR...
pushq %rbx movq %rdi, %rbx movq 0x18(%rdi), %rax cmpq 0x20(%rdi), %rax jb 0x2389 cmpq $0x0, 0x38(%rbx) jne 0x2389 movl 0x44(%rbx), %eax testl $0xe08, %eax # imm = 0xE08 sete %cl testb $0x70, %al setne %dl testb %dl, %cl jne 0x239f callq 0x38b0 movl $0x9, (%rax) orb $0x2, 0x45(%rbx) movl $0xffffffff, %eax ...
/DevSolar[P]pdclib/functions/_PDCLIB/_PDCLIB_prepwrite.c
PDCLIB_print
const char * _PDCLIB_print( const char * spec, struct _PDCLIB_status_t * status ) { const char * orig_spec = spec; if ( *( ++spec ) == '%' ) { /* %% -> print single '%' */ PUT( *spec ); return ++spec; } /* Initializing status structure */ status->flags = 0; status->...
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x28, %rsp movq %rsi, %rbx movq %rdi, %r15 leaq 0x1(%rdi), %r14 movq %r14, 0x18(%rsp) cmpb $0x25, 0x1(%rdi) jne 0x23f6 movq 0x10(%rbx), %rax cmpq 0x8(%rbx), %rax jae 0x251e movq 0x38(%rbx), %rsi testq %rsi, %rsi je 0x2516 movl $0x25, %edi callq 0x36e8 jmp 0x251e xorl %e...
/DevSolar[P]pdclib/functions/_PDCLIB/_PDCLIB_print.c
PDCLIB_print_double
void _PDCLIB_print_double( double value, struct _PDCLIB_status_t * status ) { unsigned char bytes[ sizeof( double ) ]; int exp; memcpy( bytes, &value, sizeof( double ) ); exp = _PDCLIB_DBL_EXP( bytes ) - _PDCLIB_DBL_BIAS; if ( exp == _PDCLIB_DBL_MAX_EXP ) { /* ...
pushq %rax movq %rdi, %r9 leaq 0x6(%rsp), %rcx movq %xmm0, -0x6(%rcx) movq %xmm0, %rax movq %rax, %rdi shrq $0x38, %rdi movl %edi, %edx andl $0x7f, %edx shll $0x4, %edx shrq $0x34, %rax andl $0xf, %eax leal (%rdx,%rax), %r8d addl $0xfffffc01, %r8d # imm = 0xFFFFFC01 xorl %esi, %esi ucomisd %xmm0, %xmm0 setp %sil ...
/DevSolar[P]pdclib/functions/_PDCLIB/_PDCLIB_print_fp.c
PDCLIB_print_fp
static void _PDCLIB_print_fp( int sign, int exp, int dec, unsigned char const * mant, size_t mant_dig, struct _PDCLIB_status_t * status ) { /* Turning sign bit into s...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x28, %rsp movq %r9, %rbx movq %rcx, %r9 movl %esi, %eax movl $0x4, %ecx testl %edi, %edi je 0x2b82 movl $0x2d, %ebp jmp 0x2ba2 movl 0x4(%rbx), %ebp testb $0x2, %bpl jne 0x2b9d xorl %r15d, %r15d andl $0x8, %ebp sete %r15b subq %r15, %rcx shll $0x2,...
/DevSolar[P]pdclib/functions/_PDCLIB/_PDCLIB_print_fp.c
PDCLIB_print_integer
void _PDCLIB_print_integer( imaxdiv_t div, struct _PDCLIB_status_t * status ) { if ( status->current == 0 && div.quot == 0 && div.rem == 0 && status->prec == 0 ) { intformat( 0, status ); } else { ++(status->current); if ( div.quot != 0 ) { _PDCLIB_print_...
pushq %r14 pushq %rbx pushq %rax movq %rdx, %rbx movq %rsi, %r14 movq 0x18(%rdx), %rax movq %rax, %rcx orq %rdi, %rcx orq %rsi, %rcx jne 0x3219 cmpl $0x0, 0x30(%rbx) je 0x3290 movq $0x1, 0x18(%rbx) jmp 0x323d incq %rax movq %rax, 0x18(%rbx) testq %rdi, %rdi je 0x323d movslq (%rbx), %rsi callq 0x36dc movq %rax, %rdi mov...
/DevSolar[P]pdclib/functions/_PDCLIB/_PDCLIB_print_integer.c
puts
int puts( const char * s ) { _PDCLIB_LOCK( stdout->mtx ); if ( _PDCLIB_prepwrite( stdout ) == EOF ) { _PDCLIB_UNLOCK( stdout->mtx ); return EOF; } while ( *s != '\0' ) { stdout->buffer[ stdout->bufidx++ ] = *s++; if ( stdout->bufidx == stdout->bufsize ) ...
pushq %r14 pushq %rbx pushq %rax movq %rdi, %rbx leaq 0x395a(%rip), %r14 # 0x7058 movq (%r14), %rdi addq $0x48, %rdi callq 0x36ac movq (%r14), %rdi callq 0x2360 cmpl $-0x1, %eax je 0x378c movb (%rbx), %al movq (%r14), %rdi testb %al, %al je 0x3759 incq %rbx movq 0x8(%rdi), %rcx movq 0x18(%rdi), %rdx leaq 0x1(%rdx)...
/DevSolar[P]pdclib/functions/stdio/puts.c
memmove
void * memmove( void * s1, const void * s2, size_t n ) { char * dest = ( char * ) s1; const char * src = ( const char * ) s2; if ( dest <= src ) { while ( n-- ) { *dest++ = *src++; } } else { src += n; dest += n; while ( n-- ) ...
movq %rdi, %rax cmpq %rsi, %rdi jbe 0x3884 testq %rdx, %rdx je 0x389b movq %rdx, %rcx movb -0x1(%rsi,%rdx), %dil movb %dil, -0x1(%rax,%rdx) decq %rcx movq %rcx, %rdx jne 0x3870 jmp 0x389b testq %rdx, %rdx je 0x389b xorl %ecx, %ecx movb (%rsi,%rcx), %dil movb %dil, (%rax,%rcx) incq %rcx cmpq %rcx, %rdx jne 0x388b retq
/DevSolar[P]pdclib/functions/string/memmove.c
PDCLIB_strtox_prelim
const char * _PDCLIB_strtox_prelim( const char * p, char * sign, int * base ) { /* skipping leading whitespace */ while ( isspace( (unsigned char)*p ) ) { ++p; } /* determining / skipping sign */ if ( *p != '+' && *p != '-' ) { *sign = '+'; } else { *sign...
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx movq %rdx, %r14 movq %rsi, %r15 movq %rdi, %rbx movb (%rbx), %r12b movzbl %r12b, %ebp movl %ebp, %edi callq 0x3aa0 incq %rbx testl %eax, %eax jne 0x39ed cmpl $0x2b, %ebp je 0x3a12 cmpl $0x2d, %ebp je 0x3a12 decq %rbx movb $0x2b, %r12b movb %r12b, (%r15) cmpb $0x30,...
/DevSolar[P]pdclib/functions/_PDCLIB/_PDCLIB_strtox_prelim.c
IOUtil::FileWriter::Write(unsigned char const*, unsigned int)
std::pair<Sirikata::uint32, Sirikata::JpegError> Write(const Sirikata::uint8*data, unsigned int size) override { using namespace Sirikata; size_t data_written = 0; while (data_written < size) { signed long nwritten = write(fp, data + data_written, size - data_written); ...
subq $0x48, %rsp movq %rdi, 0x38(%rsp) movq %rsi, 0x30(%rsp) movl %edx, 0x2c(%rsp) movq 0x38(%rsp), %rax movq %rax, (%rsp) movq $0x0, 0x20(%rsp) movq 0x20(%rsp), %rax movl 0x2c(%rsp), %ecx cmpq %rcx, %rax jae 0x408758 movq (%rsp), %rax movl 0x8(%rax), %edi movq 0x30(%rsp), %rsi addq 0x20(%rsp), %rsi movl 0x2c(%rsp), %e...
/interiorem[P]lepton/src/lepton/../io/ioutil.hh
name_socket(_IO_FILE*)
static void name_socket(FILE * dev_random) { random_name = true; char random_data[16] = {0}; auto retval = fread(random_data, 1, sizeof(random_data), dev_random); (void)retval;// dev random should yield reasonable results memcpy(socket_name, last_prefix, strlen(last_prefix)); memcpy(zsocket_name...
subq $0x38, %rsp movq %rdi, 0x30(%rsp) movb $0x1, 0x4167d0(%rip) # 0x822750 leaq 0x20(%rsp), %rdi xorl %esi, %esi movl $0x10, %edx callq 0x401090 leaq 0x20(%rsp), %rdi movq 0x30(%rsp), %rcx movl $0x1, %esi movl $0x10, %edx callq 0x65d280 movq %rax, 0x18(%rsp) movl 0x2fe58f(%rip), %eax # 0x70a544 movl %eax, 0x4167...
/interiorem[P]lepton/src/lepton/socket_serve.cc
show_help()
void show_help( void ) { fprintf(msgout, "Usage: %s [switches] input_file [output_file]", appname ); fprintf(msgout, "\n" ); fprintf(msgout, "\n" ); fprintf(msgout, " [-version] File format version of lepton codec\n" ); fprintf(msgout, " [-revision] GIT Hash of lepton source that built th...
pushq %rax movq 0x4298f0(%rip), %rdi # 0x837518 movq 0x4106a1(%rip), %rdx # 0x81e2d0 leaq 0x2fd851(%rip), %rsi # 0x70b487 movb $0x0, %al callq 0x64e190 movq 0x4298d4(%rip), %rdi # 0x837518 leaq 0x386b3f(%rip), %rsi # 0x79478a movb $0x0, %al callq 0x64e190 movq 0x4298bf(%rip), %rdi # 0x837518 leaq 0x38...
/interiorem[P]lepton/src/lepton/jpgcoder.cc
decompression_memory_bound()
size_t decompression_memory_bound() { if (ofiletype == UJG || filetype == UJG) { return 0; } size_t cumulative_buffer_size = 0; size_t streaming_buffer_size = 0; size_t current_run_size = 0; for (int i = 0; i < colldata.get_num_components(); ++i) { size_t streaming_size = ...
subq $0xa8, %rsp cmpl $0x1, 0x40baba(%rip) # 0x81e2b8 je 0x412809 cmpl $0x1, 0x424c85(%rip) # 0x83748c jne 0x41281a movq $0x0, 0xa0(%rsp) jmp 0x412c62 movq $0x0, 0x98(%rsp) movq $0x0, 0x90(%rsp) movq $0x0, 0x88(%rsp) movl $0x0, 0x84(%rsp) movl 0x84(%rsp), %eax movl %eax, 0xc(%rsp) leaq 0x4248c5(%rip), %rdi # 0...
/interiorem[P]lepton/src/lepton/jpgcoder.cc
recode_baseline_jpeg_wrapper(Sirikata::CountingReader*, bounded_iostream*)
bool recode_baseline_jpeg_wrapper(Sirikata::CountingReader *str_in, bounded_iostream *str_out) { bool retval = recode_baseline_jpeg(str_out, max_file_size); if (!retval) { errorlevel.store(2); return retval; } // get sizes of input & output files ujgfilesize = str_in->getsize();...
subq $0x98, %rsp movq %rdi, 0x70(%rsp) movq %rsi, 0x68(%rsp) movq 0x68(%rsp), %rdi movl 0x424290(%rip), %esi # 0x83710c callq 0x443f20 andb $0x1, %al movb %al, 0x67(%rsp) testb $0x1, 0x67(%rsp) jne 0x412f44 movq $0x837750, %rax # imm = 0x837750 movq %rax, 0x90(%rsp) movl $0x2, 0x8c(%rsp) movl $0x5, 0x88(%rsp...
/interiorem[P]lepton/src/lepton/jpgcoder.cc
open_fdout(char const*, IOUtil::FileWriter*, bool, Sirikata::Array1d<unsigned char, 2u, Sirikata::DontRoundPow2, Sirikata::DirectType<Sirikata::ArrayBaseType1d<unsigned char, 2u, Sirikata::DontRoundPow2>>>, bool, bool*, bool&)
int open_fdout(const char *ifilename, IOUtil::FileWriter *writer, bool is_embedded_jpeg, Sirikata::Array1d<uint8_t, 2> fileid, bool force_compressed_output, bool *is_socket, bool &owns_fdout) { if (wri...
subq $0x188, %rsp # imm = 0x188 movl %ecx, 0x4c(%rsp) movl %edx, %ecx movl 0x4c(%rsp), %edx movb %r8b, %al movq 0x190(%rsp), %r8 movw %dx, 0x182(%rsp) movq %rdi, 0x178(%rsp) movq %rsi, 0x170(%rsp) andb $0x1, %cl movb %cl, 0x16f(%rsp) andb $0x1, %al movb %al, 0x16e(%rsp) movq %r9, 0x160(%rsp) cmpq $0x0, 0x170...
/interiorem[P]lepton/src/lepton/jpgcoder.cc
execute(std::function<bool ()> const&)
void execute(const std::function<bool()> &function) { clock_t begin = 0, end = 0; bool success; if ( errorlevel.load() < err_tresh ) { // get statusmessage //function(); // write statusmessage // set starttime if (!g_use_seccomp) { begin = clock(); ...
subq $0x48, %rsp movq %rdi, 0x28(%rsp) movq $0x0, 0x20(%rsp) movq $0x0, 0x18(%rsp) movq $0x837750, %rax # imm = 0x837750 movq %rax, 0x40(%rsp) movl $0x5, 0x3c(%rsp) movq 0x40(%rsp), %rax movq %rax, 0x8(%rsp) movl 0x3c(%rsp), %edi movl $0xffff, %esi # imm = 0xFFFF callq 0x42baa0 movl %eax, 0x38(%rsp) m...
/interiorem[P]lepton/src/lepton/jpgcoder.cc
check_file(int, int, unsigned int, bool, bool, Sirikata::Array1d<unsigned char, 2u, Sirikata::DontRoundPow2, Sirikata::DirectType<Sirikata::ArrayBaseType1d<unsigned char, 2u, Sirikata::DontRoundPow2>>>, bool)
bool check_file(int fd_in, int fd_out, uint32_t max_file_size, bool force_zlib0, bool is_embedded_jpeg, Sirikata::Array1d<uint8_t, 2> fileid, bool is_socket) { ujg_base_in = IOUtil::BindFdToReader(fd_in, max_file_size, is_socket); if (!ujg_base_in) { custom_exit(ExitCode::FILE_NOT_FOUND)...
subq $0x118, %rsp # imm = 0x118 movl %r8d, 0x64(%rsp) movl %ecx, %eax movl 0x64(%rsp), %ecx movl %edx, 0x68(%rsp) movl %esi, %edx movl 0x68(%rsp), %esi movl %edx, 0x6c(%rsp) movl %edi, %r8d movl 0x6c(%rsp), %edi movb %al, %dl movb 0x120(%rsp), %al movw %r9w, 0xe5(%rsp) movl %r8d, 0xe0(%rsp) movl %edi, 0xdc(%...
/interiorem[P]lepton/src/lepton/jpgcoder.cc
write_info()
bool write_info( void ) { FILE* fp; const char* fn = "stdout"; unsigned char type = 0x00; // type of current marker segment unsigned int len = 0; // length of current marker segment unsigned int hpos = 0; // position in header int cmp, bpos; int i; // open file for output f...
subq $0xb8, %rsp leaq 0x2efd63(%rip), %rax # 0x70c6b1 movq %rax, 0x88(%rsp) movb $0x0, 0x87(%rsp) movl $0x0, 0x80(%rsp) movl $0x0, 0x7c(%rsp) movq $0x820c50, %rax # imm = 0x820C50 movq (%rax), %rax movq %rax, 0x90(%rsp) cmpq $0x0, 0x90(%rsp) jne 0x41ca62 movq $0x820c48, %rax # imm = 0x820C48 movq (%r...
/interiorem[P]lepton/src/lepton/jpgcoder.cc
is_needed_for_second_block(std::vector<unsigned char, std::allocator<unsigned char>> const&)
bool is_needed_for_second_block(const std::vector<unsigned char>&segment) { if (segment.size() <= 2) { return true; // don't understand this type of header } if (segment[0] != 0xff) { return true; // don't understand this type of header } switch (segment[1]) { case 0xC4: // DHT...
subq $0x18, %rsp movq %rdi, 0x8(%rsp) movq 0x8(%rsp), %rdi callq 0x40a0c0 cmpq $0x2, %rax ja 0x41d053 movb $0x1, 0x17(%rsp) jmp 0x41d0e1 movq 0x8(%rsp), %rdi xorl %eax, %eax movl %eax, %esi callq 0x427540 movzbl (%rax), %eax cmpl $0xff, %eax je 0x41d072 movb $0x1, 0x17(%rsp) jmp 0x41d0e1 movq 0x8(%rsp), %rdi movl $0x1,...
/interiorem[P]lepton/src/lepton/jpgcoder.cc
crystallize_thread_handoff(abitreader*, std::vector<std::pair<unsigned int, unsigned int>, std::allocator<std::pair<unsigned int, unsigned int>>> const&, int, int*, int)
ThreadHandoff crystallize_thread_handoff(abitreader *reader, const std::vector<std::pair<uint32_t, uint32_t> >&huff_input_offsets, int mcu_y, int lastdc[4], ...
subq $0xa8, %rsp movq %rdi, 0x90(%rsp) movq %rsi, 0x88(%rsp) movl %edx, 0x84(%rsp) movq %rcx, 0x78(%rsp) movl %r8d, 0x74(%rsp) movq 0x88(%rsp), %rdi callq 0x4275e0 movq %rax, 0x60(%rsp) movq 0x88(%rsp), %rdi callq 0x427610 movq %rax, 0x58(%rsp) movq 0x90(%rsp), %rdi callq 0x427640 movl %eax, 0x4c(%rsp) movq 0x90(%rsp),...
/interiorem[P]lepton/src/lepton/jpgcoder.cc
encode_ac_prg_fs(abitwriter*, huffCodes*, short*, unsigned int*, int, int)
int encode_ac_prg_fs( abitwriter* huffw, huffCodes* actbl, short* block, unsigned int* eobrun, int from, int to ) { unsigned short n; unsigned char s; unsigned char z; int bpos; int hc; int tmp; // encode AC z = 0; for ( bpos = from; bpos <= to; bpos++ ) { // if nonzer...
subq $0x48, %rsp movq %rdi, 0x38(%rsp) movq %rsi, 0x30(%rsp) movq %rdx, 0x28(%rsp) movq %rcx, 0x20(%rsp) movl %r8d, 0x1c(%rsp) movl %r9d, 0x18(%rsp) movb $0x0, 0x14(%rsp) movl 0x1c(%rsp), %eax movl %eax, 0x10(%rsp) movl 0x10(%rsp), %eax cmpl 0x18(%rsp), %eax jg 0x421cc9 movq 0x28(%rsp), %rax movslq 0x10(%rsp), %rcx mov...
/interiorem[P]lepton/src/lepton/jpgcoder.cc
encode_eobrun(abitwriter*, huffCodes*, unsigned int*)
int encode_eobrun( abitwriter* huffw, huffCodes* actbl, unsigned int* eobrun ) { unsigned short n; unsigned int s; int hc; if ( (*eobrun) > 0 ) { while ( (*eobrun) > actbl->max_eobrun ) { huffw->write( actbl->cval[ 0xE0 ], actbl->clen[ 0xE0 ] ); huffw->write( E_ENVLI( ...
subq $0x28, %rsp movq %rdi, 0x20(%rsp) movq %rsi, 0x18(%rsp) movq %rdx, 0x10(%rsp) movq 0x10(%rsp), %rax cmpl $0x0, (%rax) jbe 0x421e5f jmp 0x421d63 movq 0x10(%rsp), %rax movl (%rax), %eax movq 0x18(%rsp), %rcx movzwl 0x400(%rcx), %ecx cmpl %ecx, %eax jbe 0x421dc9 movq 0x20(%rsp), %rdi movq 0x18(%rsp), %rax movzwl 0x1c...
/interiorem[P]lepton/src/lepton/jpgcoder.cc
build_huffcodes(unsigned char*, unsigned int, unsigned char*, unsigned int, huffCodes*, huffTree*)
bool build_huffcodes( unsigned char *clen, uint32_t clenlen, unsigned char *cval, uint32_t cvallen, huffCodes *hc, huffTree *ht ) { int nextfree; int code; int node; int i, j, k; // fill with zeroes memset( hc->clen, 0, 256 * sizeof( short ) ); memset( hc->cval, 0, 256 * sizeof( short ) );...
subq $0x98, %rsp movq %rdi, 0x88(%rsp) movl %esi, 0x84(%rsp) movq %rdx, 0x78(%rsp) movl %ecx, 0x74(%rsp) movq %r8, 0x68(%rsp) movq %r9, 0x60(%rsp) movq 0x68(%rsp), %rdi addq $0x200, %rdi # imm = 0x200 xorl %esi, %esi movl $0x200, %edx # imm = 0x200 callq 0x401090 movq 0x68(%rsp), %rdi xorl %esi, %...
/interiorem[P]lepton/src/lepton/jpgcoder.cc
BaseEncoder* makeEncoder<VPXBoolReader>(bool, bool)
BaseEncoder *makeEncoder(bool threaded, bool start_workers) { TimingHarness::timing[0][TimingHarness::TS_MODEL_INIT_BEGIN] = TimingHarness::get_time_us(); VP8ComponentEncoder<BoolDecoder> * retval = new VP8ComponentEncoder<BoolDecoder>(threaded, IsDecoderAns<BoolDecoder>::IS_ANS); TimingHarness::timing[0][T...
subq $0x38, %rsp movb %sil, %al movb %dil, %cl andb $0x1, %cl movb %cl, 0x37(%rsp) andb $0x1, %al movb %al, 0x36(%rsp) xorl %edi, %edi callq 0x40d1c0 movq %rax, 0x10(%rsp) leaq 0x40e756(%rip), %rdi # 0x832910 xorl %esi, %esi callq 0x423a30 movq %rax, %rdi movl $0x1, %esi callq 0x423a90 movq 0x10(%rsp), %rcx movq %rc...
/interiorem[P]lepton/src/lepton/jpgcoder.cc
void encode_image_stream<vector_ibytestream>(vector_ibytestream&, Sirikata::CountingWriter&)
void encode_image_stream(ibytestream_class &input_stream, Sirikata::CountingWriter &output_stream) { prepare_for_next_image(); const int HEADER_SIZE = 2; Sirikata::Array1d<uint8_t, HEADER_SIZE> jpeg_file_header; always_assert(input_stream.read(jpeg_file_header.begin(), HEADER_SIZE) == HEADER_SIZE); ...
subq $0x88, %rsp movq %rdi, 0x80(%rsp) movq %rsi, 0x78(%rsp) callq 0x40f820 movl $0x2, 0x74(%rsp) movq 0x80(%rsp), %rax movq %rax, 0x8(%rsp) leaq 0x72(%rsp), %rdi callq 0x4249e0 movq 0x8(%rsp), %rdi movq %rax, %rsi movl $0x2, %edx callq 0x42dc40 cmpl $0x2, %eax sete %al movzbl %al, %edi andl $0x1, %edi leaq 0x2e843c(%r...
/interiorem[P]lepton/src/lepton/jpgcoder.cc
Sirikata::Array1d<unsigned char, 22u - 18u, Sirikata::DontRoundPow2, Sirikata::DirectType<Sirikata::ArrayBaseType1d<unsigned char, 22u - 18u, Sirikata::DontRoundPow2>>>::Slice Sirikata::Array1d<unsigned char, 22u, Sirikata::DontRoundPow2, Sirikata::DirectType<Sirikata::ArrayBaseType1d<unsigned char, 22u, Sirikata::Dont...
typename Array1d<T, kend - kstart, ShouldRoundPow2>::Slice slice() { uint8_t ARRAY_BOUNDS_ASSERT_slice_legal[kend > s0 ? -1 : 1]; uint8_t ARRAY_BOUNDS_ASSERT_slice_start_legal[kend < kstart ? -1 : 1]; (void)ARRAY_BOUNDS_ASSER...
subq $0x18, %rsp movq %rdi, 0x8(%rsp) movq 0x8(%rsp), %rdi callq 0x434b20 addq $0x12, %rax movq %rax, 0x10(%rsp) movq 0x10(%rsp), %rax addq $0x18, %rsp retq nopw %cs:(%rax,%rax)
/interiorem[P]lepton/src/lepton/../vp8/util/nd_array.hh
UncompressedComponents::init(Sirikata::Array1d<componentInfo, 4u, Sirikata::DontRoundPow2, Sirikata::DirectType<Sirikata::ArrayBaseType1d<componentInfo, 4u, Sirikata::DontRoundPow2>>>, int, int, int, bool)
bool init(Sirikata::Array1d<componentInfo, ExtendedInfo::size0> cmpinfo, int cmpc, int mcuh, int mcuv, bool memory_optimized_image) { mcuh_ = mcuh; mcuv_ = mcuv; if (cmpc > (int)ColorChannel::NumBlockTypes) { set_error_code(ExitCode::UNSUPPORTED_4_COLORS, "We only suppo...
subq $0x58, %rsp movb %r8b, %al leaq 0x60(%rsp), %r8 movq %r8, 0x20(%rsp) movq %rdi, 0x48(%rsp) movl %esi, 0x44(%rsp) movl %edx, 0x40(%rsp) movl %ecx, 0x3c(%rsp) andb $0x1, %al movb %al, 0x3b(%rsp) movq 0x48(%rsp), %rax movq %rax, 0x28(%rsp) movl 0x40(%rsp), %ecx movl %ecx, 0x4(%rax) movl 0x3c(%rsp), %ecx movl %ecx, 0x...
/interiorem[P]lepton/src/lepton/uncompressed_components.hh
abitwriter::flush_no_pad()
void flush_no_pad() { if (__builtin_expect(bound_reached(), 0)) { return; } always_assert(((64 - cbit2) & 7) == 0); buf = htobe64(buf); uint32_t bytes_to_write = (64 - cbit2) / 8; memcpy(data2 + cbyte2, &buf, bytes_to_write); cbyte2 += bytes_to_write; ...
subq $0x18, %rsp movq %rdi, 0x10(%rsp) movq 0x10(%rsp), %rdi movq %rdi, (%rsp) callq 0x42ac70 testb $0x1, %al jne 0x42877d jmp 0x428782 jmp 0x428814 movq (%rsp), %rcx movl $0x40, %eax subl 0x1c(%rcx), %eax andl $0x7, %eax cmpl $0x0, %eax sete %al movzbl %al, %edi andl $0x1, %edi leaq 0x2e4259(%rip), %rsi # 0x70c9fd ...
/interiorem[P]lepton/src/lepton/bitops.hh
componentInfo::check_valid_value_range() const
void check_valid_value_range() const { always_assert(bch && "zero height"); always_assert(bcv && "zero height"); always_assert(sfv && "zero sfv"); always_assert(sfh && "zero sfh"); }
subq $0x28, %rsp movq %rdi, 0x20(%rsp) movq 0x20(%rsp), %rcx movq %rcx, 0x10(%rsp) xorl %eax, %eax cmpl $0x0, 0x20(%rcx) movb %al, 0x1f(%rsp) je 0x4293d7 movb $0x1, %al movb %al, 0x1f(%rsp) jmp 0x4293d7 movb 0x1f(%rsp), %al movzbl %al, %edi andl $0x1, %edi leaq 0x2e3699(%rip), %rsi # 0x70ca81 leaq 0x2e36a7(%rip), %r...
/interiorem[P]lepton/src/lepton/component_info.hh
write_bit_bill(Billing, bool, unsigned int)
inline void write_bit_bill(Billing bt, bool is_compressed, uint32_t num_bits) { #if defined(ENABLE_BILLING) || !defined(NDEBUG) dev_assert((uint32_t)bt < (uint32_t)Billing::NUM_BILLING_ELEMENTS); if (is_compressed && bt == Billing::HEADER) { //fprintf(stderr, "Header; %f bytes\n", num_bits / 8.0); }...
movb %sil, %al movl %edi, -0x4(%rsp) andb $0x1, %al movb %al, -0x5(%rsp) movl %edx, -0xc(%rsp) retq nopw %cs:(%rax,%rax) nopl (%rax)
/interiorem[P]lepton/src/vp8/util/billing.hh
UncompressedComponents::set_block_count_dpos(UncompressedComponents::ExtendedComponentInfo*, int)
void set_block_count_dpos(ExtendedComponentInfo *ci, int trunc_bc) { always_assert(ci->info_.bcv == ci->info_.bc / ci->info_.bch + (ci->info_.bc % ci->info_.bch ? 1 : 0)); int vertical_scanlines = std::min(trunc_bc / ci->info_.bch + (trunc_bc % ci->info_.bch ? 1 : 0), ci->info_.bcv); int ratio ...
subq $0x38, %rsp movq %rdi, 0x30(%rsp) movq %rsi, 0x28(%rsp) movl %edx, 0x24(%rsp) movq 0x30(%rsp), %rax movq %rax, 0x10(%rsp) movq 0x28(%rsp), %rax movl 0x44(%rax), %eax movl %eax, 0x8(%rsp) movq 0x28(%rsp), %rax movl 0x4c(%rax), %eax movq 0x28(%rsp), %rcx cltd idivl 0x48(%rcx) movl %eax, %ecx movq 0x28(%rsp), %rax mo...
/interiorem[P]lepton/src/lepton/uncompressed_components.hh
BlockBasedImageBase<false>::raster(unsigned int) const
const AlignedBlock& raster(uint32_t offset) const { if (force_memory_optimization || memory_optimized_image_) { #ifdef ALLOW_3_OR_4_SCALING_FACTOR offset = offset % (width_ << 2); #else offset = offset % (width_ << 1); #endif dev_assert(offset <= nblocks_ && "we mod offset by...
subq $0x18, %rsp movq %rdi, 0x10(%rsp) movl %esi, 0xc(%rsp) movq 0x10(%rsp), %rax movq %rax, (%rsp) testb $0x1, 0x1c(%rax) je 0x42acc3 movq (%rsp), %rcx movl 0xc(%rsp), %eax movl 0x8(%rcx), %ecx shll %ecx xorl %edx, %edx divl %ecx movl %edx, 0xc(%rsp) jmp 0x42acdc movq (%rsp), %rcx movl 0xc(%rsp), %eax cmpl 0xc(%rcx), ...
/interiorem[P]lepton/src/lepton/../vp8/util/block_based_image.hh
concatenate_files(int, int)
void concatenate_files(int fdint, int fdout) { using namespace Sirikata; std::vector<IOUtil::FileReader*, JpegAllocator<IOUtil::FileReader*>> files_to_concatenate; files_to_concatenate.push_back(new IOUtil::FileReader(fdint, 0x7fffffff, false)); if (fdout == -1) { fdout = 1; // p...
subq $0x103e8, %rsp # imm = 0x103E8 movl %edi, 0x103e4(%rsp) movl %esi, 0x103e0(%rsp) leaq 0x103a0(%rsp), %rdi callq 0x4391b0 movl $0x28, %edi callq 0x477530 movq %rax, %rdi movq %rdi, 0xb8(%rsp) movl 0x103e4(%rsp), %esi movl $0x7fffffff, %edx # imm = 0x7FFFFFFF xorl %ecx, %ecx callq 0x4082c0 movq 0xb8(%...
/interiorem[P]lepton/src/lepton/concat.cc
decode_in_place(unsigned char*, unsigned long)
void decode_in_place(unsigned char *data, size_t size) { size_t j = 0; size_t i = 0; for (i = 3; i < size; i += 4, j += 3) { decode_4_to_3(data + j, data[i - 3], data[i - 2], data[i - 1], data[i]); } for (i = (size - (size & 3)); i < size; i += 4, j += 3) { decode_4_to_3(data + ...
subq $0x48, %rsp movq %rdi, 0x40(%rsp) movq %rsi, 0x38(%rsp) movq $0x0, 0x30(%rsp) movq $0x0, 0x28(%rsp) movq $0x3, 0x28(%rsp) movq 0x28(%rsp), %rax cmpq 0x38(%rsp), %rax jae 0x43b9e2 movq 0x40(%rsp), %rdi addq 0x30(%rsp), %rdi movq 0x40(%rsp), %rax movq 0x28(%rsp), %rcx subq $0x3, %rcx movb (%rax,%rcx), %sil movq 0x40...
/interiorem[P]lepton/src/lepton/benchmark.cc
update_atomic_throughput()
void update_atomic_throughput() { double cur_time = TimingHarness::get_time_us(true); double start_time = (double)g_start_time.load(); double delta = cur_time - start_time; double throughput = (g_benchmark_bytes_processed.load() / delta) * 1000 * 1000; uint64_t throughput_bytes_per_second = (uint64_...
subq $0xb8, %rsp movl $0x1, %edi callq 0x40d1c0 vmovq %rax, %xmm0 vmovdqa 0x2cd2a2(%rip), %xmm1 # 0x70a590 vpunpckldq %xmm1, %xmm0, %xmm0 # xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1] vmovapd 0x2cd2a6(%rip), %xmm1 # 0x70a5a0 vsubpd %xmm1, %xmm0, %xmm0 vmovaps %xmm0, %xmm1 vpermilpd $0x1, %xmm0, %xmm0 # xmm0 = xmm0[1,0] ...
/interiorem[P]lepton/src/lepton/benchmark.cc
do_benchmark(TestOptions, unsigned char*, unsigned long, char const**, char const**)
double do_benchmark(TestOptions test, unsigned char * file, size_t file_size, const char ** enc_options, const char ** dec_options = NULL) { Sirikata::MuxReader::ResizableByteBuffer encoded_file; auto file_md5 = do_first_encode(file, file_size, enc_opt...
subq $0x378, %rsp # imm = 0x378 leaq 0x380(%rsp), %rax movq %rax, 0x98(%rsp) movq %rdi, 0x310(%rsp) movq %rsi, 0x308(%rsp) movq %rdx, 0x300(%rsp) movq %rcx, 0x2f8(%rsp) leaq 0x290(%rsp), %rdi movq %rdi, 0xa0(%rsp) callq 0x4247e0 movq 0xa0(%rsp), %rsi leaq 0x2b8(%rsp), %rdi movq %rdi, 0xa8(%rsp) callq 0x424b3...
/interiorem[P]lepton/src/lepton/benchmark.cc
main
int main (int argc, char **argv) { for (int i = 1; i < argc; ++i){ if (strstr(argv[i], "-benchmark") != 0) { for (int j = i; j + 1 < argc; ++j) { argv[j] = argv[j + 1]; } --argc; return benchmark(argc, argv); } } return app_main...
subq $0x18, %rsp movl $0x0, 0x14(%rsp) movl %edi, 0x10(%rsp) movq %rsi, 0x8(%rsp) movl $0x1, 0x4(%rsp) movl 0x4(%rsp), %eax cmpl 0x10(%rsp), %eax jge 0x441109 movq 0x8(%rsp), %rax movslq 0x4(%rsp), %rcx movq (%rax,%rcx,8), %rdi leaq 0x2d5011(%rip), %rsi # 0x7160a1 callq 0x401038 cmpq $0x0, %rax je 0x4410f7 movl 0x4(...
/interiorem[P]lepton/src/lepton/main.cc
Sirikata::MuxReader::ResizableByteBuffer::resize(unsigned long)
void resize(size_t new_size) { if (mReserved < new_size) { size_t new_reserved = mReserved * 2; if (new_reserved < new_size) { new_reserved = new_size; } reserve(new_reserved); } dev_assert(mSize <= m...
subq $0x28, %rsp movq %rdi, 0x20(%rsp) movq %rsi, 0x18(%rsp) movq 0x20(%rsp), %rax movq %rax, 0x8(%rsp) movq 0x8(%rax), %rax cmpq 0x18(%rsp), %rax jae 0x442ad9 movq 0x8(%rsp), %rax movq 0x8(%rax), %rax shlq %rax movq %rax, 0x10(%rsp) movq 0x10(%rsp), %rax cmpq 0x18(%rsp), %rax jae 0x442aca movq 0x18(%rsp), %rax movq %r...
/interiorem[P]lepton/src/lepton/../io/MuxReader.hh
recode_physical_thread_wrapper(Sirikata::BoundedMemWriter*, BlockBasedImagePerChannel<true>&, int, std::vector<ThreadHandoff, std::allocator<ThreadHandoff>> const&, Sirikata::Array1d<unsigned int, 3u, Sirikata::DontRoundPow2, Sirikata::DirectType<Sirikata::ArrayBaseType1d<unsigned int, 3u, Sirikata::DontRoundPow2>>>, S...
void recode_physical_thread_wrapper(Sirikata::BoundedMemWriter *stream_out, BlockBasedImagePerChannel<true> &framebuffer, int mcuv, const std::vector<ThreadHandoff> &thread_handoffs, Sirikata::Array1d<uint32_...
pushq %rbx subq $0x90, %rsp movq 0xb8(%rsp), %rax movl 0xb0(%rsp), %eax leaq 0xa0(%rsp), %rax movq %r8, 0x74(%rsp) movl %r9d, 0x7c(%rsp) movq 0x74(%rsp), %r8 movq %r8, 0x84(%rsp) movl 0x7c(%rsp), %r8d movl %r8d, 0x8c(%rsp) movq %rdi, 0x68(%rsp) movq %rsi, 0x60(%rsp) movl %edx, 0x5c(%rsp) movq %rcx, 0x50(%rsp) movq 0x68...
/interiorem[P]lepton/src/lepton/recoder.cc
void escape_0xff_huffman_and_write<bounded_iostream>(bounded_iostream*, unsigned char const*, unsigned int)
void escape_0xff_huffman_and_write(OutputWriter* str_out, const unsigned char * local_huff_data, unsigned int max_byte_coded) { unsigned int progress_ipos = 0; //write a single scan { // write & expand huffman coded image data ...
subq $0x28, %rsp movq %rdi, 0x20(%rsp) movq %rsi, 0x18(%rsp) movl %edx, 0x14(%rsp) movl $0x0, 0x10(%rsp) movb $0x0, 0xf(%rsp) movl 0x10(%rsp), %eax addl $0xf, %eax cmpl 0x14(%rsp), %eax setb %al xorb $-0x1, %al testb $0x1, %al jne 0x449185 jmp 0x44918a jmp 0x44923c movq 0x18(%rsp), %rdi movl 0x10(%rsp), %eax addq %rax,...
/interiorem[P]lepton/src/lepton/recoder.cc
idct_sse(AlignedBlock const&, unsigned short const*, short*, bool)
void idct_sse(const AlignedBlock &block, const uint16_t q[64], int16_t voutp[64], bool ignore_dc) { char vintermed_storage[64 * sizeof(int32_t) + 16]; // align intermediate storage to 16 bytes int32_t *vintermed = (int32_t*) (vintermed_storage + 16 - ((vintermed_storage - (char*)nullptr) &0xf)); us...
subq $0x1a18, %rsp # imm = 0x1A18 movb %cl, %al movq %rdi, 0x408(%rsp) movq %rsi, 0x400(%rsp) movq %rdx, 0x3f8(%rsp) andb $0x1, %al movb %al, 0x3f7(%rsp) leaq 0x2e0(%rsp), %rax addq $0x10, %rax leaq 0x2e0(%rsp), %rdx subq $0x0, %rdx andq $0xf, %rdx xorl %ecx, %ecx subq %rdx, %rcx addq %rcx, %rax movq %rax, 0x...
/interiorem[P]lepton/src/lepton/idct.cc
LeptonCodec<VPXBoolReader>::worker_thread(LeptonCodec<VPXBoolReader>::ThreadState*, int, UncompressedComponents*, signed char*, GenericWorker*, VP8ComponentDecoder_SendToActualThread*)
void LeptonCodec<BoolDecoder>::worker_thread(ThreadState *ts, int thread_id, UncompressedComponents * const colldata, int8_t thread_target[Sirikata::MuxReader::MAX_STREAM_ID], GenericWorker *worker, V...
subq $0x68, %rsp movq %rdi, 0x60(%rsp) movl %esi, 0x5c(%rsp) movq %rdx, 0x50(%rsp) movq %rcx, 0x48(%rsp) movq %r8, 0x40(%rsp) movq %r9, 0x38(%rsp) xorl %edi, %edi callq 0x40d1c0 movq %rax, 0x18(%rsp) movl 0x5c(%rsp), %esi movq $0x832910, %rdi # imm = 0x832910 callq 0x423a30 movq %rax, %rdi movl $0xd, %esi callq...
/interiorem[P]lepton/src/lepton/lepton_codec.cc
void set_branch_array_identity<Sirikata::Array5d<Branch, 2u, 8u, 8u, 3u, 4u, Sirikata::DontRoundPow2, Sirikata::DirectType<Sirikata::ArrayBaseType5d<Branch, 2u, 8u, 8u, 3u, 4u, Sirikata::DontRoundPow2>>>>(Sirikata::Array5d<Branch, 2u, 8u, 8u, 3u, 4u, Sirikata::DontRoundPow2, Sirikata::DirectType<Sirikata::ArrayBaseType...
void set_branch_array_identity(BranchArray &branches) { auto begin = branches.begin(); auto end = branches.end(); set_branch_range_identity(begin, end); /* for (;false&&begin != end; ++begin) { begin->set_identity(); }*/ }
subq $0x18, %rsp movq %rdi, 0x10(%rsp) movq 0x10(%rsp), %rdi callq 0x45a350 movq %rax, 0x8(%rsp) movq 0x10(%rsp), %rdi callq 0x45a360 movq %rax, (%rsp) movq 0x8(%rsp), %rdi movq (%rsp), %rsi callq 0x4796f0 addq $0x18, %rsp retq nopl (%rax)
/interiorem[P]lepton/src/vp8/model/model.hh
void set_branch_array_identity<Sirikata::Array5d<Branch, 2u, 10u, 49u, 12u, 11u, Sirikata::DontRoundPow2, Sirikata::DirectType<Sirikata::ArrayBaseType5d<Branch, 2u, 10u, 49u, 12u, 11u, Sirikata::DontRoundPow2>>>>(Sirikata::Array5d<Branch, 2u, 10u, 49u, 12u, 11u, Sirikata::DontRoundPow2, Sirikata::DirectType<Sirikata::A...
void set_branch_array_identity(BranchArray &branches) { auto begin = branches.begin(); auto end = branches.end(); set_branch_range_identity(begin, end); /* for (;false&&begin != end; ++begin) { begin->set_identity(); }*/ }
subq $0x18, %rsp movq %rdi, 0x10(%rsp) movq 0x10(%rsp), %rdi callq 0x45a410 movq %rax, 0x8(%rsp) movq 0x10(%rsp), %rdi callq 0x45a420 movq %rax, (%rsp) movq 0x8(%rsp), %rdi movq (%rsp), %rsi callq 0x4796f0 addq $0x18, %rsp retq nopl (%rax)
/interiorem[P]lepton/src/vp8/model/model.hh
void set_branch_array_identity<Sirikata::Array3d<Branch, 12u, 17u, 11u, Sirikata::DontRoundPow2, Sirikata::DirectType<Sirikata::ArrayBaseType3d<Branch, 12u, 17u, 11u, Sirikata::DontRoundPow2>>>>(Sirikata::Array3d<Branch, 12u, 17u, 11u, Sirikata::DontRoundPow2, Sirikata::DirectType<Sirikata::ArrayBaseType3d<Branch, 12u,...
void set_branch_array_identity(BranchArray &branches) { auto begin = branches.begin(); auto end = branches.end(); set_branch_range_identity(begin, end); /* for (;false&&begin != end; ++begin) { begin->set_identity(); }*/ }
subq $0x18, %rsp movq %rdi, 0x10(%rsp) movq 0x10(%rsp), %rdi callq 0x45a470 movq %rax, 0x8(%rsp) movq 0x10(%rsp), %rdi callq 0x45a480 movq %rax, (%rsp) movq 0x8(%rsp), %rdi movq (%rsp), %rsi callq 0x4796f0 addq $0x18, %rsp retq nopl (%rax)
/interiorem[P]lepton/src/vp8/model/model.hh
ProbabilityTables<false, (BlockType)0>::ProbabilityTables(BlockType, bool, bool, bool)
ProbabilityTables(BlockType kcolor, bool in_left_present, bool in_above_present, bool in_above_right_present) : left_present(in_left_present), above_present(in_above_present), above_right_present(in_above_right_present) { ...
subq $0x18, %rsp movb %r8b, %al movq %rdi, 0x10(%rsp) movl %esi, 0xc(%rsp) andb $0x1, %dl movb %dl, 0xb(%rsp) andb $0x1, %cl movb %cl, 0xa(%rsp) andb $0x1, %al movb %al, 0x9(%rsp) movq 0x10(%rsp), %rcx movq %rcx, (%rsp) movb 0xb(%rsp), %al andb $0x1, %al movb %al, (%rcx) movb 0xa(%rsp), %al andb $0x1, %al movb %al, 0x1...
/interiorem[P]lepton/src/vp8/model/model.hh
void LeptonCodec<VPXBoolReader>::ThreadState::decode_row<ProbabilityTables<false, (BlockType)0>, ProbabilityTables<false, (BlockType)0>, ProbabilityTables<false, (BlockType)0>, false>(ProbabilityTables<false, (BlockType)0>&, ProbabilityTables<false, (BlockType)0>&, ProbabilityTables<false, (BlockType)0>&, int, BlockBas...
void LeptonCodec<BoolDecoder>::ThreadState::decode_row(Left & left_model, Middle& middle_model, Right& right_model, int curr_y, BlockBasedImagePerChanne...
subq $0x148, %rsp # imm = 0x148 movl 0x150(%rsp), %eax movq %rdi, 0x140(%rsp) movq %rsi, 0x138(%rsp) movq %rdx, 0x130(%rsp) movq %rcx, 0x128(%rsp) movl %r8d, 0x124(%rsp) movq %r9, 0x118(%rsp) movq 0x140(%rsp), %rax movq %rax, 0x38(%rsp) movq 0x118(%rsp), %rdi xorl %esi, %esi callq 0x4586c0 movq (%rax), %rdi ...
/interiorem[P]lepton/src/lepton/lepton_codec.cc
void LeptonCodec<VPXBoolReader>::ThreadState::decode_row<ProbabilityTables<false, (BlockType)0>, ProbabilityTables<true, (BlockType)0>, ProbabilityTables<false, (BlockType)0>, false>(ProbabilityTables<false, (BlockType)0>&, ProbabilityTables<true, (BlockType)0>&, ProbabilityTables<false, (BlockType)0>&, int, BlockBased...
void LeptonCodec<BoolDecoder>::ThreadState::decode_row(Left & left_model, Middle& middle_model, Right& right_model, int curr_y, BlockBasedImagePerChanne...
subq $0x148, %rsp # imm = 0x148 movl 0x150(%rsp), %eax movq %rdi, 0x140(%rsp) movq %rsi, 0x138(%rsp) movq %rdx, 0x130(%rsp) movq %rcx, 0x128(%rsp) movl %r8d, 0x124(%rsp) movq %r9, 0x118(%rsp) movq 0x140(%rsp), %rax movq %rax, 0x38(%rsp) movq 0x118(%rsp), %rdi xorl %esi, %esi callq 0x4586c0 movq (%rax), %rdi ...
/interiorem[P]lepton/src/lepton/lepton_codec.cc
MBlockContext<AlignedBlock>::MBlockContext(AlignedBlock*, AlignedBlock*, __gnu_cxx::__normal_iterator<NeighborSummary*, std::vector<NeighborSummary, std::allocator<NeighborSummary>>>, __gnu_cxx::__normal_iterator<NeighborSummary*, std::vector<NeighborSummary, std::allocator<NeighborSummary>>>)
MBlockContext(ABlock *cur, ABlock * above, std::vector<NeighborSummary>::iterator num_nonzeros_here, std::vector<NeighborSummary>::iterator num_nonzeros_above) { std::memset(this, 0, sizeof(*this)); this->cur = cur; this->above = above; ...
subq $0x38, %rsp movq %rcx, 0x30(%rsp) movq %r8, 0x28(%rsp) movq %rdi, 0x20(%rsp) movq %rsi, 0x18(%rsp) movq %rdx, 0x10(%rsp) movq 0x20(%rsp), %rdi movq %rdi, 0x8(%rsp) addq $0x10, %rdi callq 0x45a020 movq 0x8(%rsp), %rdi addq $0x18, %rdi callq 0x45a020 movq 0x8(%rsp), %rdi xorl %esi, %esi movl $0x20, %edx callq 0x4010...
/interiorem[P]lepton/src/vp8/model/../util/block_context.hh
void LeptonCodec<VPXBoolReader>::ThreadState::decode_row<ProbabilityTables<false, (BlockType)0>, ProbabilityTables<false, (BlockType)0>, ProbabilityTables<false, (BlockType)0>, true>(ProbabilityTables<false, (BlockType)0>&, ProbabilityTables<false, (BlockType)0>&, ProbabilityTables<false, (BlockType)0>&, int, BlockBase...
void LeptonCodec<BoolDecoder>::ThreadState::decode_row(Left & left_model, Middle& middle_model, Right& right_model, int curr_y, BlockBasedImagePerChanne...
subq $0x148, %rsp # imm = 0x148 movl 0x150(%rsp), %eax movq %rdi, 0x140(%rsp) movq %rsi, 0x138(%rsp) movq %rdx, 0x130(%rsp) movq %rcx, 0x128(%rsp) movl %r8d, 0x124(%rsp) movq %r9, 0x118(%rsp) movq 0x140(%rsp), %rax movq %rax, 0x38(%rsp) movq 0x118(%rsp), %rdi xorl %esi, %esi callq 0x446890 movq (%rax), %rdi ...
/interiorem[P]lepton/src/lepton/lepton_codec.cc
void LeptonCodec<VPXBoolReader>::ThreadState::decode_row<ProbabilityTables<false, (BlockType)0>, ProbabilityTables<true, (BlockType)0>, ProbabilityTables<false, (BlockType)0>, true>(ProbabilityTables<false, (BlockType)0>&, ProbabilityTables<true, (BlockType)0>&, ProbabilityTables<false, (BlockType)0>&, int, BlockBasedI...
void LeptonCodec<BoolDecoder>::ThreadState::decode_row(Left & left_model, Middle& middle_model, Right& right_model, int curr_y, BlockBasedImagePerChanne...
subq $0x148, %rsp # imm = 0x148 movl 0x150(%rsp), %eax movq %rdi, 0x140(%rsp) movq %rsi, 0x138(%rsp) movq %rdx, 0x130(%rsp) movq %rcx, 0x128(%rsp) movl %r8d, 0x124(%rsp) movq %r9, 0x118(%rsp) movq 0x140(%rsp), %rax movq %rax, 0x38(%rsp) movq 0x118(%rsp), %rdi xorl %esi, %esi callq 0x446890 movq (%rax), %rdi ...
/interiorem[P]lepton/src/lepton/lepton_codec.cc
VP8ComponentDecoder_SendToVirtualThread::send(ResizableByteBufferListNode*)
void VP8ComponentDecoder_SendToVirtualThread::send(ResizableByteBufferListNode *data) { always_assert(data); always_assert(data->stream_id < sizeof(vbuffers) / sizeof(vbuffers[0]) && "INVALID SEND STREAM ID"); if (!g_threaded || NUM_THREADS == 1) { /* fprintf(stderr, "VSending ...
subq $0x38, %rsp movq %rdi, 0x30(%rsp) movq %rsi, 0x28(%rsp) movq 0x30(%rsp), %rax movq %rax, 0x10(%rsp) cmpq $0x0, 0x28(%rsp) setne %al movzbl %al, %edi andl $0x1, %edi leaq 0x2ace88(%rip), %rsi # 0x70bec6 leaq 0x2b77c3(%rip), %rdx # 0x716808 movl $0xcc, %ecx callq 0x405d90 movq 0x28(%rsp), %rax movzbl 0x40(%rax...
/interiorem[P]lepton/src/lepton/vp8_decoder.cc
VP8ComponentDecoder_SendToVirtualThread::read(Sirikata::MuxReader&, unsigned char)
ResizableByteBufferListNode* VP8ComponentDecoder_SendToVirtualThread::read(Sirikata::MuxReader&reader, uint8_t stream_id) { using namespace Sirikata; always_assert(stream_id < sizeof(vbuffers) / sizeof(vbuffers[0]) && "INVALID READ STREAM ID"); if (!vbuffers[stream_id].empty()) { a...
subq $0x78, %rsp movb %dl, %al movq %rdi, 0x68(%rsp) movq %rsi, 0x60(%rsp) movb %al, 0x5f(%rsp) movq 0x68(%rsp), %rax movq %rax, 0x18(%rsp) movzbl 0x5f(%rsp), %eax movl %eax, %ecx xorl %eax, %eax cmpq $0x10, %rcx movb %al, 0x27(%rsp) jae 0x45f409 movb $0x1, %al movb %al, 0x27(%rsp) jmp 0x45f409 movb 0x27(%rsp), %al mov...
/interiorem[P]lepton/src/lepton/vp8_decoder.cc
VP8ComponentDecoder<VPXBoolReader>::initialize_bool_decoder(int, int)
void VP8ComponentDecoder<BoolDecoder>::initialize_bool_decoder(int thread_id, int target_thread_state) { std::unique_ptr<PacketReader> reader; if (NUM_THREADS > 1 && g_threaded) { reader.reset(new ActualThreadPacketReader(thread_id, getWorker(target_thread_state), &send_to_actual_thread_state)); } e...
subq $0x48, %rsp movq %rdi, 0x40(%rsp) movl %esi, 0x3c(%rsp) movl %edx, 0x38(%rsp) movq 0x40(%rsp), %rax movq %rax, 0x20(%rsp) leaq 0x30(%rsp), %rdi callq 0x459920 movq $0x81fac0, %rax # imm = 0x81FAC0 cmpl $0x1, (%rax) jbe 0x45ffc1 movq $0x81e2be, %rax # imm = 0x81E2BE testb $0x1, (%rax) je 0x45ffc1 mo...
/interiorem[P]lepton/src/lepton/vp8_decoder.cc
Sirikata::MuxReader::init(Sirikata::DecoderReader*)
void init (Reader *reader){ mNextHeaderValid = false; mReader = reader; eof = false; for (int i = 0; i < MAX_STREAM_ID; ++i) { // assign a better allocator mOffset[i] = 0; } mOverhead = 0; }
movq %rdi, -0x8(%rsp) movq %rsi, -0x10(%rsp) movq -0x8(%rsp), %rax movq %rax, -0x20(%rsp) movb $0x0, 0x44b(%rax) movq -0x10(%rsp), %rcx movq %rcx, (%rax) movb $0x0, 0x44c(%rax) movl $0x0, -0x14(%rsp) cmpl $0x10, -0x14(%rsp) jge 0x460bcb movq -0x20(%rsp), %rax movslq -0x14(%rsp), %rcx movl $0x0, 0x408(%rax,%rcx,4) movl ...
/interiorem[P]lepton/src/lepton/../io/MuxReader.hh
Sirikata::MuxReader::ReadFull(Sirikata::DecoderReader*, unsigned char*, unsigned int)
static JpegError ReadFull(Reader* r, uint8_t *buffer, uint32_t len) { while (len != 0) { std::pair<uint32, JpegError> ret = r->Read(buffer, len); if (ret.first == 0) { dev_assert(ret.second != JpegError::nil() && "Read of 0 bytes == error"); return ret.sec...
subq $0x28, %rsp movq %rdi, 0x18(%rsp) movq %rsi, 0x10(%rsp) movl %edx, 0xc(%rsp) cmpl $0x0, 0xc(%rsp) je 0x462d75 movq 0x18(%rsp), %rdi movq 0x10(%rsp), %rsi movl 0xc(%rsp), %edx movq (%rdi), %rax callq *(%rax) movq %rax, 0x4(%rsp) cmpl $0x0, 0x4(%rsp) jne 0x462d52 movl 0x8(%rsp), %eax movl %eax, 0x24(%rsp) jmp 0x462d...
/interiorem[P]lepton/src/lepton/../io/MuxReader.hh
SimpleComponentDecoder::SimpleComponentDecoder()
SimpleComponentDecoder::SimpleComponentDecoder() { str_in = NULL; batch_size = 0; for (unsigned int i = 0; i < sizeof(cur_read_batch) / sizeof(cur_read_batch[0]); ++i) { cur_read_batch[i] = 0; target[i] = 0; started_scan[i] = false; } }
subq $0x18, %rsp movq %rdi, 0x10(%rsp) movq 0x10(%rsp), %rdi movq %rdi, (%rsp) callq 0x4601f0 movq (%rsp), %rdi leaq 0x3af2c6(%rip), %rax # 0x816e98 addq $0x10, %rax movq %rax, (%rdi) addq $0x38, %rdi callq 0x409180 movq (%rsp), %rax movq $0x0, 0x30(%rax) movl $0x0, 0x50(%rax) movl $0x0, 0xc(%rsp) movl 0xc(%rsp), %e...
/interiorem[P]lepton/src/lepton/simple_decoder.cc
printContext(_IO_FILE*)
void printContext(FILE * fp) { #ifdef ANNOTATION_ENABLED for (int cm= 0;cm< 3;++cm) { for (int y = 0;y < Context::H/8; ++y) { for (int x = 0;x < Context::W/8; ++x) { for (int by = 0; by < 8; ++by){ for (int bx = 0; bx < 8; ++bx) { for (...
movq %rdi, -0x8(%rsp) retq nopw %cs:(%rax,%rax)
/interiorem[P]lepton/src/lepton/vp8_encoder.cc
LeptonCodec_RowSpec LeptonCodec_row_spec_from_index<KBlockBasedImagePerChannel<false>>(unsigned int, KBlockBasedImagePerChannel<false> const&, int, Sirikata::Array1d<unsigned int, 3u, Sirikata::DontRoundPow2, Sirikata::DirectType<Sirikata::ArrayBaseType1d<unsigned int, 3u, Sirikata::DontRoundPow2>>>)
static LeptonCodec_RowSpec LeptonCodec_row_spec_from_index(uint32_t decode_index, const BlockBasedImagePerChannels& image_data, int mcuv, // number of mcus Sirikata::Array1d<uint3...
subq $0x88, %rsp movq %rdi, 0x18(%rsp) movq %rdi, 0x20(%rsp) movq %r8, 0x6c(%rsp) movl %r9d, 0x74(%rsp) movq 0x6c(%rsp), %rax movq %rax, 0x7c(%rsp) movl 0x74(%rsp), %eax movl %eax, 0x84(%rsp) movl %esi, 0x68(%rsp) movq %rdx, 0x60(%rsp) movl %ecx, 0x5c(%rsp) movl $0x3, 0x58(%rsp) leaq 0x4c(%rsp), %rdi xorl %esi, %esi mo...
/interiorem[P]lepton/src/lepton/lepton_codec.hh
VPXBoolWriter::VPXBoolWriter()
VPXBoolWriter() { #ifdef DEBUG_ARICODER any_written = false; #endif static_assert(MIN_SIZE & SIZE_CHECK, "min size must be caught by the size check, so allocations happen after"); static_assert(((MIN_SIZE - 1) & SIZE_CHECK) == 0, "min size -1 must not ...
subq $0x48, %rsp movq %rdi, 0x40(%rsp) movq 0x40(%rsp), %rax movq %rax, 0x10(%rsp) addq $0x18, %rax movq %rax, 0x8(%rsp) leaq 0x18(%rsp), %rdi callq 0x4247e0 movq 0x8(%rsp), %rdi leaq 0x18(%rsp), %rsi callq 0x424b30 leaq 0x18(%rsp), %rdi callq 0x424820 movq 0x10(%rsp), %rax movl $0x0, (%rax) movl $0x0, 0x4(%rax) movl $...
/interiorem[P]lepton/src/vp8/encoder/vpx_bool_writer.hh
Sirikata::MuxWriter::flush(unsigned char)
JpegError flush(uint8_t stream_id) { for (uint8_t i= 0; i < MAX_STREAM_ID; ++i) { uint32_t toBeFlushed = mBuffer[i].size() - mOffset[i]; if (i == stream_id || !toBeFlushed) { continue; } bool isUrgent = mTotalWritten - mLowWaterMark[i] > MAX_BUFFER...
subq $0x38, %rsp movb %sil, %al movq %rdi, 0x28(%rsp) movb %al, 0x27(%rsp) movq 0x28(%rsp), %rax movq %rax, (%rsp) movb $0x0, 0x26(%rsp) movzbl 0x26(%rsp), %eax cmpl $0x10, %eax jge 0x469d6b movq (%rsp), %rdi addq $0x10, %rdi movzbl 0x26(%rsp), %eax shlq $0x6, %rax addq %rax, %rdi callq 0x4063a0 movq (%rsp), %rcx movzb...
/interiorem[P]lepton/src/lepton/../io/MuxReader.hh
BlockBasedImageBase<false>::off_y(int, __gnu_cxx::__normal_iterator<NeighborSummary*, std::vector<NeighborSummary, std::allocator<NeighborSummary>>>) const
ConstBlockContext off_y(int y, std::vector<NeighborSummary>::iterator num_nonzeros_begin) const { if (force_memory_optimization || memory_optimized_image_) { #ifdef ALLOW_3_OR_4_SCALING_FACTOR return {image_ + width_ * (y & 3), image_ + ((y + 3) & 3) *...
subq $0x88, %rsp movq %rdi, 0x38(%rsp) movq %rdi, 0x40(%rsp) movq %rcx, 0x80(%rsp) movq %rsi, 0x78(%rsp) movl %edx, 0x74(%rsp) movq 0x78(%rsp), %rax movq %rax, 0x48(%rsp) testb $0x1, 0x1c(%rax) je 0x46c12f movl 0x74(%rsp), %eax andl $0x1, %eax cmpl $0x0, %eax je 0x46c04b movq 0x48(%rsp), %rcx movq (%rcx), %rax movl 0x8...
/interiorem[P]lepton/src/lepton/../vp8/util/block_based_image.hh
void VP8ComponentEncoder<VPXBoolReader>::process_row<ProbabilityTables<false, (BlockType)1>, ProbabilityTables<false, (BlockType)1>, ProbabilityTables<false, (BlockType)1>, VPXBoolWriter>(ProbabilityTablesBase&, ProbabilityTables<false, (BlockType)1>&, ProbabilityTables<false, (BlockType)1>&, ProbabilityTables<false, (...
void VP8ComponentEncoder<ArithmeticCoder>::process_row(ProbabilityTablesBase &pt, Left & left_model, Middle& middle_model, Right& right_model, int curr_y, ...
subq $0x168, %rsp # imm = 0x168 movq 0x178(%rsp), %rax movq 0x170(%rsp), %rax movq %rdi, 0x160(%rsp) movq %rsi, 0x158(%rsp) movq %rdx, 0x150(%rsp) movq %rcx, 0x148(%rsp) movl %r8d, 0x144(%rsp) movq %r9, 0x138(%rsp) movq 0x138(%rsp), %rdi movl $0x1, %esi callq 0x46be10 movq %rax, %rdi callq 0x458780 movl %eax...
/interiorem[P]lepton/src/lepton/vp8_encoder.cc
void VP8ComponentEncoder<VPXBoolReader>::process_row<ProbabilityTables<false, (BlockType)1>, ProbabilityTables<true, (BlockType)1>, ProbabilityTables<false, (BlockType)1>, VPXBoolWriter>(ProbabilityTablesBase&, ProbabilityTables<false, (BlockType)1>&, ProbabilityTables<true, (BlockType)1>&, ProbabilityTables<false, (Bl...
void VP8ComponentEncoder<ArithmeticCoder>::process_row(ProbabilityTablesBase &pt, Left & left_model, Middle& middle_model, Right& right_model, int curr_y, ...
subq $0x168, %rsp # imm = 0x168 movq 0x178(%rsp), %rax movq 0x170(%rsp), %rax movq %rdi, 0x160(%rsp) movq %rsi, 0x158(%rsp) movq %rdx, 0x150(%rsp) movq %rcx, 0x148(%rsp) movl %r8d, 0x144(%rsp) movq %r9, 0x138(%rsp) movq 0x138(%rsp), %rdi movl $0x1, %esi callq 0x46be10 movq %rax, %rdi callq 0x458780 movl %eax...
/interiorem[P]lepton/src/lepton/vp8_encoder.cc
AlignedBlock::recalculate_coded_length() const
uint8_t recalculate_coded_length() const { uint8_t num_nonzeros_7x7 = 0; /* how many tokens are we going to encode? */ for ( unsigned int index = 0; index < 64; index++ ) { unsigned int xy = jpeg_zigzag_to_raster.at( index ); unsigned int x = xy & 7; unsigned int y = xy >> 3; ...
subq $0x28, %rsp movq %rdi, 0x20(%rsp) movq 0x20(%rsp), %rax movq %rax, (%rsp) movb $0x0, 0x1f(%rsp) movl $0x0, 0x18(%rsp) cmpl $0x40, 0x18(%rsp) jae 0x46e5be movl 0x18(%rsp), %esi leaq 0x2a8c8f(%rip), %rdi # 0x7171e0 callq 0x428820 movzbl (%rax), %eax movl %eax, 0x14(%rsp) movl 0x14(%rsp), %eax andl $0x7, %eax movl...
/interiorem[P]lepton/src/lepton/../vp8/util/aligned_block.hh