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

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

Issue 1869103002: Enable adaptive playback for spitzer, use conservative size. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: removed a stale comment. Created 4 years, 8 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
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 12 matching lines...) Expand all
23 media::JpegDecodeAccelerator::LARGEST_ERROR_ENUM) 23 media::JpegDecodeAccelerator::LARGEST_ERROR_ENUM)
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 IPC_ENUM_TRAITS_MAX_VALUE(media::VideoPixelFormat, media::PIXEL_FORMAT_MAX) 26 IPC_ENUM_TRAITS_MAX_VALUE(media::VideoPixelFormat, media::PIXEL_FORMAT_MAX)
27 27
28 IPC_STRUCT_TRAITS_BEGIN(media::VideoDecodeAccelerator::Config) 28 IPC_STRUCT_TRAITS_BEGIN(media::VideoDecodeAccelerator::Config)
29 IPC_STRUCT_TRAITS_MEMBER(profile) 29 IPC_STRUCT_TRAITS_MEMBER(profile)
30 IPC_STRUCT_TRAITS_MEMBER(is_encrypted) 30 IPC_STRUCT_TRAITS_MEMBER(is_encrypted)
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(coded_size)
33 IPC_STRUCT_TRAITS_END() 34 IPC_STRUCT_TRAITS_END()
34 35
35 IPC_STRUCT_TRAITS_BEGIN(media::SubsampleEntry) 36 IPC_STRUCT_TRAITS_BEGIN(media::SubsampleEntry)
36 IPC_STRUCT_TRAITS_MEMBER(clear_bytes) 37 IPC_STRUCT_TRAITS_MEMBER(clear_bytes)
37 IPC_STRUCT_TRAITS_MEMBER(cypher_bytes) 38 IPC_STRUCT_TRAITS_MEMBER(cypher_bytes)
38 IPC_STRUCT_TRAITS_END() 39 IPC_STRUCT_TRAITS_END()
39 40
40 IPC_STRUCT_TRAITS_BEGIN(media::CreateVideoEncoderParams) 41 IPC_STRUCT_TRAITS_BEGIN(media::CreateVideoEncoderParams)
41 IPC_STRUCT_TRAITS_MEMBER(input_format) 42 IPC_STRUCT_TRAITS_MEMBER(input_format)
42 IPC_STRUCT_TRAITS_MEMBER(input_visible_size) 43 IPC_STRUCT_TRAITS_MEMBER(input_visible_size)
43 IPC_STRUCT_TRAITS_MEMBER(output_profile) 44 IPC_STRUCT_TRAITS_MEMBER(output_profile)
44 IPC_STRUCT_TRAITS_MEMBER(initial_bitrate) 45 IPC_STRUCT_TRAITS_MEMBER(initial_bitrate)
45 IPC_STRUCT_TRAITS_MEMBER(encoder_route_id) 46 IPC_STRUCT_TRAITS_MEMBER(encoder_route_id)
46 IPC_STRUCT_TRAITS_END() 47 IPC_STRUCT_TRAITS_END()
47 48
48 #endif // MEDIA_GPU_IPC_COMMON_MEDIA_PARAM_TRAITS_MACROS_H_ 49 #endif // MEDIA_GPU_IPC_COMMON_MEDIA_PARAM_TRAITS_MACROS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698