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

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

Issue 11474040: Fix some types at the IPC layer. Sizes should be unsigned. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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 | « no previous file | ppapi/c/dev/pp_video_dev.h » ('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 5
6 /** 6 /**
7 * NOTE: these must be kept in sync with the versions in media/! 7 * NOTE: these must be kept in sync with the versions in media/!
8 */ 8 */
9 9
10 10
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 46
47 /** 47 /**
48 * Buffer to hold the bitstream data. Should be allocated using the 48 * Buffer to hold the bitstream data. Should be allocated using the
49 * PPB_Buffer interface for consistent interprocess behaviour. 49 * PPB_Buffer interface for consistent interprocess behaviour.
50 */ 50 */
51 PP_Resource data; 51 PP_Resource data;
52 52
53 /** 53 /**
54 * Size of the bitstream contained in buffer (in bytes). 54 * Size of the bitstream contained in buffer (in bytes).
55 */ 55 */
56 int32_t size; 56 uint32_t size;
57 }; 57 };
58 58
59 /** 59 /**
60 * Struct for specifying texture-backed picture data. 60 * Struct for specifying texture-backed picture data.
61 */ 61 */
62 [assert_size(16)] 62 [assert_size(16)]
63 struct PP_PictureBuffer_Dev { 63 struct PP_PictureBuffer_Dev {
64 /** 64 /**
65 * Client-specified id for the picture buffer. By using this value client can 65 * Client-specified id for the picture buffer. By using this value client can
66 * keep track of the buffers it has assigned to the video decoder and how they 66 * keep track of the buffers it has assigned to the video decoder and how they
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 */ 117 */
118 PP_VIDEODECODERERROR_UNREADABLE_INPUT = 3, 118 PP_VIDEODECODERERROR_UNREADABLE_INPUT = 3,
119 119
120 /** 120 /**
121 * A failure occurred at the browser layer or lower. Examples of such 121 * A failure occurred at the browser layer or lower. Examples of such
122 * failures include GPU hardware failures, GPU driver failures, GPU library 122 * failures include GPU hardware failures, GPU driver failures, GPU library
123 * failures, browser programming errors, and so on. 123 * failures, browser programming errors, and so on.
124 */ 124 */
125 PP_VIDEODECODERERROR_PLATFORM_FAILURE = 4 125 PP_VIDEODECODERERROR_PLATFORM_FAILURE = 4
126 }; 126 };
OLDNEW
« no previous file with comments | « no previous file | ppapi/c/dev/pp_video_dev.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698