| Index: content/common/gpu/jpeg_decode_params.h
|
| diff --git a/content/common/gpu/jpeg_decode_params.h b/content/common/gpu/jpeg_decode_params.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..0c0eb1f4afd28abce2d0e1d135c67ac5a5b85adf
|
| --- /dev/null
|
| +++ b/content/common/gpu/jpeg_decode_params.h
|
| @@ -0,0 +1,30 @@
|
| +// 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_JPEG_DECODE_PARAMS_H_
|
| +#define CONTENT_COMMON_GPU_JPEG_DECODE_PARAMS_H_
|
| +
|
| +#include <stdint.h>
|
| +
|
| +#include "base/memory/shared_memory_handle.h"
|
| +#include "content/common/content_export.h"
|
| +#include "ui/gfx/geometry/size.h"
|
| +
|
| +namespace content {
|
| +
|
| +struct CONTENT_EXPORT JpegDecodeParams {
|
| + JpegDecodeParams();
|
| + ~JpegDecodeParams();
|
| +
|
| + int32_t input_buffer_id;
|
| + gfx::Size coded_size;
|
| + base::SharedMemoryHandle input_buffer_handle;
|
| + uint32_t input_buffer_size;
|
| + base::SharedMemoryHandle output_video_frame_handle;
|
| + uint32_t output_buffer_size;
|
| +};
|
| +
|
| +} // namespace content
|
| +
|
| +#endif // CONTENT_COMMON_GPU_JPEG_DECODE_PARAMS_H_
|
|
|