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

Side by Side Diff: media/base/video_decoder.h

Issue 10447035: Introducing DecoderBuffer and general Buffer cleanup. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: s/2011/2012/ Created 8 years, 6 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/test_data_util.cc ('k') | media/crypto/aes_decryptor.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) 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_BASE_VIDEO_DECODER_H_ 5 #ifndef MEDIA_BASE_VIDEO_DECODER_H_
6 #define MEDIA_BASE_VIDEO_DECODER_H_ 6 #define MEDIA_BASE_VIDEO_DECODER_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "media/base/pipeline_status.h" 10 #include "media/base/pipeline_status.h"
11 #include "media/base/media_export.h" 11 #include "media/base/media_export.h"
12 #include "ui/gfx/size.h" 12 #include "ui/gfx/size.h"
13 13
14 namespace media { 14 namespace media {
15 15
16 class Buffer;
17 class DemuxerStream; 16 class DemuxerStream;
18 class VideoFrame; 17 class VideoFrame;
19 18
20 class MEDIA_EXPORT VideoDecoder 19 class MEDIA_EXPORT VideoDecoder
21 : public base::RefCountedThreadSafe<VideoDecoder> { 20 : public base::RefCountedThreadSafe<VideoDecoder> {
22 public: 21 public:
23 // Status codes for read operations on VideoDecoder. 22 // Status codes for read operations on VideoDecoder.
24 enum DecoderStatus { 23 enum DecoderStatus {
25 kOk, // Everything went as planned. 24 kOk, // Everything went as planned.
26 kDecodeError, // Decoding error happened. 25 kDecodeError, // Decoding error happened.
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 friend class base::RefCountedThreadSafe<VideoDecoder>; 85 friend class base::RefCountedThreadSafe<VideoDecoder>;
87 virtual ~VideoDecoder(); 86 virtual ~VideoDecoder();
88 VideoDecoder(); 87 VideoDecoder();
89 88
90 DISALLOW_COPY_AND_ASSIGN(VideoDecoder); 89 DISALLOW_COPY_AND_ASSIGN(VideoDecoder);
91 }; 90 };
92 91
93 } // namespace media 92 } // namespace media
94 93
95 #endif // MEDIA_BASE_VIDEO_DECODER_H_ 94 #endif // MEDIA_BASE_VIDEO_DECODER_H_
OLDNEW
« no previous file with comments | « media/base/test_data_util.cc ('k') | media/crypto/aes_decryptor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698