diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2020-07-09 20:37:48 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2020-07-11 13:36:41 -0700 |
commit | dd9cc6cf87738dca3cde920ff15eb8ad30feb89a (patch) | |
tree | 41f07f333b327a1690510f78bbc9725347dc668f /recordmydesktop/src/rmd_initialize_data.h | |
parent | 1d0b9787dbba7ee68ac99e87a68c9fe4e63a820b (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_initialize_data.h')
0 files changed, 0 insertions, 0 deletions