| OLD | NEW |
| 1 /* Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2011 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 dev/ppb_video_layer_dev.idl modified Wed Oct 5 09:15:37 2011. */ | 6 /* From dev/ppb_video_layer_dev.idl modified Tue Nov 29 11:43:36 2011. */ |
| 7 | 7 |
| 8 #ifndef PPAPI_C_DEV_PPB_VIDEO_LAYER_DEV_H_ | 8 #ifndef PPAPI_C_DEV_PPB_VIDEO_LAYER_DEV_H_ |
| 9 #define PPAPI_C_DEV_PPB_VIDEO_LAYER_DEV_H_ | 9 #define PPAPI_C_DEV_PPB_VIDEO_LAYER_DEV_H_ |
| 10 | 10 |
| 11 #include "ppapi/c/pp_bool.h" | 11 #include "ppapi/c/pp_bool.h" |
| 12 #include "ppapi/c/pp_instance.h" | 12 #include "ppapi/c/pp_instance.h" |
| 13 #include "ppapi/c/pp_macros.h" | 13 #include "ppapi/c/pp_macros.h" |
| 14 #include "ppapi/c/pp_point.h" | 14 #include "ppapi/c/pp_point.h" |
| 15 #include "ppapi/c/pp_rect.h" | 15 #include "ppapi/c/pp_rect.h" |
| 16 #include "ppapi/c/pp_resource.h" | 16 #include "ppapi/c/pp_resource.h" |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 /** | 61 /** |
| 62 * @} | 62 * @} |
| 63 */ | 63 */ |
| 64 | 64 |
| 65 /** | 65 /** |
| 66 * @addtogroup Interfaces | 66 * @addtogroup Interfaces |
| 67 * @{ | 67 * @{ |
| 68 */ | 68 */ |
| 69 /** | 69 /** |
| 70 * PPB_VideoLayer is a mechanism to enhance rendering performance of video | 70 * PPB_VideoLayer is a mechanism to enhance rendering performance of video |
| 71 * content. Rendering is generally done by using PPB_Context3D or | 71 * content. Rendering is generally done by using PPB_Graphics3D or |
| 72 * PPB_Graphics2D, however for video content it is redundant to go through | 72 * PPB_Graphics2D, however for video content it is redundant to go through |
| 73 * PPB_Context3D or PPB_Graphics2D. PPB_VideoLayer allows video content to be | 73 * PPB_Graphics3D or PPB_Graphics2D. PPB_VideoLayer allows video content to be |
| 74 * rendered directly. | 74 * rendered directly. |
| 75 * | 75 * |
| 76 * PPB_VideoLayer can be used in two modes: | 76 * PPB_VideoLayer can be used in two modes: |
| 77 * | 77 * |
| 78 * Software Decoding Mode | 78 * Software Decoding Mode |
| 79 * In this mode the video layer needs to be updated with system memory manually | 79 * In this mode the video layer needs to be updated with system memory manually |
| 80 * using UpdateContent(). | 80 * using UpdateContent(). |
| 81 * | 81 * |
| 82 * Hardware Decoding Mode | 82 * Hardware Decoding Mode |
| 83 * In this mode the content of the video layer is updated by a hardware video | 83 * In this mode the content of the video layer is updated by a hardware video |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 152 PP_Bool (*UpdateContent)(PP_Resource layer, | 152 PP_Bool (*UpdateContent)(PP_Resource layer, |
| 153 uint32_t no_of_planes, | 153 uint32_t no_of_planes, |
| 154 const void* planes[]); | 154 const void* planes[]); |
| 155 }; | 155 }; |
| 156 /** | 156 /** |
| 157 * @} | 157 * @} |
| 158 */ | 158 */ |
| 159 | 159 |
| 160 #endif /* PPAPI_C_DEV_PPB_VIDEO_LAYER_DEV_H_ */ | 160 #endif /* PPAPI_C_DEV_PPB_VIDEO_LAYER_DEV_H_ */ |
| 161 | 161 |
| OLD | NEW |