YCbCrInput(const ImageFormat &image_format,
const YCbCrFormat &ycbcr_format,
unsigned width, unsigned height);
+ ~YCbCrInput();
virtual std::string effect_type_id() const { return "YCbCrInput"; }
needs_update = true;
}
- const unsigned char *get_pixel_data(unsigned channel) const
- {
- assert(channel >= 0 && channel < 3);
- return pixel_data[channel];
- }
-
void set_pitch(unsigned channel, unsigned pitch) {
assert(channel >= 0 && channel < 3);
if (this->pitch[channel] != pitch) {
}
}
- unsigned get_pitch(unsigned channel) {
- assert(channel >= 0 && channel < 3);
- return pitch[channel];
- }
-
private:
ImageFormat image_format;
YCbCrFormat ycbcr_format;