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

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

Issue 185403020: Make VEA client of command buffer; move sync. IPC to VDA/VEA::Initialize() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 7da5b6ec Rebase. Created 6 years, 8 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/filters/gpu_video_accelerator_factories.h ('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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 const PipelineStatusCB& status_cb) OVERRIDE; 46 const PipelineStatusCB& status_cb) OVERRIDE;
47 virtual void Decode(const scoped_refptr<DecoderBuffer>& buffer, 47 virtual void Decode(const scoped_refptr<DecoderBuffer>& buffer,
48 const DecodeCB& decode_cb) OVERRIDE; 48 const DecodeCB& decode_cb) OVERRIDE;
49 virtual void Reset(const base::Closure& closure) OVERRIDE; 49 virtual void Reset(const base::Closure& closure) OVERRIDE;
50 virtual void Stop() OVERRIDE; 50 virtual void Stop() OVERRIDE;
51 virtual bool HasAlpha() const OVERRIDE; 51 virtual bool HasAlpha() const OVERRIDE;
52 virtual bool NeedsBitstreamConversion() const OVERRIDE; 52 virtual bool NeedsBitstreamConversion() const OVERRIDE;
53 virtual bool CanReadWithoutStalling() const OVERRIDE; 53 virtual bool CanReadWithoutStalling() const OVERRIDE;
54 54
55 // VideoDecodeAccelerator::Client implementation. 55 // VideoDecodeAccelerator::Client implementation.
56 virtual void NotifyInitializeDone() OVERRIDE;
57 virtual void ProvidePictureBuffers(uint32 count, 56 virtual void ProvidePictureBuffers(uint32 count,
58 const gfx::Size& size, 57 const gfx::Size& size,
59 uint32 texture_target) OVERRIDE; 58 uint32 texture_target) OVERRIDE;
60 virtual void DismissPictureBuffer(int32 id) OVERRIDE; 59 virtual void DismissPictureBuffer(int32 id) OVERRIDE;
61 virtual void PictureReady(const media::Picture& picture) OVERRIDE; 60 virtual void PictureReady(const media::Picture& picture) OVERRIDE;
62 virtual void NotifyEndOfBitstreamBuffer(int32 id) OVERRIDE; 61 virtual void NotifyEndOfBitstreamBuffer(int32 id) OVERRIDE;
63 virtual void NotifyFlushDone() OVERRIDE; 62 virtual void NotifyFlushDone() OVERRIDE;
64 virtual void NotifyResetDone() OVERRIDE; 63 virtual void NotifyResetDone() OVERRIDE;
65 virtual void NotifyError(media::VideoDecodeAccelerator::Error error) OVERRIDE; 64 virtual void NotifyError(media::VideoDecodeAccelerator::Error error) OVERRIDE;
66 65
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 // Bound to factories_->GetMessageLoop(). 193 // Bound to factories_->GetMessageLoop().
195 // NOTE: Weak pointers must be invalidated before all other member variables. 194 // NOTE: Weak pointers must be invalidated before all other member variables.
196 base::WeakPtrFactory<GpuVideoDecoder> weak_factory_; 195 base::WeakPtrFactory<GpuVideoDecoder> weak_factory_;
197 196
198 DISALLOW_COPY_AND_ASSIGN(GpuVideoDecoder); 197 DISALLOW_COPY_AND_ASSIGN(GpuVideoDecoder);
199 }; 198 };
200 199
201 } // namespace media 200 } // namespace media
202 201
203 #endif // MEDIA_FILTERS_GPU_VIDEO_DECODER_H_ 202 #endif // MEDIA_FILTERS_GPU_VIDEO_DECODER_H_
OLDNEW
« no previous file with comments | « media/filters/gpu_video_accelerator_factories.h ('k') | media/filters/gpu_video_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698