VideoTrackRecorder: extract base class Encoder out of VpxEncoder

Some common functionality is moved to Encoder from
VpxEncoder. Also VpxEncoder is moved to the anonymous
namespace.

No new code is added, this CL is pure refactoring.

This is the 2nd step in a series of CLs to add support for
H264 to MediaRecorder (see https://crrev.com/1886123002/).
Next step is to add an H264Encoder (<is a> Encoder).

BUG=601636

Review URL: https://codereview.chromium.org/1893493003

Cr-Commit-Position: refs/heads/master@{#387526}
2 files changed