]> granicus.if.org Git - libvpx/commitdiff
Add vpxenc help info
authorYaowu Xu <yaowu@google.com>
Wed, 12 Aug 2015 19:14:17 +0000 (12:14 -0700)
committerYaowu Xu <yaowu@google.com>
Wed, 12 Aug 2015 19:43:19 +0000 (12:43 -0700)
1. information on --test-decode
2. vp10 specific parameters, currently shared with vp9

Change-Id: Ida4b691052441e68b9352746988027e5a2a26f48

vpxenc.c

index f067b556210c36c7753d0581735ab27913c7a75c..7b3da9ca513f34d20c3e43871d60bea805261e84 100644 (file)
--- a/vpxenc.c
+++ b/vpxenc.c
@@ -211,7 +211,7 @@ static const arg_def_t *main_args[] = {
   &outputfile, &codecarg, &passes, &pass_arg, &fpf_name, &limit, &skip,
   &deadline, &best_dl, &good_dl, &rt_dl,
   &quietarg, &verbosearg, &psnrarg, &use_webm, &use_ivf, &out_part, &q_hist_n,
-  &rate_hist_n, &disable_warnings, &disable_warning_prompt,
+  &rate_hist_n, &disable_warnings, &disable_warning_prompt, &recontest,
   NULL
 };
 
@@ -496,7 +496,15 @@ void usage_exit(void) {
   arg_show_usage(stderr, vp8_args);
 #endif
 #if CONFIG_VP9_ENCODER || CONFIG_VP10_ENCODER
-  fprintf(stderr, "\nVP9 Specific Options:\n");
+  // TODO(yaowu: split vp9 and vp10 option when necessary.
+  fprintf(stderr, "\n");
+  #if CONFIG_VP9_ENCODER
+    fprintf(stderr, "VP9 ");
+  #endif
+  #if CONFIG_VP10_ENCODER
+    fprintf(stderr, "VP10 ");
+  #endif
+  fprintf(stderr, "Specific Options:\n");
   arg_show_usage(stderr, vp9_args);
 #endif
   fprintf(stderr, "\nStream timebase (--timebase):\n"