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

Side by Side Diff: remoting/client/plugin/decoder.h

Issue 2690003: Copy the (early prototype of) remoting in Chrome into the public tree.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 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 | « remoting/client/plugin/compression.cc ('k') | remoting/client/plugin/host_connection.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 // TODO(hclam): Enable this when we have VP8.
6 // extern "C" {
7 // #include "remoting/demo/third_party/on2/include/on2_decoder.h"
8 // #include "remoting/demo/third_party/on2/include/vp8dx.h"
9 // }
10
11 class Stream;
12
13 class VideoDecoder {
14 public:
15 virtual ~VideoDecoder() {}
16 virtual bool DecodeFrame(char* buffer, int size) = 0;
17 virtual bool GetDecodedFrame(char** planes, int* strides) = 0;
18 virtual bool IsInitialized() = 0;
19 virtual int GetWidth() = 0;
20 virtual int GetHeight() = 0;
21 virtual int GetFormat() = 0;
22 };
23
24 // TODO(hclam): Enable this when we have VP8.
25 // class VP8VideoDecoder {
26 // public:
27 // VP8VideoDecoder();
28 // virtual bool DecodeFrame(char* buffer, int size);
29 // virtual bool GetDecodedFrame(char** planes, int* strides);
30 // virtual bool IsInitialized();
31 // virtual int GetWidth();
32 // virtual int GetHeight();
33 // virtual int GetFormat();
34
35 // private:
36 // on2_codec_ctx_t codec_;
37 // on2_codec_iter_t iter_;
38 // bool first_frame_;
39 // };
OLDNEW
« no previous file with comments | « remoting/client/plugin/compression.cc ('k') | remoting/client/plugin/host_connection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698