Index: content/common/gpu/video_decode_params.h |
diff --git a/content/common/gpu/video_decode_params.h b/content/common/gpu/video_decode_params.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..c4c7e430836a064039fd85927d7151b08c215e92 |
--- /dev/null |
+++ b/content/common/gpu/video_decode_params.h |
@@ -0,0 +1,33 @@ |
+// Copyright 2015 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef CONTENT_COMMON_GPU_VIDEO_DECODE_PARAMS_H_ |
+#define CONTENT_COMMON_GPU_VIDEO_DECODE_PARAMS_H_ |
+ |
+#include <stdint.h> |
+ |
+#include <string> |
+ |
+#include "base/memory/shared_memory_handle.h" |
+#include "content/common/content_export.h" |
+#include "media/base/decrypt_config.h" |
+ |
+namespace content { |
+ |
+struct CONTENT_EXPORT VideoDecodeParams { |
+ VideoDecodeParams(); |
+ ~VideoDecodeParams(); |
+ |
+ int32_t bitstream_buffer_id; |
+ base::SharedMemoryHandle buffer_handle; |
+ uint32_t size; |
+ base::TimeDelta presentation_timestamp; |
+ std::string key_id; |
+ std::string iv; |
+ std::vector<media::SubsampleEntry> subsamples; |
+}; |
+ |
+} // namespace content |
+ |
+#endif // CONTENT_COMMON_GPU_VIDEO_DECODE_PARAMS_H_ |