]> git.sesse.net Git - nageru/commit
Subsample chroma on the GPU instead of the CPU.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 16 Sep 2018 16:23:05 +0000 (18:23 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 16 Sep 2018 16:34:16 +0000 (18:34 +0200)
commit2eca06acb1668ccf543ed375e9ac59790672bad3
treea4ae019f23592e634e887b2a1569ee41f2cba1d9
parented7c9a23dda18b66f40b66698be20c2d5a3d6610
Subsample chroma on the GPU instead of the CPU.

Faster, and also gets the subsampling right. The shaders come from Nageru,
but the support code is heavily tweaked to be more like flow.h.
Makefile
chroma_subsample.frag [new file with mode: 0644]
chroma_subsample.vert [new file with mode: 0644]
chroma_subsampler.cpp [new file with mode: 0644]
chroma_subsampler.h [new file with mode: 0644]
video_stream.cpp
video_stream.h