OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 // Singly or Multiply-included shared traits file depending on circumstances. | 5 // Singly or Multiply-included shared traits file depending on circumstances. |
6 // This allows the use of IPC serialization macros in more than one IPC message | 6 // This allows the use of IPC serialization macros in more than one IPC message |
7 // file. | 7 // file. |
8 #ifndef CHROMECAST_COMMON_MEDIA_CMA_PARAM_TRAITS_MACROS_H_ | 8 #ifndef CHROMECAST_COMMON_MEDIA_CMA_PARAM_TRAITS_MACROS_H_ |
9 #define CHROMECAST_COMMON_MEDIA_CMA_PARAM_TRAITS_MACROS_H_ | 9 #define CHROMECAST_COMMON_MEDIA_CMA_PARAM_TRAITS_MACROS_H_ |
10 | 10 |
(...skipping 25 matching lines...) Expand all Loading... |
36 media::BUFFERING_HAVE_ENOUGH) | 36 media::BUFFERING_HAVE_ENOUGH) |
37 IPC_ENUM_TRAITS_MIN_MAX_VALUE(media::SampleFormat, | 37 IPC_ENUM_TRAITS_MIN_MAX_VALUE(media::SampleFormat, |
38 media::SampleFormat::kUnknownSampleFormat, | 38 media::SampleFormat::kUnknownSampleFormat, |
39 media::SampleFormat::kSampleFormatMax) | 39 media::SampleFormat::kSampleFormatMax) |
40 IPC_ENUM_TRAITS_MIN_MAX_VALUE(media::PipelineStatus, | 40 IPC_ENUM_TRAITS_MIN_MAX_VALUE(media::PipelineStatus, |
41 media::PIPELINE_OK, | 41 media::PIPELINE_OK, |
42 media::PIPELINE_STATUS_MAX) | 42 media::PIPELINE_STATUS_MAX) |
43 IPC_ENUM_TRAITS_MIN_MAX_VALUE(media::VideoCodec, | 43 IPC_ENUM_TRAITS_MIN_MAX_VALUE(media::VideoCodec, |
44 media::VideoCodec::kUnknownVideoCodec, | 44 media::VideoCodec::kUnknownVideoCodec, |
45 media::VideoCodec::kVideoCodecMax) | 45 media::VideoCodec::kVideoCodecMax) |
46 IPC_ENUM_TRAITS_MAX_VALUE(media::VideoFrame::ColorSpace, | |
47 media::VideoFrame::COLOR_SPACE_MAX) | |
48 | |
49 | 46 |
50 IPC_STRUCT_TRAITS_BEGIN(media::PipelineStatistics) | 47 IPC_STRUCT_TRAITS_BEGIN(media::PipelineStatistics) |
51 IPC_STRUCT_TRAITS_MEMBER(audio_bytes_decoded) | 48 IPC_STRUCT_TRAITS_MEMBER(audio_bytes_decoded) |
52 IPC_STRUCT_TRAITS_MEMBER(video_bytes_decoded) | 49 IPC_STRUCT_TRAITS_MEMBER(video_bytes_decoded) |
53 IPC_STRUCT_TRAITS_MEMBER(video_frames_decoded) | 50 IPC_STRUCT_TRAITS_MEMBER(video_frames_decoded) |
54 IPC_STRUCT_TRAITS_MEMBER(video_frames_dropped) | 51 IPC_STRUCT_TRAITS_MEMBER(video_frames_dropped) |
55 IPC_STRUCT_TRAITS_END() | 52 IPC_STRUCT_TRAITS_END() |
56 | 53 |
57 #endif // CHROMECAST_COMMON_MEDIA_CMA_PARAM_TRAITS_MACROS_H_ | 54 #endif // CHROMECAST_COMMON_MEDIA_CMA_PARAM_TRAITS_MACROS_H_ |
OLD | NEW |