Disable background update on non-base layer frames
Multi-threaded code was not updated to disable background refresh for non base-layer frames at the time it was disabled in the main C-code. Change-Id: Id6cc376130b7def046942121cfd0526b4f0a71d4
This commit is contained in:
@@ -529,7 +529,8 @@ void encode_mb_row(VP8_COMP *cpi,
|
||||
* segmentation map
|
||||
*/
|
||||
if ((cpi->current_layer == 0) &&
|
||||
(cpi->cyclic_refresh_mode_enabled && xd->segmentation_enabled))
|
||||
(cpi->cyclic_refresh_mode_enabled &&
|
||||
xd->segmentation_enabled))
|
||||
{
|
||||
cpi->segmentation_map[map_index+mb_col] = xd->mode_info_context->mbmi.segment_id;
|
||||
|
||||
|
@@ -214,7 +214,9 @@ THREAD_FUNCTION thread_encoding_proc(void *p_data)
|
||||
* vp8cx_encode_inter_macroblock()) back into the
|
||||
* global segmentation map
|
||||
*/
|
||||
if (cpi->cyclic_refresh_mode_enabled && xd->segmentation_enabled)
|
||||
if ((cpi->current_layer == 0) &&
|
||||
(cpi->cyclic_refresh_mode_enabled &&
|
||||
xd->segmentation_enabled))
|
||||
{
|
||||
const MB_MODE_INFO * mbmi = &xd->mode_info_context->mbmi;
|
||||
cpi->segmentation_map[map_index + mb_col] = mbmi->segment_id;
|
||||
|
Reference in New Issue
Block a user