-
Notifications
You must be signed in to change notification settings - Fork 305
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
add output value interface for the values from driver #213
base: master
Are you sure you want to change the base?
Conversation
9f1a193
to
b8415bc
Compare
sometimes , there are only one single value output a new buffer type is complex than a new interface Signed-off-by: XinfengZhang <[email protected]>
It might be sensible to have some sort of size information here. While the CRC hash in H.265 has a fixed size (number of planes * 16 bits, so usually 6 bytes), this API might be useful to use for something which doesn't. That could either be passed in the function (e.g. an extra argument |
VAStatus | ||
(*vaQueryOutputValue)( | ||
VADriverContextP ctx, | ||
VAContextID context, /* in */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could also add the surfaceID 'VASurfaceID render_target' in this interface? it maybe more flexiable for usage.
*/ | ||
VAStatus vaQueryOutputValue( | ||
VADisplay dpy, | ||
VAContextID context, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could also add the surfaceID 'VASurfaceID render_target' in this interface? it maybe more flexiable for usage.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Jexu, if add VASurfaceID render_target, it seems that it was changed to another function, calculate the input surface CRC?
sometimes , there are only one single value output
a new buffer type is complex than a api call
Signed-off-by: XinfengZhang [email protected]