mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-27 19:24:06 +00:00
36 lines
924 B
C
36 lines
924 B
C
|
/**
|
||
|
* HEVC Encoder
|
||
|
* - Marko Viitanen ( fador at iki.fi ), Tampere University of Technology, Department of Computer Systems.
|
||
|
*/
|
||
|
|
||
|
/*! \file config.h
|
||
|
\brief Configuration header
|
||
|
\author Marko Viitanen
|
||
|
\date 2012-05
|
||
|
|
||
|
Contains all configuration system related functions and structs
|
||
|
*/
|
||
|
|
||
|
#ifndef _CONFIG_H_
|
||
|
#define _CONFIG_H_
|
||
|
|
||
|
/*!
|
||
|
\brief Struct which contains all configuration data
|
||
|
*/
|
||
|
typedef struct
|
||
|
{
|
||
|
char *input; /*!< \brief Pointer to input filename */
|
||
|
char *output;/*!< \brief Pointer to output filename */
|
||
|
char *debug; /*!< \brief Pointer to debug output */
|
||
|
int frames; /*!< \brief Number of frames to decode */
|
||
|
int width; /*!< \brief frame width */
|
||
|
int height; /*!< \brief frame height */
|
||
|
} config;
|
||
|
|
||
|
/* Function definitions */
|
||
|
config* config_alloc();
|
||
|
int config_init(config* cfg);
|
||
|
int config_destroy(config* cfg);
|
||
|
int config_read(config* cfg,int argc, char* argv[]);
|
||
|
|
||
|
#endif
|