- void set_input_textures(int signal_num, GLuint tex_y, GLuint tex_cbcr) {
- input_textures[signal_num].tex_y = tex_y;
- input_textures[signal_num].tex_cbcr = tex_cbcr;
+ void set_input_textures(int signal_num, GLuint tex_y, GLuint tex_cbcr, GLuint width, GLuint height) {
+ auto &tex = input_textures[signal_num];
+ tex.tex_y = tex_y;
+ tex.tex_cbcr = tex_cbcr;
+ tex.width = width;
+ tex.height = height;