mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-14 00:14:11 +09:00
Merge pull request #11930 from eduar-hte/avc444-align32
Align width and height for AVC444 decoding to 32
This commit is contained in:
@@ -479,7 +479,7 @@ static void CALLBACK yuv444_combine_work_callback(PTP_CALLBACK_INSTANCE instance
|
||||
const RECTANGLE_16* rect = ¶m->rect;
|
||||
WINPR_ASSERT(rect);
|
||||
|
||||
const UINT32 alignedWidth = yuv->width + ((yuv->width % 16 != 0) ? 16 - yuv->width % 16 : 0);
|
||||
const UINT32 alignedWidth = yuv->width + ((yuv->width % 32 != 0) ? 32 - yuv->width % 32 : 0);
|
||||
const UINT32 alignedHeight =
|
||||
yuv->height + ((yuv->height % 16 != 0) ? 16 - yuv->height % 16 : 0);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user