Merge "Fix in the case of MMCO 3 (long term reference idx)." into mnc-dev am: 64b617346c am: bfb5f29471 am: 98a81bb017 am: 14276b25d1 am: 24c16eb2b5 am: fa74fd8b50 am: d4ee94a55c
am: 96546d1489
Change-Id: I68dbcf3daa730e6d227122e2add17519fa1f67a6
This commit is contained in:
commit
417b47fd49
1 changed files with 3 additions and 1 deletions
|
|
@ -291,6 +291,8 @@ WORD32 ih264d_insert_lt_node(dpb_manager_t *ps_dpb_mgr,
|
||||||
ps_mov_node->s_bot_field.u1_reference_info = IS_LONG_TERM;
|
ps_mov_node->s_bot_field.u1_reference_info = IS_LONG_TERM;
|
||||||
ps_mov_node->s_top_field.u1_long_term_frame_idx = u4_lt_idx;
|
ps_mov_node->s_top_field.u1_long_term_frame_idx = u4_lt_idx;
|
||||||
ps_mov_node->s_bot_field.u1_long_term_frame_idx = u4_lt_idx;
|
ps_mov_node->s_bot_field.u1_long_term_frame_idx = u4_lt_idx;
|
||||||
|
u1_mark_bot_field_long_term = 1;
|
||||||
|
u1_mark_top_field_long_term = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
ps_mov_node->u1_lt_idx = u4_lt_idx; //Assign the LT index to the node
|
ps_mov_node->u1_lt_idx = u4_lt_idx; //Assign the LT index to the node
|
||||||
|
|
@ -337,7 +339,7 @@ WORD32 ih264d_insert_lt_node(dpb_manager_t *ps_dpb_mgr,
|
||||||
/* Increment LT buf count only if new LT node inserted */
|
/* Increment LT buf count only if new LT node inserted */
|
||||||
/* If Increment during top_field is done, don't increment */
|
/* If Increment during top_field is done, don't increment */
|
||||||
/* for bottom field, as both them are part of same pic. */
|
/* for bottom field, as both them are part of same pic. */
|
||||||
if(!u1_mark_bot_field_long_term)
|
if(u1_mark_bot_field_long_term)
|
||||||
ps_dpb_mgr->u1_num_lt_ref_bufs++;
|
ps_dpb_mgr->u1_num_lt_ref_bufs++;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue