2 * @COPYRIGHT@ Intel Confidential - Unreleased Software
5 #ifndef _DUMMY_DRV_VIDEO_H_
6 #define _DUMMY_DRV_VIDEO_H_
9 #include "object_heap.h"
11 #define DUMMY_MAX_PROFILES 11
12 #define DUMMY_MAX_ENTRYPOINTS 5
13 #define DUMMY_MAX_CONFIG_ATTRIBUTES 10
15 struct dummy_driver_data {
16 struct object_heap config_heap;
17 struct object_heap context_heap;
18 struct object_heap surface_heap;
19 struct object_heap buffer_heap;
22 struct object_config {
23 struct object_base base;
25 VAEntrypoint entrypoint;
26 VAConfigAttrib attrib_list[DUMMY_MAX_CONFIG_ATTRIBUTES];
30 struct object_context {
31 struct object_base base;
34 VASurfaceID current_render_target;
37 struct object_surface {
38 struct object_base base;
42 struct object_buffer {
43 struct object_base base;
49 typedef struct object_config *object_config_p;
50 typedef struct object_context *object_context_p;
51 typedef struct object_surface *object_surface_p;
52 typedef struct object_buffer *object_buffer_p;
54 #endif /* _DUMMY_DRV_VIDEO_H_ */