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
ddb1a324
Commit
ddb1a324
authored
Jul 08, 2009
by
Gwenole Beauchesne
Committed by
Austin Yuan
Jul 08, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add VASliceParameterBufferBase.
Signed-off-by:
Austin Yuan
<
shengquan.yuan@intel.com
>
parent
6a1c58a1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
13 deletions
+21
-13
src/va.h
src/va.h
+21
-13
No files found.
src/va.h
View file @
ddb1a324
...
...
@@ -466,6 +466,27 @@ typedef enum
}
VABufferType
;
/*
* There will be cases where the bitstream buffer will not have enough room to hold
* the data for the entire slice, and the following flags will be used in the slice
* parameter to signal to the server for the possible cases.
* If a slice parameter buffer and slice data buffer pair is sent to the server with
* the slice data partially in the slice data buffer (BEGIN and MIDDLE cases below),
* then a slice parameter and data buffer needs to be sent again to complete this slice.
*/
#define VA_SLICE_DATA_FLAG_ALL 0x00
/* whole slice is in the buffer */
#define VA_SLICE_DATA_FLAG_BEGIN 0x01
/* The beginning of the slice is in the buffer but the end if not */
#define VA_SLICE_DATA_FLAG_MIDDLE 0x02
/* Neither beginning nor end of the slice is in the buffer */
#define VA_SLICE_DATA_FLAG_END 0x04
/* end of the slice is in the buffer */
/* Codec-independent Slice Parameter Buffer base */
typedef
struct
_VASliceParameterBufferBase
{
unsigned
int
slice_data_size
;
/* number of bytes in the slice data buffer for this slice */
unsigned
int
slice_data_offset
;
/* the offset to the first byte of slice data */
unsigned
int
slice_data_flag
;
/* see VA_SLICE_DATA_FLAG_XXX definitions */
}
VASliceParameterBufferBase
;
/****************************
* MPEG-2 data structures
****************************/
...
...
@@ -517,19 +538,6 @@ typedef struct _VAIQMatrixBufferMPEG2
unsigned
char
chroma_non_intra_quantiser_matrix
[
64
];
}
VAIQMatrixBufferMPEG2
;
/*
* There will be cases where the bitstream buffer will not have enough room to hold
* the data for the entire slice, and the following flags will be used in the slice
* parameter to signal to the server for the possible cases.
* If a slice parameter buffer and slice data buffer pair is sent to the server with
* the slice data partially in the slice data buffer (BEGIN and MIDDLE cases below),
* then a slice parameter and data buffer needs to be sent again to complete this slice.
*/
#define VA_SLICE_DATA_FLAG_ALL 0x00
/* whole slice is in the buffer */
#define VA_SLICE_DATA_FLAG_BEGIN 0x01
/* The beginning of the slice is in the buffer but the end if not */
#define VA_SLICE_DATA_FLAG_MIDDLE 0x02
/* Neither beginning nor end of the slice is in the buffer */
#define VA_SLICE_DATA_FLAG_END 0x04
/* end of the slice is in the buffer */
/* MPEG-2 Slice Parameter Buffer */
typedef
struct
_VASliceParameterBufferMPEG2
{
...
...
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