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
import sys | |
import textwrap | |
s=open(sys.argv[1], 'rb').read().encode("hex").upper() | |
t=",".join(["0x"+x+y for (x,y) in zip(s[0::2], s[1::2])]) | |
print "const unsigned char data[] = {\n\t%s\n};"%" \n\t".join(textwrap.wrap(t,80)) |
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
Raw Symbols | |
Total Count : 1548 | |
Total Size : 388632 | |
-------------------------------------- | |
Sorted by Size | |
Size Section/Type Name Source | |
19720 .text _vfprintf_r | |
19397 .text _svfprintf_r | |
16384 .bss emergency_buffer | |
11997 .text _vfiprintf_r |
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
// Yuriy O'Donnell <[email protected]> | |
// Released under MIT License (do whatever you want with it) | |
#define NOMINMAX | |
#define WIN32_LEAN_AND_MEAN | |
#include <stdio.h> | |
#include <windows.h> | |
#include <xnamath.h> | |
#include <malloc.h> |
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
import sys | |
def GenerateGaussianFilter(taps) : | |
weights = [] | |
sum = 0.0 | |
w = 1.0 | |
width = (taps-1)*2 | |
for i in range((width)/2+1) : |
NewerOlder