mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-27 19:24:06 +00:00
Add reference picture lists to kvz_frame_info.
This commit is contained in:
parent
d5dceb45f1
commit
7edc1b0b1c
|
@ -118,6 +118,7 @@ static void set_frame_info(kvz_frame_info *const info, const encoder_state_t *co
|
|||
info->poc = state->global->poc,
|
||||
info->qp = state->global->QP;
|
||||
info->slice_type = state->global->slicetype;
|
||||
kvz_encoder_get_ref_lists(state, info->ref_list_len, info->ref_list);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -217,6 +217,19 @@ typedef struct kvz_frame_info {
|
|||
*/
|
||||
enum kvz_slice_type slice_type;
|
||||
|
||||
/**
|
||||
* \brief Reference picture lists
|
||||
*
|
||||
* The first list contains the reference picture POCs that are less than the
|
||||
* POC of this frame and the second one contains those that are greater.
|
||||
*/
|
||||
int ref_list[2][16];
|
||||
|
||||
/**
|
||||
* \brief Lengths of the reference picture lists
|
||||
*/
|
||||
int ref_list_len[2];
|
||||
|
||||
} kvz_frame_info;
|
||||
|
||||
/**
|
||||
|
|
|
@ -21,6 +21,6 @@
|
|||
****************************************************************************/
|
||||
|
||||
// KVZ_API_VERSION is incremented every time the public api changes.
|
||||
#define KVZ_API_VERSION 5
|
||||
#define KVZ_API_VERSION 6
|
||||
|
||||
#endif // KVAZAAR_VERSION_H_
|
||||
|
|
Loading…
Reference in a new issue