20 May
2025
20 May
'25
3:42 a.m.
Anton Baskanov (@baskanov) commented about dlls/amstream/ddrawstream.c:
+ start_stream_time = start_time + stream->segment_start; + end_stream_time = end_time + stream->segment_start; + + stride = ((bitmap_info->biWidth * bitmap_info->biBitCount + 31) & ~31) / 8; + if (bitmap_info->biHeight < 0) + { + top_down_stride = stride; + top_down_pointer = pointer; + } + else + { + top_down_stride = -stride; + top_down_pointer = pointer + stride * (bitmap_info->biHeight - 1); + } + + LIST_FOR_EACH_ENTRY(sample, &stream->update_queue, struct ddraw_sample, entry) Can't we use `get_pending_sample` here?
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/8090#note_103920