mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-27 19:24:06 +00:00
Rename macro MAX_GOP to KVZ_MAX_GOP_LENGTH.
This commit is contained in:
parent
3f32d500e2
commit
7b6178f6e0
|
@ -875,7 +875,7 @@ int encoder_feed_frame(encoder_state_t* const state, image_t* const img_in)
|
|||
const config_t* const cfg = encoder->cfg;
|
||||
|
||||
// TODO: Get rid of static variables.
|
||||
static image_t *gop_buffer[2 * MAX_GOP] = { NULL };
|
||||
static image_t *gop_buffer[2 * KVZ_MAX_GOP_LENGTH] = { NULL };
|
||||
static int gop_buf_write_idx = 0;
|
||||
static int gop_buf_read_idx = 0;
|
||||
static int gop_pictures_available = 0;
|
||||
|
|
|
@ -37,7 +37,7 @@ extern "C" {
|
|||
/**
|
||||
* Maximum length of a GoP structure.
|
||||
*/
|
||||
#define MAX_GOP 32
|
||||
#define KVZ_MAX_GOP_LENGTH 32
|
||||
|
||||
#define BIT_DEPTH 8
|
||||
#if BIT_DEPTH == 8
|
||||
|
@ -127,7 +127,7 @@ typedef struct config_t
|
|||
|
||||
int32_t add_encoder_info;
|
||||
int8_t gop_len; /*!< \brief length of GOP for the video sequence */
|
||||
gop_config_t gop[MAX_GOP]; /*!< \brief Array of GOP settings */
|
||||
gop_config_t gop[KVZ_MAX_GOP_LENGTH]; /*!< \brief Array of GOP settings */
|
||||
|
||||
int32_t target_bitrate;
|
||||
} config_t;
|
||||
|
|
Loading…
Reference in a new issue