WebM Codec SDK
|
Information for the frame to be encoded. More...
#include <vpx_ext_ratectrl.h>
Data Fields | |
int | frame_type |
int | show_index |
int | coding_index |
int | gop_index |
int | ref_frame_coding_indexes [3] |
int | ref_frame_valid_list [3] |
int | gop_size |
int | use_alt_ref |
Information for the frame to be encoded.
The encoder will send the information to external rate control model through get_encodeframe_decision() defined in vpx_rc_funcs_t.
int vpx_rc_encodeframe_info::frame_type |
0: Key frame 1: Inter frame 2: Alternate reference frame 3: Overlay frame 4: Golden frame
int vpx_rc_encodeframe_info::show_index |
display index, starts from zero
int vpx_rc_encodeframe_info::coding_index |
coding index, starts from zero
int vpx_rc_encodeframe_info::gop_index |
index of the current frame in this group of picture, starts from zero.
int vpx_rc_encodeframe_info::ref_frame_coding_indexes[3] |
three reference frames' coding indices
int vpx_rc_encodeframe_info::ref_frame_valid_list[3] |
The validity of the three reference frames. 0: Invalid 1: Valid
int vpx_rc_encodeframe_info::gop_size |
The length of the current GOP.
int vpx_rc_encodeframe_info::use_alt_ref |
Whether the current GOP uses an alt ref.