unsigned width, unsigned height)
: image_format(image_format),
ycbcr_format(ycbcr_format),
- finalized(false),
needs_mipmaps(false),
width(width),
height(height),
}
}
-void YCbCrInput::finalize()
-{
- finalized = true;
-}
-
void YCbCrInput::set_gl_state(GLuint glsl_program_num, const string& prefix, unsigned *sampler_num)
{
for (unsigned channel = 0; channel < 3; ++channel) {