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
| package util | |
| import "base:runtime" | |
| import "base:intrinsics" | |
| import "core:mem" | |
| import "core:mem/virtual" | |
| import "core:os" | |
| import "core:fmt" |
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
| package uuid4 | |
| import "core:crypto" | |
| import "core:io" | |
| import "core:mem" | |
| UUID_SIZE :: 16 | |
| UUID4 :: distinct [UUID_SIZE]byte | |
| generate :: proc() -> (u: UUID4) #no_bounds_check { |
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
| package main | |
| import "core:fmt" | |
| import "core:mem" | |
| import "core:log" | |
| import "core:runtime" | |
| // NOTE(Oskar): An example of how to do a leak checking allocator with Odin's context system. | |
| // |
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
| Originall From: Posted 2015-05-29 http://ubwg.net/b/full-list-of-ffmpeg-flags-and-options | |
| This is the complete list that’s outputted by ffmpeg when running ffmpeg -h full. | |
| usage: ffmpeg [options] [[infile options] -i infile]… {[outfile options] outfile}… | |
| Getting help: | |
| -h — print basic options | |
| -h long — print more options | |
| -h full — print all options (including all format and codec specific options, very long) |