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

Side by Side Diff: media/cdm/ppapi/ffmpeg_cdm_video_decoder.h

Issue 22362007: Relocate last remnants of webkit/renderer/media code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Make chromeos crypto dep explicit. Created 7 years, 4 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
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 WEBKIT_RENDERER_MEDIA_CRYPTO_PPAPI_FFMPEG_CDM_VIDEO_DECODER_H_ 5 #ifndef MEDIA_CDM_PPAPI_FFMPEG_CDM_VIDEO_DECODER_H_
6 #define WEBKIT_RENDERER_MEDIA_CRYPTO_PPAPI_FFMPEG_CDM_VIDEO_DECODER_H_ 6 #define MEDIA_CDM_PPAPI_FFMPEG_CDM_VIDEO_DECODER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "webkit/renderer/media/crypto/ppapi/cdm/content_decryption_module.h" 10 #include "media/cdm/ppapi/api/content_decryption_module.h"
11 #include "webkit/renderer/media/crypto/ppapi/cdm_video_decoder.h" 11 #include "media/cdm/ppapi/cdm_video_decoder.h"
12 12
13 struct AVCodecContext; 13 struct AVCodecContext;
14 struct AVFrame; 14 struct AVFrame;
15 15
16 namespace webkit_media { 16 namespace media {
17 17
18 class FFmpegCdmVideoDecoder : public CdmVideoDecoder { 18 class FFmpegCdmVideoDecoder : public CdmVideoDecoder {
19 public: 19 public:
20 explicit FFmpegCdmVideoDecoder(cdm::Host* host); 20 explicit FFmpegCdmVideoDecoder(cdm::Host* host);
21 virtual ~FFmpegCdmVideoDecoder(); 21 virtual ~FFmpegCdmVideoDecoder();
22 22
23 // CdmVideoDecoder implementation. 23 // CdmVideoDecoder implementation.
24 virtual bool Initialize(const cdm::VideoDecoderConfig& config) OVERRIDE; 24 virtual bool Initialize(const cdm::VideoDecoderConfig& config) OVERRIDE;
25 virtual void Deinitialize() OVERRIDE; 25 virtual void Deinitialize() OVERRIDE;
26 virtual void Reset() OVERRIDE; 26 virtual void Reset() OVERRIDE;
(...skipping 19 matching lines...) Expand all
46 AVCodecContext* codec_context_; 46 AVCodecContext* codec_context_;
47 AVFrame* av_frame_; 47 AVFrame* av_frame_;
48 48
49 bool is_initialized_; 49 bool is_initialized_;
50 50
51 cdm::Host* const host_; 51 cdm::Host* const host_;
52 52
53 DISALLOW_COPY_AND_ASSIGN(FFmpegCdmVideoDecoder); 53 DISALLOW_COPY_AND_ASSIGN(FFmpegCdmVideoDecoder);
54 }; 54 };
55 55
56 } // namespace webkit_media 56 } // namespace media
57 57
58 #endif // WEBKIT_RENDERER_MEDIA_CRYPTO_PPAPI_FFMPEG_CDM_VIDEO_DECODER_H_ 58 #endif // MEDIA_CDM_PPAPI_FFMPEG_CDM_VIDEO_DECODER_H_
OLDNEW
« no previous file with comments | « media/cdm/ppapi/ffmpeg_cdm_audio_decoder.cc ('k') | media/cdm/ppapi/ffmpeg_cdm_video_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698