diff options
Diffstat (limited to 'chrome/common/gpu_video_common.h')
-rw-r--r-- | chrome/common/gpu_video_common.h | 25 |
1 files changed, 2 insertions, 23 deletions
diff --git a/chrome/common/gpu_video_common.h b/chrome/common/gpu_video_common.h index 30a94be..55a44bc 100644 --- a/chrome/common/gpu_video_common.h +++ b/chrome/common/gpu_video_common.h @@ -19,27 +19,14 @@ enum GpuVideoBufferFlag { struct GpuVideoServiceInfoParam { // route id for GpuVideoService on GPU process side for this channel. int32 video_service_route_id; + // route id for GpuVideoServiceHost on Render process side for this channel. int32 video_service_host_route_id; + // TODO(jiesun): define capabilities of video service. int32 service_available; }; -struct GpuVideoDecoderInfoParam { - // Context ID of the GLES2 context what this decoder should assicate with. - int context_id; - - // Global decoder id. - int32 decoder_id; - - // Route id for GpuVideoDecoder on GPU process side for this channel. - int32 decoder_route_id; - - // TODO(hclam): Merge this ID with |decoder_route_id_|. - // Route id for GpuVideoServiceHost on Render process side for this channel. - int32 decoder_host_route_id; -}; - struct GpuVideoDecoderInitParam { int32 codec_id; int32 width; @@ -86,14 +73,6 @@ struct ParamTraits<GpuVideoServiceInfoParam> { }; template <> -struct ParamTraits<GpuVideoDecoderInfoParam> { - typedef GpuVideoDecoderInfoParam param_type; - static void Write(Message* m, const param_type& p); - static bool Read(const Message* m, void** iter, param_type* r); - static void Log(const param_type& p, std::string* l); -}; - -template <> struct ParamTraits<GpuVideoDecoderInitParam> { typedef GpuVideoDecoderInitParam param_type; static void Write(Message* m, const param_type& p); |