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
ad7f7f2b
Commit
ad7f7f2b
authored
Feb 16, 2009
by
Austin Yuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
clean vaDbyCreateSurfaceFromMrstV4L2Buf
Signed-off-by:
Austin Yuan
<
shengquan.yuan@intel.com
>
parent
939437e3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
7 deletions
+19
-7
src/va.c
src/va.c
+11
-5
src/va_backend.h
src/va_backend.h
+8
-2
No files found.
src/va.c
View file @
ad7f7f2b
...
@@ -1271,13 +1271,19 @@ VAStatus vaDbgCopySurfaceToBuffer(VADisplay dpy,
...
@@ -1271,13 +1271,19 @@ VAStatus vaDbgCopySurfaceToBuffer(VADisplay dpy,
return
ctx
->
vtable
.
vaDbgCopySurfaceToBuffer
(
ctx
,
surface
,
buffer
,
stride
);
return
ctx
->
vtable
.
vaDbgCopySurfaceToBuffer
(
ctx
,
surface
,
buffer
,
stride
);
}
}
#warning TODO: Remove vaDbgCreateSurfaceFromMrstV4L2Buf in rev 0.29
VAStatus
vaDbgCreateSurfaceFrom
UB
(
VAStatus
vaDbgCreateSurfaceFrom
MrstV4L2Buf
(
VADisplay
dpy
,
VADisplay
dpy
,
unsigned
int
width
,
unsigned
int
width
,
unsigned
int
height
,
unsigned
int
height
,
unsigned
int
size
,
unsigned
int
size
,
void
*
start
,
unsigned
int
fourcc
,
unsigned
int
luma_stride
,
unsigned
int
chroma_u_stride
,
unsigned
int
chroma_v_stride
,
unsigned
int
luma_offset
,
unsigned
int
chroma_u_offset
,
unsigned
int
chroma_v_offset
,
VASurfaceID
*
surface
/* out */
VASurfaceID
*
surface
/* out */
)
)
{
{
...
@@ -1285,7 +1291,7 @@ VAStatus vaDbgCreateSurfaceFromUB(
...
@@ -1285,7 +1291,7 @@ VAStatus vaDbgCreateSurfaceFromUB(
CHECK_DISPLAY
(
dpy
);
CHECK_DISPLAY
(
dpy
);
ctx
=
CTX
(
dpy
);
ctx
=
CTX
(
dpy
);
TRACE
(
v
aDbgCreateSurfaceFromUB
);
TRACE
(
v
table
.
vaDbgCreateSurfaceFromMrstV4L2Buf
);
return
ctx
->
vtable
.
vaDbgCreateSurfaceFrom
UB
(
ctx
,
width
,
height
,
size
,
star
t
,
surface
);
return
ctx
->
vtable
.
vaDbgCreateSurfaceFrom
MrstV4L2Buf
(
ctx
,
width
,
height
,
size
,
fourcc
,
luma_stride
,
chroma_u_stride
,
chroma_v_stride
,
luma_offset
,
chroma_u_offset
,
chroma_v_offse
t
,
surface
);
}
}
src/va_backend.h
View file @
ad7f7f2b
...
@@ -393,12 +393,18 @@ struct VADriverVTable
...
@@ -393,12 +393,18 @@ struct VADriverVTable
void
**
buffer
,
/* out */
void
**
buffer
,
/* out */
unsigned
int
*
stride
/* out */
unsigned
int
*
stride
/* out */
);
);
VAStatus
(
*
vaDbgCreateSurfaceFrom
UB
)
(
VAStatus
(
*
vaDbgCreateSurfaceFrom
MrstV4L2Buf
)
(
VADriverContextP
ctx
,
VADriverContextP
ctx
,
unsigned
int
width
,
unsigned
int
width
,
unsigned
int
height
,
unsigned
int
height
,
unsigned
int
size
,
unsigned
int
size
,
void
*
start
,
unsigned
int
fourcc
,
unsigned
int
luma_stride
,
unsigned
int
chroma_u_stride
,
unsigned
int
chroma_v_stride
,
unsigned
int
luma_offset
,
unsigned
int
chroma_u_offset
,
unsigned
int
chroma_v_offset
,
VASurfaceID
*
surface
/* out */
VASurfaceID
*
surface
/* out */
);
);
};
};
...
...
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