X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=chroma_subsampler.h;h=6466285960eea21434eccc0455eb0ed40f483a81;hb=35efc9e3149028e6c65dceb46f60490448dcbd9f;hp=d4c1c1ed22c26c4535e476741b137145f48bcf38;hpb=aa472f3f2fcf37701198deb330d3169636151060;p=nageru diff --git a/chroma_subsampler.h b/chroma_subsampler.h index d4c1c1e..6466285 100644 --- a/chroma_subsampler.h +++ b/chroma_subsampler.h @@ -43,10 +43,13 @@ private: GLuint cbcr_program_num; // Owned by . GLuint cbcr_texture_sampler_uniform; GLuint cbcr_position_attribute_index, cbcr_texcoord_attribute_index; + GLuint cbcr_chroma_offset_0_location, cbcr_chroma_offset_1_location; GLuint uyvy_program_num; // Owned by . GLuint uyvy_y_texture_sampler_uniform, uyvy_cbcr_texture_sampler_uniform; GLuint uyvy_position_attribute_index, uyvy_texcoord_attribute_index; + GLuint uyvy_luma_offset_0_location, uyvy_luma_offset_1_location; + GLuint uyvy_chroma_offset_0_location, uyvy_chroma_offset_1_location; GLuint v210_program_num; // Compute shader, so owned by ourselves. Can be 0. GLuint v210_in_y_pos, v210_in_cbcr_pos, v210_outbuf_pos;