TUT HEVC Encoder
Loading...
Searching...
No Matches
Data Structures | Typedefs | Functions
cli.h File Reference

Command line interface. More...

#include "global.h"
#include "kvazaar.h"
Include dependency graph for cli.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  cmdline_opts_t
 

Typedefs

typedef struct cmdline_opts_t cmdline_opts_t
 

Functions

cmdline_opts_tcmdline_opts_parse (const kvz_api *api, int argc, char *argv[])
 Parse command line arguments.
 
void cmdline_opts_free (const kvz_api *api, cmdline_opts_t *opts)
 Deallocate a cmdline_opts_t structure.
 
void print_usage (void)
 
void print_version (void)
 
void print_help (void)
 
void print_frame_info (const kvz_frame_info *const info, const double frame_psnr[3], const uint32_t bytes, const bool print_psnr, const double avg_qp)
 

Typedef Documentation

◆ cmdline_opts_t

Function Documentation

◆ cmdline_opts_free()

void cmdline_opts_free ( const kvz_api api,
cmdline_opts_t opts 
)
Here is the caller graph for this function:

◆ cmdline_opts_parse()

cmdline_opts_t * cmdline_opts_parse ( const kvz_api *const  api,
int  argc,
char argv[] 
)
Parameters
argcNumber of arguments
argvArgument list
Returns
Pointer to the parsed options, or NULL on failure.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ print_frame_info()

void print_frame_info ( const kvz_frame_info *const  info,
const double  frame_psnr[3],
const uint32_t  bytes,
const bool  print_psnr,
const double  avg_qp 
)
Here is the caller graph for this function:

◆ print_help()

void print_help ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ print_usage()

void print_usage ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ print_version()

void print_version ( void  )
Here is the caller graph for this function: