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

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

Issue 2388383002: media: Use IPC_STRUCT_TRAITS to convert SubsampleEntry for mojo (Closed)
Patch Set: fix build issues Created 4 years, 2 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 | « media/gpu/ipc/common/OWNERS ('k') | media/mojo/common/media_type_converters.h » ('j') | 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/decrypt_config.h" 10 #include "media/base/decrypt_config.h"
(...skipping 16 matching lines...) Expand all
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_
OLDNEW
« no previous file with comments | « media/gpu/ipc/common/OWNERS ('k') | media/mojo/common/media_type_converters.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698