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

Side by Side Diff: content/renderer/pepper/pepper_video_decoder_host.h

Issue 496203002: Pepper: PPB_VideoDecoder software-only mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments. Created 6 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
« no previous file with comments | « no previous file | content/renderer/pepper/pepper_video_decoder_host.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) 2014 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2014 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 CONTENT_RENDERER_PEPPER_PEPPER_VIDEO_DECODER_HOST_H_ 5 #ifndef CONTENT_RENDERER_PEPPER_PEPPER_VIDEO_DECODER_HOST_H_
6 #define CONTENT_RENDERER_PEPPER_PEPPER_VIDEO_DECODER_HOST_H_ 6 #define CONTENT_RENDERER_PEPPER_PEPPER_VIDEO_DECODER_HOST_H_
7 7
8 #include <map> 8 #include <map>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 virtual void DismissPictureBuffer(int32 picture_buffer_id) OVERRIDE; 63 virtual void DismissPictureBuffer(int32 picture_buffer_id) OVERRIDE;
64 virtual void PictureReady(const media::Picture& picture) OVERRIDE; 64 virtual void PictureReady(const media::Picture& picture) OVERRIDE;
65 virtual void NotifyEndOfBitstreamBuffer(int32 bitstream_buffer_id) OVERRIDE; 65 virtual void NotifyEndOfBitstreamBuffer(int32 bitstream_buffer_id) OVERRIDE;
66 virtual void NotifyFlushDone() OVERRIDE; 66 virtual void NotifyFlushDone() OVERRIDE;
67 virtual void NotifyResetDone() OVERRIDE; 67 virtual void NotifyResetDone() OVERRIDE;
68 virtual void NotifyError(media::VideoDecodeAccelerator::Error error) OVERRIDE; 68 virtual void NotifyError(media::VideoDecodeAccelerator::Error error) OVERRIDE;
69 69
70 int32_t OnHostMsgInitialize(ppapi::host::HostMessageContext* context, 70 int32_t OnHostMsgInitialize(ppapi::host::HostMessageContext* context,
71 const ppapi::HostResource& graphics_context, 71 const ppapi::HostResource& graphics_context,
72 PP_VideoProfile profile, 72 PP_VideoProfile profile,
73 bool allow_software_fallback); 73 PP_HardwareAcceleration acceleration);
74 int32_t OnHostMsgGetShm(ppapi::host::HostMessageContext* context, 74 int32_t OnHostMsgGetShm(ppapi::host::HostMessageContext* context,
75 uint32_t shm_id, 75 uint32_t shm_id,
76 uint32_t shm_size); 76 uint32_t shm_size);
77 int32_t OnHostMsgDecode(ppapi::host::HostMessageContext* context, 77 int32_t OnHostMsgDecode(ppapi::host::HostMessageContext* context,
78 uint32_t shm_id, 78 uint32_t shm_id,
79 uint32_t size, 79 uint32_t size,
80 int32_t decode_id); 80 int32_t decode_id);
81 int32_t OnHostMsgAssignTextures(ppapi::host::HostMessageContext* context, 81 int32_t OnHostMsgAssignTextures(ppapi::host::HostMessageContext* context,
82 const PP_Size& size, 82 const PP_Size& size,
83 const std::vector<uint32_t>& texture_ids); 83 const std::vector<uint32_t>& texture_ids);
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 ppapi::host::ReplyMessageContext initialize_reply_context_; 119 ppapi::host::ReplyMessageContext initialize_reply_context_;
120 120
121 bool initialized_; 121 bool initialized_;
122 122
123 DISALLOW_COPY_AND_ASSIGN(PepperVideoDecoderHost); 123 DISALLOW_COPY_AND_ASSIGN(PepperVideoDecoderHost);
124 }; 124 };
125 125
126 } // namespace content 126 } // namespace content
127 127
128 #endif // CONTENT_RENDERER_PEPPER_PEPPER_VIDEO_DECODER_HOST_H_ 128 #endif // CONTENT_RENDERER_PEPPER_PEPPER_VIDEO_DECODER_HOST_H_
OLDNEW
« no previous file with comments | « no previous file | content/renderer/pepper/pepper_video_decoder_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698