Comments (7)
@XinfengZhang can you specify the specific test cases that fail?
from libva-utils.
I see several of them fail due to iHD driver not returning any surface attributes for min/max width/height (e.g. VAProfileVC1Advanced:VAEntrypointVLD).
from libva-utils.
@XinfengZhang In iHD driver source, min/max width/height attributes are only returned for VAEntrypointVideoProc and all those test cases pass. The other tests fail because the driver does not return min/max attributes.
I agree, though, that the test should check min resolution too... but this is not the cause for the failures since driver doesn't even return those attribs. Please fix the driver to provide those attribs.
from libva-utils.
On the flip-side, I suppose if driver does not specify VASurfaceAttribMaxWidth/Height or VASurfaceAttribMinWidth/Height then applications/tests should assume "any" max is allowed and 0 (or 1) is minimum? @xhaihao what's your recommendation?
from libva-utils.
I prefer '1' as the minimum if the driver doesn't set VASurfaceAttribMinWidth/Height. I agree 'any' max should be allowed if the driver doesn't specify VASurfaceAttribMaxWidth/Height.
from libva-utils.
@uartie, there are several PR in the https://github.com/intel/media-driver/pulls, Max/Min solution is added for both Decode & Encode, after them, there are still failed. I checked the failed case , and find , if driver report min resolution is 32x32, but our test still expect success with resolution 16x16.
from libva-utils.
@XinfengZhang I will submit a patch to fix that here.
from libva-utils.
Related Issues (20)
- Failed tests on Intel Alderlake HOT 12
- 2.16.0: test suite is failing HOT 1
- amdgpu driver hang when encoding frame by h264encode.c HOT 4
- vaDeriveImage returns VA_STATUS_ERROR_OPERATION_FAILED HOT 2
- av1encode floating point exception on missing intra_period flag HOT 1
- av1encode help menu missing key information HOT 1
- Install on CentOS 7 HOT 1
- Retag of 2.18.1 HOT 2
- Libva-utils 2.18.1 need more recent libva-dev ?
- move to C++14?
- extend testing with real Intel GPUs as part of the CI process
- v2.18.2 tagged but not released? HOT 3
- prefix test names with libva_ HOT 2
- av1encode: Add "VAEntrypointEncSlice" entrypoint support
- Force clang-format for pre-commit code check
- hevcencode:broken output stream HOT 2
- Truncate the name nvidia(nvid), amdgpu(amdg), libva error: vaGetDriverNames() failed with unknown libva error
- vainfo vaGetDriverNames error HOT 6
- 3D LUT testing files missing HOT 1
- hevcencode test code produces corrupted output on Tiger Lake HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libva-utils.