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

Side by Side Diff: media/filters/gpu_video_decoder.h

Issue 18580008: Rename VideoDecoder::HasOutputFrameAvailable() to CanReadWithoutStalling(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: name change and drop disabled (invalid) test Created 7 years, 5 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
« no previous file with comments | « media/base/video_decoder.cc ('k') | media/filters/gpu_video_decoder.cc » ('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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef MEDIA_FILTERS_GPU_VIDEO_DECODER_H_ 5 #ifndef MEDIA_FILTERS_GPU_VIDEO_DECODER_H_
6 #define MEDIA_FILTERS_GPU_VIDEO_DECODER_H_ 6 #define MEDIA_FILTERS_GPU_VIDEO_DECODER_H_
7 7
8 #include <list> 8 #include <list>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 83
84 // VideoDecoder implementation. 84 // VideoDecoder implementation.
85 virtual void Initialize(DemuxerStream* stream, 85 virtual void Initialize(DemuxerStream* stream,
86 const PipelineStatusCB& status_cb, 86 const PipelineStatusCB& status_cb,
87 const StatisticsCB& statistics_cb) OVERRIDE; 87 const StatisticsCB& statistics_cb) OVERRIDE;
88 virtual void Read(const ReadCB& read_cb) OVERRIDE; 88 virtual void Read(const ReadCB& read_cb) OVERRIDE;
89 virtual void Reset(const base::Closure& closure) OVERRIDE; 89 virtual void Reset(const base::Closure& closure) OVERRIDE;
90 virtual void Stop(const base::Closure& closure) OVERRIDE; 90 virtual void Stop(const base::Closure& closure) OVERRIDE;
91 virtual bool HasAlpha() const OVERRIDE; 91 virtual bool HasAlpha() const OVERRIDE;
92 virtual bool NeedsBitstreamConversion() const OVERRIDE; 92 virtual bool NeedsBitstreamConversion() const OVERRIDE;
93 virtual bool HasOutputFrameAvailable() const OVERRIDE; 93 virtual bool CanReadWithoutStalling() const OVERRIDE;
94 94
95 // VideoDecodeAccelerator::Client implementation. 95 // VideoDecodeAccelerator::Client implementation.
96 virtual void NotifyInitializeDone() OVERRIDE; 96 virtual void NotifyInitializeDone() OVERRIDE;
97 virtual void ProvidePictureBuffers(uint32 count, 97 virtual void ProvidePictureBuffers(uint32 count,
98 const gfx::Size& size, 98 const gfx::Size& size,
99 uint32 texture_target) OVERRIDE; 99 uint32 texture_target) OVERRIDE;
100 virtual void DismissPictureBuffer(int32 id) OVERRIDE; 100 virtual void DismissPictureBuffer(int32 id) OVERRIDE;
101 virtual void PictureReady(const media::Picture& picture) OVERRIDE; 101 virtual void PictureReady(const media::Picture& picture) OVERRIDE;
102 virtual void NotifyEndOfBitstreamBuffer(int32 id) OVERRIDE; 102 virtual void NotifyEndOfBitstreamBuffer(int32 id) OVERRIDE;
103 virtual void NotifyFlushDone() OVERRIDE; 103 virtual void NotifyFlushDone() OVERRIDE;
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 // Set during ProvidePictureBuffers(), used for checking and implementing 251 // Set during ProvidePictureBuffers(), used for checking and implementing
252 // HasAvailableOutputFrames(). 252 // HasAvailableOutputFrames().
253 int available_pictures_; 253 int available_pictures_;
254 254
255 DISALLOW_COPY_AND_ASSIGN(GpuVideoDecoder); 255 DISALLOW_COPY_AND_ASSIGN(GpuVideoDecoder);
256 }; 256 };
257 257
258 } // namespace media 258 } // namespace media
259 259
260 #endif // MEDIA_FILTERS_GPU_VIDEO_DECODER_H_ 260 #endif // MEDIA_FILTERS_GPU_VIDEO_DECODER_H_
OLDNEW
« no previous file with comments | « media/base/video_decoder.cc ('k') | media/filters/gpu_video_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698