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

Unified Diff: ppapi/c/dev/ppp_video_decoder_dev.h

Issue 104373006: Remove deprecated video decode interfaces. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix nits Created 7 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 side-by-side diff with in-line comments
Download patch
Index: ppapi/c/dev/ppp_video_decoder_dev.h
diff --git a/ppapi/c/dev/ppp_video_decoder_dev.h b/ppapi/c/dev/ppp_video_decoder_dev.h
index 20c4e8c275e756e10b711dd074f4017397a4769a..d98161f8c18ef274798d0cb972945c557bbd6dd2 100644
--- a/ppapi/c/dev/ppp_video_decoder_dev.h
+++ b/ppapi/c/dev/ppp_video_decoder_dev.h
@@ -3,7 +3,7 @@
* found in the LICENSE file.
*/
-/* From dev/ppp_video_decoder_dev.idl modified Tue May 29 10:59:23 2012. */
+/* From dev/ppp_video_decoder_dev.idl modified Fri Dec 13 15:21:30 2013. */
#ifndef PPAPI_C_DEV_PPP_VIDEO_DECODER_DEV_H_
#define PPAPI_C_DEV_PPP_VIDEO_DECODER_DEV_H_
@@ -15,8 +15,6 @@
#include "ppapi/c/pp_size.h"
#include "ppapi/c/pp_stdint.h"
-#define PPP_VIDEODECODER_DEV_INTERFACE_0_9 "PPP_VideoDecoder(Dev);0.9"
-#define PPP_VIDEODECODER_DEV_INTERFACE_0_10 "PPP_VideoDecoder(Dev);0.10"
#define PPP_VIDEODECODER_DEV_INTERFACE_0_11 "PPP_VideoDecoder(Dev);0.11"
#define PPP_VIDEODECODER_DEV_INTERFACE PPP_VIDEODECODER_DEV_INTERFACE_0_11
@@ -51,7 +49,8 @@ struct PPP_VideoDecoder_Dev_0_11 {
* |decoder| the PPB_VideoDecoder_Dev resource.
* |req_num_of_bufs| tells how many buffers are needed by the decoder.
* |dimensions| tells the dimensions of the buffer to allocate.
- * |texture_target| the type of texture used.
+ * |texture_target| the type of texture used. Sample targets in use are
+ * TEXTURE_2D (most platforms) and TEXTURE_EXTERNAL_OES (on ARM).
*/
void (*ProvidePictureBuffers)(PP_Instance instance,
PP_Resource decoder,
@@ -98,39 +97,6 @@ struct PPP_VideoDecoder_Dev_0_11 {
};
typedef struct PPP_VideoDecoder_Dev_0_11 PPP_VideoDecoder_Dev;
-
-struct PPP_VideoDecoder_Dev_0_9 {
- void (*ProvidePictureBuffers)(PP_Instance instance,
- PP_Resource decoder,
- uint32_t req_num_of_bufs,
- const struct PP_Size* dimensions);
- void (*DismissPictureBuffer)(PP_Instance instance,
- PP_Resource decoder,
- int32_t picture_buffer_id);
- void (*PictureReady)(PP_Instance instance,
- PP_Resource decoder,
- const struct PP_Picture_Dev* picture);
- void (*EndOfStream)(PP_Instance instance, PP_Resource decoder);
- void (*NotifyError)(PP_Instance instance,
- PP_Resource decoder,
- PP_VideoDecodeError_Dev error);
-};
-
-struct PPP_VideoDecoder_Dev_0_10 {
- void (*ProvidePictureBuffers)(PP_Instance instance,
- PP_Resource decoder,
- uint32_t req_num_of_bufs,
- const struct PP_Size* dimensions);
- void (*DismissPictureBuffer)(PP_Instance instance,
- PP_Resource decoder,
- int32_t picture_buffer_id);
- void (*PictureReady)(PP_Instance instance,
- PP_Resource decoder,
- const struct PP_Picture_Dev* picture);
- void (*NotifyError)(PP_Instance instance,
- PP_Resource decoder,
- PP_VideoDecodeError_Dev error);
-};
/**
* @}
*/
« no previous file with comments | « ppapi/api/dev/ppp_video_decoder_dev.idl ('k') | ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698