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

Side by Side Diff: media/gpu/ipc/common/media_param_traits_macros.h

Issue 2893973002: Add overlay_routing_token to VDA::Config IPC.
Patch Set: Created 3 years, 7 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 | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef MEDIA_GPU_IPC_COMMON_MEDIA_PARAM_TRAITS_MACROS_H_ 5 #ifndef MEDIA_GPU_IPC_COMMON_MEDIA_PARAM_TRAITS_MACROS_H_
6 #define MEDIA_GPU_IPC_COMMON_MEDIA_PARAM_TRAITS_MACROS_H_ 6 #define MEDIA_GPU_IPC_COMMON_MEDIA_PARAM_TRAITS_MACROS_H_
7 7
8 #include "gpu/config/gpu_info.h" 8 #include "gpu/config/gpu_info.h"
9 #include "ipc/ipc_message_macros.h" 9 #include "ipc/ipc_message_macros.h"
10 #include "media/base/ipc/media_param_traits.h" 10 #include "media/base/ipc/media_param_traits.h"
11 #include "media/gpu/ipc/common/create_video_encoder_params.h" 11 #include "media/gpu/ipc/common/create_video_encoder_params.h"
12 #include "media/video/jpeg_decode_accelerator.h" 12 #include "media/video/jpeg_decode_accelerator.h"
13 #include "media/video/video_decode_accelerator.h" 13 #include "media/video/video_decode_accelerator.h"
14 #include "media/video/video_encode_accelerator.h" 14 #include "media/video/video_encode_accelerator.h"
15 #include "ui/gfx/ipc/color/gfx_param_traits.h" 15 #include "ui/gfx/ipc/color/gfx_param_traits.h"
16 #include "ui/gfx/ipc/geometry/gfx_param_traits.h" 16 #include "ui/gfx/ipc/geometry/gfx_param_traits.h"
17 17
18 IPC_ENUM_TRAITS_MAX_VALUE(media::JpegDecodeAccelerator::Error, 18 IPC_ENUM_TRAITS_MAX_VALUE(media::JpegDecodeAccelerator::Error,
19 media::JpegDecodeAccelerator::LARGEST_ERROR_ENUM) 19 media::JpegDecodeAccelerator::LARGEST_ERROR_ENUM)
20 IPC_ENUM_TRAITS_MAX_VALUE(media::VideoEncodeAccelerator::Error, 20 IPC_ENUM_TRAITS_MAX_VALUE(media::VideoEncodeAccelerator::Error,
21 media::VideoEncodeAccelerator::kErrorMax) 21 media::VideoEncodeAccelerator::kErrorMax)
22 22
23 IPC_STRUCT_TRAITS_BEGIN(media::VideoDecodeAccelerator::Config) 23 IPC_STRUCT_TRAITS_BEGIN(media::VideoDecodeAccelerator::Config)
24 IPC_STRUCT_TRAITS_MEMBER(profile) 24 IPC_STRUCT_TRAITS_MEMBER(profile)
25 IPC_STRUCT_TRAITS_MEMBER(encryption_scheme) 25 IPC_STRUCT_TRAITS_MEMBER(encryption_scheme)
26 IPC_STRUCT_TRAITS_MEMBER(cdm_id) 26 IPC_STRUCT_TRAITS_MEMBER(cdm_id)
27 IPC_STRUCT_TRAITS_MEMBER(is_deferred_initialization_allowed) 27 IPC_STRUCT_TRAITS_MEMBER(is_deferred_initialization_allowed)
28 IPC_STRUCT_TRAITS_MEMBER(surface_id) 28 IPC_STRUCT_TRAITS_MEMBER(surface_id)
29 IPC_STRUCT_TRAITS_MEMBER(overlay_routing_token)
29 IPC_STRUCT_TRAITS_MEMBER(initial_expected_coded_size) 30 IPC_STRUCT_TRAITS_MEMBER(initial_expected_coded_size)
30 IPC_STRUCT_TRAITS_MEMBER(supported_output_formats) 31 IPC_STRUCT_TRAITS_MEMBER(supported_output_formats)
31 IPC_STRUCT_TRAITS_MEMBER(sps) 32 IPC_STRUCT_TRAITS_MEMBER(sps)
32 IPC_STRUCT_TRAITS_MEMBER(pps) 33 IPC_STRUCT_TRAITS_MEMBER(pps)
33 IPC_STRUCT_TRAITS_MEMBER(color_space) 34 IPC_STRUCT_TRAITS_MEMBER(color_space)
34 IPC_STRUCT_TRAITS_END() 35 IPC_STRUCT_TRAITS_END()
35 36
36 IPC_STRUCT_TRAITS_BEGIN(media::CreateVideoEncoderParams) 37 IPC_STRUCT_TRAITS_BEGIN(media::CreateVideoEncoderParams)
37 IPC_STRUCT_TRAITS_MEMBER(input_format) 38 IPC_STRUCT_TRAITS_MEMBER(input_format)
38 IPC_STRUCT_TRAITS_MEMBER(input_visible_size) 39 IPC_STRUCT_TRAITS_MEMBER(input_visible_size)
39 IPC_STRUCT_TRAITS_MEMBER(output_profile) 40 IPC_STRUCT_TRAITS_MEMBER(output_profile)
40 IPC_STRUCT_TRAITS_MEMBER(initial_bitrate) 41 IPC_STRUCT_TRAITS_MEMBER(initial_bitrate)
41 IPC_STRUCT_TRAITS_MEMBER(encoder_route_id) 42 IPC_STRUCT_TRAITS_MEMBER(encoder_route_id)
42 IPC_STRUCT_TRAITS_END() 43 IPC_STRUCT_TRAITS_END()
43 44
44 #endif // MEDIA_GPU_IPC_COMMON_MEDIA_PARAM_TRAITS_MACROS_H_ 45 #endif // MEDIA_GPU_IPC_COMMON_MEDIA_PARAM_TRAITS_MACROS_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698