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:
@ -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),
|
||||
|
||||
Reference in New Issue
Block a user