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
| __constant sampler_t sampler = | |
| CLK_NORMALIZED_COORDS_FALSE | |
| | CLK_ADDRESS_CLAMP_TO_EDGE | |
| | CLK_FILTER_NEAREST; | |
| const int BLOCKSIZE = 16; | |
| const int ME_RANGE = 32; | |
| const int ME_RANGE_x2 = 64; | |
| __kernel void motion_est( |
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
| @echo off | |
| set gitcmd="%ProgramFiles(x86)%\Git\bin\git.exe" | |
| set sevenzipcmd="%ProgramFiles%\7-Zip\7z.exe" | |
| rem goto onlybuild | |
| del /S /Q mineserver | |
| rd /S /Q mineserver | |
| %gitcmd% clone git://github.com/fador/mineserver.git | |
| :onlybuild |
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
| /* | |
| for mineserver ( https://github.com/fador/mineserver/ ) | |
| [email protected] | |
| */ | |
| #include <stdio.h> | |
| #include <string.h> | |
| #include <openssl/sha.h> | |
| int main() | |
| { |
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
| Packet 1 | |
| 0f | |
| Packet 2 | |
| 00 03 ff ff fe ff 41 ff ff ff 17 05 12 00 00 00 01 01 0f 00 03 ff ff ff ff ff ff ff ff ff ff | |
| Analysis | |
| 0f = block placement | |
| 00 03 = item id, dirt | |
| ff ff fe ff = X coordinate, -257 |
NewerOlder