name
stringlengths
1
473k
code
stringlengths
7
647k
asm
stringlengths
4
3.39M
file
stringlengths
8
196
Sirikata::ZlibDecoderCompressionWriter::Compress(unsigned char const*, unsigned long, Sirikata::JpegAllocator<unsigned char> const&)
std::vector<uint8_t, JpegAllocator<uint8_t> > ZlibDecoderCompressionWriter::Compress(const uint8_t *buffer, size_t size, const JpegAllocator<uint8_t> &alloc) { ...
subq $0xd8, %rsp movq %rdi, 0x8(%rsp) movq %rdi, %rax movq %rax, 0x10(%rsp) movq %rdi, 0xd0(%rsp) movq %rsi, 0xc8(%rsp) movq %rdx, 0xc0(%rsp) movq %rcx, 0xb8(%rsp) leaq 0x48(%rsp), %rdi xorl %esi, %esi movl $0x70, %edx callq 0x401090 leaq 0x20(%rsp), %rdi callq 0x4247e0 leaq -0xf6(%rip), %rax # 0x46f840 movq %rax...
/interiorem[P]lepton/src/io/ZlibCompression.cc
Sirikata::ZlibDecoderCompressionWriter::ZlibDecoderCompressionWriter(Sirikata::DecoderWriter*, unsigned char, Sirikata::JpegAllocator<unsigned char> const&)
ZlibDecoderCompressionWriter::ZlibDecoderCompressionWriter(DecoderWriter *w, uint8_t compression_level, const JpegAllocator<uint8_t> &alloc) : mAlloc(alloc) { mClosed = false; mBase = w; z_stream tm...
subq $0xa8, %rsp movb %dl, %al movq %rdi, 0xa0(%rsp) movq %rsi, 0x98(%rsp) movb %al, 0x97(%rsp) movq %rcx, 0x88(%rsp) movq 0xa0(%rsp), %rdi movq %rdi, 0x8(%rsp) callq 0x408850 movq 0x8(%rsp), %rdi leaq 0x3a6d7a(%rip), %rax # 0x817010 addq $0x10, %rax movq %rax, (%rdi) addq $0x8, %rdi movq 0x88(%rsp), %rsi callq 0x40...
/interiorem[P]lepton/src/io/ZlibCompression.cc
Sirikata::ZlibDecoderCompressionWriter::Write(unsigned char const*, unsigned int)
std::pair<uint32, JpegError> ZlibDecoderCompressionWriter::Write(const uint8*data, unsigned int size){ mStream.next_out = mWriteBuffer; mStream.avail_out = sizeof(mWriteBuffer); mStream.avail_in = size; mStream.next_in = (Bytef*)data; std:...
subq $0x58, %rsp movq %rdi, 0x48(%rsp) movq %rsi, 0x40(%rsp) movl %edx, 0x3c(%rsp) movq 0x48(%rsp), %rax movq %rax, 0x10(%rsp) movq %rax, %rcx addq $0x30, %rcx movq %rcx, 0x1048(%rax) movl $0x1000, 0x1050(%rax) # imm = 0x1000 movl 0x3c(%rsp), %ecx movl %ecx, 0x1038(%rax) movq 0x40(%rsp), %rcx movq %rcx, 0x1030(%rax) ...
/interiorem[P]lepton/src/io/ZlibCompression.cc
non-virtual thunk to Sirikata::MemReadWriter::Read(unsigned char*, unsigned int)
std::pair<Sirikata::uint32, Sirikata::JpegError> MemReadWriter::Read(Sirikata::uint8*data, unsigned int size) { using namespace Sirikata; size_t bytesLeft = mBuffer.size() - mReadCursor; size_t actualBytesRead = size; if (bytesLeft < size) { actualBytesRead = bytesLeft; } if (actualBytes...
subq $0x28, %rsp movq %rdi, 0x18(%rsp) movq %rsi, 0x10(%rsp) movl %edx, 0xc(%rsp) movq 0x18(%rsp), %rdi addq $-0x8, %rdi movq 0x10(%rsp), %rsi movl 0xc(%rsp), %edx callq 0x4710f0 movq %rax, 0x20(%rsp) movq 0x20(%rsp), %rax addq $0x28, %rsp retq nopl (%rax,%rax)
/interiorem[P]lepton/src/io/MemReadWriter.cc
IOUtil::start_subprocess(int, char const**, bool, bool)
SubprocessConnection start_subprocess(int argc, const char **argv, bool pipe_stderr, bool stderr_to_nul) { #if 1//def __APPLE__ std::lock_guard<std::mutex> lok(subprocess_lock); #endif SubprocessConnection retval; memset(&retval, 0, sizeof(retval)); #ifdef _WIN32 SECURITY_ATTRIBUTES saAttr; saAttr.n...
subq $0xa8, %rsp movb %cl, %al movb %dl, %cl movl %edi, 0x94(%rsp) movq %rsi, 0x88(%rsp) andb $0x1, %cl movb %cl, 0x87(%rsp) andb $0x1, %al movb %al, 0x86(%rsp) leaq 0x78(%rsp), %rdi leaq 0x3c3de7(%rip), %rsi # 0x837700 callq 0x473f40 leaq 0x98(%rsp), %rdi xorl %esi, %esi movl $0x10, %edx callq 0x401090 movq 0x2a281...
/interiorem[P]lepton/src/io/ioutil.cc
GenericWorker::get_n_worker_threads(unsigned int)
GenericWorker * GenericWorker::get_n_worker_threads(unsigned int num_workers) { static GenericWorker* workers = NULL; if (workers == NULL) { workers = new GenericWorker[MAX_NUM_THREADS]; custom_atexit(&kill_workers, workers, MAX_NUM_THREADS); //for (unsigned int i = 0;i < MAX_NUM_THREADS...
subq $0x28, %rsp movl %edi, 0x24(%rsp) cmpq $0x0, 0x3c2068(%rip) # 0x837728 jne 0x475739 movl $0x248, %edi # imm = 0x248 callq 0x477570 movq $0x8, (%rax) addq $0x8, %rax movq %rax, 0x8(%rsp) movq %rax, %rcx addq $0x240, %rcx # imm = 0x240 movq %rcx, 0x10(%rsp) movq %rax, 0x18(%rsp) movq 0x18(%r...
/interiorem[P]lepton/src/vp8/util/generic_worker.cc
GenericWorker::wait_for_work()
void GenericWorker::wait_for_work() { if (g_use_seccomp) { Sirikata::installStrictSyscallFilter(true); } _generic_respond_to_main(0); // startup while(true) { if (use_pipes) { char new_work_buffer[THREAD_PACKET_SIZE] = {63}; size_t amount_read = 0; whi...
subq $0x88, %rsp movq %rdi, 0x50(%rsp) movq 0x50(%rsp), %rax movq %rax, 0x28(%rsp) movq $0x81faf6, %rax # imm = 0x81FAF6 testb $0x1, (%rax) je 0x4759cc movl $0x1, %edi callq 0x470f00 movq 0x28(%rsp), %rdi xorl %esi, %esi callq 0x475920 movq 0x2a1ea1(%rip), %rax # 0x717880 movq %rax, 0x47(%rsp) movb 0x2a1e9e(...
/interiorem[P]lepton/src/vp8/util/generic_worker.cc
GenericWorker::send_more_data(void const*)
int GenericWorker::send_more_data(const void *data_ptr) { ++new_work_exists_; unsigned char buffer[THREAD_PACKET_SIZE]; buffer[0] = 63; memcpy(&buffer[1], &data_ptr, sizeof(data_ptr)); size_t size = THREAD_PACKET_SIZE; const unsigned char*ptr = &buffer[0]; do { ssize_t ret = write(ne...
subq $0x48, %rsp movq %rdi, 0x38(%rsp) movq %rsi, 0x30(%rsp) movq 0x38(%rsp), %rdi movq %rdi, (%rsp) addq $0x4, %rdi callq 0x476830 movb $0x3f, 0x27(%rsp) movq 0x30(%rsp), %rax movq %rax, 0x28(%rsp) movq $0x9, 0x18(%rsp) leaq 0x27(%rsp), %rax movq %rax, 0x10(%rsp) movq (%rsp), %rdi addq $0x30, %rdi movl $0x1, %esi call...
/interiorem[P]lepton/src/vp8/util/generic_worker.cc
GenericWorker::has_ever_queued_work()
bool has_ever_queued_work() { return new_work_exists_.load() != 0; }
subq $0x38, %rsp movq %rdi, 0x18(%rsp) movq 0x18(%rsp), %rax addq $0x4, %rax movq %rax, 0x30(%rsp) movl $0x5, 0x2c(%rsp) movq 0x30(%rsp), %rax movq %rax, 0x8(%rsp) movl 0x2c(%rsp), %edi movl $0xffff, %esi # imm = 0xFFFF callq 0x42baa0 movl %eax, 0x28(%rsp) movl 0x2c(%rsp), %eax movl %eax, 0x14(%rsp) decl %eax...
/interiorem[P]lepton/src/vp8/util/generic_worker.hh
custom_exit(ExitCode)
void custom_exit(ExitCode exit_code) { close_thread_handle(); if (atexit_f) { (*atexit_f)(atexit_arg0, atexit_arg1); atexit_f = nullptr; } if (exit_code != ExitCode::SUCCESS) { while(write(2, ExitString(exit_code), strlen(ExitString(exit_code))) < 0 && errno == EINTR)...
subq $0x18, %rsp movl %edi, 0x14(%rsp) callq 0x477630 movq %fs:0x0, %rax leaq -0x80(%rax), %rax cmpq $0x0, (%rax) je 0x477315 movq %fs:0x0, %rax leaq -0x80(%rax), %rax movq (%rax), %rax movq %fs:0x0, %rcx leaq -0x78(%rcx), %rcx movq (%rcx), %rdi movq %fs:0x0, %rcx leaq -0x70(%rcx), %rcx movq (%rcx), %rsi callq *%rax mo...
/interiorem[P]lepton/src/vp8/util/memory.cc
bzero32
void * bzero32(void *aligned_32) { #if __AVX2__ _mm256_store_si256((__m256i*)aligned_32, _mm256_setzero_si256()); #elif !defined(USE_SCALAR) _mm_store_si128((__m128i*)aligned_32, _mm_setzero_si128()); _mm_store_si128(((__m128i*)aligned_32) + 1, _mm_setzero_si128()); #else memset(aligned_32, 0, 32); #end...
pushq %rbp movq %rsp, %rbp andq $-0x20, %rsp subq $0xa0, %rsp movq %rdi, 0x18(%rsp) movq 0x18(%rsp), %rax vxorps %xmm0, %xmm0, %xmm0 vmovaps %ymm0, 0x60(%rsp) vmovdqa 0x60(%rsp), %ymm0 movq %rax, 0x58(%rsp) vmovdqa %ymm0, 0x20(%rsp) vmovdqa 0x20(%rsp), %ymm0 movq 0x58(%rsp), %rax vmovdqa %ymm0, (%rax) movq 0x18(%rsp), ...
/interiorem[P]lepton/src/vp8/util/memory.cc
set_error_code
void set_error_code(ExitCode code, const char* msg) { // todo: exit program with errorlevel=code fprintf(stderr, "%s\n", msg); errormessage = msg; errorlevel.store(int(code)); }
subq $0x38, %rsp movl %edi, 0x1c(%rsp) movq %rsi, 0x10(%rsp) movq $0x820c48, %rax # imm = 0x820C48 movq (%rax), %rdi movq 0x10(%rsp), %rdx leaq 0x2929a2(%rip), %rsi # 0x70a0d5 xorl %eax, %eax callq 0x64e190 movq 0x10(%rsp), %rsi leaq 0x3bffea(%rip), %rdi # 0x837730 callq 0x5f4a60 movl 0x1c(%rsp), %eax lea...
/interiorem[P]lepton/src/vp8/util/memory.cc
print_bill(int)
void print_bill(int fd) { #if defined(ENABLE_BILLING) || !defined(NDEBUG) fixup_bill(); // we made some approximations in mapping the JPEG spec to the new billing items write_string(fd, "::::BILL::::\n"); size_t totals[2] = {0, 0}; size_t totals_edge[2] = {0, 0}; size_t totals_other[2] = {0, 0}; ...
movl %edi, -0x4(%rsp) retq nopw %cs:(%rax,%rax) nop
/interiorem[P]lepton/src/vp8/util/billing.cc
get_sum_median_8(short*)
int get_sum_median_8(int16_t *dc_estimates) { int len_est = 16; int min_dc, max_dc; for (int start = 0; start < 4; ++start) { if (dc_estimates[start] > dc_estimates[len_est - 1 - start]) { std::swap(dc_estimates[start], dc_estimates[len_est - 1 - start]); } min_dc = dc_es...
subq $0x38, %rsp movq %rdi, 0x30(%rsp) movl $0x10, 0x2c(%rsp) movl $0x0, 0x20(%rsp) cmpl $0x4, 0x20(%rsp) jge 0x479c4b movq 0x30(%rsp), %rax movslq 0x20(%rsp), %rcx movswl (%rax,%rcx,2), %eax movq 0x30(%rsp), %rcx movl 0x2c(%rsp), %edx subl $0x1, %edx subl 0x20(%rsp), %edx movslq %edx, %rdx movswl (%rcx,%rdx,2), %ecx c...
/interiorem[P]lepton/src/vp8/model/model.cc
void print_helper<Branch>(Branch const&, Branch const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, 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::allocato...
void print_helper(const Branch& ba, const Branch* other, const std::string&table_name, const std::vector<std::string> &names, std::vector<uint32_t> &values, Model::Printabilit...
subq $0xd8, %rsp leaq 0xe0(%rsp), %rax movq %rax, 0x68(%rsp) movq %rdi, 0xd0(%rsp) movq %rsi, 0xc8(%rsp) movq %rdx, 0xc0(%rsp) movq %rcx, 0xb8(%rsp) movq %r8, 0xb0(%rsp) movq 0xd0(%rsp), %rdi callq 0x47d4e0 incl %eax vcvtsi2sd %rax, %xmm0, %xmm0 vmovsd %xmm0, 0x78(%rsp) movq 0xd0(%rsp), %rdi callq 0x47d4f0 movl %eax, 0...
/interiorem[P]lepton/src/vp8/model/model.cc
ProbabilityTablesBase::load_probability_tables()
void ProbabilityTablesBase::load_probability_tables() { const char * model_name = getenv( "LEPTON_COMPRESSION_MODEL" ); if (model_name) { const char * msg = "Using good probability tables!\n"; while(write(2, msg, strlen(msg))< 0 && errno == EINTR) { } ProbabilityTables<true, Bloc...
subq $0x38, %rsp movq %rdi, 0x30(%rsp) movq 0x30(%rsp), %rax movq %rax, 0x10(%rsp) leaq 0x29c0cd(%rip), %rdi # 0x718127 callq 0x642b90 movq %rax, 0x28(%rsp) cmpq $0x0, 0x28(%rsp) je 0x47c105 leaq 0x29c0c9(%rip), %rax # 0x718140 movq %rax, 0x20(%rsp) movq 0x20(%rsp), %rax movq %rax, (%rsp) movq 0x20(%rsp), %rdi ca...
/interiorem[P]lepton/src/vp8/model/model.cc
void Sirikata::Array5d<Branch, 2u, 8u, 8u, 3u, 4u, Sirikata::DontRoundPow2, Sirikata::DirectType<Sirikata::ArrayBaseType5d<Branch, 2u, 8u, 8u, 3u, 4u, Sirikata::DontRoundPow2>>>::foreach<normalize_model(Model&)::$_0>(normalize_model(Model&)::$_0 const&)
void foreach(const F& f){ for (uint32_t i0 = 0; i0 < s0; ++i0) { for (uint32_t i1 = 0; i1 < s1; ++i1) { for (uint32_t i2 = 0; i2 < s2; ++i2) { for (uint32_t i3 = 0; i3 < s3; ++i3) { for (uint32_t i4 = 0; i4 < s4; ++i4) { ...
subq $0x38, %rsp movq %rdi, 0x30(%rsp) movq %rsi, 0x28(%rsp) movq 0x30(%rsp), %rax movq %rax, 0x8(%rsp) movl $0x0, 0x24(%rsp) cmpl $0x2, 0x24(%rsp) jae 0x47c574 movl $0x0, 0x20(%rsp) cmpl $0x8, 0x20(%rsp) jae 0x47c562 movl $0x0, 0x1c(%rsp) cmpl $0x8, 0x1c(%rsp) jae 0x47c550 movl $0x0, 0x18(%rsp) cmpl $0x3, 0x18(%rsp) j...
/interiorem[P]lepton/src/vp8/model/../util/nd_array.hh
void Sirikata::Array3d<Branch, 12u, 17u, 11u, Sirikata::DontRoundPow2, Sirikata::DirectType<Sirikata::ArrayBaseType3d<Branch, 12u, 17u, 11u, Sirikata::DontRoundPow2>>>::foreach<normalize_model(Model&)::$_0>(normalize_model(Model&)::$_0 const&)
void foreach(const F& f){ for (uint32_t i0 = 0; i0 < s0; ++i0) { for (uint32_t i1 = 0; i1 < s1; ++i1) { for (uint32_t i2 = 0; i2 < s2; ++i2) { f(IsReference::dereference(data)[i0][i1][i2]); } } } }
subq $0x38, %rsp movq %rdi, 0x30(%rsp) movq %rsi, 0x28(%rsp) movq 0x30(%rsp), %rax movq %rax, 0x10(%rsp) movl $0x0, 0x24(%rsp) cmpl $0xc, 0x24(%rsp) jae 0x47c89c movl $0x0, 0x20(%rsp) cmpl $0x11, 0x20(%rsp) jae 0x47c88a movl $0x0, 0x1c(%rsp) cmpl $0xb, 0x1c(%rsp) jae 0x47c87b movq 0x10(%rsp), %rdi movq 0x28(%rsp), %rax...
/interiorem[P]lepton/src/vp8/model/../util/nd_array.hh
void Sirikata::Array4d<Branch, 2u, 26u, 6u, 32u, Sirikata::DontRoundPow2, Sirikata::DirectType<Sirikata::ArrayBaseType4d<Branch, 2u, 26u, 6u, 32u, Sirikata::DontRoundPow2>>>::foreach<reset_model(Model&)::$_0>(reset_model(Model&)::$_0 const&)
void foreach(const F& f){ for (uint32_t i0 = 0; i0 < s0; ++i0) { for (uint32_t i1 = 0; i1 < s1; ++i1) { for (uint32_t i2 = 0; i2 < s2; ++i2) { for (uint32_t i3 = 0; i3 < s3; ++i3) { f(IsReference::dereference(data)[i0][i1][i2][i3]); ...
subq $0x38, %rsp movq %rdi, 0x30(%rsp) movq %rsi, 0x28(%rsp) movq 0x30(%rsp), %rax movq %rax, 0x10(%rsp) movl $0x0, 0x24(%rsp) cmpl $0x2, 0x24(%rsp) jae 0x47cca6 movl $0x0, 0x20(%rsp) cmpl $0x1a, 0x20(%rsp) jae 0x47cc94 movl $0x0, 0x1c(%rsp) cmpl $0x6, 0x1c(%rsp) jae 0x47cc82 movl $0x0, 0x18(%rsp) cmpl $0x20, 0x18(%rsp...
/interiorem[P]lepton/src/vp8/model/../util/nd_array.hh
void Sirikata::Array3d<Branch, 12u, 17u, 11u, Sirikata::DontRoundPow2, Sirikata::DirectType<Sirikata::ArrayBaseType3d<Branch, 12u, 17u, 11u, Sirikata::DontRoundPow2>>>::foreach<reset_model(Model&)::$_0>(reset_model(Model&)::$_0 const&)
void foreach(const F& f){ for (uint32_t i0 = 0; i0 < s0; ++i0) { for (uint32_t i1 = 0; i1 < s1; ++i1) { for (uint32_t i2 = 0; i2 < s2; ++i2) { f(IsReference::dereference(data)[i0][i1][i2]); } } } }
subq $0x38, %rsp movq %rdi, 0x30(%rsp) movq %rsi, 0x28(%rsp) movq 0x30(%rsp), %rax movq %rax, 0x10(%rsp) movl $0x0, 0x24(%rsp) cmpl $0xc, 0x24(%rsp) jae 0x47d0fc movl $0x0, 0x20(%rsp) cmpl $0x11, 0x20(%rsp) jae 0x47d0ea movl $0x0, 0x1c(%rsp) cmpl $0xb, 0x1c(%rsp) jae 0x47d0db movq 0x10(%rsp), %rdi movq 0x28(%rsp), %rax...
/interiorem[P]lepton/src/vp8/model/../util/nd_array.hh
void Sirikata::Array3d<Branch, 2u, 4u, 12u, Sirikata::DontRoundPow2, Sirikata::DirectType<Sirikata::ArrayBaseType3d<Branch, 2u, 4u, 12u, Sirikata::DontRoundPow2>>>::foreach<reset_model(Model&)::$_0>(reset_model(Model&)::$_0 const&)
void foreach(const F& f){ for (uint32_t i0 = 0; i0 < s0; ++i0) { for (uint32_t i1 = 0; i1 < s1; ++i1) { for (uint32_t i2 = 0; i2 < s2; ++i2) { f(IsReference::dereference(data)[i0][i1][i2]); } } } }
subq $0x38, %rsp movq %rdi, 0x30(%rsp) movq %rsi, 0x28(%rsp) movq 0x30(%rsp), %rax movq %rax, 0x10(%rsp) movl $0x0, 0x24(%rsp) cmpl $0x2, 0x24(%rsp) jae 0x47d3dc movl $0x0, 0x20(%rsp) cmpl $0x4, 0x20(%rsp) jae 0x47d3ca movl $0x0, 0x1c(%rsp) cmpl $0xc, 0x1c(%rsp) jae 0x47d3bb movq 0x10(%rsp), %rdi movq 0x28(%rsp), %rax ...
/interiorem[P]lepton/src/vp8/model/../util/nd_array.hh
void print_helper<Sirikata::Array4d<Branch, 2u, 26u, 6u, 32u, Sirikata::DontRoundPow2, Sirikata::DirectType<Sirikata::ArrayBaseType4d<Branch, 2u, 26u, 6u, 32u, Sirikata::DontRoundPow2>>>>(Sirikata::Array4d<Branch, 2u, 26u, 6u, 32u, Sirikata::DontRoundPow2, Sirikata::DirectType<Sirikata::ArrayBaseType4d<Branch, 2u, 26u,...
void print_helper(const BranchArray& ba, const BranchArray* other, const std::string &table_name, const std::vector<std::string> &names, ...
subq $0x98, %rsp leaq 0xa0(%rsp), %rax movq %rax, 0x30(%rsp) movq %rdi, 0x90(%rsp) movq %rsi, 0x88(%rsp) movq %rdx, 0x80(%rsp) movq %rcx, 0x78(%rsp) movq %r8, 0x70(%rsp) movq 0x70(%rsp), %rdi movl $0x0, 0x6c(%rsp) leaq 0x6c(%rsp), %rsi callq 0x428300 movq $0x0, 0x60(%rsp) movq 0x60(%rsp), %rax movq %rax, 0x28(%rsp) cal...
/interiorem[P]lepton/src/vp8/model/model.cc
void print_helper<Sirikata::Array2d<Branch, 6u, 32u, Sirikata::DontRoundPow2, Sirikata::ReferenceType<Sirikata::ArrayBaseType2d<Branch, 6u, 32u, Sirikata::DontRoundPow2>>>>(Sirikata::Array2d<Branch, 6u, 32u, Sirikata::DontRoundPow2, Sirikata::ReferenceType<Sirikata::ArrayBaseType2d<Branch, 6u, 32u, Sirikata::DontRoundP...
void print_helper(const BranchArray& ba, const BranchArray* other, const std::string &table_name, const std::vector<std::string> &names, ...
subq $0x98, %rsp leaq 0xa0(%rsp), %rax movq %rax, 0x30(%rsp) movq %rdi, 0x90(%rsp) movq %rsi, 0x88(%rsp) movq %rdx, 0x80(%rsp) movq %rcx, 0x78(%rsp) movq %r8, 0x70(%rsp) movq 0x70(%rsp), %rdi movl $0x0, 0x6c(%rsp) leaq 0x6c(%rsp), %rsi callq 0x428300 movq $0x0, 0x60(%rsp) movq 0x60(%rsp), %rax movq %rax, 0x28(%rsp) cal...
/interiorem[P]lepton/src/vp8/model/model.cc
void print_helper<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::ArrayBaseType5d<Branch, 2u...
void print_helper(const BranchArray& ba, const BranchArray* other, const std::string &table_name, const std::vector<std::string> &names, ...
subq $0x98, %rsp leaq 0xa0(%rsp), %rax movq %rax, 0x30(%rsp) movq %rdi, 0x90(%rsp) movq %rsi, 0x88(%rsp) movq %rdx, 0x80(%rsp) movq %rcx, 0x78(%rsp) movq %r8, 0x70(%rsp) movq 0x70(%rsp), %rdi movl $0x0, 0x6c(%rsp) leaq 0x6c(%rsp), %rsi callq 0x428300 movq $0x0, 0x60(%rsp) movq 0x60(%rsp), %rax movq %rax, 0x28(%rsp) cal...
/interiorem[P]lepton/src/vp8/model/model.cc
void print_helper<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::ArrayBaseType5...
void print_helper(const BranchArray& ba, const BranchArray* other, const std::string &table_name, const std::vector<std::string> &names, ...
subq $0x98, %rsp leaq 0xa0(%rsp), %rax movq %rax, 0x30(%rsp) movq %rdi, 0x90(%rsp) movq %rsi, 0x88(%rsp) movq %rdx, 0x80(%rsp) movq %rcx, 0x78(%rsp) movq %r8, 0x70(%rsp) movq 0x70(%rsp), %rdi movl $0x0, 0x6c(%rsp) leaq 0x6c(%rsp), %rsi callq 0x428300 movq $0x0, 0x60(%rsp) movq 0x60(%rsp), %rax movq %rax, 0x28(%rsp) cal...
/interiorem[P]lepton/src/vp8/model/model.cc
void print_helper<Sirikata::Array5d<Branch, 2u, 10u, 15u, 12u, 11u, Sirikata::DontRoundPow2, Sirikata::DirectType<Sirikata::ArrayBaseType5d<Branch, 2u, 10u, 15u, 12u, 11u, Sirikata::DontRoundPow2>>>>(Sirikata::Array5d<Branch, 2u, 10u, 15u, 12u, 11u, Sirikata::DontRoundPow2, Sirikata::DirectType<Sirikata::ArrayBaseType5...
void print_helper(const BranchArray& ba, const BranchArray* other, const std::string &table_name, const std::vector<std::string> &names, ...
subq $0x98, %rsp leaq 0xa0(%rsp), %rax movq %rax, 0x30(%rsp) movq %rdi, 0x90(%rsp) movq %rsi, 0x88(%rsp) movq %rdx, 0x80(%rsp) movq %rcx, 0x78(%rsp) movq %r8, 0x70(%rsp) movq 0x70(%rsp), %rdi movl $0x0, 0x6c(%rsp) leaq 0x6c(%rsp), %rsi callq 0x428300 movq $0x0, 0x60(%rsp) movq 0x60(%rsp), %rax movq %rax, 0x28(%rsp) cal...
/interiorem[P]lepton/src/vp8/model/model.cc
void print_helper<Sirikata::Array3d<Branch, 15u, 12u, 11u, Sirikata::DontRoundPow2, Sirikata::ReferenceType<Sirikata::ArrayBaseType3d<Branch, 15u, 12u, 11u, Sirikata::DontRoundPow2>>>>(Sirikata::Array3d<Branch, 15u, 12u, 11u, Sirikata::DontRoundPow2, Sirikata::ReferenceType<Sirikata::ArrayBaseType3d<Branch, 15u, 12u, 1...
void print_helper(const BranchArray& ba, const BranchArray* other, const std::string &table_name, const std::vector<std::string> &names, ...
subq $0x98, %rsp leaq 0xa0(%rsp), %rax movq %rax, 0x30(%rsp) movq %rdi, 0x90(%rsp) movq %rsi, 0x88(%rsp) movq %rdx, 0x80(%rsp) movq %rcx, 0x78(%rsp) movq %r8, 0x70(%rsp) movq 0x70(%rsp), %rdi movl $0x0, 0x6c(%rsp) leaq 0x6c(%rsp), %rsi callq 0x428300 movq $0x0, 0x60(%rsp) movq 0x60(%rsp), %rax movq %rax, 0x28(%rsp) cal...
/interiorem[P]lepton/src/vp8/model/model.cc
void print_helper<Sirikata::Array2d<Branch, 10u, 10u, Sirikata::DontRoundPow2, Sirikata::ReferenceType<Sirikata::ArrayBaseType2d<Branch, 10u, 10u, Sirikata::DontRoundPow2>>>>(Sirikata::Array2d<Branch, 10u, 10u, Sirikata::DontRoundPow2, Sirikata::ReferenceType<Sirikata::ArrayBaseType2d<Branch, 10u, 10u, Sirikata::DontRo...
void print_helper(const BranchArray& ba, const BranchArray* other, const std::string &table_name, const std::vector<std::string> &names, ...
subq $0x98, %rsp leaq 0xa0(%rsp), %rax movq %rax, 0x30(%rsp) movq %rdi, 0x90(%rsp) movq %rsi, 0x88(%rsp) movq %rdx, 0x80(%rsp) movq %rcx, 0x78(%rsp) movq %r8, 0x70(%rsp) movq 0x70(%rsp), %rdi movl $0x0, 0x6c(%rsp) leaq 0x6c(%rsp), %rsi callq 0x428300 movq $0x0, 0x60(%rsp) movq 0x60(%rsp), %rax movq %rax, 0x28(%rsp) cal...
/interiorem[P]lepton/src/vp8/model/model.cc
void print_helper<Sirikata::Array3d<Branch, 256u, 8u, 128u, Sirikata::DontRoundPow2, Sirikata::ReferenceType<Sirikata::ArrayBaseType3d<Branch, 256u, 8u, 128u, Sirikata::DontRoundPow2>>>>(Sirikata::Array3d<Branch, 256u, 8u, 128u, Sirikata::DontRoundPow2, Sirikata::ReferenceType<Sirikata::ArrayBaseType3d<Branch, 256u, 8u...
void print_helper(const BranchArray& ba, const BranchArray* other, const std::string &table_name, const std::vector<std::string> &names, ...
subq $0x98, %rsp leaq 0xa0(%rsp), %rax movq %rax, 0x30(%rsp) movq %rdi, 0x90(%rsp) movq %rsi, 0x88(%rsp) movq %rdx, 0x80(%rsp) movq %rcx, 0x78(%rsp) movq %r8, 0x70(%rsp) movq 0x70(%rsp), %rdi movl $0x0, 0x6c(%rsp) leaq 0x6c(%rsp), %rsi callq 0x428300 movq $0x0, 0x60(%rsp) movq 0x60(%rsp), %rax movq %rax, 0x28(%rsp) cal...
/interiorem[P]lepton/src/vp8/model/model.cc
void print_helper<Sirikata::Array2d<Branch, 4u, 12u, Sirikata::DontRoundPow2, Sirikata::ReferenceType<Sirikata::ArrayBaseType2d<Branch, 4u, 12u, Sirikata::DontRoundPow2>>>>(Sirikata::Array2d<Branch, 4u, 12u, Sirikata::DontRoundPow2, Sirikata::ReferenceType<Sirikata::ArrayBaseType2d<Branch, 4u, 12u, Sirikata::DontRoundP...
void print_helper(const BranchArray& ba, const BranchArray* other, const std::string &table_name, const std::vector<std::string> &names, ...
subq $0x98, %rsp leaq 0xa0(%rsp), %rax movq %rax, 0x30(%rsp) movq %rdi, 0x90(%rsp) movq %rsi, 0x88(%rsp) movq %rdx, 0x80(%rsp) movq %rcx, 0x78(%rsp) movq %r8, 0x70(%rsp) movq 0x70(%rsp), %rdi movl $0x0, 0x6c(%rsp) leaq 0x6c(%rsp), %rsi callq 0x428300 movq $0x0, 0x60(%rsp) movq 0x60(%rsp), %rax movq %rax, 0x28(%rsp) cal...
/interiorem[P]lepton/src/vp8/model/model.cc
Branch::record_obs_and_update(bool)
void record_obs_and_update(bool obs) { unsigned int fcount = counts_[0]; unsigned int tcount = counts_[1]; bool overflow = (counts_[obs]++ == 0xff); if (__builtin_expect(overflow, 0)) { // check less than 512 bool neverseen = counts_[!obs] == 1; if (neverseen) { ...
subq $0x48, %rsp movb %sil, %al movq %rdi, 0x20(%rsp) andb $0x1, %al movb %al, 0x1f(%rsp) movq 0x20(%rsp), %rcx movq %rcx, 0x8(%rsp) movzbl (%rcx), %eax movl %eax, 0x18(%rsp) movzbl 0x1(%rcx), %eax movl %eax, 0x14(%rsp) movb 0x1f(%rsp), %al andb $0x1, %al movzbl %al, %eax movl %eax, %edx movb (%rcx,%rdx), %al movb %al,...
/interiorem[P]lepton/src/vp8/model/branch.hh
ProbabilityTables<false, (BlockType)0>::update_coefficient_context7x7_precomp(int, int, MBlockContext<AlignedBlock const>, unsigned char)
ProbabilityTablesBase::CoefficientContext update_coefficient_context7x7_precomp(int aligned_zz, int aavrg, const ConstBlockContext block, uint8_t num_nonzeros_left) { ProbabilityTablesBase::CoefficientContext retval; dev_asser...
subq $0x28, %rsp movb %cl, %al movq %rdi, 0x18(%rsp) movl %esi, 0x14(%rsp) movl %edx, 0x10(%rsp) movb %al, 0xf(%rsp) movq 0x18(%rsp), %rdi movl 0x10(%rsp), %eax movl %eax, 0x20(%rsp) movzbl 0xf(%rsp), %esi callq 0x48f080 movb %al, 0x24(%rsp) movl 0x20(%rsp), %eax movl %eax, %ecx negl %ecx cmovnsl %ecx, %eax movl %eax, ...
/interiorem[P]lepton/src/vp8/model/model.hh
unsigned short bit_length<unsigned short>(unsigned short)
intt bit_length(intt v) { #ifndef WORKAROUND_CLZ_BUG if (sizeof(intt) <= 4) { return v ? 32 - __builtin_clz((uint32_t)v) : 0; } else { return v ? 64 - __builtin_clzl((uint64_t)v) : 0; } #endif return v == 0 ? 0 : local_log2(v) + 1; }
movw %di, %ax movw %ax, -0x2(%rsp) cmpw $0x0, -0x2(%rsp) je 0x483626 movzwl -0x2(%rsp), %eax lzcntl %eax, %ecx movl $0x20, %eax subl %ecx, %eax movl %eax, -0x8(%rsp) jmp 0x48362e xorl %eax, %eax movl %eax, -0x8(%rsp) jmp 0x48362e movl -0x8(%rsp), %eax retq nopw %cs:(%rax,%rax) nopl (%rax)
/interiorem[P]lepton/src/vp8/model/numeric.hh
ProbabilityTables<false, (BlockType)0>::adv_predict_or_unpredict_dc(short, bool, int)
int adv_predict_or_unpredict_dc(int16_t saved_dc, bool recover_original, int predicted_val) { int max_value = (1 << (MAX_EXPONENT - 1)); int min_value = -max_value; int adjustment_factor = 2 * max_value + 1; int retval = predicted_val; retval = saved_dc + (recover_original ? retv...
movb %dl, %al movw %si, %dx movq %rdi, -0x8(%rsp) movw %dx, -0xa(%rsp) andb $0x1, %al movb %al, -0xb(%rsp) movl %ecx, -0x10(%rsp) movl $0x400, -0x14(%rsp) # imm = 0x400 xorl %eax, %eax subl -0x14(%rsp), %eax movl %eax, -0x18(%rsp) movl -0x14(%rsp), %eax shll %eax addl $0x1, %eax movl %eax, -0x1c(%rsp) movl -0x10(%r...
/interiorem[P]lepton/src/vp8/model/model.hh
void serialize_tokens<false, (BlockType)1, VPXBoolWriter>(MBlockContext<AlignedBlock const>, VPXBoolWriter&, ProbabilityTables<false, (BlockType)1>&, ProbabilityTablesBase&)
void serialize_tokens(ConstBlockContext context, BoolEncoder& encoder, ProbabilityTables<all_neighbors_present, color> & probability_tables, ProbabilityTablesBase &pt) { auto num_nonzeros_prob = probability_tables.nonzero_counts_7x7(pt, context); ...
subq $0x3e8, %rsp # imm = 0x3E8 leaq 0x3f0(%rsp), %rax movq %rax, 0xe8(%rsp) movq %rdi, 0x3e0(%rsp) movq %rsi, 0x3d8(%rsp) movq %rdx, 0x3d0(%rsp) movq 0x3d8(%rsp), %rdi movq 0x3d0(%rsp), %rsi movq (%rax), %rcx movq %rcx, 0x3a8(%rsp) movq 0x8(%rax), %rcx movq %rcx, 0x3b0(%rsp) movq 0x10(%rax), %rcx movq %rcx,...
/interiorem[P]lepton/src/vp8/encoder/encoder.cc
ProbabilityTables<false, (BlockType)1>::exponent_array_7x7(ProbabilityTablesBase&, unsigned int, unsigned int, ProbabilityTablesBase::CoefficientContext)
Sirikata::Array1d<Branch, MAX_EXPONENT>::Slice exponent_array_7x7(ProbabilityTablesBase &pt, const unsigned int band, const unsigned int zig49, ...
subq $0x38, %rsp movq %r8, 0x28(%rsp) movq %rdi, 0x20(%rsp) movq %rsi, 0x18(%rsp) movl %edx, 0x14(%rsp) movl %ecx, 0x10(%rsp) movq 0x20(%rsp), %rax movq %rax, (%rsp) movq 0x18(%rsp), %rdi callq 0x458ca0 movq (%rsp), %rdi addq $0x193068, %rax # imm = 0x193068 movq %rax, 0x8(%rsp) callq 0x492180 movq 0x8(%rsp), %...
/interiorem[P]lepton/src/vp8/model/model.hh
ProbabilityTables<false, (BlockType)1>::adv_predict_or_unpredict_dc(short, bool, int)
int adv_predict_or_unpredict_dc(int16_t saved_dc, bool recover_original, int predicted_val) { int max_value = (1 << (MAX_EXPONENT - 1)); int min_value = -max_value; int adjustment_factor = 2 * max_value + 1; int retval = predicted_val; retval = saved_dc + (recover_original ? retv...
movb %dl, %al movw %si, %dx movq %rdi, -0x8(%rsp) movw %dx, -0xa(%rsp) andb $0x1, %al movb %al, -0xb(%rsp) movl %ecx, -0x10(%rsp) movl $0x400, -0x14(%rsp) # imm = 0x400 xorl %eax, %eax subl -0x14(%rsp), %eax movl %eax, -0x18(%rsp) movl -0x14(%rsp), %eax shll %eax addl $0x1, %eax movl %eax, -0x1c(%rsp) movl -0x10(%r...
/interiorem[P]lepton/src/vp8/model/model.hh
ProbabilityTables<false, (BlockType)2>::update_coefficient_context7x7_precomp(int, int, MBlockContext<AlignedBlock const>, unsigned char)
ProbabilityTablesBase::CoefficientContext update_coefficient_context7x7_precomp(int aligned_zz, int aavrg, const ConstBlockContext block, uint8_t num_nonzeros_left) { ProbabilityTablesBase::CoefficientContext retval; dev_asser...
subq $0x28, %rsp movb %cl, %al movq %rdi, 0x18(%rsp) movl %esi, 0x14(%rsp) movl %edx, 0x10(%rsp) movb %al, 0xf(%rsp) movq 0x18(%rsp), %rdi movl 0x10(%rsp), %eax movl %eax, 0x20(%rsp) movzbl 0xf(%rsp), %esi callq 0x494940 movb %al, 0x24(%rsp) movl 0x20(%rsp), %eax movl %eax, %ecx negl %ecx cmovnsl %ecx, %eax movl %eax, ...
/interiorem[P]lepton/src/vp8/model/model.hh
ProbabilityTables<false, (BlockType)2>::adv_predict_or_unpredict_dc(short, bool, int)
int adv_predict_or_unpredict_dc(int16_t saved_dc, bool recover_original, int predicted_val) { int max_value = (1 << (MAX_EXPONENT - 1)); int min_value = -max_value; int adjustment_factor = 2 * max_value + 1; int retval = predicted_val; retval = saved_dc + (recover_original ? retv...
movb %dl, %al movw %si, %dx movq %rdi, -0x8(%rsp) movw %dx, -0xa(%rsp) andb $0x1, %al movb %al, -0xb(%rsp) movl %ecx, -0x10(%rsp) movl $0x400, -0x14(%rsp) # imm = 0x400 xorl %eax, %eax subl -0x14(%rsp), %eax movl %eax, -0x18(%rsp) movl -0x14(%rsp), %eax shll %eax addl $0x1, %eax movl %eax, -0x1c(%rsp) movl -0x10(%r...
/interiorem[P]lepton/src/vp8/model/model.hh
ProbabilityTables<true, (BlockType)0>::adv_predict_dc_pix(MBlockContext<AlignedBlock const> const&, short*, int*, int*)
int adv_predict_dc_pix(const ConstBlockContext&context, int16_t*pixels_sans_dc, int32_t *uncertainty_val, int32_t *uncertainty2_val) { uint16_t *q = ProbabilityTablesBase::quantization_table((int)color); idct(context.here(), q, pixels_sans_dc, true); Sirikata::AlignedArray1d<int16_t, 16> dc_est...
subq $0x448, %rsp # imm = 0x448 movq %rdi, 0x198(%rsp) movq %rsi, 0x190(%rsp) movq %rdx, 0x188(%rsp) movq %rcx, 0x180(%rsp) movq %r8, 0x178(%rsp) xorl %edi, %edi movl %edi, 0xc(%rsp) callq 0x484990 movq %rax, 0x170(%rsp) movq 0x190(%rsp), %rdi callq 0x4914f0 movq %rax, %rdi movq 0x170(%rsp), %rsi movq 0x188(...
/interiorem[P]lepton/src/vp8/model/model.hh
void serialize_tokens<true, (BlockType)1, VPXBoolWriter>(MBlockContext<AlignedBlock const>, VPXBoolWriter&, ProbabilityTables<true, (BlockType)1>&, ProbabilityTablesBase&)
void serialize_tokens(ConstBlockContext context, BoolEncoder& encoder, ProbabilityTables<all_neighbors_present, color> & probability_tables, ProbabilityTablesBase &pt) { auto num_nonzeros_prob = probability_tables.nonzero_counts_7x7(pt, context); ...
subq $0x3e8, %rsp # imm = 0x3E8 leaq 0x3f0(%rsp), %rax movq %rax, 0xe8(%rsp) movq %rdi, 0x3e0(%rsp) movq %rsi, 0x3d8(%rsp) movq %rdx, 0x3d0(%rsp) movq 0x3d8(%rsp), %rdi movq 0x3d0(%rsp), %rsi movq (%rax), %rcx movq %rcx, 0x3a8(%rsp) movq 0x8(%rax), %rcx movq %rcx, 0x3b0(%rsp) movq 0x10(%rax), %rcx movq %rcx,...
/interiorem[P]lepton/src/vp8/encoder/encoder.cc
ProbabilityTables<true, (BlockType)1>::adv_predict_dc_pix(MBlockContext<AlignedBlock const> const&, short*, int*, int*)
int adv_predict_dc_pix(const ConstBlockContext&context, int16_t*pixels_sans_dc, int32_t *uncertainty_val, int32_t *uncertainty2_val) { uint16_t *q = ProbabilityTablesBase::quantization_table((int)color); idct(context.here(), q, pixels_sans_dc, true); Sirikata::AlignedArray1d<int16_t, 16> dc_est...
subq $0x448, %rsp # imm = 0x448 movq %rdi, 0x198(%rsp) movq %rsi, 0x190(%rsp) movq %rdx, 0x188(%rsp) movq %rcx, 0x180(%rsp) movq %r8, 0x178(%rsp) movl $0x1, %edi movl %edi, 0xc(%rsp) callq 0x484990 movq %rax, 0x170(%rsp) movq 0x190(%rsp), %rdi callq 0x4914f0 movl 0xc(%rsp), %ecx movq %rax, %rdi movq 0x170(%r...
/interiorem[P]lepton/src/vp8/model/model.hh
void serialize_tokens<true, (BlockType)2, VPXBoolWriter>(MBlockContext<AlignedBlock const>, VPXBoolWriter&, ProbabilityTables<true, (BlockType)2>&, ProbabilityTablesBase&)
void serialize_tokens(ConstBlockContext context, BoolEncoder& encoder, ProbabilityTables<all_neighbors_present, color> & probability_tables, ProbabilityTablesBase &pt) { auto num_nonzeros_prob = probability_tables.nonzero_counts_7x7(pt, context); ...
subq $0x3e8, %rsp # imm = 0x3E8 leaq 0x3f0(%rsp), %rax movq %rax, 0xe8(%rsp) movq %rdi, 0x3e0(%rsp) movq %rsi, 0x3d8(%rsp) movq %rdx, 0x3d0(%rsp) movq 0x3d8(%rsp), %rdi movq 0x3d0(%rsp), %rsi movq (%rax), %rcx movq %rcx, 0x3a8(%rsp) movq 0x8(%rax), %rcx movq %rcx, 0x3b0(%rsp) movq 0x10(%rax), %rcx movq %rcx,...
/interiorem[P]lepton/src/vp8/encoder/encoder.cc
void encode_edge<true, (BlockType)2, VPXBoolWriter>(MBlockContext<AlignedBlock const>, VPXBoolWriter&, ProbabilityTables<true, (BlockType)2>&, unsigned char, unsigned char, unsigned char, ProbabilityTablesBase&)
void encode_edge(ConstBlockContext context, BoolEncoder& encoder, ProbabilityTables<all_neighbors_present, color> & probability_tables, uint8_t num_nonzeros_7x7, uint8_t eob_x, uint8_t eob_y, ProbabilityTablesBase& pt) { encode_one_edge<all_neighbo...
subq $0x98, %rsp movl %r8d, 0x20(%rsp) movl %ecx, %eax movl 0x20(%rsp), %ecx movl %eax, 0x24(%rsp) movl %edx, %eax movl 0x24(%rsp), %edx movq %rsi, 0x28(%rsp) movq %rdi, %r8 movq 0x28(%rsp), %rdi movb %al, %sil leaq 0xa0(%rsp), %rax movq %rax, 0x30(%rsp) movq %r8, 0x90(%rsp) movq %rdi, 0x88(%rsp) movb %sil, 0x87(%rsp) ...
/interiorem[P]lepton/src/vp8/encoder/encoder.cc
void encode_one_edge<false, (BlockType)0, false, VPXBoolWriter>(MBlockContext<AlignedBlock const>, VPXBoolWriter&, ProbabilityTables<false, (BlockType)0>&, unsigned char, unsigned char, ProbabilityTablesBase&)
void encode_one_edge(ConstBlockContext context, BoolEncoder& encoder, ProbabilityTables<all_neighbors_present, color> & probability_tables, uint8_t num_nonzeros_7x7, uint8_t est_eob, ProbabilityTablesBase& pt) { uint8_t num_nonzeros_edge; const...
subq $0x188, %rsp # imm = 0x188 movl %ecx, %eax movl %edx, %ecx movq %rdi, %rdx leaq 0x190(%rsp), %rdi movq %rdi, 0x70(%rsp) movq %rdx, 0x180(%rsp) movq %rsi, 0x178(%rsp) movb %cl, 0x177(%rsp) movb %al, 0x176(%rsp) movq %r8, 0x168(%rsp) callq 0x46e4e0 movq %rax, 0x158(%rsp) movq 0x158(%rsp), %rdi movl $0x8, ...
/interiorem[P]lepton/src/vp8/encoder/encoder.cc
ProbabilityTables<false, (BlockType)0>::sign_array_8(ProbabilityTablesBase&, unsigned char, ProbabilityTablesBase::CoefficientContext)
Branch& sign_array_8(ProbabilityTablesBase &pt, uint8_t band, CoefficientContext context) { int16_t val = context.best_prior; uint8_t ctx0 = context.bsr_best_prior; uint8_t ctx1 = (val == 0 ? 0 : (val > 0 ? 1 : 2)); ANNOTATE_CTX(band, SIGN8, 0, ctx0); ANNOTATE_CTX(band, SIGN8, 1...
subq $0x38, %rsp movb %dl, %al movq %rcx, 0x30(%rsp) movq %rdi, 0x28(%rsp) movq %rsi, 0x20(%rsp) movb %al, 0x1f(%rsp) movq 0x28(%rsp), %rax movq %rax, 0x10(%rsp) movl 0x30(%rsp), %eax movw %ax, 0x1c(%rsp) movb 0x35(%rsp), %al movb %al, 0x1b(%rsp) movswl 0x1c(%rsp), %eax cmpl $0x0, %eax jne 0x490db6 xorl %eax, %eax movl...
/interiorem[P]lepton/src/vp8/model/model.hh
Sirikata::AlignedArrayNd<Sirikata::Array1d<short, 16u, Sirikata::RoundToPow2, Sirikata::ReferenceType<Sirikata::ArrayBaseType1d<short, 16u, Sirikata::RoundToPow2>>>>::init()
void init() { uint8_t* begin = NULL; size_t offset = ((backingStore - begin) & 15); if (offset == 0) { this->data = (typename Slice::Array*)backingStore; } else { this->data = (typename Slice::Array*)(backingStore + 16 - offset); } }
movq %rdi, -0x8(%rsp) movq -0x8(%rsp), %rax movq %rax, -0x20(%rsp) movq $0x0, -0x10(%rsp) addq $0x8, %rax movq -0x10(%rsp), %rcx subq %rcx, %rax andq $0xf, %rax movq %rax, -0x18(%rsp) cmpq $0x0, -0x18(%rsp) jne 0x492026 movq -0x20(%rsp), %rax movq %rax, %rcx addq $0x8, %rcx movq %rcx, (%rax) jmp 0x492043 movq -0x20(%rs...
/interiorem[P]lepton/src/vp8/util/nd_array.hh
void encode_one_edge<false, (BlockType)1, false, VPXBoolWriter>(MBlockContext<AlignedBlock const>, VPXBoolWriter&, ProbabilityTables<false, (BlockType)1>&, unsigned char, unsigned char, ProbabilityTablesBase&)
void encode_one_edge(ConstBlockContext context, BoolEncoder& encoder, ProbabilityTables<all_neighbors_present, color> & probability_tables, uint8_t num_nonzeros_7x7, uint8_t est_eob, ProbabilityTablesBase& pt) { uint8_t num_nonzeros_edge; const...
subq $0x188, %rsp # imm = 0x188 movl %ecx, %eax movl %edx, %ecx movq %rdi, %rdx leaq 0x190(%rsp), %rdi movq %rdi, 0x70(%rsp) movq %rdx, 0x180(%rsp) movq %rsi, 0x178(%rsp) movb %cl, 0x177(%rsp) movb %al, 0x176(%rsp) movq %r8, 0x168(%rsp) callq 0x46e4e0 movq %rax, 0x158(%rsp) movq 0x158(%rsp), %rdi movl $0x8, ...
/interiorem[P]lepton/src/vp8/encoder/encoder.cc
ProbabilityTables<false, (BlockType)1>::sign_array_8(ProbabilityTablesBase&, unsigned char, ProbabilityTablesBase::CoefficientContext)
Branch& sign_array_8(ProbabilityTablesBase &pt, uint8_t band, CoefficientContext context) { int16_t val = context.best_prior; uint8_t ctx0 = context.bsr_best_prior; uint8_t ctx1 = (val == 0 ? 0 : (val > 0 ? 1 : 2)); ANNOTATE_CTX(band, SIGN8, 0, ctx0); ANNOTATE_CTX(band, SIGN8, 1...
subq $0x38, %rsp movb %dl, %al movq %rcx, 0x30(%rsp) movq %rdi, 0x28(%rsp) movq %rsi, 0x20(%rsp) movb %al, 0x1f(%rsp) movq 0x28(%rsp), %rax movq %rax, 0x10(%rsp) movl 0x30(%rsp), %eax movw %ax, 0x1c(%rsp) movb 0x35(%rsp), %al movb %al, 0x1b(%rsp) movswl 0x1c(%rsp), %eax cmpl $0x0, %eax jne 0x493b86 xorl %eax, %eax movl...
/interiorem[P]lepton/src/vp8/model/model.hh
ProbabilityTables<false, (BlockType)2>::color_index()
int color_index() { if (BLOCK_TYPES == 2) { if (0 == (int)COLOR) { return 0; } return 1; } else { return std::min((int)(BLOCK_TYPES - 1), (int)COLOR); } }
movq %rdi, -0x8(%rsp) movl $0x1, %eax retq nopl (%rax,%rax)
/interiorem[P]lepton/src/vp8/model/model.hh
void encode_one_edge<false, (BlockType)2, false, VPXBoolWriter>(MBlockContext<AlignedBlock const>, VPXBoolWriter&, ProbabilityTables<false, (BlockType)2>&, unsigned char, unsigned char, ProbabilityTablesBase&)
void encode_one_edge(ConstBlockContext context, BoolEncoder& encoder, ProbabilityTables<all_neighbors_present, color> & probability_tables, uint8_t num_nonzeros_7x7, uint8_t est_eob, ProbabilityTablesBase& pt) { uint8_t num_nonzeros_edge; const...
subq $0x188, %rsp # imm = 0x188 movl %ecx, %eax movl %edx, %ecx movq %rdi, %rdx leaq 0x190(%rsp), %rdi movq %rdi, 0x70(%rsp) movq %rdx, 0x180(%rsp) movq %rsi, 0x178(%rsp) movb %cl, 0x177(%rsp) movb %al, 0x176(%rsp) movq %r8, 0x168(%rsp) callq 0x46e4e0 movq %rax, 0x158(%rsp) movq 0x158(%rsp), %rdi movl $0x8, ...
/interiorem[P]lepton/src/vp8/encoder/encoder.cc
ProbabilityTables<true, (BlockType)0>::compute_aavrg_vec(unsigned int, MBlockContext<AlignedBlock const>)
__m128i compute_aavrg_vec(unsigned int aligned_zz, ConstBlockContext context) { if (all_present == false && left_present == false && above_present == false) { return _mm_setzero_si128(); } __m128i left; if (all_present || left_present) { left = _mm_abs_epi16(_mm_l...
subq $0x1c8, %rsp # imm = 0x1C8 movq %rdi, %rax leaq 0x1d0(%rsp), %rdi movq %rdi, 0x8(%rsp) movq %rax, 0x78(%rsp) movl %esi, 0x74(%rsp) callq 0x48f570 movq %rax, %rdi movl 0x74(%rsp), %esi callq 0x42a5d0 movq 0x8(%rsp), %rdi movq %rax, 0x90(%rsp) movq 0x90(%rsp), %rax vmovdqa (%rax), %xmm0 vmovdqa %xmm0, 0x1...
/interiorem[P]lepton/src/vp8/model/model.hh
ProbabilityTables<true, (BlockType)0>::exponent_array_x(ProbabilityTablesBase&, int, int, ProbabilityTablesBase::CoefficientContext)
Sirikata::Array1d<Branch, MAX_EXPONENT>::Slice exponent_array_x(ProbabilityTablesBase &pt, int band, int zig15, CoefficientContext context) { ANNOTATE_CTX(band, EXP8, 0, context.bsr_best_prior); ANNOTATE_CTX(band, EXP8, 1, context.num_nonzeros); dev_assert((band & 7)== 0 ? ((band >>3) + 7) : ban...
subq $0x38, %rsp movq %r8, 0x28(%rsp) movq %rdi, 0x20(%rsp) movq %rsi, 0x18(%rsp) movl %edx, 0x14(%rsp) movl %ecx, 0x10(%rsp) movq 0x20(%rsp), %rax movq %rax, (%rsp) movq 0x18(%rsp), %rdi callq 0x458ca0 movq (%rsp), %rdi addq $0x1f1c58, %rax # imm = 0x1F1C58 movq %rax, 0x8(%rsp) callq 0x4970e0 movq 0x8(%rsp), %...
/interiorem[P]lepton/src/vp8/model/model.hh
ProbabilityTables<true, (BlockType)0>::compute_lak_vec(long long vector[2], long long vector[2], long long vector[2], long long vector[2], int const*)
static int32_t compute_lak_vec(__m128i coeffs_x_low, __m128i coeffs_x_high, __m128i coeffs_a_low, __m128i #ifdef _WIN32 & #endif indirect_coeffs_a_high, const int32_t *icos_deq) { __m128i sign_mask = _mm_set_epi32(-1, 1, -1, 1); // ((i & 1) ? -1 : 1) //coeffs_x[i] = ((i & 1) ? -1 : 1) ...
subq $0x1c8, %rsp # imm = 0x1C8 vmovdqa %xmm0, 0x40(%rsp) vmovdqa %xmm1, 0x30(%rsp) vmovdqa %xmm2, 0x20(%rsp) vmovdqa %xmm3, 0x10(%rsp) movq %rdi, 0x8(%rsp) movl $0xffffffff, 0x7c(%rsp) # imm = 0xFFFFFFFF movl $0x1, 0x78(%rsp) movl $0xffffffff, 0x74(%rsp) # imm = 0xFFFFFFFF movl $0x1, 0x70(%rsp) movl 0x74(%r...
/interiorem[P]lepton/src/vp8/model/model.hh
ProbabilityTables<true, (BlockType)1>::compute_aavrg_vec(unsigned int, MBlockContext<AlignedBlock const>)
__m128i compute_aavrg_vec(unsigned int aligned_zz, ConstBlockContext context) { if (all_present == false && left_present == false && above_present == false) { return _mm_setzero_si128(); } __m128i left; if (all_present || left_present) { left = _mm_abs_epi16(_mm_l...
subq $0x1c8, %rsp # imm = 0x1C8 movq %rdi, %rax leaq 0x1d0(%rsp), %rdi movq %rdi, 0x8(%rsp) movq %rax, 0x78(%rsp) movl %esi, 0x74(%rsp) callq 0x48f570 movq %rax, %rdi movl 0x74(%rsp), %esi callq 0x42a5d0 movq 0x8(%rsp), %rdi movq %rax, 0x90(%rsp) movq 0x90(%rsp), %rax vmovdqa (%rax), %xmm0 vmovdqa %xmm0, 0x1...
/interiorem[P]lepton/src/vp8/model/model.hh
ProbabilityTables<true, (BlockType)1>::exponent_array_x(ProbabilityTablesBase&, int, int, ProbabilityTablesBase::CoefficientContext)
Sirikata::Array1d<Branch, MAX_EXPONENT>::Slice exponent_array_x(ProbabilityTablesBase &pt, int band, int zig15, CoefficientContext context) { ANNOTATE_CTX(band, EXP8, 0, context.bsr_best_prior); ANNOTATE_CTX(band, EXP8, 1, context.num_nonzeros); dev_assert((band & 7)== 0 ? ((band >>3) + 7) : ban...
subq $0x38, %rsp movq %r8, 0x28(%rsp) movq %rdi, 0x20(%rsp) movq %rsi, 0x18(%rsp) movl %edx, 0x14(%rsp) movl %ecx, 0x10(%rsp) movq 0x20(%rsp), %rax movq %rax, (%rsp) movq 0x18(%rsp), %rdi callq 0x458ca0 movq (%rsp), %rdi addq $0x1f1c58, %rax # imm = 0x1F1C58 movq %rax, 0x8(%rsp) callq 0x499740 movq 0x8(%rsp), %...
/interiorem[P]lepton/src/vp8/model/model.hh
ProbabilityTables<true, (BlockType)1>::compute_lak_vertical(MBlockContext<AlignedBlock const> const&, unsigned int)
int32_t compute_lak_vertical(const ConstBlockContext&context, unsigned int band) { dev_assert((band & 7) == 0 && "Must be used for veritcal"); if (all_present == false && !left_present) { return 0; } __m128i coeffs_x_low; __m128i coeffs_x_high; __m128i coeffs_...
subq $0x128, %rsp # imm = 0x128 movq %rdi, 0x98(%rsp) movq %rsi, 0x90(%rsp) movl %edx, 0x8c(%rsp) movq 0x90(%rsp), %rdi callq 0x491e90 movq %rax, 0x38(%rsp) movq 0x90(%rsp), %rdi callq 0x4914f0 movq %rax, %rdi movl 0x8c(%rsp), %eax addl $0x3, %eax movzbl %al, %esi callq 0x456730 cwtl movl %eax, 0x4(%rsp) mov...
/interiorem[P]lepton/src/vp8/model/model.hh
void encode_one_edge<true, (BlockType)2, false, VPXBoolWriter>(MBlockContext<AlignedBlock const>, VPXBoolWriter&, ProbabilityTables<true, (BlockType)2>&, unsigned char, unsigned char, ProbabilityTablesBase&)
void encode_one_edge(ConstBlockContext context, BoolEncoder& encoder, ProbabilityTables<all_neighbors_present, color> & probability_tables, uint8_t num_nonzeros_7x7, uint8_t est_eob, ProbabilityTablesBase& pt) { uint8_t num_nonzeros_edge; const...
subq $0x188, %rsp # imm = 0x188 movl %ecx, %eax movl %edx, %ecx movq %rdi, %rdx leaq 0x190(%rsp), %rdi movq %rdi, 0x70(%rsp) movq %rdx, 0x180(%rsp) movq %rsi, 0x178(%rsp) movb %cl, 0x177(%rsp) movb %al, 0x176(%rsp) movq %r8, 0x168(%rsp) callq 0x46e4e0 movq %rax, 0x158(%rsp) movq 0x158(%rsp), %rdi movl $0x8, ...
/interiorem[P]lepton/src/vp8/encoder/encoder.cc
ProbabilityTables<true, (BlockType)2>::sign_array_8(ProbabilityTablesBase&, unsigned char, ProbabilityTablesBase::CoefficientContext)
Branch& sign_array_8(ProbabilityTablesBase &pt, uint8_t band, CoefficientContext context) { int16_t val = context.best_prior; uint8_t ctx0 = context.bsr_best_prior; uint8_t ctx1 = (val == 0 ? 0 : (val > 0 ? 1 : 2)); ANNOTATE_CTX(band, SIGN8, 0, ctx0); ANNOTATE_CTX(band, SIGN8, 1...
subq $0x38, %rsp movb %dl, %al movq %rcx, 0x30(%rsp) movq %rdi, 0x28(%rsp) movq %rsi, 0x20(%rsp) movb %al, 0x1f(%rsp) movq 0x28(%rsp), %rax movq %rax, 0x10(%rsp) movl 0x30(%rsp), %eax movw %ax, 0x1c(%rsp) movb 0x35(%rsp), %al movb %al, 0x1b(%rsp) movswl 0x1c(%rsp), %eax cmpl $0x0, %eax jne 0x49d6e6 xorl %eax, %eax movl...
/interiorem[P]lepton/src/vp8/model/model.hh
ProbabilityTables<true, (BlockType)2>::compute_lak_vertical(MBlockContext<AlignedBlock const> const&, unsigned int)
int32_t compute_lak_vertical(const ConstBlockContext&context, unsigned int band) { dev_assert((band & 7) == 0 && "Must be used for veritcal"); if (all_present == false && !left_present) { return 0; } __m128i coeffs_x_low; __m128i coeffs_x_high; __m128i coeffs_...
subq $0x128, %rsp # imm = 0x128 movq %rdi, 0x98(%rsp) movq %rsi, 0x90(%rsp) movl %edx, 0x8c(%rsp) movq 0x90(%rsp), %rdi callq 0x491e90 movq %rax, 0x38(%rsp) movq 0x90(%rsp), %rdi callq 0x4914f0 movq %rax, %rdi movl 0x8c(%rsp), %eax addl $0x3, %eax movzbl %al, %esi callq 0x456730 cwtl movl %eax, 0x4(%rsp) mov...
/interiorem[P]lepton/src/vp8/model/model.hh
void decode_edge<false, (BlockType)0, VPXBoolReader>(MBlockContext<AlignedBlock>, VPXBoolReader&, ProbabilityTables<false, (BlockType)0>&, unsigned char, unsigned char, unsigned char, ProbabilityTablesBase&)
void decode_edge(BlockContext mcontext, BoolDecoder& decoder, ProbabilityTables<all_neighbors_present, color> & probability_tables, uint8_t num_nonzeros_7x7, uint8_t eob_x, uint8_t eob_y, ProbabilityTablesBase& pt) { decode_one_edge<all_neighbors_p...
subq $0x98, %rsp movl %r8d, 0x20(%rsp) movl %ecx, %eax movl 0x20(%rsp), %ecx movl %eax, 0x24(%rsp) movl %edx, %eax movl 0x24(%rsp), %edx movq %rsi, 0x28(%rsp) movq %rdi, %r8 movq 0x28(%rsp), %rdi movb %al, %sil leaq 0xa0(%rsp), %rax movq %rax, 0x30(%rsp) movq %r8, 0x90(%rsp) movq %rdi, 0x88(%rsp) movb %sil, 0x87(%rsp) ...
/interiorem[P]lepton/src/vp8/decoder/decoder.cc
void decode_edge<false, (BlockType)2, VPXBoolReader>(MBlockContext<AlignedBlock>, VPXBoolReader&, ProbabilityTables<false, (BlockType)2>&, unsigned char, unsigned char, unsigned char, ProbabilityTablesBase&)
void decode_edge(BlockContext mcontext, BoolDecoder& decoder, ProbabilityTables<all_neighbors_present, color> & probability_tables, uint8_t num_nonzeros_7x7, uint8_t eob_x, uint8_t eob_y, ProbabilityTablesBase& pt) { decode_one_edge<all_neighbors_p...
subq $0x98, %rsp movl %r8d, 0x20(%rsp) movl %ecx, %eax movl 0x20(%rsp), %ecx movl %eax, 0x24(%rsp) movl %edx, %eax movl 0x24(%rsp), %edx movq %rsi, 0x28(%rsp) movq %rdi, %r8 movq 0x28(%rsp), %rdi movb %al, %sil leaq 0xa0(%rsp), %rax movq %rax, 0x30(%rsp) movq %r8, 0x90(%rsp) movq %rdi, 0x88(%rsp) movb %sil, 0x87(%rsp) ...
/interiorem[P]lepton/src/vp8/decoder/decoder.cc
void parse_tokens<true, (BlockType)1, VPXBoolReader>(MBlockContext<AlignedBlock>, VPXBoolReader&, ProbabilityTables<true, (BlockType)1>&, ProbabilityTablesBase&)
void parse_tokens(BlockContext context, BoolDecoder& decoder, ProbabilityTables<all_neighbors_present, color> & probability_tables, ProbabilityTablesBase &pt) { context.here().bzero(); auto num_nonzeros_prob = probability_tables.nonzero_counts_7x7(pt, contex...
subq $0x608, %rsp # imm = 0x608 movq %rdi, %rax leaq 0x610(%rsp), %rdi movq %rdi, 0x110(%rsp) movq %rax, 0x390(%rsp) movq %rsi, 0x388(%rsp) movq %rdx, 0x380(%rsp) callq 0x4a07c0 movq %rax, %rdi callq 0x4a07d0 movq 0x110(%rsp), %rsi movq 0x388(%rsp), %rax movq %rax, 0x118(%rsp) movq 0x380(%rsp), %rax movq %ra...
/interiorem[P]lepton/src/vp8/decoder/decoder.cc
void decode_edge<true, (BlockType)2, VPXBoolReader>(MBlockContext<AlignedBlock>, VPXBoolReader&, ProbabilityTables<true, (BlockType)2>&, unsigned char, unsigned char, unsigned char, ProbabilityTablesBase&)
void decode_edge(BlockContext mcontext, BoolDecoder& decoder, ProbabilityTables<all_neighbors_present, color> & probability_tables, uint8_t num_nonzeros_7x7, uint8_t eob_x, uint8_t eob_y, ProbabilityTablesBase& pt) { decode_one_edge<all_neighbors_p...
subq $0x98, %rsp movl %r8d, 0x20(%rsp) movl %ecx, %eax movl 0x20(%rsp), %ecx movl %eax, 0x24(%rsp) movl %edx, %eax movl 0x24(%rsp), %edx movq %rsi, 0x28(%rsp) movq %rdi, %r8 movq 0x28(%rsp), %rdi movb %al, %sil leaq 0xa0(%rsp), %rax movq %rax, 0x30(%rsp) movq %r8, 0x90(%rsp) movq %rdi, 0x88(%rsp) movb %sil, 0x87(%rsp) ...
/interiorem[P]lepton/src/vp8/decoder/decoder.cc
BiRope::operator+=(unsigned long)
void operator += (size_t del) { if ((ptrdiff_t)del < rope[0].second - rope[0].first) { rope[0].first += del; return; } del -= rope[0].second - rope[0].first; rope[0] = rope[1]; rope[1] = {NULL, NULL}; always_assert((ptrdiff_t)del <= rope[0].second ...
subq $0x58, %rsp movq %rdi, 0x50(%rsp) movq %rsi, 0x48(%rsp) movq 0x50(%rsp), %rdx movq %rdx, (%rsp) movq 0x48(%rsp), %rax movq 0x8(%rdx), %rcx movq (%rdx), %rdx subq %rdx, %rcx cmpq %rcx, %rax jge 0x4aa6ef movq (%rsp), %rax movq 0x48(%rsp), %rcx addq (%rax), %rcx movq %rcx, (%rax) jmp 0x4aa7d1 movq (%rsp), %rdi movq 0...
/interiorem[P]lepton/src/vp8/decoder/boolreader.hh
void decode_one_edge<false, (BlockType)0, false, VPXBoolReader>(MBlockContext<AlignedBlock>, VPXBoolReader&, ProbabilityTables<false, (BlockType)0>&, unsigned char, unsigned char, ProbabilityTablesBase&)
void decode_one_edge(BlockContext mcontext, BoolDecoder& decoder, ProbabilityTables<all_neighbors_present, color> & probability_tables, uint8_t num_nonzeros_7x7, uint8_t est_eob, ProbabilityTablesBase& pt) { ConstBlockContext context = mcontext.co...
subq $0x358, %rsp # imm = 0x358 movl %ecx, %eax movl %edx, %ecx movq %rsi, %rdx leaq 0x360(%rsp), %rsi movq %rsi, 0x80(%rsp) movq %rdi, 0x190(%rsp) movq %rdx, 0x188(%rsp) movb %cl, 0x187(%rsp) movb %al, 0x186(%rsp) movq %r8, 0x178(%rsp) leaq 0x158(%rsp), %rdi callq 0x4a07f0 xorl %eax, %eax testb $0x1, %al jn...
/interiorem[P]lepton/src/vp8/decoder/decoder.cc
void decode_one_edge<false, (BlockType)2, false, VPXBoolReader>(MBlockContext<AlignedBlock>, VPXBoolReader&, ProbabilityTables<false, (BlockType)2>&, unsigned char, unsigned char, ProbabilityTablesBase&)
void decode_one_edge(BlockContext mcontext, BoolDecoder& decoder, ProbabilityTables<all_neighbors_present, color> & probability_tables, uint8_t num_nonzeros_7x7, uint8_t est_eob, ProbabilityTablesBase& pt) { ConstBlockContext context = mcontext.co...
subq $0x358, %rsp # imm = 0x358 movl %ecx, %eax movl %edx, %ecx movq %rsi, %rdx leaq 0x360(%rsp), %rsi movq %rsi, 0x80(%rsp) movq %rdi, 0x190(%rsp) movq %rdx, 0x188(%rsp) movb %cl, 0x187(%rsp) movb %al, 0x186(%rsp) movq %r8, 0x178(%rsp) leaq 0x158(%rsp), %rdi callq 0x4a07f0 xorl %eax, %eax testb $0x1, %al jn...
/interiorem[P]lepton/src/vp8/decoder/decoder.cc
void decode_one_edge<true, (BlockType)1, true, VPXBoolReader>(MBlockContext<AlignedBlock>, VPXBoolReader&, ProbabilityTables<true, (BlockType)1>&, unsigned char, unsigned char, ProbabilityTablesBase&)
void decode_one_edge(BlockContext mcontext, BoolDecoder& decoder, ProbabilityTables<all_neighbors_present, color> & probability_tables, uint8_t num_nonzeros_7x7, uint8_t est_eob, ProbabilityTablesBase& pt) { ConstBlockContext context = mcontext.co...
subq $0x358, %rsp # imm = 0x358 movl %ecx, %eax movl %edx, %ecx movq %rsi, %rdx leaq 0x360(%rsp), %rsi movq %rsi, 0x80(%rsp) movq %rdi, 0x190(%rsp) movq %rdx, 0x188(%rsp) movb %cl, 0x187(%rsp) movb %al, 0x186(%rsp) movq %r8, 0x178(%rsp) leaq 0x158(%rsp), %rdi callq 0x4a07f0 movb $0x1, %al testb $0x1, %al jne...
/interiorem[P]lepton/src/vp8/decoder/decoder.cc
vpx_stop_encode
void vpx_stop_encode(vpx_writer *br) { int i; for (i = 0; i < 32; i++) vpx_write(br, 0, 128, Billing::DELIMITERS); // Ensure there's no ambigous collision with any index marker bytes if ((br->buffer[br->pos - 1] & 0xe0) == 0xc0) br->buffer[br->pos++] = 0; }
subq $0x18, %rsp movq %rdi, 0x10(%rsp) movl $0x0, 0xc(%rsp) cmpl $0x20, 0xc(%rsp) jge 0x4b98eb movq 0x10(%rsp), %rdi xorl %esi, %esi movl $0x80, %edx movl $0x1, %ecx callq 0x4b96b0 movl 0xc(%rsp), %eax addl $0x1, %eax movl %eax, 0xc(%rsp) jmp 0x4b98c1 movq 0x10(%rsp), %rax movq 0x10(%rax), %rax movq 0x10(%rsp), %rcx mo...
/interiorem[P]lepton/src/vp8/encoder/boolwriter.cc
vpx_reader_fill(vpx_reader*)
static INLINE void vpx_reader_fill(vpx_reader *r) { BD_VALUE value = r->value; int count = r->count; size_t bytes_left = r->buffer.size(); size_t bits_left = bytes_left * CHAR_BIT; int shift = BD_VALUE_SIZE - CHAR_BIT - (count + CHAR_BIT); if (bits_left <= BD_VALUE_SIZE && !r->reader->eof()) { ...
subq $0xc8, %rsp movq %rdi, 0xc0(%rsp) movq 0xc0(%rsp), %rax movq (%rax), %rax movq %rax, 0xb8(%rsp) movq 0xc0(%rsp), %rax movl 0xc(%rax), %eax movl %eax, 0xb4(%rsp) movq 0xc0(%rsp), %rdi addq $0x10, %rdi callq 0x4aa570 movq %rax, 0xa8(%rsp) movq 0xa8(%rsp), %rax shlq $0x3, %rax movq %rax, 0xa0(%rsp) movl 0xb4(%rsp), %...
/interiorem[P]lepton/src/vp8/decoder/boolreader.hh
Sirikata::memmgr_init(unsigned long, unsigned long, unsigned long, unsigned long, bool)
void memmgr_init(size_t main_thread_pool_size, size_t worker_thread_pool_size, size_t num_workers, size_t x_min_pool_alloc_quantas, bool needs_huge_pages) { #ifdef USE_STANDARD_MEMORY_ALLOCATORS return; #endif #ifdef __APPLE__ // in apple, the thread_local storage winds up different when destroying the thread ...
subq $0x68, %rsp movb %r8b, %al movq %rdi, 0x60(%rsp) movq %rsi, 0x58(%rsp) movq %rdx, 0x50(%rsp) movq %rcx, 0x48(%rsp) andb $0x1, %al movb %al, 0x47(%rsp) movq 0x48(%rsp), %rax movq %rax, 0x3656db(%rip) # 0x81faf8 movq 0x50(%rsp), %rax addq $0x1, %rax movq %rax, 0x3de22b(%rip) # 0x898658 movq 0x50(%rsp), %rax ad...
/interiorem[P]lepton/src/io/MemMgrAllocator.cc
Sirikata::memmgr_alloc(unsigned long)
void* memmgr_alloc(size_t nuint8_ts) { MemMgrState& memmgr = get_local_memmgr(); mem_header_t* blessed_zero = NULL; mem_header_t* p; mem_header_t* prevp; // Calculate how many quantas are required: we need enough to house all // the requested uint8_ts, plus the header. The -1 and +1 are there to...
subq $0x48, %rsp movq %rdi, 0x38(%rsp) callq 0x4ba1b0 movq %rax, 0x30(%rsp) movq $0x0, 0x28(%rsp) movq 0x38(%rsp), %rax addq $0x10, %rax subq $0x1, %rax shrq $0x4, %rax addq $0x1, %rax movq %rax, 0x10(%rsp) leaq 0x10(%rsp), %rdi leaq 0x365256(%rip), %rsi # 0x81faf8 callq 0x406fd0 movq (%rax), %rcx shlq $0x4, %rcx mo...
/interiorem[P]lepton/src/io/MemMgrAllocator.cc
inflateResetKeep
int ZEXPORT inflateResetKeep(strm) z_streamp strm; { struct inflate_state FAR *state; if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR; state = (struct inflate_state FAR *)strm->state; strm->total_in = strm->total_out = state->total = 0; strm->msg = Z_NULL; if (state->wrap) ...
movq %rdi, -0x10(%rsp) cmpq $0x0, -0x10(%rsp) je 0x4bb049 movq -0x10(%rsp), %rax cmpq $0x0, 0x38(%rax) jne 0x4bb056 movl $0xfffffffe, -0x4(%rsp) # imm = 0xFFFFFFFE jmp 0x4bb15f movq -0x10(%rsp), %rax movq 0x38(%rax), %rax movq %rax, -0x18(%rsp) movq -0x18(%rsp), %rax movq $0x0, 0x20(%rax) movq -0x10(%rsp), %rax movq $0...
/interiorem[P]lepton/dependencies/zlib/inflate.c
inflateInit2_
int ZEXPORT inflateInit2_(strm, windowBits, version, stream_size) z_streamp strm; int windowBits; const char *version; int stream_size; { int ret; struct inflate_state FAR *state; if (version == Z_NULL || version[0] != ZLIB_VERSION[0] || stream_size != (int)(sizeof(z_stream))) return Z_VERS...
subq $0x38, %rsp movq %rdi, 0x28(%rsp) movl %esi, 0x24(%rsp) movq %rdx, 0x18(%rsp) movl %ecx, 0x14(%rsp) cmpq $0x0, 0x18(%rsp) je 0x4bb328 movq 0x18(%rsp), %rax movsbl (%rax), %eax movsbl 0x25bfd3(%rip), %ecx # 0x7172f0 cmpl %ecx, %eax jne 0x4bb328 cmpl $0x70, 0x14(%rsp) je 0x4bb335 movl $0xfffffffa, 0x34(%rsp) # im...
/interiorem[P]lepton/dependencies/zlib/inflate.c
adler32
uLong ZEXPORT adler32(adler, buf, len) uLong adler; const Bytef *buf; uInt len; { unsigned long sum2; unsigned n; /* split Adler-32 into component sums */ sum2 = (adler >> 16) & 0xffff; adler &= 0xffff; /* in case user likes doing a byte at a time, keep it fast */ if (len == 1)...
movq %rdi, -0x10(%rsp) movq %rsi, -0x18(%rsp) movl %edx, -0x1c(%rsp) movq -0x10(%rsp), %rax shrq $0x10, %rax andq $0xffff, %rax # imm = 0xFFFF movq %rax, -0x28(%rsp) movq -0x10(%rsp), %rax andq $0xffff, %rax # imm = 0xFFFF movq %rax, -0x10(%rsp) cmpl $0x1, -0x1c(%rsp) jne 0x4bf7eb movq -0x18(%rsp), ...
/interiorem[P]lepton/dependencies/zlib/adler32.c
compress2
int ZEXPORT compress2 (dest, destLen, source, sourceLen, level) Bytef *dest; uLongf *destLen; const Bytef *source; uLong sourceLen; int level; { z_stream stream; int err; stream.next_in = (z_const Bytef *)source; stream.avail_in = (uInt)sourceLen; #ifdef MAXSEG_64K /* Check for ...
subq $0xa8, %rsp movq %rdi, 0x98(%rsp) movq %rsi, 0x90(%rsp) movq %rdx, 0x88(%rsp) movq %rcx, 0x80(%rsp) movl %r8d, 0x7c(%rsp) movq 0x88(%rsp), %rax movq %rax, 0x8(%rsp) movq 0x80(%rsp), %rax movl %eax, 0x10(%rsp) movq 0x98(%rsp), %rax movq %rax, 0x20(%rsp) movq 0x90(%rsp), %rax movq (%rax), %rax movl %eax, 0x28(%rsp) ...
/interiorem[P]lepton/dependencies/zlib/compress.c
crc32_combine_
local uLong crc32_combine_(crc1, crc2, len2) uLong crc1; uLong crc2; z_off64_t len2; { int n; unsigned long row; unsigned long even[GF2_DIM]; /* even-power-of-two zeros operator */ unsigned long odd[GF2_DIM]; /* odd-power-of-two zeros operator */ /* degenerate case (also disallow...
subq $0x238, %rsp # imm = 0x238 movq %rdi, 0x228(%rsp) movq %rsi, 0x220(%rsp) movq %rdx, 0x218(%rsp) cmpq $0x0, 0x218(%rsp) jg 0x4c0fcf movq 0x228(%rsp), %rax movq %rax, 0x230(%rsp) jmp 0x4c1136 movl $0xedb88320, %eax # imm = 0xEDB88320 movq %rax, (%rsp) movq $0x1, 0x208(%rsp) movl $0x1, 0x214(%rsp) cm...
/interiorem[P]lepton/dependencies/zlib/crc32.c
zlibCompileFlags
uLong ZEXPORT zlibCompileFlags() { uLong flags; flags = 0; switch ((int)(sizeof(uInt))) { case 2: break; case 4: flags += 1; break; case 8: flags += 2; break; default: flags += 3; } switch ((int)(sizeof(uLong))) { case 2: break; case 4: flags +...
movq $0x0, -0x8(%rsp) movq -0x8(%rsp), %rax addq $0x1, %rax movq %rax, -0x8(%rsp) movq -0x8(%rsp), %rax addq $0x8, %rax movq %rax, -0x8(%rsp) movq -0x8(%rsp), %rax addq $0x20, %rax movq %rax, -0x8(%rsp) movq -0x8(%rsp), %rax addq $0x80, %rax movq %rax, -0x8(%rsp) movq -0x8(%rsp), %rax retq nopl (%rax)
/interiorem[P]lepton/dependencies/zlib/zutil.c
deflateSetDictionary
int ZEXPORT deflateSetDictionary (strm, dictionary, dictLength) z_streamp strm; const Bytef *dictionary; uInt dictLength; { deflate_state *s; uInt str, n; int wrap; unsigned avail; z_const unsigned char *next; if (strm == Z_NULL || strm->state == Z_NULL || dictionary == Z_NULL) ...
subq $0x48, %rsp movq %rdi, 0x38(%rsp) movq %rsi, 0x30(%rsp) movl %edx, 0x2c(%rsp) cmpq $0x0, 0x38(%rsp) je 0x4c20ee movq 0x38(%rsp), %rax cmpq $0x0, 0x38(%rax) je 0x4c20ee cmpq $0x0, 0x30(%rsp) jne 0x4c20fb movl $0xfffffffe, 0x44(%rsp) # imm = 0xFFFFFFFE jmp 0x4c2428 movq 0x38(%rsp), %rax movq 0x38(%rax), %rax movq %r...
/interiorem[P]lepton/dependencies/zlib/deflate.c
lm_init
local void lm_init (s) deflate_state *s; { s->window_size = (ulg)2L*s->w_size; CLEAR_HASH(s); /* Set the default configuration parameters: */ s->max_lazy_match = configuration_table[s->level].max_lazy; s->good_match = configuration_table[s->level].good_length; s->nice_match ...
pushq %rax movq %rdi, (%rsp) movq (%rsp), %rax movl 0x44(%rax), %eax movl %eax, %ecx shlq %rcx movq (%rsp), %rax movq %rcx, 0x58(%rax) movq (%rsp), %rax movq 0x68(%rax), %rax movq (%rsp), %rcx movl 0x74(%rcx), %ecx subl $0x1, %ecx movl %ecx, %ecx movw $0x0, (%rax,%rcx,2) movq (%rsp), %rax movq 0x68(%rax), %rdi movq (%r...
/interiorem[P]lepton/dependencies/zlib/deflate.c
deflate
int ZEXPORT deflate (strm, flush) z_streamp strm; int flush; { int old_flush; /* value of flush param for previous deflate call */ deflate_state *s; if (strm == Z_NULL || strm->state == Z_NULL || flush > Z_BLOCK || flush < 0) { return Z_STREAM_ERROR; } s = strm->state; ...
subq $0x58, %rsp movq %rdi, 0x48(%rsp) movl %esi, 0x44(%rsp) cmpq $0x0, 0x48(%rsp) je 0x4c305f movq 0x48(%rsp), %rax cmpq $0x0, 0x38(%rax) je 0x4c305f cmpl $0x5, 0x44(%rsp) jg 0x4c305f cmpl $0x0, 0x44(%rsp) jge 0x4c306c movl $0xfffffffe, 0x54(%rsp) # imm = 0xFFFFFFFE jmp 0x4c424d movq 0x48(%rsp), %rax movq 0x38(%rax), ...
/interiorem[P]lepton/dependencies/zlib/deflate.c
deflate_slow
local block_state deflate_slow(s, flush) deflate_state *s; int flush; { IPos hash_head; /* head of hash chain */ int bflush; /* set if current block must be flushed */ /* Process the input block. */ for (;;) { /* Make sure that we always have enough lookahead, exce...
subq $0x88, %rsp movq %rdi, 0x78(%rsp) movl %esi, 0x74(%rsp) movq 0x78(%rsp), %rax cmpl $0x106, 0xa4(%rax) # imm = 0x106 jae 0x4c61d8 movq 0x78(%rsp), %rdi callq 0x4c2440 movq 0x78(%rsp), %rax cmpl $0x106, 0xa4(%rax) # imm = 0x106 jae 0x4c61c3 cmpl $0x0, 0x74(%rsp) jne 0x4c61c3 movl $0x0, 0x84(%rsp) jmp 0x4c6...
/interiorem[P]lepton/dependencies/zlib/deflate.c
read_buf
local int read_buf(strm, buf, size) z_streamp strm; Bytef *buf; unsigned size; { unsigned len = strm->avail_in; if (len > size) len = size; if (len == 0) return 0; strm->avail_in -= len; zmemcpy(buf, strm->next_in, len); if (strm->state->wrap == 1) { strm->adler = adler32...
subq $0x28, %rsp movq %rdi, 0x18(%rsp) movq %rsi, 0x10(%rsp) movl %edx, 0xc(%rsp) movq 0x18(%rsp), %rax movl 0x8(%rax), %eax movl %eax, 0x8(%rsp) movl 0x8(%rsp), %eax cmpl 0xc(%rsp), %eax jbe 0x4c70b0 movl 0xc(%rsp), %eax movl %eax, 0x8(%rsp) cmpl $0x0, 0x8(%rsp) jne 0x4c70c4 movl $0x0, 0x24(%rsp) jmp 0x4c7184 movl 0x8...
/interiorem[P]lepton/dependencies/zlib/deflate.c
detect_data_type
local int detect_data_type(s) deflate_state *s; { /* black_mask is the bit mask of black-listed bytes * set bits 0..6, 14..25, and 28..31 * 0xf3ffc07f = binary 11110011111111111100000001111111 */ unsigned long black_mask = 0xf3ffc07fUL; int n; /* Check for non-textual ("black-listed"...
movq %rdi, -0x10(%rsp) movl $0xf3ffc07f, %eax # imm = 0xF3FFC07F movq %rax, -0x18(%rsp) movl $0x0, -0x1c(%rsp) cmpl $0x1f, -0x1c(%rsp) jg 0x4c896d movq -0x18(%rsp), %rax andq $0x1, %rax cmpq $0x0, %rax je 0x4c8951 movq -0x10(%rsp), %rax movslq -0x1c(%rsp), %rcx movzwl 0xc4(%rax,%rcx,4), %eax cmpl $0x0, %eax je 0x...
/interiorem[P]lepton/dependencies/zlib/trees.c
send_all_trees
local void send_all_trees(s, lcodes, dcodes, blcodes) deflate_state *s; int lcodes, dcodes, blcodes; /* number of codes for each tree */ { int rank; /* index in bl_order */ Assert (lcodes >= 257 && dcodes >= 1 && blcodes >= 4, "not enough codes"); Assert (lcodes <= L_CODES && dco...
subq $0x38, %rsp movq %rdi, 0x30(%rsp) movl %esi, 0x2c(%rsp) movl %edx, 0x28(%rsp) movl %ecx, 0x24(%rsp) movl $0x5, 0x1c(%rsp) movq 0x30(%rsp), %rax movl 0x1724(%rax), %eax movl $0x10, %ecx subl 0x1c(%rsp), %ecx cmpl %ecx, %eax jle 0x4c9951 movl 0x2c(%rsp), %eax subl $0x101, %eax # imm = 0x101 movl %eax, 0x1...
/interiorem[P]lepton/dependencies/zlib/trees.c
pqdownheap
local void pqdownheap(s, tree, k) deflate_state *s; ct_data *tree; /* the tree to restore */ int k; /* node to move down */ { int v = s->heap[k]; int j = k << 1; /* left son of k */ while (j <= s->heap_len) { /* Set j to the smallest of the two sons: */ if (j < s-...
movq %rdi, -0x8(%rsp) movq %rsi, -0x10(%rsp) movl %edx, -0x14(%rsp) movq -0x8(%rsp), %rax movslq -0x14(%rsp), %rcx movl 0xbb0(%rax,%rcx,4), %eax movl %eax, -0x18(%rsp) movl -0x14(%rsp), %eax shll %eax movl %eax, -0x1c(%rsp) movl -0x1c(%rsp), %eax movq -0x8(%rsp), %rcx cmpl 0x14a4(%rcx), %eax jg 0x4ca215 movl -0x1c(%rsp...
/interiorem[P]lepton/dependencies/zlib/trees.c
bi_reverse
local unsigned bi_reverse(code, len) unsigned code; /* the value to invert */ int len; /* its bit length */ { register unsigned res = 0; do { res |= code & 1; code >>= 1, res <<= 1; } while (--len > 0); return res >> 1; }
movl %edi, -0x4(%rsp) movl %esi, -0x8(%rsp) movl $0x0, -0xc(%rsp) movl -0x4(%rsp), %eax andl $0x1, %eax orl -0xc(%rsp), %eax movl %eax, -0xc(%rsp) movl -0x4(%rsp), %eax shrl %eax movl %eax, -0x4(%rsp) movl -0xc(%rsp), %eax shll %eax movl %eax, -0xc(%rsp) movl -0x8(%rsp), %eax addl $-0x1, %eax movl %eax, -0x8(%rsp) cmpl...
/interiorem[P]lepton/dependencies/zlib/trees.c
send_tree
local void send_tree (s, tree, max_code) deflate_state *s; ct_data *tree; /* the tree to be scanned */ int max_code; /* and its largest code of non zero frequency */ { int n; /* iterates over all tree elements */ int prevlen = -1; /* last emitted length */ int ...
movq %rdi, -0x8(%rsp) movq %rsi, -0x10(%rsp) movl %edx, -0x14(%rsp) movl $0xffffffff, -0x1c(%rsp) # imm = 0xFFFFFFFF movq -0x10(%rsp), %rax movzwl 0x2(%rax), %eax movl %eax, -0x24(%rsp) movl $0x0, -0x28(%rsp) movl $0x7, -0x2c(%rsp) movl $0x4, -0x30(%rsp) cmpl $0x0, -0x24(%rsp) jne 0x4ca962 movl $0x8a, -0x2c(%rsp) movl ...
/interiorem[P]lepton/dependencies/zlib/trees.c
BrotliEncoderCleanupState
static void BrotliEncoderCleanupState(BrotliEncoderState* s) { MemoryManager* m = &s->memory_manager_; if (BROTLI_IS_OOM(m)) { BrotliWipeOutMemoryManager(m); return; } BROTLI_FREE(m, s->storage_); BROTLI_FREE(m, s->commands_); RingBufferFree(m, &s->ringbuffer_); DestroyHasher(m, &s->hasher_); BR...
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, -0x28(%rbp) movq -0x28(%rbp), %rax addq $0x30, %rax movq %rax, -0x30(%rbp) movq -0x30(%rbp), %rdi movq -0x28(%rbp), %rax movq 0x118(%rax), %rsi callq 0x52b970 movq -0x28(%rbp), %rax movq $0x0, 0x118(%rax) movq -0x30(%rbp), %rdi movq -0x28(%rbp), %rax movq 0x88(%rax...
/interiorem[P]lepton/dependencies/brotli/c/enc/encode.c
BrotliCompressBufferQuality10
static BROTLI_BOOL BrotliCompressBufferQuality10( int lgwin, size_t input_size, const uint8_t* input_buffer, size_t* encoded_size, uint8_t* encoded_buffer) { MemoryManager memory_manager; MemoryManager* m = &memory_manager; const size_t mask = BROTLI_SIZE_MAX >> 1; const size_t max_backward_limit = BRO...
pushq %rbp movq %rsp, %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x17c8, %rsp # imm = 0x17C8 movl %edi, -0x1400(%rbp) movq %rsi, -0x1408(%rbp) movq %rdx, -0x1410(%rbp) movq %rcx, -0x1418(%rbp) movq %r8, -0x1420(%rbp) leaq -0x1438(%rbp), %rax movq %rax, -0x1440(%rbp) movabsq $0x7ffffffff...
/interiorem[P]lepton/dependencies/brotli/c/enc/encode.c
EnsureInitialized
static BROTLI_BOOL EnsureInitialized(BrotliEncoderState* s) { if (BROTLI_IS_OOM(&s->memory_manager_)) return BROTLI_FALSE; if (s->is_initialized_) return BROTLI_TRUE; SanitizeParams(&s->params); s->params.lgblock = ComputeLgBlock(&s->params); s->remaining_metadata_bytes_ = BROTLI_UINT32_MAX; RingBufferSe...
pushq %rbp movq %rsp, %rbp subq $0xa0, %rsp movq %rdi, -0x80(%rbp) movq -0x80(%rbp), %rax cmpl $0x0, 0x14fc(%rax) je 0x4d21e8 movl $0x1, -0x74(%rbp) jmp 0x4d251f movq -0x80(%rbp), %rax movq %rax, -0x68(%rbp) movq -0x68(%rbp), %rax movl 0x4(%rax), %eax movl $0x0, -0x50(%rbp) movl %eax, -0x54(%rbp) movl -0x50(%rbp), %eax...
/interiorem[P]lepton/dependencies/brotli/c/enc/encode.c
BrotliEncoderCompressStreamFast
static BROTLI_BOOL BrotliEncoderCompressStreamFast( BrotliEncoderState* s, BrotliEncoderOperation op, size_t* available_in, const uint8_t** next_in, size_t* available_out, uint8_t** next_out, size_t* total_out) { const size_t block_size_limit = (size_t)1 << s->params.lgwin; const size_t buf_size = BROTL...
pushq %rbp movq %rsp, %rbp pushq %r15 pushq %r14 pushq %rbx subq $0x158, %rsp # imm = 0x158 movq 0x10(%rbp), %rax movq %rdi, -0x58(%rbp) movl %esi, -0x5c(%rbp) movq %rdx, -0x68(%rbp) movq %rcx, -0x70(%rbp) movq %r8, -0x78(%rbp) movq %r9, -0x80(%rbp) movq -0x58(%rbp), %rax movl 0x8(%rax), %eax movl %eax, %ecx...
/interiorem[P]lepton/dependencies/brotli/c/enc/encode.c
EncodeData
static BROTLI_BOOL EncodeData( BrotliEncoderState* s, const BROTLI_BOOL is_last, const BROTLI_BOOL force_flush, size_t* out_size, uint8_t** output) { const uint64_t delta = UnprocessedInputSize(s); const uint32_t bytes = (uint32_t)delta; const uint32_t wrapped_last_processed_pos = WrapPosition(s->la...
pushq %rbp movq %rsp, %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x1298, %rsp # imm = 0x1298 movq %rdi, -0x1110(%rbp) movl %esi, -0x1114(%rbp) movl %edx, -0x1118(%rbp) movq %rcx, -0x1120(%rbp) movq %r8, -0x1128(%rbp) movq -0x1110(%rbp), %rdi callq 0x4d9eb0 movq %rax, -0x1130(%rbp) movq ...
/interiorem[P]lepton/dependencies/brotli/c/enc/encode.c
EncodeWindowBits
static void EncodeWindowBits(int lgwin, uint8_t* last_byte, uint8_t* last_byte_bits) { if (lgwin == 16) { *last_byte = 0; *last_byte_bits = 1; } else if (lgwin == 17) { *last_byte = 1; *last_byte_bits = 7; } else if (lgwin > 17) { *last_byte = (uint8_t)(((lgwin - 17) << 1) | 1); *last_...
pushq %rbp movq %rsp, %rbp movl %edi, -0x4(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) cmpl $0x10, -0x4(%rbp) jne 0x4d8b55 movq -0x10(%rbp), %rax movb $0x0, (%rax) movq -0x18(%rbp), %rax movb $0x1, (%rax) jmp 0x4d8bac cmpl $0x11, -0x4(%rbp) jne 0x4d8b6b movq -0x10(%rbp), %rax movb $0x1, (%rax) movq -0x18(%rbp),...
/interiorem[P]lepton/dependencies/brotli/c/enc/encode.c
InitializeH6
static void FN(Initialize)( HasherHandle handle, const BrotliEncoderParams* params) { HasherCommon* common = GetHasherCommon(handle); HashLongestMatch* self = FN(Self)(handle); BROTLI_UNUSED(params); self->hash_shift_ = 64 - common->params.bucket_bits; self->hash_mask_ = (~((uint64_t)0U)) >> (64 - 8 * com...
pushq %rbp movq %rsp, %rbp movq %rdi, -0x20(%rbp) movq %rsi, -0x28(%rbp) movq -0x20(%rbp), %rax movq %rax, -0x18(%rbp) movq -0x18(%rbp), %rax movq %rax, -0x30(%rbp) movq -0x20(%rbp), %rax movq %rax, -0x10(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x8(%rbp) movq -0x8(%rbp), %rax addq $0x28, %rax movq %rax, -0x38(%rbp) mo...
/interiorem[P]lepton/dependencies/brotli/c/enc/./././hash_longest_match64_inc.h
PrepareH4
static void FN(Prepare)(HasherHandle handle, BROTLI_BOOL one_shot, size_t input_size, const uint8_t* data) { HashLongestMatchQuickly* self = FN(Self)(handle); /* Partial preparation is 100 times slower (per socket). */ size_t partial_prepare_threshold = HASH_MAP_SIZE >> 7; if (one_shot && input_size <= part...
pushq %rbp movq %rsp, %rbp subq $0x50, %rsp movq %rdi, -0x18(%rbp) movl %esi, -0x1c(%rbp) movq %rdx, -0x28(%rbp) movq %rcx, -0x30(%rbp) movq -0x18(%rbp), %rax movq %rax, -0x10(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x8(%rbp) movq -0x8(%rbp), %rax addq $0x28, %rax movq %rax, -0x38(%rbp) movq $0x1000, -0x40(%rbp) # ...
/interiorem[P]lepton/dependencies/brotli/c/enc/./././hash_longest_match_quickly_inc.h
PrepareH54
static void FN(Prepare)(HasherHandle handle, BROTLI_BOOL one_shot, size_t input_size, const uint8_t* data) { HashLongestMatchQuickly* self = FN(Self)(handle); /* Partial preparation is 100 times slower (per socket). */ size_t partial_prepare_threshold = HASH_MAP_SIZE >> 7; if (one_shot && input_size <= part...
pushq %rbp movq %rsp, %rbp subq $0x50, %rsp movq %rdi, -0x18(%rbp) movl %esi, -0x1c(%rbp) movq %rdx, -0x28(%rbp) movq %rcx, -0x30(%rbp) movq -0x18(%rbp), %rax movq %rax, -0x10(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x8(%rbp) movq -0x8(%rbp), %rax addq $0x28, %rax movq %rax, -0x38(%rbp) movq $0x8000, -0x40(%rbp) # ...
/interiorem[P]lepton/dependencies/brotli/c/enc/./././hash_longest_match_quickly_inc.h
GetBrotliStorage
static uint8_t* GetBrotliStorage(BrotliEncoderState* s, size_t size) { MemoryManager* m = &s->memory_manager_; if (s->storage_size_ < size) { BROTLI_FREE(m, s->storage_); s->storage_ = BROTLI_ALLOC(m, uint8_t, size); if (BROTLI_IS_OOM(m)) return NULL; s->storage_size_ = size; } return s->storage...
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rax addq $0x30, %rax movq %rax, -0x18(%rbp) movq -0x8(%rbp), %rax movq 0x110(%rax), %rax cmpq -0x10(%rbp), %rax jae 0x4da704 movq -0x18(%rbp), %rdi movq -0x8(%rbp), %rax movq 0x118(%rax), %rsi callq 0x52b970 movq ...
/interiorem[P]lepton/dependencies/brotli/c/enc/encode.c
InjectBytePaddingBlock
static void InjectBytePaddingBlock(BrotliEncoderState* s) { uint32_t seal = s->last_byte_; size_t seal_bits = s->last_byte_bits_; uint8_t* destination; s->last_byte_ = 0; s->last_byte_bits_ = 0; /* is_last = 0, data_nibbles = 11, reserved = 0, meta_nibbles = 00 */ seal |= 0x6u << seal_bits; seal_bits +=...
pushq %rbp movq %rsp, %rbp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rax movzbl 0x108(%rax), %eax movl %eax, -0xc(%rbp) movq -0x8(%rbp), %rax movzbl 0x109(%rax), %eax movq %rax, -0x18(%rbp) movq -0x8(%rbp), %rax movb $0x0, 0x108(%rax) movq -0x8(%rbp), %rax movb $0x0, 0x109(%rax) movq -0x18(%rbp), %rax movl %eax, %ecx mov...
/interiorem[P]lepton/dependencies/brotli/c/enc/encode.c
RecomputeDistancePrefixes
static void RecomputeDistancePrefixes(Command* cmds, size_t num_commands, uint32_t num_direct_distance_codes, uint32_t distance_postfix_bits) { size_t i; if (num_direct_distance_codes == 0 && distance_p...
pushq %rbp movq %rsp, %rbp subq $0x38, %rsp movq %rdi, -0x98(%rbp) movq %rsi, -0xa0(%rbp) movl %edx, -0xa4(%rbp) movl %ecx, -0xa8(%rbp) cmpl $0x0, -0xa4(%rbp) jne 0x4db329 cmpl $0x0, -0xa8(%rbp) jne 0x4db329 jmp 0x4db58a movq $0x0, -0xb0(%rbp) movq -0xb0(%rbp), %rax cmpq -0xa0(%rbp), %rax jae 0x4db58a movq -0x98(%rbp),...
/interiorem[P]lepton/dependencies/brotli/c/enc/encode.c