Searched refs:y_target (Results 1 – 2 of 2) sorted by relevance
91 float y_max = 0.0f, y_target = 0.0f; in prepare_parameters() local172 y_target = (hist_bin_count / y_saturated) * (1.5 * y_medium + 0.5 * y_average) / 2; in prepare_parameters()174 if (y_target < 4) { in prepare_parameters()175 y_target = 4; in prepare_parameters()177 if ((y_target > y_saturated) || (y_saturated < 4)) { in prepare_parameters()178 y_target = y_saturated / 4; in prepare_parameters()181 y_max = hist_bin_count * (2 * y_saturated + y_target) / y_saturated - y_saturated - y_target; in prepare_parameters()183 y_target = y_target / pow(2, stats_ptr->info.bit_depth - 8); in prepare_parameters()190 args.push_back (new CLArgumentT<float> (y_target)); in prepare_parameters()
14 …only image2d_t input, __write_only image2d_t output, float y_max, float y_target, int image_height)96 …float4 gain = ((float4)(y_max + y_target) + src_ym_data) / (src_y_data + src_ym_data + (float4)y_t…