Added flag slice_temporal_mvp_enabled_flag

This commit is contained in:
Marko Viitanen 2016-06-14 08:34:17 +03:00
parent 25eb973c38
commit 2956bdb379
2 changed files with 8 additions and 1 deletions

View file

@ -751,6 +751,13 @@ void kvz_encoder_state_write_bitstream_slice_header(encoder_state_t * const stat
//end if
//end if
#if ENABLE_TEMPORAL_MVP
if (state->global->slicetype != KVZ_SLICE_I) {
WRITE_U(stream, 1, 1, "slice_temporal_mvp_enabled_flag");
}
#endif
if (encoder->sao_enable) {
WRITE_U(stream, 1, 1, "slice_sao_luma_flag");
WRITE_U(stream, 1, 1, "slice_sao_chroma_flag");

View file

@ -125,7 +125,7 @@ typedef int16_t coeff_t;
#define ENABLE_PCM 0
//! Enable usage of temporal Motion Vector Prediction
#define ENABLE_TEMPORAL_MVP 0
#define ENABLE_TEMPORAL_MVP 1
//! skip residual coding when it's under _some_ threshold
#define OPTIMIZATION_SKIP_RESIDUAL_ON_THRESHOLD 0