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

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

Issue 1422643002: Pass DecryptConfig parameters over IPC and use it in AVDA. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed MediaCodec.CodecException that was added only at level 21 (Android L) Created 5 years, 1 month 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 | « content/common/gpu/media/gpu_video_decode_accelerator.cc ('k') | media/base/BUILD.gn » ('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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 IPC_STRUCT_TRAITS_MEMBER(status) 51 IPC_STRUCT_TRAITS_MEMBER(status)
52 IPC_STRUCT_TRAITS_MEMBER(is_end_of_stream) 52 IPC_STRUCT_TRAITS_MEMBER(is_end_of_stream)
53 IPC_STRUCT_TRAITS_MEMBER(data) 53 IPC_STRUCT_TRAITS_MEMBER(data)
54 IPC_STRUCT_TRAITS_MEMBER(timestamp) 54 IPC_STRUCT_TRAITS_MEMBER(timestamp)
55 IPC_STRUCT_TRAITS_MEMBER(key_id) 55 IPC_STRUCT_TRAITS_MEMBER(key_id)
56 IPC_STRUCT_TRAITS_MEMBER(iv) 56 IPC_STRUCT_TRAITS_MEMBER(iv)
57 IPC_STRUCT_TRAITS_MEMBER(subsamples) 57 IPC_STRUCT_TRAITS_MEMBER(subsamples)
58 IPC_STRUCT_TRAITS_MEMBER(is_key_frame) 58 IPC_STRUCT_TRAITS_MEMBER(is_key_frame)
59 IPC_STRUCT_TRAITS_END() 59 IPC_STRUCT_TRAITS_END()
60 60
61 IPC_STRUCT_TRAITS_BEGIN(media::SubsampleEntry)
62 IPC_STRUCT_TRAITS_MEMBER(clear_bytes)
63 IPC_STRUCT_TRAITS_MEMBER(cypher_bytes)
64 IPC_STRUCT_TRAITS_END()
65
66 IPC_ENUM_TRAITS_MAX_VALUE(MediaPlayerHostMsg_Initialize_Type, 61 IPC_ENUM_TRAITS_MAX_VALUE(MediaPlayerHostMsg_Initialize_Type,
67 MEDIA_PLAYER_TYPE_LAST) 62 MEDIA_PLAYER_TYPE_LAST)
68 63
69 // Parameters to describe a media player 64 // Parameters to describe a media player
70 IPC_STRUCT_BEGIN(MediaPlayerHostMsg_Initialize_Params) 65 IPC_STRUCT_BEGIN(MediaPlayerHostMsg_Initialize_Params)
71 IPC_STRUCT_MEMBER(MediaPlayerHostMsg_Initialize_Type, type) 66 IPC_STRUCT_MEMBER(MediaPlayerHostMsg_Initialize_Type, type)
72 IPC_STRUCT_MEMBER(int, player_id) 67 IPC_STRUCT_MEMBER(int, player_id)
73 IPC_STRUCT_MEMBER(int, demuxer_client_id) 68 IPC_STRUCT_MEMBER(int, demuxer_client_id)
74 IPC_STRUCT_MEMBER(GURL, url) 69 IPC_STRUCT_MEMBER(GURL, url)
75 IPC_STRUCT_MEMBER(GURL, first_party_for_cookies) 70 IPC_STRUCT_MEMBER(GURL, first_party_for_cookies)
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 275
281 #if defined(VIDEO_HOLE) 276 #if defined(VIDEO_HOLE)
282 // Notify the player about the external surface, requesting it if necessary. 277 // Notify the player about the external surface, requesting it if necessary.
283 // |is_request| true if the player is requesting the external surface. 278 // |is_request| true if the player is requesting the external surface.
284 // |rect| the boundary rectangle of the video element. 279 // |rect| the boundary rectangle of the video element.
285 IPC_MESSAGE_ROUTED3(MediaPlayerHostMsg_NotifyExternalSurface, 280 IPC_MESSAGE_ROUTED3(MediaPlayerHostMsg_NotifyExternalSurface,
286 int /* player_id */, 281 int /* player_id */,
287 bool /* is_request */, 282 bool /* is_request */,
288 gfx::RectF /* rect */) 283 gfx::RectF /* rect */)
289 #endif // defined(VIDEO_HOLE) 284 #endif // defined(VIDEO_HOLE)
OLDNEW
« no previous file with comments | « content/common/gpu/media/gpu_video_decode_accelerator.cc ('k') | media/base/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698