This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # CAUTION!!! THIS SCRIPT IS NO WARRANTY!!! | |
| : << _COMMENT_ | |
| How to compile libav/x264 binaries for both 32bit and 64bit on Windows | |
| At first, you should install Git into your Windows. | |
| 1. Download Git from | |
| http://msysgit.googlecode.com/files/Git-1.7.6-preview20110708.exe |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <cstdio> | |
| #include <cstdint> | |
| #include <cstring> | |
| #include <chrono> | |
| #include <type_traits> | |
| #include <immintrin.h> | |
| using namespace std::chrono; | |
| #ifndef _WIN32 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #vsenc.py | |
| #coding: utf-8 | |
| import sys | |
| from subprocess import Popen, PIPE | |
| import vapoursynth as vs | |
| x264_binary_path = 'D:/tools/x86/x264.exe' | |
| avconv_binary_path = 'D:/tools/x86/avconv.exe' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <sys/stat.h> | |
| #include "turbojpeg.h" | |
| typedef struct { | |
| tjhandle tjh; | |
| FILE *src; | |
| unsigned char *src_buff; | |
| unsigned char *dst_buff; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| import os | |
| import sys | |
| import glob | |
| import subprocess | |
| import argparse | |
| class SubsetFont: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| '''port of EasyVFR for VapourSynth''' | |
| __author__ = 'Chikuzen <chikuzen.mo at gmail dot com>' | |
| __version__ = '0.2.5' | |
| import vapoursynth as vs |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #finesharp.py - finesharp module for VapourSynth | |
| #original author : Didee (http://forum.doom9.org/showthread.php?t=166082) | |
| # requirement: RemoveGrain.dll, Repair.dll | |
| # VapourSynth r19 or later | |
| import vapoursynth as vs | |
| class InvalidArgument(Exception): | |
| def __init__(self, value): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| IntersectionObserver polyfill | |
| Copyright 2016 Google Inc. All Rights Reserved. | |
| Licensed under the W3C SOFTWARE AND DOCUMENT NOTICE AND LICENSE. | |
| https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document | |
| */ | |
| !function(d,_){"use strict";if("IntersectionObserver"in d&&"IntersectionObserverEntry"in d&&"intersectionRatio"in d.IntersectionObserverEntry.prototype)"isIntersecting"in d.IntersectionObserverEntry.prototype||Object.defineProperty(d.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return 0<this.intersectionRatio}});else{var e=[];t.prototype.THROTTLE_TIMEOUT=100,t.prototype.POLL_INTERVAL=null,t.prototype.USE_MUTATION_OBSERVER=!0,t.prototype.observe=function(e){if(!this._observationTargets.some(function(t){return t.element==e})){if(!e||1!=e.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:e,entry:null}),this._monitorIntersections(),this._checkForIntersections()}},t.prototype.unobserve=function(e){this._ob |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <cstdint> | |
| #include <algorithm> | |
| #include <iostream> | |
| #include <tmmintrin.h> | |
| // pattern0: (R + G + B) / 3 | |
| // pattern1: max(R, G, B) | |
| // pattern2: (R + 2*G + B) / 4 | |
| // pattern3: R*0.299 + G*0.587 + B*0.114 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <algorithm> | |
| #include <tmmintrin.h> | |
| #define WIN32_LEAN_AND_MEAN | |
| #define NOMINMAX | |
| #include <windows.h> | |
| #include <avisynth.h> | |
| typedef IScriptEnvironment ise_t; |
NewerOlder