Switching to I420VideoFrame

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2983 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
mikhal@webrtc.org
2012-10-24 18:33:04 +00:00
parent 6392657643
commit 9fedff7c17
152 changed files with 2076 additions and 1862 deletions

View File

@ -30,11 +30,11 @@ class ViECaptureSnapshot : public ViEFrameCallback {
ViECaptureSnapshot();
~ViECaptureSnapshot();
bool GetSnapshot(unsigned int max_wait_time, VideoFrame* video_frame);
bool GetSnapshot(unsigned int max_wait_time, I420VideoFrame* video_frame);
// Implements ViEFrameCallback.
virtual void DeliverFrame(int id,
VideoFrame* video_frame,
I420VideoFrame* video_frame,
int num_csrcs = 0,
const WebRtc_UWord32 CSRC[kRtpCsrcSize] = NULL);
virtual void DelayChanged(int id, int frame_delay) {}
@ -48,7 +48,7 @@ class ViECaptureSnapshot : public ViEFrameCallback {
private:
scoped_ptr<CriticalSectionWrapper> crit_;
scoped_ptr<ConditionVariableWrapper> condition_varaible_;
VideoFrame* video_frame_;
I420VideoFrame* video_frame_;
};
class ViEFileImpl
@ -126,7 +126,7 @@ class ViEFileImpl
private:
WebRtc_Word32 GetNextCapturedFrame(WebRtc_Word32 capture_id,
VideoFrame* video_frame);
I420VideoFrame* video_frame);
ViESharedData* shared_data_;
};