Skip to content

Conversation

mdakram28
Copy link

@mdakram28 mdakram28 commented Jan 20, 2024

Minor change in __do_convert_yuv420 can support yuv422 pixel format.

Added a logRowsUVStride parameter which determines the number of rows in output image corresponding to one row in U and V input.

We then set uoffset and voffset depending on this parameter:

uoffset = ((ypos >> logRowsUVStride) * strideu);
voffset = ((ypos >> logRowsUVStride) * stridev);

Tested it with ffmpeg generated YUV422 HEVC video.

Minor change in __do_convert_yuv420 can support yuv422
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