TUT HEVC Encoder
|
#include "encoder.h"
#include <stdio.h>
#include <stdlib.h>
#include "cfg.h"
#include "gop.h"
#include "rdo.h"
#include "strategyselector.h"
#include "kvz_math.h"
#include "fast_coeff_cost.h"
Functions | |
static int | encoder_control_init_gop_layer_weights (encoder_control_t *const encoder) |
Initialize GOP layer weights. | |
static unsigned | cfg_num_threads (void) |
static int | get_max_parallelism (const encoder_control_t *const encoder) |
encoder_control_t * | kvz_encoder_control_init (const kvz_config *const cfg) |
Allocate and initialize an encoder control structure. | |
void | kvz_encoder_control_free (encoder_control_t *const encoder) |
Free an encoder control structure. | |
void | kvz_encoder_control_input_init (encoder_control_t *const encoder, const int32_t width, int32_t height) |
|
static |
|
static |
Selects appropriate weights for layers according to the target bpp. Only GOP structures with exactly four layers are supported with the. exception of experimental GOP 16.
|
static |
void kvz_encoder_control_free | ( | encoder_control_t *const | encoder | ) |
encoder_control_t * kvz_encoder_control_init | ( | const kvz_config *const | cfg | ) |
cfg | encoder configuration |
void kvz_encoder_control_input_init | ( | encoder_control_t *const | encoder, |
const int32_t | width, | ||
int32_t | height ) |