Split the implementation of VP8Encoder|Decoder::Create into a seperated file

(vp8_factory.cc).

R=fischman@webrtc.org, marpan@google.com, marpan@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/8589004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5606 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
wu@webrtc.org
2014-02-24 23:56:39 +00:00
parent 79a1cff65a
commit 7f52a6ef2b
3 changed files with 25 additions and 8 deletions

View File

@ -35,10 +35,6 @@ enum { kVp8ErrorPropagationTh = 30 };
namespace webrtc {
VP8Encoder* VP8Encoder::Create() {
return new VP8EncoderImpl();
}
VP8EncoderImpl::VP8EncoderImpl()
: encoded_image_(),
encoded_complete_callback_(NULL),
@ -496,10 +492,6 @@ int VP8EncoderImpl::RegisterEncodeCompleteCallback(
return WEBRTC_VIDEO_CODEC_OK;
}
VP8Decoder* VP8Decoder::Create() {
return new VP8DecoderImpl();
}
VP8DecoderImpl::VP8DecoderImpl()
: decode_complete_callback_(NULL),
inited_(false),