Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libva
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
libva
Commits
abe27fd4
Commit
abe27fd4
authored
Jan 27, 2011
by
Gwenole Beauchesne
Committed by
Austin Yuan
Feb 09, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dummy_drv_video: make VADriverContext.vtable a pointer.
parent
95da3e74
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
45 additions
and
44 deletions
+45
-44
dummy_drv_video/dummy_drv_video.c
dummy_drv_video/dummy_drv_video.c
+45
-44
No files found.
dummy_drv_video/dummy_drv_video.c
View file @
abe27fd4
...
...
@@ -1196,6 +1196,7 @@ VAStatus dummy_Terminate( VADriverContextP ctx )
VAStatus
VA_DRIVER_INIT_FUNC
(
VADriverContextP
ctx
)
{
struct
VADriverVTable
*
const
vtable
=
ctx
->
vtable
;
object_base_p
obj
;
int
result
;
struct
dummy_driver_data
*
driver_data
;
...
...
@@ -1211,50 +1212,50 @@ VAStatus VA_DRIVER_INIT_FUNC( VADriverContextP ctx )
ctx
->
max_display_attributes
=
DUMMY_MAX_DISPLAY_ATTRIBUTES
;
ctx
->
str_vendor
=
DUMMY_STR_VENDOR
;
ctx
->
vtable
.
vaTerminate
=
dummy_Terminate
;
ctx
->
vtable
.
vaQueryConfigEntrypoints
=
dummy_QueryConfigEntrypoints
;
ctx
->
vtable
.
vaQueryConfigProfiles
=
dummy_QueryConfigProfiles
;
ctx
->
vtable
.
vaQueryConfigEntrypoints
=
dummy_QueryConfigEntrypoints
;
ctx
->
vtable
.
vaQueryConfigAttributes
=
dummy_QueryConfigAttributes
;
ctx
->
vtable
.
vaCreateConfig
=
dummy_CreateConfig
;
ctx
->
vtable
.
vaDestroyConfig
=
dummy_DestroyConfig
;
ctx
->
vtable
.
vaGetConfigAttributes
=
dummy_GetConfigAttributes
;
ctx
->
vtable
.
vaCreateSurfaces
=
dummy_CreateSurfaces
;
ctx
->
vtable
.
vaDestroySurfaces
=
dummy_DestroySurfaces
;
ctx
->
vtable
.
vaCreateContext
=
dummy_CreateContext
;
ctx
->
vtable
.
vaDestroyContext
=
dummy_DestroyContext
;
ctx
->
vtable
.
vaCreateBuffer
=
dummy_CreateBuffer
;
ctx
->
vtable
.
vaBufferSetNumElements
=
dummy_BufferSetNumElements
;
ctx
->
vtable
.
vaMapBuffer
=
dummy_MapBuffer
;
ctx
->
vtable
.
vaUnmapBuffer
=
dummy_UnmapBuffer
;
ctx
->
vtable
.
vaDestroyBuffer
=
dummy_DestroyBuffer
;
ctx
->
vtable
.
vaBeginPicture
=
dummy_BeginPicture
;
ctx
->
vtable
.
vaRenderPicture
=
dummy_RenderPicture
;
ctx
->
vtable
.
vaEndPicture
=
dummy_EndPicture
;
ctx
->
vtable
.
vaSyncSurface
=
dummy_SyncSurface
;
ctx
->
vtable
.
vaQuerySurfaceStatus
=
dummy_QuerySurfaceStatus
;
ctx
->
vtable
.
vaPutSurface
=
dummy_PutSurface
;
ctx
->
vtable
.
vaQueryImageFormats
=
dummy_QueryImageFormats
;
ctx
->
vtable
.
vaCreateImage
=
dummy_CreateImage
;
ctx
->
vtable
.
vaDeriveImage
=
dummy_DeriveImage
;
ctx
->
vtable
.
vaDestroyImage
=
dummy_DestroyImage
;
ctx
->
vtable
.
vaSetImagePalette
=
dummy_SetImagePalette
;
ctx
->
vtable
.
vaGetImage
=
dummy_GetImage
;
ctx
->
vtable
.
vaPutImage
=
dummy_PutImage
;
ctx
->
vtable
.
vaQuerySubpictureFormats
=
dummy_QuerySubpictureFormats
;
ctx
->
vtable
.
vaCreateSubpicture
=
dummy_CreateSubpicture
;
ctx
->
vtable
.
vaDestroySubpicture
=
dummy_DestroySubpicture
;
ctx
->
vtable
.
vaSetSubpictureImage
=
dummy_SetSubpictureImage
;
ctx
->
vtable
.
vaSetSubpictureChromakey
=
dummy_SetSubpictureChromakey
;
ctx
->
vtable
.
vaSetSubpictureGlobalAlpha
=
dummy_SetSubpictureGlobalAlpha
;
ctx
->
vtable
.
vaAssociateSubpicture
=
dummy_AssociateSubpicture
;
ctx
->
vtable
.
vaDeassociateSubpicture
=
dummy_DeassociateSubpicture
;
ctx
->
vtable
.
vaQueryDisplayAttributes
=
dummy_QueryDisplayAttributes
;
ctx
->
vtable
.
vaGetDisplayAttributes
=
dummy_GetDisplayAttributes
;
ctx
->
vtable
.
vaSetDisplayAttributes
=
dummy_SetDisplayAttributes
;
ctx
->
vtable
.
vaLockSurface
=
dummy_LockSurface
;
ctx
->
vtable
.
vaUnlockSurface
=
dummy_UnlockSurface
;
ctx
->
vtable
.
vaBufferInfo
=
dummy_BufferInfo
;
vtable
->
vaTerminate
=
dummy_Terminate
;
vtable
->
vaQueryConfigEntrypoints
=
dummy_QueryConfigEntrypoints
;
vtable
->
vaQueryConfigProfiles
=
dummy_QueryConfigProfiles
;
vtable
->
vaQueryConfigEntrypoints
=
dummy_QueryConfigEntrypoints
;
vtable
->
vaQueryConfigAttributes
=
dummy_QueryConfigAttributes
;
vtable
->
vaCreateConfig
=
dummy_CreateConfig
;
vtable
->
vaDestroyConfig
=
dummy_DestroyConfig
;
vtable
->
vaGetConfigAttributes
=
dummy_GetConfigAttributes
;
vtable
->
vaCreateSurfaces
=
dummy_CreateSurfaces
;
vtable
->
vaDestroySurfaces
=
dummy_DestroySurfaces
;
vtable
->
vaCreateContext
=
dummy_CreateContext
;
vtable
->
vaDestroyContext
=
dummy_DestroyContext
;
vtable
->
vaCreateBuffer
=
dummy_CreateBuffer
;
vtable
->
vaBufferSetNumElements
=
dummy_BufferSetNumElements
;
vtable
->
vaMapBuffer
=
dummy_MapBuffer
;
vtable
->
vaUnmapBuffer
=
dummy_UnmapBuffer
;
vtable
->
vaDestroyBuffer
=
dummy_DestroyBuffer
;
vtable
->
vaBeginPicture
=
dummy_BeginPicture
;
vtable
->
vaRenderPicture
=
dummy_RenderPicture
;
vtable
->
vaEndPicture
=
dummy_EndPicture
;
vtable
->
vaSyncSurface
=
dummy_SyncSurface
;
vtable
->
vaQuerySurfaceStatus
=
dummy_QuerySurfaceStatus
;
vtable
->
vaPutSurface
=
dummy_PutSurface
;
vtable
->
vaQueryImageFormats
=
dummy_QueryImageFormats
;
vtable
->
vaCreateImage
=
dummy_CreateImage
;
vtable
->
vaDeriveImage
=
dummy_DeriveImage
;
vtable
->
vaDestroyImage
=
dummy_DestroyImage
;
vtable
->
vaSetImagePalette
=
dummy_SetImagePalette
;
vtable
->
vaGetImage
=
dummy_GetImage
;
vtable
->
vaPutImage
=
dummy_PutImage
;
vtable
->
vaQuerySubpictureFormats
=
dummy_QuerySubpictureFormats
;
vtable
->
vaCreateSubpicture
=
dummy_CreateSubpicture
;
vtable
->
vaDestroySubpicture
=
dummy_DestroySubpicture
;
vtable
->
vaSetSubpictureImage
=
dummy_SetSubpictureImage
;
vtable
->
vaSetSubpictureChromakey
=
dummy_SetSubpictureChromakey
;
vtable
->
vaSetSubpictureGlobalAlpha
=
dummy_SetSubpictureGlobalAlpha
;
vtable
->
vaAssociateSubpicture
=
dummy_AssociateSubpicture
;
vtable
->
vaDeassociateSubpicture
=
dummy_DeassociateSubpicture
;
vtable
->
vaQueryDisplayAttributes
=
dummy_QueryDisplayAttributes
;
vtable
->
vaGetDisplayAttributes
=
dummy_GetDisplayAttributes
;
vtable
->
vaSetDisplayAttributes
=
dummy_SetDisplayAttributes
;
vtable
->
vaLockSurface
=
dummy_LockSurface
;
vtable
->
vaUnlockSurface
=
dummy_UnlockSurface
;
vtable
->
vaBufferInfo
=
dummy_BufferInfo
;
driver_data
=
(
struct
dummy_driver_data
*
)
malloc
(
sizeof
(
*
driver_data
)
);
ctx
->
pDriverData
=
(
void
*
)
driver_data
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment