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
1a756401
Commit
1a756401
authored
Mar 29, 2010
by
Austin Yuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added JPEG/IEP data structure
Signed-off-by:
Austin Yuan
<
shengquan.yuan@gmail.com
>
parent
fe7dca4c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
38 additions
and
3 deletions
+38
-3
configure.ac
configure.ac
+1
-1
va/va.h
va/va.h
+37
-2
No files found.
configure.ac
View file @
1a756401
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
# libva package version number, (as distinct from shared library version)
# libva package version number, (as distinct from shared library version)
m4_define([libva_major_version], [0])
m4_define([libva_major_version], [0])
m4_define([libva_minor_version], [31])
m4_define([libva_minor_version], [31])
m4_define([libva_micro_version], [
0
])
m4_define([libva_micro_version], [
1
])
m4_define([libva_version],
m4_define([libva_version],
[libva_major_version.libva_minor_version.libva_micro_version])
[libva_major_version.libva_minor_version.libva_micro_version])
...
...
va/va.h
View file @
1a756401
...
@@ -56,6 +56,8 @@
...
@@ -56,6 +56,8 @@
* rev 0.31 (09/02/2009 Gwenole Beauchesne) - VC-1/H264 fields change for VDPAU and XvBA backend
* rev 0.31 (09/02/2009 Gwenole Beauchesne) - VC-1/H264 fields change for VDPAU and XvBA backend
* Application needs to relink with the new library.
* Application needs to relink with the new library.
*
*
* rev 0.31.1 (03/29/2009) - Data structure for JPEG encode
*
* Acknowledgements:
* Acknowledgements:
* Some concepts borrowed from XvMC and XvImage.
* Some concepts borrowed from XvMC and XvImage.
* Waldo Bastian (Intel), Matt Sottek (Intel), Austin Yuan (Intel), and Gwenole Beauchesne (SDS)
* Waldo Bastian (Intel), Matt Sottek (Intel), Austin Yuan (Intel), and Gwenole Beauchesne (SDS)
...
@@ -210,7 +212,8 @@ typedef enum
...
@@ -210,7 +212,8 @@ typedef enum
VAProfileVC1Simple
=
8
,
VAProfileVC1Simple
=
8
,
VAProfileVC1Main
=
9
,
VAProfileVC1Main
=
9
,
VAProfileVC1Advanced
=
10
,
VAProfileVC1Advanced
=
10
,
VAProfileH263Baseline
=
11
VAProfileH263Baseline
=
11
,
VAProfileJPEGBaseline
=
12
}
VAProfile
;
}
VAProfile
;
/*
/*
...
@@ -223,7 +226,7 @@ typedef enum
...
@@ -223,7 +226,7 @@ typedef enum
VAEntrypointIDCT
=
3
,
VAEntrypointIDCT
=
3
,
VAEntrypointMoComp
=
4
,
VAEntrypointMoComp
=
4
,
VAEntrypointDeblocking
=
5
,
VAEntrypointDeblocking
=
5
,
VAEntrypointEncSlice
=
6
/* slice level encode */
VAEntrypointEncSlice
=
6
,
/* slice level encode */
}
VAEntrypoint
;
}
VAEntrypoint
;
/* Currently defined configuration attribute types */
/* Currently defined configuration attribute types */
...
@@ -493,6 +496,7 @@ typedef enum
...
@@ -493,6 +496,7 @@ typedef enum
VADeblockingParameterBufferType
=
8
,
VADeblockingParameterBufferType
=
8
,
VAImageBufferType
=
9
,
VAImageBufferType
=
9
,
VAProtectedSliceDataBufferType
=
10
,
VAProtectedSliceDataBufferType
=
10
,
VAQMatrixBufferType
=
11
,
/* Following are encode buffer types */
/* Following are encode buffer types */
VAEncCodedBufferType
=
21
,
VAEncCodedBufferType
=
21
,
VAEncSequenceParameterBufferType
=
22
,
VAEncSequenceParameterBufferType
=
22
,
...
@@ -524,6 +528,26 @@ typedef struct _VASliceParameterBufferBase
...
@@ -524,6 +528,26 @@ typedef struct _VASliceParameterBufferBase
unsigned
int
slice_data_flag
;
/* see VA_SLICE_DATA_FLAG_XXX definitions */
unsigned
int
slice_data_flag
;
/* see VA_SLICE_DATA_FLAG_XXX definitions */
}
VASliceParameterBufferBase
;
}
VASliceParameterBufferBase
;
/****************************
* JEPG data structure
***************************/
typedef
struct
_VAQMatrixBufferJPEG
{
int
load_lum_quantiser_matrix
;
int
load_chroma_quantiser_matrix
;
unsigned
char
lum_quantiser_matrix
[
64
];
unsigned
char
chroma_quantiser_matrix
[
64
];
}
VAQMatrixBufferJPEG
;
typedef
struct
_VAEncPictureParameterBufferJPEG
{
VASurfaceID
reconstructed_picture
;
unsigned
short
picture_width
;
unsigned
short
picture_height
;
}
VAEncPictureParameterBufferJPEG
;
/****************************
/****************************
* MPEG-2 data structures
* MPEG-2 data structures
****************************/
****************************/
...
@@ -1664,6 +1688,17 @@ typedef enum
...
@@ -1664,6 +1688,17 @@ typedef enum
VADISPLAYATTRIB_CSC_FORMAT_NONE
,
VADISPLAYATTRIB_CSC_FORMAT_NONE
,
}
VADisplayAttribCSCFormat
;
}
VADisplayAttribCSCFormat
;
/* attribute value for VADisplayAttribRotation */
#define VA_ROTATION_NONE 0x00000000
#define VA_ROTATION_90 0x00000001
#define VA_ROTATION_180 0x00000002
#define VA_ROTATION_270 0x00000004
/* attribute value for VADisplayAttribOutOfLoopDeblock */
#define VA_OOL_DEBLOCKING_FALSE 0x00000000
#define VA_OOL_DEBLOCKING_TRUE 0x00000001
/* Currently defined display attribute types */
/* Currently defined display attribute types */
typedef
enum
typedef
enum
{
{
...
...
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