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

Side by Side Diff: ppapi/api/dev/ppb_video_decoder_dev.idl

Issue 48413004: Narrow VDA Decode() API and remove multi-frame tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 1 month 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
« no previous file with comments | « media/video/video_decode_accelerator.h ('k') | ppapi/c/dev/ppb_video_decoder_dev.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) 2012 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2012 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 * This file defines the <code>PPB_VideoDecoder_Dev</code> interface. 7 * This file defines the <code>PPB_VideoDecoder_Dev</code> interface.
8 */ 8 */
9 label Chrome { 9 label Chrome {
10 M14 = 0.16 10 M14 = 0.16
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 * Returns true if is a video decoder, false otherwise. 55 * Returns true if is a video decoder, false otherwise.
56 */ 56 */
57 PP_Bool IsVideoDecoder( 57 PP_Bool IsVideoDecoder(
58 [in] PP_Resource resource); 58 [in] PP_Resource resource);
59 59
60 /** 60 /**
61 * Dispatches bitstream buffer to the decoder. 61 * Dispatches bitstream buffer to the decoder.
62 * 62 *
63 * Parameters: 63 * Parameters:
64 * |video_decoder| is the previously created handle to the decoder resource. 64 * |video_decoder| is the previously created handle to the decoder resource.
65 * |bitstream_buffer| is the bitstream buffer that contains the input data. 65 * |bitstream_buffer| is the bitstream buffer that contains at most one
66 * input frame.
66 * |callback| will be called when |bitstream_buffer| has been processed by 67 * |callback| will be called when |bitstream_buffer| has been processed by
67 * the decoder. 68 * the decoder.
68 * 69 *
69 * Returns an error code from pp_errors.h. 70 * Returns an error code from pp_errors.h.
70 */ 71 */
71 int32_t Decode( 72 int32_t Decode(
72 [in] PP_Resource video_decoder, 73 [in] PP_Resource video_decoder,
73 [in] PP_VideoBitstreamBuffer_Dev bitstream_buffer, 74 [in] PP_VideoBitstreamBuffer_Dev bitstream_buffer,
74 [in] PP_CompletionCallback callback); 75 [in] PP_CompletionCallback callback);
75 76
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 * may be freed asynchronously, after this method returns no more callbacks 146 * may be freed asynchronously, after this method returns no more callbacks
146 * will be made on the client. Any resources held by the client at that point 147 * will be made on the client. Any resources held by the client at that point
147 * may be freed. 148 * may be freed.
148 * 149 *
149 * Parameters: 150 * Parameters:
150 * |video_decoder| is the previously created handle to the decoder resource. 151 * |video_decoder| is the previously created handle to the decoder resource.
151 */ 152 */
152 void Destroy( 153 void Destroy(
153 [in] PP_Resource video_decoder); 154 [in] PP_Resource video_decoder);
154 }; 155 };
OLDNEW
« no previous file with comments | « media/video/video_decode_accelerator.h ('k') | ppapi/c/dev/ppb_video_decoder_dev.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698