Vectorize website settings icons in omnibox
[chromium-blink-merge.git] / ppapi / api / private / pp_video_frame_private.idl
blob593f363a59fe304f7154529d256eee1c9a979ec3
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
3 * found in the LICENSE file.
4 */
6 /**
7 * This file defines the struct used to hold a video frame.
8 */
10 /**
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.
15 [assert_size(16)]
16 struct PP_VideoFrame_Private {
17 /**
18 * A timestamp placing the frame in a video stream.
20 PP_TimeTicks timestamp;
22 /**
23 * An image data resource to hold the video frame.
25 PP_Resource image_data;
27 /**
28 * Ensure that this struct is 16-bytes wide by padding the end. In some
29 * compilers, PP_TimeTicks is 8-byte aligned, so those compilers align this
30 * struct on 8-byte boundaries as well and pad it to 8 bytes even without this
31 * padding attribute. This padding makes its size consistent across
32 * compilers.
34 int32_t padding;