Index: content/common/gpu/media/gpu_video_decode_accelerator.h |
diff --git a/content/common/gpu/media/gpu_video_decode_accelerator.h b/content/common/gpu/media/gpu_video_decode_accelerator.h |
index e59a76fb5c35169dd4b0fab8cb448e9bc02a46b3..b887a37f3bbf952b236eac64a11709cf5bd1e112 100644 |
--- a/content/common/gpu/media/gpu_video_decode_accelerator.h |
+++ b/content/common/gpu/media/gpu_video_decode_accelerator.h |
@@ -70,6 +70,10 @@ class GpuVideoDecodeAccelerator |
// We only allow self-delete, from OnWillDestroyStub(), after cleanup there. |
~GpuVideoDecodeAccelerator() override; |
+ // Initialize VDA by |profile|. Pass filter to GpuCommandBufferStub |
Pawel Osciak
2014/12/28 23:28:02
s/by/for/
s/filter/filter_/
Also please mention th
henryhsu
2014/12/29 09:43:26
Done.
|
+ // channel and return true when initialization successed. |
Pawel Osciak
2014/12/28 23:28:02
s/successed/succeeded/
henryhsu
2014/12/29 09:43:26
Done.
|
+ bool InitializeDecoder(media::VideoCodecProfile profile); |
+ |
// Handlers for IPC messages. |
void OnDecode(base::SharedMemoryHandle handle, int32 id, uint32 size); |
void OnAssignPictureBuffers(const std::vector<int32>& buffer_ids, |