Skip to content

Conversation

@quic-zhanlin
Copy link

Base on #544 add support in utest2.cpp

- Update getCvType to return CV_8UC1 for NV12 encoding.
- Extend Encoding enum to include NV12.
- Enhance getEncoding to recognize NV12.
- Add conversion codes for NV12 to GRAY, RGB, BGR, RGBA, and BGRA.
- Modify conversion logic to handle NV12 as a color format.
- Adjust matFromImage to account for height scaling in NV12 images.

Signed-off-by: Zhaoyuan Cheng <[email protected]>
@quic-zhanlin
Copy link
Author

@ijnek could you please have a review for this PR?

@quic-zhanlin quic-zhanlin force-pushed the rolling branch 2 times, most recently from a29949d to 42f91a4 Compare October 9, 2025 07:48
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.

1 participant