Fix encoder crashes and enc/dec mismatches
authorYaowu Xu <yaowu@google.com>
Tue, 12 Jan 2016 17:47:07 +0000 (09:47 -0800)
committerYaowu Xu <yaowu@google.com>
Wed, 13 Jan 2016 17:51:05 +0000 (09:51 -0800)
commitd803e8a20e252c47da6ced84a685cfc994dc9942
tree068f6797ac5e9de9cf217b84236053218f478a30
parenta0900fd0db5408da029fd3c71ec1f9d49ff98b3f
Fix encoder crashes and enc/dec mismatches

This commit adds the logic for segmentation map initialization and
disable temporal update of segmentation map when error-resilient
mode is on. It fixes the enc/dec mistmates (release build) and
assertions(debug) when both aq-mode and error-resilient are on.

Change-Id: Id2155e8b28962cf1f64494f4df0c8d79499b6890
vp10/encoder/aq_complexity.c
vp10/encoder/aq_variance.c
vp10/encoder/segmentation.c