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
9f1afd58
Commit
9f1afd58
authored
May 11, 2010
by
Austin Yuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
global vaDisplayIsValid
Signed-off-by:
Austin Yuan
<
shengquan.yuan@gmail.com
>
parent
70074679
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
12 deletions
+1
-12
va/android/va_android.cpp
va/android/va_android.cpp
+0
-5
va/va.c
va/va.c
+1
-1
va/x11/va_x11.c
va/x11/va_x11.c
+0
-6
No files found.
va/android/va_android.cpp
View file @
9f1afd58
...
@@ -282,11 +282,6 @@ VADisplay vaGetDisplay (
...
@@ -282,11 +282,6 @@ VADisplay vaGetDisplay (
#define CTX(dpy) (((VADisplayContextP)dpy)->pDriverContext)
#define CTX(dpy) (((VADisplayContextP)dpy)->pDriverContext)
#define CHECK_DISPLAY(dpy) if( !vaDisplayIsValid(dpy) ) { return VA_STATUS_ERROR_INVALID_DISPLAY; }
#define CHECK_DISPLAY(dpy) if( !vaDisplayIsValid(dpy) ) { return VA_STATUS_ERROR_INVALID_DISPLAY; }
static
int
vaDisplayIsValid
(
VADisplay
dpy
)
{
VADisplayContextP
pDisplayContext
=
(
VADisplayContextP
)
dpy
;
return
pDisplayContext
&&
(
pDisplayContext
->
vadpy_magic
==
VA_DISPLAY_MAGIC
)
&&
pDisplayContext
->
vaIsValid
(
pDisplayContext
);
}
#ifdef ANDROID
#ifdef ANDROID
VAStatus
vaPutSurface
(
VAStatus
vaPutSurface
(
...
...
va/va.c
View file @
9f1afd58
...
@@ -64,7 +64,7 @@ extern int trace_flag;
...
@@ -64,7 +64,7 @@ extern int trace_flag;
#define VA_MINOR_VERSION (31)
#define VA_MINOR_VERSION (31)
#define VA_VERSION_S "0.31.1"
#define VA_VERSION_S "0.31.1"
static
int
vaDisplayIsValid
(
VADisplay
dpy
)
int
vaDisplayIsValid
(
VADisplay
dpy
)
{
{
VADisplayContextP
pDisplayContext
=
(
VADisplayContextP
)
dpy
;
VADisplayContextP
pDisplayContext
=
(
VADisplayContextP
)
dpy
;
return
pDisplayContext
&&
(
pDisplayContext
->
vadpy_magic
==
VA_DISPLAY_MAGIC
)
&&
pDisplayContext
->
vaIsValid
(
pDisplayContext
);
return
pDisplayContext
&&
(
pDisplayContext
->
vadpy_magic
==
VA_DISPLAY_MAGIC
)
&&
pDisplayContext
->
vaIsValid
(
pDisplayContext
);
...
...
va/x11/va_x11.c
View file @
9f1afd58
...
@@ -219,12 +219,6 @@ VADisplay vaGetDisplay (
...
@@ -219,12 +219,6 @@ VADisplay vaGetDisplay (
#define CTX(dpy) (((VADisplayContextP)dpy)->pDriverContext)
#define CTX(dpy) (((VADisplayContextP)dpy)->pDriverContext)
#define CHECK_DISPLAY(dpy) if( !vaDisplayIsValid(dpy) ) { return VA_STATUS_ERROR_INVALID_DISPLAY; }
#define CHECK_DISPLAY(dpy) if( !vaDisplayIsValid(dpy) ) { return VA_STATUS_ERROR_INVALID_DISPLAY; }
static
int
vaDisplayIsValid
(
VADisplay
dpy
)
{
VADisplayContextP
pDisplayContext
=
(
VADisplayContextP
)
dpy
;
return
pDisplayContext
&&
(
pDisplayContext
->
vadpy_magic
==
VA_DISPLAY_MAGIC
)
&&
pDisplayContext
->
vaIsValid
(
pDisplayContext
);
}
VAStatus
vaPutSurface
(
VAStatus
vaPutSurface
(
VADisplay
dpy
,
VADisplay
dpy
,
VASurfaceID
surface
,
VASurfaceID
surface
,
...
...
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