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

Side by Side Diff: webkit/media/crypto/decoders/video_decoder.h

Issue 10899021: Add CDM video decoder. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Compiles, does nothing. Created 8 years, 3 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
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef WEBKIT_MEDIA_CRYPTO_DECODERS_VIDEO_DECODER_H_
6 #define WEBKIT_MEDIA_CRYPTO_DECODERS_VIDEO_DECODER_H_
7
8 #include "base/basictypes.h"
9 #include "webkit/media/crypto/ppapi/content_decryption_module.h"
10
11 namespace webkit_media {
12
13 class VideoDecoder {
xhwang 2012/09/04 14:50:21 Media code try to avoid defining interface classes
14 public:
15 virtual bool Initialize(const cdm::VideoDecoderConfig& config) = 0;
16 virtual bool DecodeFrame(const cdm::VideoFrame& compressed_frame,
17 cdm::VideoFrame* decompressed_frame) = 0;
18
19 protected:
20 VideoDecoder() {}
21 virtual ~VideoDecoder() {}
22
ddorwin 2012/09/02 21:39:08 private:
23 DISALLOW_COPY_AND_ASSIGN(VideoDecoder);
24 };
25
26 } // namespace webkit_media
27
28 #endif // WEBKIT_MEDIA_CRYPTO_DECODERS_VIDEO_DECODER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698