mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-24 02:24:07 +00:00
Added flag slice_temporal_mvp_enabled_flag
This commit is contained in:
parent
25eb973c38
commit
2956bdb379
|
@ -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");
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue