- 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; }
+ // FRAME_HISTORY frames for each input, in order. Will contain duplicates
+ // for non-interlaced inputs.
+ 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);
+ void set_signal_mapping(int signal_num, int card_num);
+ std::string get_channel_name(unsigned channel);
+ int get_channel_signal(unsigned channel);
+ bool get_supports_set_wb(unsigned channel);
+ void set_wb(unsigned channel, double r, double g, double b);
+ std::string get_channel_color(unsigned channel);
+
+ std::vector<std::string> get_transition_names(float t);