OLD | NEW |
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 /* From pp_codecs.idl modified Tue Jun 10 13:32:45 2014. */ | 6 /* From pp_codecs.idl modified Mon Jun 30 14:36:36 2014. */ |
7 | 7 |
8 #ifndef PPAPI_C_PP_CODECS_H_ | 8 #ifndef PPAPI_C_PP_CODECS_H_ |
9 #define PPAPI_C_PP_CODECS_H_ | 9 #define PPAPI_C_PP_CODECS_H_ |
10 | 10 |
11 #include "ppapi/c/pp_macros.h" | 11 #include "ppapi/c/pp_macros.h" |
12 #include "ppapi/c/pp_size.h" | 12 #include "ppapi/c/pp_size.h" |
13 #include "ppapi/c/pp_stdint.h" | 13 #include "ppapi/c/pp_stdint.h" |
14 | 14 |
15 /** | 15 /** |
16 * @file | 16 * @file |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 * See the PPB_VideoDecoder function Decode() for more details. | 57 * See the PPB_VideoDecoder function Decode() for more details. |
58 */ | 58 */ |
59 uint32_t decode_id; | 59 uint32_t decode_id; |
60 /** | 60 /** |
61 * Texture ID in the plugin's GL context. The plugin can use this to render | 61 * Texture ID in the plugin's GL context. The plugin can use this to render |
62 * the decoded picture. | 62 * the decoded picture. |
63 */ | 63 */ |
64 uint32_t texture_id; | 64 uint32_t texture_id; |
65 /** | 65 /** |
66 * The GL texture target for the decoded picture. Possible values are: | 66 * The GL texture target for the decoded picture. Possible values are: |
67 * GL_TEXTURE_2D (normalized texture coordinates) | 67 * GL_TEXTURE_2D |
68 * GL_TEXTURE_RECTANGLE_ARB (dimension dependent texture coordinates) | 68 * GL_TEXTURE_RECTANGLE_ARB |
| 69 * GL_TEXTURE_EXTERNAL_OES |
69 * | 70 * |
70 * The pixel format of the texture is GL_RGBA. | 71 * The pixel format of the texture is GL_RGBA. |
71 */ | 72 */ |
72 uint32_t texture_target; | 73 uint32_t texture_target; |
73 /** | 74 /** |
74 * Dimensions of the texture holding the decoded picture. | 75 * Dimensions of the texture holding the decoded picture. |
75 */ | 76 */ |
76 struct PP_Size texture_size; | 77 struct PP_Size texture_size; |
77 }; | 78 }; |
78 /** | 79 /** |
79 * @} | 80 * @} |
80 */ | 81 */ |
81 | 82 |
82 #endif /* PPAPI_C_PP_CODECS_H_ */ | 83 #endif /* PPAPI_C_PP_CODECS_H_ */ |
83 | 84 |
OLD | NEW |