]> git.sesse.net Git - movit/blobdiff - ycbcr_422interleaved_input.h
Update another outdated comment.
[movit] / ycbcr_422interleaved_input.h
index b7000a04166a0ee13fd89e96b6481659efd62e74..a8c77738f752a32866f6b759ca2b564164f96c9a 100644 (file)
 // RGBA texture (from which we sample chroma). We throw away half of the color
 // channels each time, so bandwidth is wasted, but it makes for a very
 // uncomplicated shader.
+//
+// Note that if you can shuffle your data around very cheaply on the CPU
+// (say, while you're decoding it out of some other buffer anyway),
+// regular YCbCrInput with YCBCR_INPUT_SPLIT_Y_AND_CBCR will probably be
+// more efficient, as it doesn't need this bandwidth waste.
 
 #include <epoxy/gl.h>
 #include <string>