Skip to content

Conversation

@gitgjogh
Copy link

as va.h 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.
    */
    #define VA_FOURCC_I010 0x30313049

@gitgjogh
Copy link
Author

hi @uartie @FocusLuo @Hangjie22Coder , please take review

Copy link
Contributor

@uartie uartie left a 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.

@uartie uartie closed this Mar 31, 2025
@uartie uartie reopened this Apr 16, 2025
@uartie
Copy link
Contributor

uartie commented Apr 16, 2025

Please create a unit test, too, in test/self/formats.py

@uartie
Copy link
Contributor

uartie commented Apr 16, 2025

... 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]>
@gitgjogh gitgjogh force-pushed the fix_read_frame_I010 branch from 61ad470 to 51fbc15 Compare April 17, 2025 08:48
Signed-off-by: jianfeng.zheng <[email protected]>
@gitgjogh
Copy link
Author

Please create a unit test, too, in test/self/formats.py

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.

@uartie
Copy link
Contributor

uartie commented Apr 18, 2025

@Bin-CI please fix CI or delegate to someone who can.

@Bin-CI
Copy link
Contributor

Bin-CI commented Apr 25, 2025

github action maybe can be fixed by #704 which refer scikit-image version
The other question @qiangch1 will check it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants