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

Side by Side Diff: ppapi/api/dev/ppb_video_layer_dev.idl

Issue 8676042: Remove Context3D/Surface3D (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: style Created 9 years 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 | Annotate | Revision Log
« no previous file with comments | « ppapi/api/dev/ppb_video_decoder_dev.idl ('k') | ppapi/api/pp_graphics_3d.idl » ('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) 2011 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2011 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 5
6 /** 6 /**
7 * This file defines the <code>PPB_VideoDecoder_Dev</code> interface. 7 * This file defines the <code>PPB_VideoDecoder_Dev</code> interface.
8 */ 8 */
9 label Chrome { 9 label Chrome {
10 M14 = 0.1 10 M14 = 0.1
(...skipping 25 matching lines...) Expand all
36 36
37 /** 37 /**
38 * In this mode content of the video layer is updated by a hardware video 38 * In this mode content of the video layer is updated by a hardware video
39 * decoder, calling UpdateContent() will always return PP_FALSE. 39 * decoder, calling UpdateContent() will always return PP_FALSE.
40 */ 40 */
41 PP_VIDEOLAYERMODE_HARDWARE = 1 41 PP_VIDEOLAYERMODE_HARDWARE = 1
42 }; 42 };
43 43
44 /** 44 /**
45 * PPB_VideoLayer is a mechanism to enhance rendering performance of video 45 * PPB_VideoLayer is a mechanism to enhance rendering performance of video
46 * content. Rendering is generally done by using PPB_Context3D or 46 * content. Rendering is generally done by using PPB_Graphics3D or
47 * PPB_Graphics2D, however for video content it is redundant to go through 47 * PPB_Graphics2D, however for video content it is redundant to go through
48 * PPB_Context3D or PPB_Graphics2D. PPB_VideoLayer allows video content to be 48 * PPB_Graphics3D or PPB_Graphics2D. PPB_VideoLayer allows video content to be
49 * rendered directly. 49 * rendered directly.
50 * 50 *
51 * PPB_VideoLayer can be used in two modes: 51 * PPB_VideoLayer can be used in two modes:
52 * 52 *
53 * Software Decoding Mode 53 * Software Decoding Mode
54 * In this mode the video layer needs to be updated with system memory manually 54 * In this mode the video layer needs to be updated with system memory manually
55 * using UpdateContent(). 55 * using UpdateContent().
56 * 56 *
57 * Hardware Decoding Mode 57 * Hardware Decoding Mode
58 * In this mode the content of the video layer is updated by a hardware video 58 * In this mode the content of the video layer is updated by a hardware video
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 * planes[1] - U plane, 2x2 subsampled 137 * planes[1] - U plane, 2x2 subsampled
138 * planes[2] - V plane, 2x2 subsampled 138 * planes[2] - V plane, 2x2 subsampled
139 * 139 *
140 * Return true if successful. 140 * Return true if successful.
141 */ 141 */
142 PP_Bool UpdateContent( 142 PP_Bool UpdateContent(
143 [in] PP_Resource layer, 143 [in] PP_Resource layer,
144 [in] uint32_t no_of_planes, 144 [in] uint32_t no_of_planes,
145 [in, size_as=no_of_planes] mem_t[] planes); 145 [in, size_as=no_of_planes] mem_t[] planes);
146 }; 146 };
OLDNEW
« no previous file with comments | « ppapi/api/dev/ppb_video_decoder_dev.idl ('k') | ppapi/api/pp_graphics_3d.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698