240
251
float bgamma = exp(log(8.0) * eq_bgamma / 100.0);
241
252
gl_conversion_params_t params = {gl_target, yuvconvtype,
242
253
{colorspace, levelconv, bri, cont, hue, sat, rgamma, ggamma, bgamma, 0},
243
texture_width, texture_height, 0, 0, filter_strength};
254
texture_width, texture_height, 0, 0, filter_strength, noise_strength};
244
255
mp_get_chroma_shift(image_format, &xs, &ys, &depth);
245
256
params.chrom_texw = params.texw >> xs;
246
257
params.chrom_texh = params.texh >> ys;