Merge aspect ratio to master (#116)

* Add frame scaling support (#107)

* Update README.md with additional info about Windows builds

* Add frame scaling

* Add and enable bilinear scaling (#109)

* Add and enable bilinear scaling

* Use Go x/image lib for interpolation

* Reformat the code goimport/gofmt

* Move worker config into the pkg/worker directory

* Change separator in the save file path allowing it to work on Windows (#113)
This commit is contained in:
giongto35 2019-10-19 02:29:07 +08:00 committed by GitHub
parent 08999ee3c2
commit fde4a24158
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 312 additions and 140 deletions

View file

@ -7,6 +7,8 @@ import (
"os/signal"
"time"
config "github.com/giongto35/cloud-game/pkg/config/worker"
"github.com/giongto35/cloud-game/pkg/util/logging"
"github.com/giongto35/cloud-game/pkg/worker"
"github.com/golang/glog"
@ -16,7 +18,7 @@ import (
func main() {
rand.Seed(time.Now().UTC().UnixNano())
cfg := worker.NewDefaultConfig()
cfg := config.NewDefaultConfig()
cfg.AddFlags(pflag.CommandLine)
logging.Init()