Add sh_sign_data_hiding_used_flag to slice header

This commit is contained in:
Marko Viitanen 2021-02-12 14:19:56 +02:00
parent 86aff501a2
commit 113b94f5e1

View file

@ -1298,6 +1298,12 @@ void kvz_encoder_state_write_bitstream_slice_header(
} }
} }
// ToDo: depquant
if (state->encoder_control->cfg.signhide_enable) {
WRITE_U(stream, 1, 1, "sh_sign_data_hiding_used_flag");
}
if (state->frame->slicetype != KVZ_SLICE_I) { if (state->frame->slicetype != KVZ_SLICE_I) {
// BT Size set only with non-I-frames, in I-frames the size is 32x32 // BT Size set only with non-I-frames, in I-frames the size is 32x32