]> git.sesse.net Git - ffmpeg/blobdiff - cmdutils.h
cosmetics, encode_variance -> encode_fast
[ffmpeg] / cmdutils.h
index e44b6b5bd18ea1f43d20127b042d588092ba27f3..102e0403de30dd6e99de6dfae0ebcd9a93a763f8 100644 (file)
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#ifndef CMD_UTILS_H
-#define CMD_UTILS_H
+#ifndef FFMPEG_CMDUTILS_H
+#define FFMPEG_CMDUTILS_H
+
+#include <inttypes.h>
 
 typedef struct {
     const char *name;
@@ -64,10 +66,27 @@ void parse_options(int argc, char **argv, const OptionDef *options,
 
 void print_error(const char *filename, int err);
 
+/**
+ * Prints the banner of the program on stderr. The banner message
+ * depends on the current versions of the repository and of the libav*
+ * libraries.
+ * @param program_name Name of the program.
+ * @param program_birth_year Year of birth of the program.
+ */
+void show_banner(const char *program_name, int program_birth_year);
+
+/**
+ * Prints the version of the program on stdout. The version message
+ * depends on the current versions of the repository and of the libav*
+ * libraries.
+ * @param program_name Name of the program.
+ */
+void show_version(const char *program_name);
+
 /**
  * Prints on stdout the license of the program, which depends on the license of
  * the compiled libav* libraries.
  */
 void show_license(void);
 
-#endif /* CMD_UTILS_H */
+#endif /* FFMPEG_CMDUTILS_H */