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

Side by Side Diff: chromecast/common/media/cma_param_traits_macros.h

Issue 1228843003: Revert of Change the video color space default. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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 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
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_
OLDNEW
« no previous file with comments | « chromecast/common/media/cma_param_traits.cc ('k') | chromecast/media/cma/ipc_streamer/video_decoder_config_marshaller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698