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

Unified Diff: ppapi/c/ppb_video_decoder.h

Issue 540393003: Move PPB_VideoDecoder from 'Dev' to Stable. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: ppapi/c/ppb_video_decoder.h
diff --git a/ppapi/c/ppb_video_decoder.h b/ppapi/c/ppb_video_decoder.h
index c3ebf8be19e7c33fb398b41c95d6d54fea59ed7b..2a2df14d886ba311832d920f13aff92f6d17222b 100644
--- a/ppapi/c/ppb_video_decoder.h
+++ b/ppapi/c/ppb_video_decoder.h
@@ -3,7 +3,7 @@
* found in the LICENSE file.
*/
-/* From ppb_video_decoder.idl modified Fri Aug 22 13:42:35 2014. */
+/* From ppb_video_decoder.idl modified Fri Sep 5 17:38:12 2014. */
#ifndef PPAPI_C_PPB_VIDEO_DECODER_H_
#define PPAPI_C_PPB_VIDEO_DECODER_H_
@@ -17,8 +17,9 @@
#include "ppapi/c/pp_size.h"
#include "ppapi/c/pp_stdint.h"
-#define PPB_VIDEODECODER_INTERFACE_0_1 "PPB_VideoDecoder;0.1" /* dev */
-#define PPB_VIDEODECODER_INTERFACE_0_2 "PPB_VideoDecoder;0.2" /* dev */
+#define PPB_VIDEODECODER_INTERFACE_0_2 "PPB_VideoDecoder;0.2"
+#define PPB_VIDEODECODER_INTERFACE PPB_VIDEODECODER_INTERFACE_0_2
+
/**
* @file
* This file defines the <code>PPB_VideoDecoder</code> interface.
@@ -52,7 +53,7 @@
* Chrome and ChromeOS: aac, h264.
* ChromeOS: mpeg4.
*/
-struct PPB_VideoDecoder_0_2 { /* dev */
+struct PPB_VideoDecoder_0_2 {
/**
* Creates a new video decoder resource.
*
@@ -215,29 +216,7 @@ struct PPB_VideoDecoder_0_2 { /* dev */
struct PP_CompletionCallback callback);
};
-struct PPB_VideoDecoder_0_1 { /* dev */
- PP_Resource (*Create)(PP_Instance instance);
- PP_Bool (*IsVideoDecoder)(PP_Resource resource);
- int32_t (*Initialize)(PP_Resource video_decoder,
- PP_Resource graphics3d_context,
- PP_VideoProfile profile,
- PP_Bool allow_software_fallback,
- struct PP_CompletionCallback callback);
- int32_t (*Decode)(PP_Resource video_decoder,
- uint32_t decode_id,
- uint32_t size,
- const void* buffer,
- struct PP_CompletionCallback callback);
- int32_t (*GetPicture)(PP_Resource video_decoder,
- struct PP_VideoPicture* picture,
- struct PP_CompletionCallback callback);
- void (*RecyclePicture)(PP_Resource video_decoder,
- const struct PP_VideoPicture* picture);
- int32_t (*Flush)(PP_Resource video_decoder,
- struct PP_CompletionCallback callback);
- int32_t (*Reset)(PP_Resource video_decoder,
- struct PP_CompletionCallback callback);
-};
+typedef struct PPB_VideoDecoder_0_2 PPB_VideoDecoder;
/**
* @}
*/

Powered by Google App Engine
This is Rietveld 408576698