X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=ycbcr_input.h;fp=ycbcr_input.h;h=ed0c6ee1b786c5535ca9782b9c2b75912689f04d;hp=379279fbf7e101afda0684b7e446c7d7b0f93299;hb=89da3437c862c15acb870fbe3175b9e4a0a8244a;hpb=05842e6ea3346ae7f1f31c661c056d6031b83f24 diff --git a/ycbcr_input.h b/ycbcr_input.h index 379279f..ed0c6ee 100644 --- a/ycbcr_input.h +++ b/ycbcr_input.h @@ -66,12 +66,6 @@ public: 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) { @@ -80,11 +74,6 @@ public: } } - unsigned get_pitch(unsigned channel) { - assert(channel >= 0 && channel < 3); - return pitch[channel]; - } - private: ImageFormat image_format; YCbCrFormat ycbcr_format;