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

Side by Side Diff: ppapi/api/private/pp_video_frame_private.idl

Issue 14192054: Rename PPAPI Video Stream APIs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Straighten out naming confusion, improve comments. Created 7 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « ppapi/api/ppb_video_writer.idl ('k') | ppapi/api/private/ppb_video_destination_private.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) 2013 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2013 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 struct used to hold a video frame. 7 * This file defines the struct used to hold a video frame.
8 */ 8 */
9 9
10 /** 10 /**
11 * The <code>PP_Video_Frame</code> struct represents a video frame. 11 * The <code>PP_VideoFrame_Private</code> struct represents a video frame.
12 * Video sources and destinations use frames to transfer video to and from
13 * the browser.
12 */ 14 */
13 [assert_size(16)] 15 [assert_size(16)]
14 struct PP_VideoFrame { 16 struct PP_VideoFrame_Private {
15 /** 17 /**
16 * A timestamp placing the frame in a video stream. 18 * A timestamp placing the frame in a video stream.
17 */ 19 */
18 PP_TimeTicks timestamp; 20 PP_TimeTicks timestamp;
19 21
20 /** 22 /**
21 * An image data resource to hold the video frame. 23 * An image data resource to hold the video frame.
22 */ 24 */
23 PP_Resource image_data; 25 PP_Resource image_data;
24 26
25 /** 27 /**
26 * Ensure that this struct is 16-bytes wide by padding the end. In some 28 * Ensure that this struct is 16-bytes wide by padding the end. In some
27 * compilers, PP_TimeTicks is 8-byte aligned, so those compilers align this 29 * compilers, PP_TimeTicks is 8-byte aligned, so those compilers align this
28 * struct on 8-byte boundaries as well and pad it to 8 bytes even without this 30 * struct on 8-byte boundaries as well and pad it to 8 bytes even without this
29 * padding attribute. This padding makes its size consistent across 31 * padding attribute. This padding makes its size consistent across
30 * compilers. 32 * compilers.
31 */ 33 */
32 int32_t padding; 34 int32_t padding;
33 }; 35 };
34 36
OLDNEW
« no previous file with comments | « ppapi/api/ppb_video_writer.idl ('k') | ppapi/api/private/ppb_video_destination_private.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698