ref: 50ec6311e6376086e771bdad736888a486ca871b
parent: e71985632eee91a2ec694494122a89cb56b4000c
author: Yaowu Xu <yaowu@google.com>
date: Mon Dec 16 07:09:34 EST 2013
Move two functions to encoder As they are used by encoder only. Change-Id: I7b1e6955b218aba66fe156523521a8121c9a84a4