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

Side by Side Diff: media/remoting/rpc.proto

Issue 2640113004: Introduce Dolby Vision video codec and Demuxer support (Closed)
Patch Set: fix build break on Android Created 3 years, 9 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/remoting/proto_enum_utils.cc ('k') | tools/metrics/histograms/histograms.xml » ('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 // Protocol buffer for Media Remoting. 5 // Protocol buffer for Media Remoting.
6 6
7 syntax = "proto2"; 7 syntax = "proto2";
8 8
9 option optimize_for = LITE_RUNTIME; 9 option optimize_for = LITE_RUNTIME;
10 10
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 enum Codec { 144 enum Codec {
145 kUnknownVideoCodec = 0; 145 kUnknownVideoCodec = 0;
146 kCodecH264 = 1; 146 kCodecH264 = 1;
147 kCodecVC1 = 2; 147 kCodecVC1 = 2;
148 kCodecMPEG2 = 3; 148 kCodecMPEG2 = 3;
149 kCodecMPEG4 = 4; 149 kCodecMPEG4 = 4;
150 kCodecTheora = 5; 150 kCodecTheora = 5;
151 kCodecVP8 = 6; 151 kCodecVP8 = 6;
152 kCodecVP9 = 7; 152 kCodecVP9 = 7;
153 kCodecHEVC = 8; 153 kCodecHEVC = 8;
154 kCodecDolbyVision = 9;
154 } 155 }
155 156
156 // Proto version of media::VideoCodecProfile. 157 // Proto version of media::VideoCodecProfile.
157 // NEVER change these numbers or re-use old ones; only add new ones. 158 // NEVER change these numbers or re-use old ones; only add new ones.
158 enum Profile { 159 enum Profile {
159 VIDEO_CODEC_PROFILE_UNKNOWN = -1; 160 VIDEO_CODEC_PROFILE_UNKNOWN = -1;
160 H264PROFILE_BASELINE = 0; 161 H264PROFILE_BASELINE = 0;
161 H264PROFILE_MAIN = 1; 162 H264PROFILE_MAIN = 1;
162 H264PROFILE_EXTENDED = 2; 163 H264PROFILE_EXTENDED = 2;
163 H264PROFILE_HIGH = 3; 164 H264PROFILE_HIGH = 3;
164 H264PROFILE_HIGH10PROFILE = 4; 165 H264PROFILE_HIGH10PROFILE = 4;
165 H264PROFILE_HIGH422PROFILE = 5; 166 H264PROFILE_HIGH422PROFILE = 5;
166 H264PROFILE_HIGH444PREDICTIVEPROFILE = 6; 167 H264PROFILE_HIGH444PREDICTIVEPROFILE = 6;
167 H264PROFILE_SCALABLEBASELINE = 7; 168 H264PROFILE_SCALABLEBASELINE = 7;
168 H264PROFILE_SCALABLEHIGH = 8; 169 H264PROFILE_SCALABLEHIGH = 8;
169 H264PROFILE_STEREOHIGH = 9; 170 H264PROFILE_STEREOHIGH = 9;
170 H264PROFILE_MULTIVIEWHIGH = 10; 171 H264PROFILE_MULTIVIEWHIGH = 10;
171 VP8PROFILE_ANY = 11; 172 VP8PROFILE_ANY = 11;
172 VP9PROFILE_PROFILE0 = 12; 173 VP9PROFILE_PROFILE0 = 12;
173 VP9PROFILE_PROFILE1 = 13; 174 VP9PROFILE_PROFILE1 = 13;
174 VP9PROFILE_PROFILE2 = 14; 175 VP9PROFILE_PROFILE2 = 14;
175 VP9PROFILE_PROFILE3 = 15; 176 VP9PROFILE_PROFILE3 = 15;
176 HEVCPROFILE_MAIN = 16; 177 HEVCPROFILE_MAIN = 16;
177 HEVCPROFILE_MAIN10 = 17; 178 HEVCPROFILE_MAIN10 = 17;
178 HEVCPROFILE_MAIN_STILL_PICTURE = 18; 179 HEVCPROFILE_MAIN_STILL_PICTURE = 18;
180 DOLBYVISION_PROFILE0 = 19;
181 DOLBYVISION_PROFILE4 = 20;
182 DOLBYVISION_PROFILE5 = 21;
183 DOLBYVISION_PROFILE7 = 22;
179 }; 184 };
180 185
181 // Proto version of media::VideoPixelFormat. 186 // Proto version of media::VideoPixelFormat.
182 // NEVER change these numbers or re-use old ones; only add new ones. 187 // NEVER change these numbers or re-use old ones; only add new ones.
183 enum Format { 188 enum Format {
184 PIXEL_FORMAT_UNKNOWN = 0; 189 PIXEL_FORMAT_UNKNOWN = 0;
185 PIXEL_FORMAT_I420 = 1; 190 PIXEL_FORMAT_I420 = 1;
186 PIXEL_FORMAT_YV12 = 2; 191 PIXEL_FORMAT_YV12 = 2;
187 PIXEL_FORMAT_YV16 = 3; 192 PIXEL_FORMAT_YV16 = 3;
188 PIXEL_FORMAT_YV12A = 4; 193 PIXEL_FORMAT_YV12A = 4;
(...skipping 400 matching lines...) Expand 10 before | Expand all | Expand 10 after
589 594
590 // RPC_CDMC_ONSESSIONMESSAGE 595 // RPC_CDMC_ONSESSIONMESSAGE
591 CdmClientOnSessionMessage cdmclient_onsessionmessage_rpc = 601; 596 CdmClientOnSessionMessage cdmclient_onsessionmessage_rpc = 601;
592 // RPC_CDMC_ONSESSIONKEYSCHANGE 597 // RPC_CDMC_ONSESSIONKEYSCHANGE
593 CdmClientOnSessionKeysChange cdmclient_onsessionkeychange_rpc = 602; 598 CdmClientOnSessionKeysChange cdmclient_onsessionkeychange_rpc = 602;
594 // RPC_CDMC_ONSESSIONEXPIRATIONUPDATE 599 // RPC_CDMC_ONSESSIONEXPIRATIONUPDATE
595 CdmClientOnSessionExpirationUpdate cdmclient_onsessionexpirationupdate_rpc = 600 CdmClientOnSessionExpirationUpdate cdmclient_onsessionexpirationupdate_rpc =
596 603; 601 603;
597 }; 602 };
598 } 603 }
OLDNEW
« no previous file with comments | « media/remoting/proto_enum_utils.cc ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698