-
Notifications
You must be signed in to change notification settings - Fork 37
framereader: fix read_frame_I010 #705
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
base: master
Are you sure you want to change the base?
Conversation
hi @uartie @FocusLuo @Hangjie22Coder , please take review |
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.
This change doesn't do anything new/different.
Please create a unit test, too, in test/self/formats.py |
... and please add more details to the actual git commit message body. |
As libva defined: ``` /** I010: three-plane 10-bit YUV 4:2:0. * * Each sample is a two-byte little-endian value with the top six bits ignored. * The three planes contain Y, V and U respectively. */ ``` Signed-off-by: jianfeng.zheng <[email protected]>
61ad470
to
51fbc15
Compare
Signed-off-by: jianfeng.zheng <[email protected]>
I don't quite sure how you generate the assets. Never mind. I write a small tools to convert P010 to I010. Seem test/self/formats.py just make read test without content check, I made inverse I010 to P010 convertion to assert right. |
@Bin-CI please fix CI or delegate to someone who can. |
as va.h defined
/** I010: three-plane 10-bit YUV 4:2:0.
*
*/
#define VA_FOURCC_I010 0x30313049