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
4119b70e
Commit
4119b70e
authored
Nov 04, 2009
by
Gwenole Beauchesne
Committed by
Xiang, Haihao
Jul 12, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't return VA_STATUS_SUCCESS for unimplemented functions.
parent
141a6f72
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
7 deletions
+11
-7
i965_drv_video/i965_drv_video.c
i965_drv_video/i965_drv_video.c
+11
-7
No files found.
i965_drv_video/i965_drv_video.c
View file @
4119b70e
...
@@ -517,7 +517,8 @@ i965_SetSubpictureImage(VADriverContextP ctx,
...
@@ -517,7 +517,8 @@ i965_SetSubpictureImage(VADriverContextP ctx,
VASubpictureID
subpicture
,
VASubpictureID
subpicture
,
VAImageID
image
)
VAImageID
image
)
{
{
return
VA_STATUS_SUCCESS
;
/* TODO */
return
VA_STATUS_ERROR_UNIMPLEMENTED
;
}
}
VAStatus
VAStatus
...
@@ -527,7 +528,8 @@ i965_SetSubpictureChromakey(VADriverContextP ctx,
...
@@ -527,7 +528,8 @@ i965_SetSubpictureChromakey(VADriverContextP ctx,
unsigned
int
chromakey_max
,
unsigned
int
chromakey_max
,
unsigned
int
chromakey_mask
)
unsigned
int
chromakey_mask
)
{
{
return
VA_STATUS_SUCCESS
;
/* TODO */
return
VA_STATUS_ERROR_UNIMPLEMENTED
;
}
}
VAStatus
VAStatus
...
@@ -535,7 +537,8 @@ i965_SetSubpictureGlobalAlpha(VADriverContextP ctx,
...
@@ -535,7 +537,8 @@ i965_SetSubpictureGlobalAlpha(VADriverContextP ctx,
VASubpictureID
subpicture
,
VASubpictureID
subpicture
,
float
global_alpha
)
float
global_alpha
)
{
{
return
VA_STATUS_SUCCESS
;
/* TODO */
return
VA_STATUS_ERROR_UNIMPLEMENTED
;
}
}
VAStatus
VAStatus
...
@@ -1184,7 +1187,7 @@ i965_GetDisplayAttributes(VADriverContextP ctx,
...
@@ -1184,7 +1187,7 @@ i965_GetDisplayAttributes(VADriverContextP ctx,
int
num_attributes
)
int
num_attributes
)
{
{
/* TODO */
/* TODO */
return
VA_STATUS_ERROR_UN
KNOWN
;
return
VA_STATUS_ERROR_UN
IMPLEMENTED
;
}
}
/*
/*
...
@@ -1199,7 +1202,7 @@ i965_SetDisplayAttributes(VADriverContextP ctx,
...
@@ -1199,7 +1202,7 @@ i965_SetDisplayAttributes(VADriverContextP ctx,
int
num_attributes
)
int
num_attributes
)
{
{
/* TODO */
/* TODO */
return
VA_STATUS_ERROR_UN
KNOWN
;
return
VA_STATUS_ERROR_UN
IMPLEMENTED
;
}
}
VAStatus
VAStatus
...
@@ -1209,7 +1212,7 @@ i965_DbgCopySurfaceToBuffer(VADriverContextP ctx,
...
@@ -1209,7 +1212,7 @@ i965_DbgCopySurfaceToBuffer(VADriverContextP ctx,
unsigned
int
*
stride
)
/* out */
unsigned
int
*
stride
)
/* out */
{
{
/* TODO */
/* TODO */
return
VA_STATUS_ERROR_UN
KNOWN
;
return
VA_STATUS_ERROR_UN
IMPLEMENTED
;
}
}
static
VAStatus
static
VAStatus
...
@@ -1351,7 +1354,8 @@ VAStatus i965_DeriveImage(VADriverContextP ctx,
...
@@ -1351,7 +1354,8 @@ VAStatus i965_DeriveImage(VADriverContextP ctx,
VASurfaceID
surface
,
VASurfaceID
surface
,
VAImage
*
image
)
/* out */
VAImage
*
image
)
/* out */
{
{
return
VA_STATUS_SUCCESS
;
/* TODO */
return
VA_STATUS_ERROR_OPERATION_FAILED
;
}
}
static
void
static
void
...
...
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