]> git.sesse.net Git - nageru/commitdiff
Correct some comments.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sat, 20 May 2017 10:33:13 +0000 (12:33 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sat, 20 May 2017 10:33:13 +0000 (12:33 +0200)
pbo_frame_allocator.h

index 118ecd6c23812ff9f1f57f2bb6fb5380bed1bcc2..8f1f9a9fa134a32563703f1c46caacc5315b30a3 100644 (file)
@@ -38,11 +38,11 @@ public:
                bmusb::PixelFormat pixel_format;
 
                // The second set is only used for the second field of interlaced inputs.
-               GLuint tex_y[2], tex_cbcr[2];  // For FRAME_FORMAT_YCBCR_8BIT.
-               GLuint tex_v210[2], tex_444[2];  // For FRAME_FORMAT_YCBCR_10BIT.
-               GLuint tex_rgba[2];  // For FRAME_FORMAT_RGBA_8BIT.
+               GLuint tex_y[2], tex_cbcr[2];  // For PixelFormat_8BitYCbCr.
+               GLuint tex_v210[2], tex_444[2];  // For PixelFormat_10BitYCbCr.
+               GLuint tex_rgba[2];  // For PixelFormat_8BitBGRA.
                GLuint last_width[2], last_height[2];
-               GLuint last_v210_width[2];  // FRAME_FORMAT_YCBCR_10BIT.
+               GLuint last_v210_width[2];  // PixelFormat_10BitYCbCr.
                bool last_interlaced, last_has_signal, last_is_connected;
                unsigned last_frame_rate_nom, last_frame_rate_den;
        };