Remove the internal dependency on the public API WaitVideoInputStable

The method WaitVideoInputStable is a public API. It is heavily used
by internal methods. This change moves the implementations to the RX
classes in order to remove the dependency.

BUG=None
TEST=make; make remote-install; run a chameleon test

Change-Id: Ic00bc9e83763581370ebdf95399a3c40c38994f4
Reviewed-on: https://chromium-review.googlesource.com/425083
Commit-Ready: Wai-Hong Tam <waihong@google.com>
Tested-by: Wai-Hong Tam <waihong@google.com>
Reviewed-by: Cheng-Yi Chiang <cychiang@chromium.org>
Reviewed-by: Hsu Wei-Cheng <mojahsu@chromium.org>
2 files changed