mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-27 19:24:06 +00:00
Added missing slice header flag "mvd_l1_zero_flag"
This commit is contained in:
parent
18d9789fab
commit
43b086caed
|
@ -611,13 +611,13 @@ void encoder_state_write_bitstream_slice_header(encoder_state * const encoder_st
|
|||
if (encoder_state->global->slicetype != SLICE_I) {
|
||||
WRITE_U(stream, 1, 1, "num_ref_idx_active_override_flag");
|
||||
WRITE_UE(stream, encoder_state->global->ref->used_size-1, "num_ref_idx_l0_active_minus1");
|
||||
if (encoder_state->global->slicetype == SLICE_B) {
|
||||
WRITE_UE(stream, 0, "num_ref_idx_l1_active_minus1");
|
||||
WRITE_U(stream, 0, 1, "mvd_l1_zero_flag");
|
||||
}
|
||||
WRITE_UE(stream, 5-MRG_MAX_NUM_CANDS, "five_minus_max_num_merge_cand");
|
||||
}
|
||||
|
||||
if (encoder_state->global->slicetype == SLICE_B) {
|
||||
WRITE_U(stream, 0, 1, "mvd_l1_zero_flag");
|
||||
}
|
||||
|
||||
{
|
||||
int slice_qp_delta = encoder_state->global->QP - encoder_state->encoder_control->cfg->qp;
|
||||
WRITE_SE(stream, slice_qp_delta, "slice_qp_delta");
|
||||
|
|
Loading…
Reference in a new issue