Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(329)

Side by Side Diff: content/renderer/media/rtc_video_decoder.cc

Issue 6901135: Rewriting FFmpegAudioDecoder and eliminating DecoderBase. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src
Patch Set: all good Created 9 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/renderer/media/rtc_video_decoder.h" 5 #include "content/renderer/media/rtc_video_decoder.h"
6 6
7 #include <deque> 7 #include <deque>
8 8
9 #include "base/message_loop.h"
9 #include "base/task.h" 10 #include "base/task.h"
10 #include "media/base/callback.h" 11 #include "media/base/callback.h"
12 #include "media/base/demuxer.h"
11 #include "media/base/filter_host.h" 13 #include "media/base/filter_host.h"
12 #include "media/base/filters.h" 14 #include "media/base/filters.h"
13 #include "media/base/limits.h" 15 #include "media/base/limits.h"
14 #include "media/base/video_frame.h" 16 #include "media/base/video_frame.h"
15 #include "media/base/video_util.h" 17 #include "media/base/video_util.h"
16 #include "third_party/libjingle/source/talk/session/phone/videoframe.h" 18 #include "third_party/libjingle/source/talk/session/phone/videoframe.h"
17 19
18 using media::CopyUPlane; 20 using media::CopyUPlane;
19 using media::CopyVPlane; 21 using media::CopyVPlane;
20 using media::CopyYPlane; 22 using media::CopyYPlane;
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 FROM_HERE, 208 FROM_HERE,
207 NewRunnableMethod(this, 209 NewRunnableMethod(this,
208 &RTCVideoDecoder::VideoFrameReady, 210 &RTCVideoDecoder::VideoFrameReady,
209 video_frame)); 211 video_frame));
210 } else { 212 } else {
211 VideoFrameReady(video_frame); 213 VideoFrameReady(video_frame);
212 } 214 }
213 215
214 return true; 216 return true;
215 } 217 }
OLDNEW
« no previous file with comments | « content/renderer/media/rtc_video_decoder.h ('k') | content/renderer/media/rtc_video_decoder_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698