cmdutils_common_opts.h 2.6 KB

1234567891011121314151617181920212223242526272829
  1. { "L" , OPT_EXIT, {.func_arg = show_license}, "show license" },
  2. { "h" , OPT_EXIT, {.func_arg = show_help}, "show help", "topic" },
  3. { "?" , OPT_EXIT, {.func_arg = show_help}, "show help", "topic" },
  4. { "help" , OPT_EXIT, {.func_arg = show_help}, "show help", "topic" },
  5. { "-help" , OPT_EXIT, {.func_arg = show_help}, "show help", "topic" },
  6. { "version" , OPT_EXIT, {.func_arg = show_version}, "show version" },
  7. { "buildconf" , OPT_EXIT, {.func_arg = show_buildconf}, "show build configuration" },
  8. { "formats" , OPT_EXIT, {.func_arg = show_formats }, "show available formats" },
  9. { "devices" , OPT_EXIT, {.func_arg = show_devices }, "show available devices" },
  10. { "codecs" , OPT_EXIT, {.func_arg = show_codecs }, "show available codecs" },
  11. { "decoders" , OPT_EXIT, {.func_arg = show_decoders }, "show available decoders" },
  12. { "encoders" , OPT_EXIT, {.func_arg = show_encoders }, "show available encoders" },
  13. { "bsfs" , OPT_EXIT, {.func_arg = show_bsfs }, "show available bit stream filters" },
  14. { "protocols" , OPT_EXIT, {.func_arg = show_protocols}, "show available protocols" },
  15. { "filters" , OPT_EXIT, {.func_arg = show_filters }, "show available filters" },
  16. { "pix_fmts" , OPT_EXIT, {.func_arg = show_pix_fmts }, "show available pixel formats" },
  17. { "layouts" , OPT_EXIT, {.func_arg = show_layouts }, "show standard channel layouts" },
  18. { "sample_fmts", OPT_EXIT, {.func_arg = show_sample_fmts }, "show available audio sample formats" },
  19. { "colors" , OPT_EXIT, {.func_arg = show_colors }, "show available color names" },
  20. { "loglevel" , HAS_ARG, {.func_arg = opt_loglevel}, "set logging level", "loglevel" },
  21. { "v", HAS_ARG, {.func_arg = opt_loglevel}, "set logging level", "loglevel" },
  22. { "report" , 0, {(void*)opt_report}, "generate a report" },
  23. { "max_alloc" , HAS_ARG, {.func_arg = opt_max_alloc}, "set maximum size of a single allocated block", "bytes" },
  24. { "cpuflags" , HAS_ARG | OPT_EXPERT, { .func_arg = opt_cpuflags }, "force specific cpu flags", "flags" },
  25. { "hide_banner", OPT_BOOL | OPT_EXPERT, {&hide_banner}, "do not show program banner", "hide_banner" },
  26. #if CONFIG_OPENCL
  27. { "opencl_bench", OPT_EXIT, {.func_arg = opt_opencl_bench}, "run benchmark on all OpenCL devices and show results" },
  28. { "opencl_options", HAS_ARG, {.func_arg = opt_opencl}, "set OpenCL environment options" },
  29. #endif