- 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;
- }
- int get_num_channels() { return num_channels; }
+ // May have duplicates.
+ std::vector<RefCountedFrame> input_frames;
+ };
+
+ Chain get_chain(unsigned num, float t, unsigned width, unsigned height, InputState input_state);
+
+ int get_num_channels() const { return num_channels; }
+ int map_signal(int signal_num);