From bbae2e8a276451b007f2ebcc5dc14f9029830bf2 Mon Sep 17 00:00:00 2001 From: Ari Koivula Date: Mon, 12 Jan 2015 10:59:28 +0200 Subject: [PATCH] Update usage and readme. --- README.md | 17 +++++++++-------- src/encmain.c | 6 +++++- 2 files changed, 14 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index c3c2087e..b09f33a8 100644 --- a/README.md +++ b/README.md @@ -12,8 +12,6 @@ http://github.com/ultravideo/kvazaar/wiki/List-of-suggested-topics for a list of [![Build Status](https://travis-ci.org/ultravideo/kvazaar.svg?branch=master)](https://travis-ci.org/ultravideo/kvazaar) ##Using Kvazaar -Currently most of the features are turned on/off from the code on compile time, but they are -meant to be user configurable later. Usage: kvazaar -i --input-res x -o @@ -46,6 +44,10 @@ meant to be user configurable later. --subme : Set fractional pixel motion estimation level [1]. 0: only integer motion estimation 1: fractional pixel motion estimation enabled + --pu-depth-inter - : Range for sizes of inter prediction units to try. + 0: 64x64, 1: 32x32, 2: 16x16, 3: 8x8 + --pu-depth-intra - : Range for sizes of intra prediction units to try. + 0: 64x64, 1: 32x32, 2: 16x16, 3: 8x8, 4: 4x4 Video Usability Information: --sar : Specify Sample Aspect Ratio @@ -67,25 +69,25 @@ meant to be user configurable later. - undef, bt709, fcc, bt470bg, smpte170m, smpte240m, GBR, YCgCo, bt2020nc, bt2020c --chromaloc : Specify chroma sample location (0 to 5) [0] - + Parallel processing: --threads : Maximum number of threads to use. Disable threads if set to 0. - + Tiles: - --tiles-width-split |u: + --tiles-width-split |u : Specifies a comma separated list of pixel positions of tiles columns separation coordinates. Can also be u followed by and a single int n, in which case it produces columns of uniform width. - --tiles-height-split |u: + --tiles-height-split |u : Specifies a comma separated list of pixel positions of tiles rows separation coordinates. Can also be u followed by and a single int n, in which case it produces rows of uniform height. Wpp: - --wpp: Enable wavefront parallel processing + --wpp : Enable wavefront parallel processing --owf |auto : Number of parallel frames to process. 0 to disable. Slices: @@ -101,7 +103,6 @@ meant to be user configurable later. -h, --height : Height of input in pixels Example: - kvazaar -i --input-res x -o -n -q eg. `kvazaar -i BQMall_832x480_60.yuv --input-res 832x480 -o out.bin -n 600 -q 32` diff --git a/src/encmain.c b/src/encmain.c index 439b89a7..85f17509 100644 --- a/src/encmain.c +++ b/src/encmain.c @@ -122,6 +122,10 @@ int main(int argc, char *argv[]) " --subme : Set fractional pixel motion estimation level [1].\n" " 0: only integer motion estimation\n" " 1: fractional pixel motion estimation enabled\n" + " --pu-depth-inter - : Range for sizes of inter prediction units to try.\n" + " 0: 64x64, 1: 32x32, 2: 16x16, 3: 8x8\n" + " --pu-depth-intra - : Range for sizes of intra prediction units to try.\n" + " 0: 64x64, 1: 32x32, 2: 16x16, 3: 8x8, 4: 4x4\n" "\n" " Video Usability Information:\n" " --sar : Specify Sample Aspect Ratio\n" @@ -144,7 +148,7 @@ int main(int argc, char *argv[]) " smpte240m, GBR, YCgCo, bt2020nc, bt2020c\n" " --chromaloc : Specify chroma sample location (0 to 5) [0]\n" "\n" - " Parallel processing :\n" + " Parallel processing:\n" " --threads : Maximum number of threads to use.\n" " Disable threads if set to 0.\n" "\n"