From 113b94f5e19aa44921b5a26f5ed45392e8f97cda Mon Sep 17 00:00:00 2001 From: Marko Viitanen Date: Fri, 12 Feb 2021 14:19:56 +0200 Subject: [PATCH] Add sh_sign_data_hiding_used_flag to slice header --- src/encoder_state-bitstream.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/encoder_state-bitstream.c b/src/encoder_state-bitstream.c index 705460a1..0bcc0f9b 100644 --- a/src/encoder_state-bitstream.c +++ b/src/encoder_state-bitstream.c @@ -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) { // BT Size set only with non-I-frames, in I-frames the size is 32x32