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

Side by Side Diff: content/common/gpu/jpeg_decode_params.h

Issue 1656433002: Sample code: IPC Transport object for GPU Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: GpuMemoryBufferService + Transport object. TODO: Eliminate ChildThreadImpl dependency Created 4 years, 10 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
« no previous file with comments | « content/common/gpu/gpu_messages.h ('k') | content/common/gpu/jpeg_decode_params.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CONTENT_COMMON_GPU_JPEG_DECODE_PARAMS_H_
6 #define CONTENT_COMMON_GPU_JPEG_DECODE_PARAMS_H_
7
8 #include <stdint.h>
9
10 #include "base/memory/shared_memory_handle.h"
11 #include "content/common/content_export.h"
12 #include "ui/gfx/geometry/size.h"
13
14 namespace content {
15
16 struct CONTENT_EXPORT JpegDecodeParams {
17 JpegDecodeParams();
18 ~JpegDecodeParams();
19
20 int32_t input_buffer_id;
21 gfx::Size coded_size;
22 base::SharedMemoryHandle input_buffer_handle;
23 uint32_t input_buffer_size;
24 base::SharedMemoryHandle output_video_frame_handle;
25 uint32_t output_buffer_size;
26 };
27
28 } // namespace content
29
30 #endif // CONTENT_COMMON_GPU_JPEG_DECODE_PARAMS_H_
OLDNEW
« no previous file with comments | « content/common/gpu/gpu_messages.h ('k') | content/common/gpu/jpeg_decode_params.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698