X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=pbo_frame_allocator.h;h=8f1f9a9fa134a32563703f1c46caacc5315b30a3;hb=a5f333ac7b03d301072568249595a16e6fe27535;hp=118ecd6c23812ff9f1f57f2bb6fb5380bed1bcc2;hpb=ce9d5f1c2ef4b6535e5fb9ea0265ed2a948f15d6;p=nageru diff --git a/pbo_frame_allocator.h b/pbo_frame_allocator.h index 118ecd6..8f1f9a9 100644 --- a/pbo_frame_allocator.h +++ b/pbo_frame_allocator.h @@ -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; };