-
Notifications
You must be signed in to change notification settings - Fork 164
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CreateBuffer/VAAPICreateBuffer.CreateBufferWithOutData/326 failed #89
Comments
Yes, size should actually be the size of the actual buffer structure (i.e. |
a series of test case is related with the issue. ASSERT_STATUS(vaCreateBuffer(m_vaDisplay, m_contextID, bufferType, |
@XinfengZhang agree. I am working on patches now... |
vaCreateBuffer needs the sizeof the actual buffer data structure associated with the buffer type, which could be profile specific. Previous test logic was passing the sizeof the buffer "type" enum, which is wrong. Fix the tests so that the correct buffer size is calculated based on profile specific buffer types. Several buffer types were removed from the previous test parameters since their size may be application specific, arbitrary, and/or require additional setup beyond the capabilities of the current buffer test cases. These rules will need to be fleshed-out and tests for them added later on. Fixes intel#89 Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
vaCreateBuffer needs the sizeof the actual buffer data structure associated with the buffer type, which could be profile specific. Previous test logic was passing the sizeof the buffer "type" enum, which is wrong. Fix the tests so that the correct buffer size is calculated based on profile specific buffer types. Several buffer types were removed from the previous test parameters since their size may be application specific, arbitrary, and/or require additional setup beyond the capabilities of the current buffer test cases. These rules will need to be fleshed-out and tests for them added later on. Fixes intel#89 Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
vaCreateBuffer needs the sizeof the actual buffer data structure associated with the buffer type, which could be profile specific. Previous test logic was passing the sizeof the buffer "type" enum, which is wrong. Fix the tests so that the correct buffer size is calculated based on profile specific buffer types. Several buffer types were removed from the previous test parameters since their size may be application specific, arbitrary, and/or require additional setup beyond the capabilities of the current buffer test cases. These rules will need to be fleshed-out and tests for them added later on. Fixes intel#89 Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
vaCreateBuffer needs the sizeof the actual buffer data structure associated with the buffer type, which could be profile specific. Previous test logic was passing the sizeof the buffer "type" enum, which is wrong. Fix the tests so that the correct buffer size is calculated based on profile specific buffer types. Several buffer types were removed from the previous test parameters since their size may be application specific, arbitrary, and/or require additional setup beyond the capabilities of the current buffer test cases. These rules will need to be fleshed-out and tests for them added later on. Fixes intel#89 Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
vaCreateBuffer needs the sizeof the actual buffer data structure associated with the buffer type, which could be profile specific. Previous test logic was passing the sizeof the buffer "type" enum, which is wrong. Fix the tests so that the correct buffer size is calculated based on profile specific buffer types. Several buffer types were removed from the previous test parameters since their size may be application specific, arbitrary, and/or require additional setup beyond the capabilities of the current buffer test cases. These rules will need to be fleshed-out and tests for them added later on. Fixes intel#89 Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
vaCreateBuffer needs the sizeof the actual buffer data structure associated with the buffer type, which could be profile specific. Previous test logic was passing the sizeof the buffer "type" enum, which is wrong. Fix the tests so that the correct buffer size is calculated based on profile specific buffer types. Several buffer types were removed from the previous test parameters since their size may be application specific, arbitrary, and/or require additional setup beyond the capabilities of the current buffer test cases. These rules will need to be fleshed-out and tests for them added later on. Fixes #89 Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
call vaCreateBuffer with such parameters (size = 4, num_elements=1, VAEncSequenceParameterBufferType), it return invalidate parameter , because size < sizeof(VAEncSequenceParameterBufferType)
The text was updated successfully, but these errors were encountered: