Skip to content

Conversation

@tiopex
Copy link
Member

@tiopex tiopex commented Jul 10, 2025

video engine: Add HW scaler support, switch color format to YV12 as this is native format in VDU

@tiopex tiopex force-pushed the hw_scaler branch 2 times, most recently from 3e4b644 to ed2e314 Compare July 10, 2025 12:36
@Apaczer
Copy link
Member

Apaczer commented Jul 10, 2025

ok so it should be faster with 4:2:0 YUV plannar combined (shouldn't you set 2 << 8 for chroma combined thus YV?) , than interleaved 4:2:2 YUV [with V0Y1U0Y0 px sequence] ?

@tiopex
Copy link
Member Author

tiopex commented Jul 10, 2025

2 << 8 it will be NV12

Yes its faster, no need to sw conversion

@Apaczer
Copy link
Member

Apaczer commented Jul 10, 2025

tried other DEFE input formats, but there is no visible change on grayscale or the image is distorted. Should I look into CSC conversion to fix color banding?

@tiopex
Copy link
Member Author

tiopex commented Jul 10, 2025

yes, you can try other CSC entries from the matrix table.

To change input format, you also need to adjust stride and output format in gstreamer

@tiopex tiopex merged commit f0b6998 into MiyooCFW:master Jul 14, 2025
1 check passed
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