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
be467652
Commit
be467652
authored
Apr 27, 2010
by
Austin Yuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added VACodedBufferSegment
Signed-off-by:
Austin Yuan
<
shengquan.yuan@gmail.com
>
parent
66f9048e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
va/va.h
va/va.h
+14
-0
No files found.
va/va.h
View file @
be467652
...
@@ -1221,10 +1221,24 @@ VAStatus vaBufferSetNumElements (
...
@@ -1221,10 +1221,24 @@ VAStatus vaBufferSetNumElements (
unsigned
int
num_elements
/* in */
unsigned
int
num_elements
/* in */
);
);
/*
* device independent data structure for codedbuffer
*/
typedef
struct
_VACodedBufferSegment
{
unsigned
int
size
;
/* size of the data buffer in the coded buffer segment, in bytes */
unsigned
int
bit_offset
;
/* bit offset into the data buffer where valid bitstream data begins */
void
*
buf
;
/* pointer to the beginning of the data buffer in the coded buffer segment */
void
*
next
;
/* pointer to the next VACodedBufferSegment */
}
VACodedBufferSegment
;
/*
/*
* Map data store of the buffer into the client's address space
* Map data store of the buffer into the client's address space
* vaCreateBuffer() needs to be called with "data" set to NULL before
* vaCreateBuffer() needs to be called with "data" set to NULL before
* calling vaMapBuffer()
* calling vaMapBuffer()
*
* if buffer type is VAEncCodedBufferType, pbuf points to link-list of
* VACodedBufferSegment, and the list is terminated if "next" is NULL
*/
*/
VAStatus
vaMapBuffer
(
VAStatus
vaMapBuffer
(
VADisplay
dpy
,
VADisplay
dpy
,
...
...
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