blob: b82506b1eedacb87b254ce86cef604b18859c023 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef PPAPI_THUNK_VIDEO_LAYER_API_H_
#define PPAPI_THUNK_VIDEO_LAYER_API_H_
#include "ppapi/c/dev/ppb_video_layer_dev.h"
namespace ppapi {
namespace thunk {
class PPB_VideoLayer_API {
public:
virtual ~PPB_VideoLayer_API() {}
virtual void SetPixelFormat(PP_VideoLayerPixelFormat_Dev pixel_format) = 0;
virtual void SetNativeSize(const PP_Size* size) = 0;
virtual void SetClipRect(const PP_Rect* clip_rect) = 0;
virtual PP_Bool IsReady() = 0;
virtual PP_Bool UpdateContent(uint32_t no_of_planes, const void** planes) = 0;
};
} // namespace thunk
} // namespace ppapi
#endif // PPAPI_THUNK_VIDEO_LAYER_API_H_
|