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

Side by Side Diff: ppapi/c/ppb_video_frame.h

Issue 150403006: [PPAPI][MediaStream] Support configure for video input. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix build errors Created 6 years, 10 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 unified diff | Download patch
« no previous file with comments | « ppapi/c/ppb_media_stream_video_track.h ('k') | ppapi/cpp/media_stream_video_track.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 2014 The Chromium Authors. All rights reserved. 1 /* Copyright 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 ppb_video_frame.idl modified Wed Jan 22 21:25:01 2014. */ 6 /* From ppb_video_frame.idl modified Tue Feb 11 14:41:52 2014. */
7 7
8 #ifndef PPAPI_C_PPB_VIDEO_FRAME_H_ 8 #ifndef PPAPI_C_PPB_VIDEO_FRAME_H_
9 #define PPAPI_C_PPB_VIDEO_FRAME_H_ 9 #define PPAPI_C_PPB_VIDEO_FRAME_H_
10 10
11 #include "ppapi/c/pp_bool.h" 11 #include "ppapi/c/pp_bool.h"
12 #include "ppapi/c/pp_macros.h" 12 #include "ppapi/c/pp_macros.h"
13 #include "ppapi/c/pp_resource.h" 13 #include "ppapi/c/pp_resource.h"
14 #include "ppapi/c/pp_size.h" 14 #include "ppapi/c/pp_size.h"
15 #include "ppapi/c/pp_stdint.h" 15 #include "ppapi/c/pp_stdint.h"
16 #include "ppapi/c/pp_time.h" 16 #include "ppapi/c/pp_time.h"
(...skipping 12 matching lines...) Expand all
29 typedef enum { 29 typedef enum {
30 /** 30 /**
31 * Unknown format value. 31 * Unknown format value.
32 */ 32 */
33 PP_VIDEOFRAME_FORMAT_UNKNOWN = 0, 33 PP_VIDEOFRAME_FORMAT_UNKNOWN = 0,
34 /** 34 /**
35 * 12bpp YVU planar 1x1 Y, 2x2 VU samples. 35 * 12bpp YVU planar 1x1 Y, 2x2 VU samples.
36 */ 36 */
37 PP_VIDEOFRAME_FORMAT_YV12 = 1, 37 PP_VIDEOFRAME_FORMAT_YV12 = 1,
38 /** 38 /**
39 * 16bpp YVU planar 1x1 Y, 2x1 VU samples. 39 * 12bpp YUV planar 1x1 Y, 2x2 UV samples.
40 */ 40 */
41 PP_VIDEOFRAME_FORMAT_YV16 = 2, 41 PP_VIDEOFRAME_FORMAT_I420 = 2,
42 /** 42 /**
43 * 12bpp YVU planar 1x1 Y, 2x2 UV samples. 43 * 32bpp BGRA.
44 */ 44 */
45 PP_VIDEOFRAME_FORMAT_I420 = 3, 45 PP_VIDEOFRAME_FORMAT_BGRA = 3,
46 /** 46 /**
47 * 20bpp YVU planar 1x1 Y, 2x2 VU, 1x1 A samples. 47 * The last format.
48 */ 48 */
49 PP_VIDEOFRAME_FORMAT_YV12A = 4, 49 PP_VIDEOFRAME_FORMAT_LAST = PP_VIDEOFRAME_FORMAT_BGRA
50 /**
51 * JPEG color range version of YV12.
52 */
53 PP_VIDEOFRAME_FORMAT_YV12J = 5
54 } PP_VideoFrame_Format; 50 } PP_VideoFrame_Format;
55 /** 51 /**
56 * @} 52 * @}
57 */ 53 */
58 54
59 /** 55 /**
60 * @addtogroup Interfaces 56 * @addtogroup Interfaces
61 * @{ 57 * @{
62 */ 58 */
63 struct PPB_VideoFrame_0_1 { /* dev */ 59 struct PPB_VideoFrame_0_1 { /* dev */
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 * @return The size of the data buffer. 126 * @return The size of the data buffer.
131 */ 127 */
132 uint32_t (*GetDataBufferSize)(PP_Resource frame); 128 uint32_t (*GetDataBufferSize)(PP_Resource frame);
133 }; 129 };
134 /** 130 /**
135 * @} 131 * @}
136 */ 132 */
137 133
138 #endif /* PPAPI_C_PPB_VIDEO_FRAME_H_ */ 134 #endif /* PPAPI_C_PPB_VIDEO_FRAME_H_ */
139 135
OLDNEW
« no previous file with comments | « ppapi/c/ppb_media_stream_video_track.h ('k') | ppapi/cpp/media_stream_video_track.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698