OLD | NEW |
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/decrypt_config.h" | 10 #include "media/base/decrypt_config.h" |
(...skipping 16 matching lines...) Expand all Loading... |
27 IPC_STRUCT_TRAITS_BEGIN(media::VideoDecodeAccelerator::Config) | 27 IPC_STRUCT_TRAITS_BEGIN(media::VideoDecodeAccelerator::Config) |
28 IPC_STRUCT_TRAITS_MEMBER(profile) | 28 IPC_STRUCT_TRAITS_MEMBER(profile) |
29 IPC_STRUCT_TRAITS_MEMBER(is_encrypted) | 29 IPC_STRUCT_TRAITS_MEMBER(is_encrypted) |
30 IPC_STRUCT_TRAITS_MEMBER(cdm_id) | 30 IPC_STRUCT_TRAITS_MEMBER(cdm_id) |
31 IPC_STRUCT_TRAITS_MEMBER(is_deferred_initialization_allowed) | 31 IPC_STRUCT_TRAITS_MEMBER(is_deferred_initialization_allowed) |
32 IPC_STRUCT_TRAITS_MEMBER(surface_id) | 32 IPC_STRUCT_TRAITS_MEMBER(surface_id) |
33 IPC_STRUCT_TRAITS_MEMBER(initial_expected_coded_size) | 33 IPC_STRUCT_TRAITS_MEMBER(initial_expected_coded_size) |
34 IPC_STRUCT_TRAITS_MEMBER(supported_output_formats) | 34 IPC_STRUCT_TRAITS_MEMBER(supported_output_formats) |
35 IPC_STRUCT_TRAITS_END() | 35 IPC_STRUCT_TRAITS_END() |
36 | 36 |
37 IPC_STRUCT_TRAITS_BEGIN(media::SubsampleEntry) | |
38 IPC_STRUCT_TRAITS_MEMBER(clear_bytes) | |
39 IPC_STRUCT_TRAITS_MEMBER(cypher_bytes) | |
40 IPC_STRUCT_TRAITS_END() | |
41 | |
42 IPC_STRUCT_TRAITS_BEGIN(media::CreateVideoEncoderParams) | 37 IPC_STRUCT_TRAITS_BEGIN(media::CreateVideoEncoderParams) |
43 IPC_STRUCT_TRAITS_MEMBER(input_format) | 38 IPC_STRUCT_TRAITS_MEMBER(input_format) |
44 IPC_STRUCT_TRAITS_MEMBER(input_visible_size) | 39 IPC_STRUCT_TRAITS_MEMBER(input_visible_size) |
45 IPC_STRUCT_TRAITS_MEMBER(output_profile) | 40 IPC_STRUCT_TRAITS_MEMBER(output_profile) |
46 IPC_STRUCT_TRAITS_MEMBER(initial_bitrate) | 41 IPC_STRUCT_TRAITS_MEMBER(initial_bitrate) |
47 IPC_STRUCT_TRAITS_MEMBER(encoder_route_id) | 42 IPC_STRUCT_TRAITS_MEMBER(encoder_route_id) |
48 IPC_STRUCT_TRAITS_END() | 43 IPC_STRUCT_TRAITS_END() |
49 | 44 |
50 #endif // MEDIA_GPU_IPC_COMMON_MEDIA_PARAM_TRAITS_MACROS_H_ | 45 #endif // MEDIA_GPU_IPC_COMMON_MEDIA_PARAM_TRAITS_MACROS_H_ |
OLD | NEW |