summaryrefslogtreecommitdiff
path: root/recordmydesktop/src/rmd_getzpixmap.h
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2020-07-09 20:37:48 -0700
committerVito Caputo <vcaputo@pengaru.com>2020-07-11 13:36:41 -0700
commitdd9cc6cf87738dca3cde920ff15eb8ad30feb89a (patch)
tree41f07f333b327a1690510f78bbc9725347dc668f /recordmydesktop/src/rmd_getzpixmap.h
parent1d0b9787dbba7ee68ac99e87a68c9fe4e63a820b (diff)
yuv_utils: fixup dirty blocknum() parameters
This needs to maintain dirty blocks in the yuv frame coordinates, not in the captured image's cooridinates. The existing code assumes those are the same in double-buffer mode where the dirty block tracking is applied. But I'm working towards allowing the captured image dimensions to be free from the 16x16 alignment constraints the yuv buffers must conform to for theora. To handle that future, the block coordinates should at least use the (yuv)->y_width, not width_tm. I also added shifting the x,y but in double-buffer mode that shouldn't actually be needed since it'd always be full-shots unless I'm mistaken.
Diffstat (limited to 'recordmydesktop/src/rmd_getzpixmap.h')
0 files changed, 0 insertions, 0 deletions
© All Rights Reserved