- 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;
- }
- 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);
+ std::string get_channel_name(unsigned channel);
+ bool get_supports_set_wb(unsigned channel);
+ void set_wb(unsigned channel, double r, double g, double b);