createsurface test case issue in libva-utils-v1.8

Open
#238 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
c
Domain
testing-qa

Research direction

Read the createsurface test case in libva-utils-v1.8 first, then compare its surface-size assumptions and attribute-list handling with the VA-API behavior described. Check the interaction with the Intel i965 driver. Done means determining whether the test or driver is responsible for the reported limitations and documenting the expected behavior.

Written by the indexing model from the issue text.

Description

Now,I have found some issues about createsurface test case,here is what I have found:
first, createsurface test case do not limit surface size in v1.8 because not all GPU surface support 16x16 or 10240x10240
second,create surface with attribs will first query surface attribs and then create surface with these attribs
but maybe VASurfaceAttribIPixformat type attrib will have different value like this:
attrib_list={
{
......
VASurfaceAttribPixformat ,
VA_SURFACE_ATTRIB_SETTABLE,
value0
},
{
VASurfaceAttribPixformat ,
VA_SURFACE_ATTRIB_SETTABLE,
value1
},
{
VASurfaceAttribPixformat ,
VA_SURFACE_ATTRIB_SETTABLE,
value2
},
.....
}
but intel i965 driver just will get the last VASurfaceAttribPixformat value while calling createsurface and it is value2,so any issue in test case or intel driver?

Dominant language
C
Stars
244
Forks
175
Avg merge
9d 7h
Merged PRs (30d)
1

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from intel/libva-utils

All issues in intel/libva-utils

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.