static void usage_exit() { int i; fprintf(stderr, "Usage: %s <options> filename\n\n" "Options:\n", exec_name); arg_show_usage(stderr, all_args); #if CONFIG_VP8_DECODER fprintf(stderr, "\nVP8 Postprocessing Options:\n"); arg_show_usage(stderr, vp8_pp_args); #endif fprintf(stderr, "\nOutput File Patterns:\n\n" " The -o argument specifies the name of the file(s) to " "write to. If the\n argument does not include any escape " "characters, the output will be\n written to a single file. " "Otherwise, the filename will be calculated by\n expanding " "the following escape characters:\n"); fprintf(stderr, "\n\t%%w - Frame width" "\n\t%%h - Frame height" "\n\t%%<n> - Frame number, zero padded to <n> places (1..9)" "\n\n Pattern arguments are only supported in conjunction " "with the --yv12 and\n --i420 options. If the -o option is " "not specified, the output will be\n directed to stdout.\n" ); fprintf(stderr, "\nIncluded decoders:\n\n"); for (i = 0; i < sizeof(ifaces) / sizeof(ifaces[0]); i++) fprintf(stderr, " %-6s - %s\n", ifaces[i].name, vpx_codec_iface_name(ifaces[i].iface())); exit(EXIT_FAILURE); }
void usage_exit() { fprintf(stderr, "Usage: %s <options> input_filename output_filename\n", exec_name); fprintf(stderr, "Options:\n"); arg_show_usage(stderr, svc_args); exit(EXIT_FAILURE); }
void usage_exit(void) { int i; fprintf(stderr, "Usage: %s <options> filename\n\n" "Options:\n", exec_name); arg_show_usage(stderr, all_args); fprintf(stderr, "\nOutput File Patterns:\n\n" " The -o argument specifies the name of the file(s) to " "write to. If the\n argument does not include any escape " "characters, the output will be\n written to a single file. " "Otherwise, the filename will be calculated by\n expanding " "the following escape characters:\n"); fprintf(stderr, "\n\t%%w - Frame width" "\n\t%%h - Frame height" "\n\t%%<n> - Frame number, zero padded to <n> places (1..9)" "\n\n Pattern arguments are only supported in conjunction " "with the --yv12 and\n --i420 options. If the -o option is " "not specified, the output will be\n directed to stdout.\n"); fprintf(stderr, "\nIncluded decoders:\n\n"); for (i = 0; i < get_aom_decoder_count(); ++i) { const AvxInterface *const decoder = get_aom_decoder_by_index(i); fprintf(stderr, " %-6s - %s\n", decoder->name, aom_codec_iface_name(decoder->codec_interface())); } exit(EXIT_FAILURE); }
static void usage_exit() { int i; fprintf(stderr, "Usage: %s <options> src_filename dst_filename\n", exec_name); fprintf(stderr, "\n_options:\n"); arg_show_usage(stdout, main_args); fprintf(stderr, "\n_encoder Global Options:\n"); arg_show_usage(stdout, global_args); fprintf(stderr, "\n_rate Control Options:\n"); arg_show_usage(stdout, rc_args); fprintf(stderr, "\n_twopass Rate Control Options:\n"); arg_show_usage(stdout, rc_twopass_args); fprintf(stderr, "\n_keyframe Placement Options:\n"); arg_show_usage(stdout, kf_args); #if CONFIG_VP8_ENCODER fprintf(stderr, "\n_vp8 Specific Options:\n"); arg_show_usage(stdout, vp8_args); #endif fprintf(stderr, "\n" "Included encoders:\n" "\n"); for (i = 0; i < sizeof(codecs) / sizeof(codecs[0]); i++) fprintf(stderr, " %-6s - %s\n", codecs[i].name, vpx_codec_iface_name(codecs[i].iface)); exit(EXIT_FAILURE); }