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

Side by Side Diff: media/mojo/interfaces/media_types.mojom

Issue 2101043003: Plumb callbacks from mojo media service to client. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Remove unneeded deps from typemap file. Created 4 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 module media.mojom; 5 module media.mojom;
6 6
7 import "ui/gfx/geometry/mojo/geometry.mojom"; 7 import "ui/gfx/geometry/mojo/geometry.mojom";
8 8
9 // See media/base/buffering_state.h for descriptions. 9 // See media/base/buffering_state.h for descriptions.
10 // Kept in sync with media::BufferingState via static_asserts. 10 // Kept in sync with media::BufferingState via static_asserts.
(...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after
329 329
330 // Stride and offsets for each plane. Offsets are relative to the start 330 // Stride and offsets for each plane. Offsets are relative to the start
331 // of |frame_data|. 331 // of |frame_data|.
332 int32 y_stride; 332 int32 y_stride;
333 int32 u_stride; 333 int32 u_stride;
334 int32 v_stride; 334 int32 v_stride;
335 uint64 y_offset; 335 uint64 y_offset;
336 uint64 u_offset; 336 uint64 u_offset;
337 uint64 v_offset; 337 uint64 v_offset;
338 }; 338 };
339
340 struct PipelineStatistics {
341 uint64 audio_bytes_decoded;
342 uint64 video_bytes_decoded;
343 uint32 video_frames_decoded;
344 uint32 video_frames_dropped;
345 int64 audio_memory_usage;
dcheng 2016/07/07 04:19:37 Is there a reason for this to be signed (other tha
slan 2016/07/07 16:41:45 Original justification: https://codereview.chromiu
346 int64 video_memory_usage;
347 };
OLDNEW
« no previous file with comments | « media/mojo/common/pipeline_statistics_struct_traits.h ('k') | media/mojo/interfaces/pipeline_statistics.typemap » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698