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 13 matching lines...) Expand all Loading... |
24 IPC_ENUM_TRAITS_MAX_VALUE(media::VideoEncodeAccelerator::Error, | 24 IPC_ENUM_TRAITS_MAX_VALUE(media::VideoEncodeAccelerator::Error, |
25 media::VideoEncodeAccelerator::kErrorMax) | 25 media::VideoEncodeAccelerator::kErrorMax) |
26 | 26 |
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_END() | 35 IPC_STRUCT_TRAITS_END() |
35 | 36 |
36 IPC_STRUCT_TRAITS_BEGIN(media::SubsampleEntry) | 37 IPC_STRUCT_TRAITS_BEGIN(media::SubsampleEntry) |
37 IPC_STRUCT_TRAITS_MEMBER(clear_bytes) | 38 IPC_STRUCT_TRAITS_MEMBER(clear_bytes) |
38 IPC_STRUCT_TRAITS_MEMBER(cypher_bytes) | 39 IPC_STRUCT_TRAITS_MEMBER(cypher_bytes) |
39 IPC_STRUCT_TRAITS_END() | 40 IPC_STRUCT_TRAITS_END() |
40 | 41 |
41 IPC_STRUCT_TRAITS_BEGIN(media::CreateVideoEncoderParams) | 42 IPC_STRUCT_TRAITS_BEGIN(media::CreateVideoEncoderParams) |
42 IPC_STRUCT_TRAITS_MEMBER(input_format) | 43 IPC_STRUCT_TRAITS_MEMBER(input_format) |
43 IPC_STRUCT_TRAITS_MEMBER(input_visible_size) | 44 IPC_STRUCT_TRAITS_MEMBER(input_visible_size) |
44 IPC_STRUCT_TRAITS_MEMBER(output_profile) | 45 IPC_STRUCT_TRAITS_MEMBER(output_profile) |
45 IPC_STRUCT_TRAITS_MEMBER(initial_bitrate) | 46 IPC_STRUCT_TRAITS_MEMBER(initial_bitrate) |
46 IPC_STRUCT_TRAITS_MEMBER(encoder_route_id) | 47 IPC_STRUCT_TRAITS_MEMBER(encoder_route_id) |
47 IPC_STRUCT_TRAITS_END() | 48 IPC_STRUCT_TRAITS_END() |
48 | 49 |
49 #endif // MEDIA_GPU_IPC_COMMON_MEDIA_PARAM_TRAITS_MACROS_H_ | 50 #endif // MEDIA_GPU_IPC_COMMON_MEDIA_PARAM_TRAITS_MACROS_H_ |
OLD | NEW |