TUT HEVC Encoder
Loading...
Searching...
No Matches
encoder_state_config_frame_t Struct Reference

#include <encoderstate.h>

Collaboration diagram for encoder_state_config_frame_t:

Data Fields

double lambda
 Frame-level lambda.
 
int32_t num
 Frame number.
 
int32_t poc
 Picture order count.
 
int8_t gop_offset
 Offset in the gop structure.
 
int32_t irap_poc
 POC of the associated IRAP picture.
 
int8_t QP
 Frame-level quantization parameter.
 
double QP_factor
 quantization factor
 
image_list_tref
 Current pictures available for references.
 
int8_t ref_list
 
uint8_t ref_LX [2][16]
 L0 and L1 reference index list.
 
uint8_t ref_LX_size [2]
 L0 reference index list size.
 
bool is_irap
 
uint8_t pictype
 
enum kvz_slice_type slicetype
 
uint64_t total_bits_coded
 Total number of bits written.
 
uint64_t cur_gop_bits_coded
 Number of bits written in the current GOP.
 
uint64_t cur_frame_bits_coded
 Number of bits written in the current frame.
 
double cur_gop_target_bits
 Number of bits targeted for the current GOP.
 
double cur_pic_target_bits
 Number of bits targeted for the current picture.
 
double rc_alpha
 
double rc_beta
 
bool prepared
 Indicates that this encoder state is ready for encoding the next frame i.e.
 
bool done
 Indicates that the previous frame has been encoded and the encoded data written and the encoding the next frame has not been started yet.
 
lcu_stats_tlcu_stats
 Information about the coded LCUs.
 
pthread_mutex_t rc_lock
 
struct kvz_rc_datanew_ratecontrol
 
struct encoder_state_t const * previous_layer_state
 
double * aq_offsets
 Calculated adaptive QP offset for each LCU.
 
int8_t max_qp_delta_depth
 
bool first_nal
 Whether next NAL is the first NAL in the access unit.
 
double icost
 
double remaining_weight
 
double i_bits_left
 
double * c_para
 
double * k_para
 

Field Documentation

◆ aq_offsets

double* encoder_state_config_frame_t::aq_offsets

◆ c_para

double* encoder_state_config_frame_t::c_para

◆ cur_frame_bits_coded

uint64_t encoder_state_config_frame_t::cur_frame_bits_coded

◆ cur_gop_bits_coded

uint64_t encoder_state_config_frame_t::cur_gop_bits_coded

◆ cur_gop_target_bits

double encoder_state_config_frame_t::cur_gop_target_bits

◆ cur_pic_target_bits

double encoder_state_config_frame_t::cur_pic_target_bits

◆ done

bool encoder_state_config_frame_t::done

◆ first_nal

bool encoder_state_config_frame_t::first_nal

◆ gop_offset

int8_t encoder_state_config_frame_t::gop_offset

◆ i_bits_left

double encoder_state_config_frame_t::i_bits_left

◆ icost

double encoder_state_config_frame_t::icost

◆ irap_poc

int32_t encoder_state_config_frame_t::irap_poc

◆ is_irap

bool encoder_state_config_frame_t::is_irap

◆ k_para

double* encoder_state_config_frame_t::k_para

◆ lambda

double encoder_state_config_frame_t::lambda

Use state->lambda or state->lambda_sqrt for cost computations.

See also
encoder_state_t::lambda
encoder_state_t::lambda_sqrt

◆ lcu_stats

lcu_stats_t* encoder_state_config_frame_t::lcu_stats

Used for rate control.

◆ max_qp_delta_depth

int8_t encoder_state_config_frame_t::max_qp_delta_depth

◆ new_ratecontrol

struct kvz_rc_data* encoder_state_config_frame_t::new_ratecontrol

◆ num

int32_t encoder_state_config_frame_t::num

◆ pictype

uint8_t encoder_state_config_frame_t::pictype

◆ poc

int32_t encoder_state_config_frame_t::poc

◆ prepared

bool encoder_state_config_frame_t::prepared

kvz_encoder_prepare has been called.

◆ previous_layer_state

struct encoder_state_t const* encoder_state_config_frame_t::previous_layer_state

◆ QP

int8_t encoder_state_config_frame_t::QP

◆ QP_factor

double encoder_state_config_frame_t::QP_factor

◆ rc_alpha

double encoder_state_config_frame_t::rc_alpha

◆ rc_beta

double encoder_state_config_frame_t::rc_beta

◆ rc_lock

pthread_mutex_t encoder_state_config_frame_t::rc_lock

◆ ref

image_list_t* encoder_state_config_frame_t::ref

◆ ref_list

int8_t encoder_state_config_frame_t::ref_list

◆ ref_LX

uint8_t encoder_state_config_frame_t::ref_LX[2][16]

◆ ref_LX_size

uint8_t encoder_state_config_frame_t::ref_LX_size[2]

◆ remaining_weight

double encoder_state_config_frame_t::remaining_weight

◆ slicetype

enum kvz_slice_type encoder_state_config_frame_t::slicetype

◆ total_bits_coded

uint64_t encoder_state_config_frame_t::total_bits_coded

The documentation for this struct was generated from the following file: