summaryrefslogtreecommitdiff
path: root/src/lib/pixel_quanta.cc
AgeCommit message (Collapse)Author
2022-08-04wip: got stuck... because PlayerVideo is related to the render sizeadjust-sizingCarl Hetherington
because its subtitles are prepared for the _video_container_size that the Player knows about. I think the only way around this would be to store the subs in PlayerVideo in some independent way and to scale/convert to bitmap later.
2021-10-03Don't scale chroma subsampled images to sizes that don't align with the ↵v2.15.166Carl Hetherington
subsampling (#1872). There's a slightly odd effect when scaling e.g. YVU420 images to odd and then even widths - there's a small but visible luminance shift. I don't know why this happens, but keeping the scaling sizes locked to the subsampling seems to help.
2021-10-03Differentiate requested and actual crop.Carl Hetherington
This is so we limit cropping to what is possible considering chroma subsampling.
2021-10-03Add PixelQuanta to VideoContent.Carl Hetherington