Commit 6eb9da2c authored by Yaowu Xu's avatar Yaowu Xu

Remove Frame_ID_NUMBERS_PRESENT_FLAG

This commit replaces hard coded FRAME_ID_NUMBERS_PRESENT_FLAG with
error_resilient_mode, which properly reflects the intention of the
experiment, i.e. "signal the complete state of the reference buffer
explicitly for each frame" to deal with possible frame losses.

Change-Id: I7130c110d26c6a8e1cf1266c05482b768cf352f9
parent 8695e987
......@@ -66,7 +66,6 @@ extern "C" {
#if CONFIG_REFERENCE_BUFFER
/* Constant values while waiting for the sequence header */
#define FRAME_ID_NUMBERS_PRESENT_FLAG 1
#define FRAME_ID_LENGTH 15
#define DELTA_FRAME_ID_LENGTH 14
#endif // CONFIG_REFERENCE_BUFFER
......
......@@ -3316,7 +3316,7 @@ void write_sequence_header(AV1_COMP *cpi, struct aom_write_bit_buffer *wb) {
#if CONFIG_EXT_TILE
cm->large_scale_tile ? 0 :
#endif // CONFIG_EXT_TILE
FRAME_ID_NUMBERS_PRESENT_FLAG;
cm->error_resilient_mode;
seq_params->frame_id_length = FRAME_ID_LENGTH;
seq_params->delta_frame_id_length = DELTA_FRAME_ID_LENGTH;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment