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

Side by Side Diff: content/common/media/media_player_messages_android.h

Issue 866573004: media: Enable Opus support in Clank <video> and MSE (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 10 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 | « no previous file | content/renderer/media/android/media_source_delegate.cc » ('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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // IPC messages for android media player. 5 // IPC messages for android media player.
6 // Multiply-included message file, hence no include guard. 6 // Multiply-included message file, hence no include guard.
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/time/time.h" 9 #include "base/time/time.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
(...skipping 12 matching lines...) Expand all
23 IPC_ENUM_TRAITS(media::DemuxerStream::Status) 23 IPC_ENUM_TRAITS(media::DemuxerStream::Status)
24 IPC_ENUM_TRAITS(media::DemuxerStream::Type) 24 IPC_ENUM_TRAITS(media::DemuxerStream::Type)
25 IPC_ENUM_TRAITS(media::VideoCodec) 25 IPC_ENUM_TRAITS(media::VideoCodec)
26 26
27 IPC_STRUCT_TRAITS_BEGIN(media::DemuxerConfigs) 27 IPC_STRUCT_TRAITS_BEGIN(media::DemuxerConfigs)
28 IPC_STRUCT_TRAITS_MEMBER(audio_codec) 28 IPC_STRUCT_TRAITS_MEMBER(audio_codec)
29 IPC_STRUCT_TRAITS_MEMBER(audio_channels) 29 IPC_STRUCT_TRAITS_MEMBER(audio_channels)
30 IPC_STRUCT_TRAITS_MEMBER(audio_sampling_rate) 30 IPC_STRUCT_TRAITS_MEMBER(audio_sampling_rate)
31 IPC_STRUCT_TRAITS_MEMBER(is_audio_encrypted) 31 IPC_STRUCT_TRAITS_MEMBER(is_audio_encrypted)
32 IPC_STRUCT_TRAITS_MEMBER(audio_extra_data) 32 IPC_STRUCT_TRAITS_MEMBER(audio_extra_data)
33 IPC_STRUCT_TRAITS_MEMBER(audio_codec_delay_ns)
34 IPC_STRUCT_TRAITS_MEMBER(audio_seek_preroll_ns)
33 35
34 IPC_STRUCT_TRAITS_MEMBER(video_codec) 36 IPC_STRUCT_TRAITS_MEMBER(video_codec)
35 IPC_STRUCT_TRAITS_MEMBER(video_size) 37 IPC_STRUCT_TRAITS_MEMBER(video_size)
36 IPC_STRUCT_TRAITS_MEMBER(is_video_encrypted) 38 IPC_STRUCT_TRAITS_MEMBER(is_video_encrypted)
37 IPC_STRUCT_TRAITS_MEMBER(video_extra_data) 39 IPC_STRUCT_TRAITS_MEMBER(video_extra_data)
38 40
39 IPC_STRUCT_TRAITS_MEMBER(duration) 41 IPC_STRUCT_TRAITS_MEMBER(duration)
40 IPC_STRUCT_TRAITS_END() 42 IPC_STRUCT_TRAITS_END()
41 43
42 IPC_STRUCT_TRAITS_BEGIN(media::DemuxerData) 44 IPC_STRUCT_TRAITS_BEGIN(media::DemuxerData)
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 284
283 #if defined(VIDEO_HOLE) 285 #if defined(VIDEO_HOLE)
284 // Notify the player about the external surface, requesting it if necessary. 286 // Notify the player about the external surface, requesting it if necessary.
285 // |is_request| true if the player is requesting the external surface. 287 // |is_request| true if the player is requesting the external surface.
286 // |rect| the boundary rectangle of the video element. 288 // |rect| the boundary rectangle of the video element.
287 IPC_MESSAGE_ROUTED3(MediaPlayerHostMsg_NotifyExternalSurface, 289 IPC_MESSAGE_ROUTED3(MediaPlayerHostMsg_NotifyExternalSurface,
288 int /* player_id */, 290 int /* player_id */,
289 bool /* is_request */, 291 bool /* is_request */,
290 gfx::RectF /* rect */) 292 gfx::RectF /* rect */)
291 #endif // defined(VIDEO_HOLE) 293 #endif // defined(VIDEO_HOLE)
OLDNEW
« no previous file with comments | « no previous file | content/renderer/media/android/media_source_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698