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

Side by Side Diff: ppapi/api/pp_codecs.idl

Issue 354763003: Pepper: Add External_OES texture target to PPB_VideoDecoder docs and example. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 | « native_client_sdk/src/examples/api/video_decode/video_decode.cc ('k') | ppapi/c/pp_codecs.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) 2014 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2014 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 * Video profiles. 7 * Video profiles.
8 */ 8 */
9 enum PP_VideoProfile { 9 enum PP_VideoProfile {
10 PP_VIDEOPROFILE_H264BASELINE = 0, 10 PP_VIDEOPROFILE_H264BASELINE = 0,
(...skipping 25 matching lines...) Expand all
36 uint32_t decode_id; 36 uint32_t decode_id;
37 37
38 /** 38 /**
39 * Texture ID in the plugin's GL context. The plugin can use this to render 39 * Texture ID in the plugin's GL context. The plugin can use this to render
40 * the decoded picture. 40 * the decoded picture.
41 */ 41 */
42 uint32_t texture_id; 42 uint32_t texture_id;
43 43
44 /** 44 /**
45 * The GL texture target for the decoded picture. Possible values are: 45 * The GL texture target for the decoded picture. Possible values are:
46 * GL_TEXTURE_2D (normalized texture coordinates) 46 * GL_TEXTURE_2D
47 * GL_TEXTURE_RECTANGLE_ARB (dimension dependent texture coordinates) 47 * GL_TEXTURE_RECTANGLE_ARB
48 * GL_TEXTURE_EXTERNAL_OES
48 * 49 *
49 * The pixel format of the texture is GL_RGBA. 50 * The pixel format of the texture is GL_RGBA.
50 */ 51 */
51 uint32_t texture_target; 52 uint32_t texture_target;
52 53
53 /** 54 /**
54 * Dimensions of the texture holding the decoded picture. 55 * Dimensions of the texture holding the decoded picture.
55 */ 56 */
56 PP_Size texture_size; 57 PP_Size texture_size;
57 }; 58 };
OLDNEW
« no previous file with comments | « native_client_sdk/src/examples/api/video_decode/video_decode.cc ('k') | ppapi/c/pp_codecs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698