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

Side by Side Diff: media/filters/ffmpeg_video_decoder.cc

Issue 5612004: Web media player pipeline: implemented feature to choose proper... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 10 years 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
« no previous file with comments | « media/filters/ffmpeg_video_decoder.h ('k') | media/filters/omx_video_decoder.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "media/filters/ffmpeg_video_decoder.h" 5 #include "media/filters/ffmpeg_video_decoder.h"
6 6
7 #include <deque> 7 #include <deque>
8 8
9 #include "base/task.h" 9 #include "base/task.h"
10 #include "media/base/callback.h" 10 #include "media/base/callback.h"
11 #include "media/base/filters.h" 11 #include "media/base/filters.h"
12 #include "media/base/filter_host.h" 12 #include "media/base/filter_host.h"
13 #include "media/base/limits.h" 13 #include "media/base/limits.h"
14 #include "media/base/media_format.h" 14 #include "media/base/media_format.h"
15 #include "media/base/video_frame.h" 15 #include "media/base/video_frame.h"
16 #include "media/ffmpeg/ffmpeg_common.h"
17 #include "media/ffmpeg/ffmpeg_util.h" 16 #include "media/ffmpeg/ffmpeg_util.h"
18 #include "media/filters/ffmpeg_interfaces.h" 17 #include "media/filters/ffmpeg_interfaces.h"
19 #include "media/video/ffmpeg_video_decode_engine.h" 18 #include "media/video/ffmpeg_video_decode_engine.h"
20 #include "media/video/video_decode_context.h" 19 #include "media/video/video_decode_context.h"
21 20
22 namespace media { 21 namespace media {
23 22
24 FFmpegVideoDecoder::FFmpegVideoDecoder(VideoDecodeContext* decode_context) 23 FFmpegVideoDecoder::FFmpegVideoDecoder(VideoDecodeContext* decode_context)
25 : width_(0), 24 : width_(0),
26 height_(0), 25 height_(0),
(...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after
432 VideoFrameReady(video_frame); 431 VideoFrameReady(video_frame);
433 } 432 }
434 } 433 }
435 434
436 void FFmpegVideoDecoder::SetVideoDecodeEngineForTest( 435 void FFmpegVideoDecoder::SetVideoDecodeEngineForTest(
437 VideoDecodeEngine* engine) { 436 VideoDecodeEngine* engine) {
438 decode_engine_.reset(engine); 437 decode_engine_.reset(engine);
439 } 438 }
440 439
441 } // namespace media 440 } // namespace media
OLDNEW
« no previous file with comments | « media/filters/ffmpeg_video_decoder.h ('k') | media/filters/omx_video_decoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698