Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
steam-runtime-tools
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
steamrt
steam-runtime-tools
Commits
1737c980
Commit
1737c980
authored
1 year ago
by
Simon McVittie
Browse files
Options
Downloads
Plain Diff
Merge branch 'wip/mesa9751' into 'main'
check-va-api: Don't claim to have provided a reference frame Closes
#117
See merge request
!587
parents
58c01a62
88d67714
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!587
check-va-api: Don't claim to have provided a reference frame
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
helpers/check-va-api.c
+5
-5
5 additions, 5 deletions
helpers/check-va-api.c
with
5 additions
and
5 deletions
helpers/check-va-api.c
+
5
−
5
View file @
1737c980
...
...
@@ -123,7 +123,7 @@ static VAPictureParameterBufferH264 pic_param_h264 =
/* The size has been arbitrarily chosen */
.
picture_width_in_mbs_minus1
=
10
,
.
picture_height_in_mbs_minus1
=
10
,
.
num_ref_frames
=
1
,
.
num_ref_frames
=
0
,
};
static
VAIQMatrixBufferH264
iq_matrix_h264
=
...
...
@@ -262,6 +262,10 @@ test_decode_capability (VADisplay va_display,
do_vaapi_or_exit
(
vaCreateConfig
(
va_display
,
profile
,
VAEntrypointVLD
,
NULL
,
0
,
&
config
));
do_vaapi_or_exit
(
vaCreateContext
(
va_display
,
config
,
width
,
height
,
VA_PROGRESSIVE
,
surfaces
,
surfaces_count
,
&
context
));
do_vaapi_or_exit
(
vaCreateBuffer
(
va_display
,
context
,
VAPictureParameterBufferType
,
in_pic_param_size
,
1
,
in_pic_param
,
...
...
@@ -282,10 +286,6 @@ test_decode_capability (VADisplay va_display,
in_clip_size
,
1
,
in_clip
,
&
slice_data_buf
));
do_vaapi_or_exit
(
vaCreateContext
(
va_display
,
config
,
width
,
height
,
VA_PROGRESSIVE
,
surfaces
,
surfaces_count
,
&
context
));
do_vaapi_or_exit
(
vaBeginPicture
(
va_display
,
context
,
surfaces
[
1
]));
/* Send the buffers to the server */
do_vaapi_or_exit
(
vaRenderPicture
(
va_display
,
context
,
&
pic_param_buf
,
1
));
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment