eq                 97 libavfilter/vf_eq.c static void check_values(EQParameters *param, EQContext *eq)
eq                102 libavfilter/vf_eq.c         param->adjust = eq->process;
eq                107 libavfilter/vf_eq.c static void set_contrast(EQContext *eq)
eq                109 libavfilter/vf_eq.c     eq->contrast = av_clipf(av_expr_eval(eq->contrast_pexpr, eq->var_values, eq), -1000.0, 1000.0);
eq                110 libavfilter/vf_eq.c     eq->param[0].contrast = eq->contrast;
eq                111 libavfilter/vf_eq.c     eq->param[0].lut_clean = 0;
eq                112 libavfilter/vf_eq.c     check_values(&eq->param[0], eq);
eq                115 libavfilter/vf_eq.c static void set_brightness(EQContext *eq)
eq                117 libavfilter/vf_eq.c     eq->brightness = av_clipf(av_expr_eval(eq->brightness_pexpr, eq->var_values, eq), -1.0, 1.0);
eq                118 libavfilter/vf_eq.c     eq->param[0].brightness = eq->brightness;
eq                119 libavfilter/vf_eq.c     eq->param[0].lut_clean = 0;
eq                120 libavfilter/vf_eq.c     check_values(&eq->param[0], eq);
eq                123 libavfilter/vf_eq.c static void set_gamma(EQContext *eq)
eq                127 libavfilter/vf_eq.c     eq->gamma        = av_clipf(av_expr_eval(eq->gamma_pexpr,        eq->var_values, eq), 0.1, 10.0);
eq                128 libavfilter/vf_eq.c     eq->gamma_r      = av_clipf(av_expr_eval(eq->gamma_r_pexpr,      eq->var_values, eq), 0.1, 10.0);
eq                129 libavfilter/vf_eq.c     eq->gamma_g      = av_clipf(av_expr_eval(eq->gamma_g_pexpr,      eq->var_values, eq), 0.1, 10.0);
eq                130 libavfilter/vf_eq.c     eq->gamma_b      = av_clipf(av_expr_eval(eq->gamma_b_pexpr,      eq->var_values, eq), 0.1, 10.0);
eq                131 libavfilter/vf_eq.c     eq->gamma_weight = av_clipf(av_expr_eval(eq->gamma_weight_pexpr, eq->var_values, eq), 0.0,  1.0);
eq                133 libavfilter/vf_eq.c     eq->param[0].gamma = eq->gamma * eq->gamma_g;
eq                134 libavfilter/vf_eq.c     eq->param[1].gamma = sqrt(eq->gamma_b / eq->gamma_g);
eq                135 libavfilter/vf_eq.c     eq->param[2].gamma = sqrt(eq->gamma_r / eq->gamma_g);
eq                138 libavfilter/vf_eq.c         eq->param[i].gamma_weight = eq->gamma_weight;
eq                139 libavfilter/vf_eq.c         eq->param[i].lut_clean = 0;
eq                140 libavfilter/vf_eq.c         check_values(&eq->param[i], eq);
eq                144 libavfilter/vf_eq.c static void set_saturation(EQContext *eq)
eq                148 libavfilter/vf_eq.c     eq->saturation = av_clipf(av_expr_eval(eq->saturation_pexpr, eq->var_values, eq), 0.0, 3.0);
eq                151 libavfilter/vf_eq.c         eq->param[i].contrast = eq->saturation;
eq                152 libavfilter/vf_eq.c         eq->param[i].lut_clean = 0;
eq                153 libavfilter/vf_eq.c         check_values(&eq->param[i], eq);
eq                177 libavfilter/vf_eq.c void ff_eq_init(EQContext *eq)
eq                179 libavfilter/vf_eq.c     eq->process = process_c;
eq                181 libavfilter/vf_eq.c         ff_eq_init_x86(eq);
eq                186 libavfilter/vf_eq.c     EQContext *eq = ctx->priv;
eq                188 libavfilter/vf_eq.c     ff_eq_init(eq);
eq                190 libavfilter/vf_eq.c     if ((ret = set_expr(&eq->contrast_pexpr,     eq->contrast_expr,     "contrast",     ctx)) < 0 ||
eq                191 libavfilter/vf_eq.c         (ret = set_expr(&eq->brightness_pexpr,   eq->brightness_expr,   "brightness",   ctx)) < 0 ||
eq                192 libavfilter/vf_eq.c         (ret = set_expr(&eq->saturation_pexpr,   eq->saturation_expr,   "saturation",   ctx)) < 0 ||
eq                193 libavfilter/vf_eq.c         (ret = set_expr(&eq->gamma_pexpr,        eq->gamma_expr,        "gamma",        ctx)) < 0 ||
eq                194 libavfilter/vf_eq.c         (ret = set_expr(&eq->gamma_r_pexpr,      eq->gamma_r_expr,      "gamma_r",      ctx)) < 0 ||
eq                195 libavfilter/vf_eq.c         (ret = set_expr(&eq->gamma_g_pexpr,      eq->gamma_g_expr,      "gamma_g",      ctx)) < 0 ||
eq                196 libavfilter/vf_eq.c         (ret = set_expr(&eq->gamma_b_pexpr,      eq->gamma_b_expr,      "gamma_b",      ctx)) < 0 ||
eq                197 libavfilter/vf_eq.c         (ret = set_expr(&eq->gamma_weight_pexpr, eq->gamma_weight_expr, "gamma_weight", ctx)) < 0 )
eq                200 libavfilter/vf_eq.c     if (eq->eval_mode == EVAL_MODE_INIT) {
eq                201 libavfilter/vf_eq.c         set_gamma(eq);
eq                202 libavfilter/vf_eq.c         set_contrast(eq);
eq                203 libavfilter/vf_eq.c         set_brightness(eq);
eq                204 libavfilter/vf_eq.c         set_saturation(eq);
eq                212 libavfilter/vf_eq.c     EQContext *eq = ctx->priv;
eq                214 libavfilter/vf_eq.c     av_expr_free(eq->contrast_pexpr);     eq->contrast_pexpr     = NULL;
eq                215 libavfilter/vf_eq.c     av_expr_free(eq->brightness_pexpr);   eq->brightness_pexpr   = NULL;
eq                216 libavfilter/vf_eq.c     av_expr_free(eq->saturation_pexpr);   eq->saturation_pexpr   = NULL;
eq                217 libavfilter/vf_eq.c     av_expr_free(eq->gamma_pexpr);        eq->gamma_pexpr        = NULL;
eq                218 libavfilter/vf_eq.c     av_expr_free(eq->gamma_weight_pexpr); eq->gamma_weight_pexpr = NULL;
eq                219 libavfilter/vf_eq.c     av_expr_free(eq->gamma_r_pexpr);      eq->gamma_r_pexpr      = NULL;
eq                220 libavfilter/vf_eq.c     av_expr_free(eq->gamma_g_pexpr);      eq->gamma_g_pexpr      = NULL;
eq                221 libavfilter/vf_eq.c     av_expr_free(eq->gamma_b_pexpr);      eq->gamma_b_pexpr      = NULL;
eq                226 libavfilter/vf_eq.c     EQContext *eq = inlink->dst->priv;
eq                228 libavfilter/vf_eq.c     eq->var_values[VAR_N] = 0;
eq                229 libavfilter/vf_eq.c     eq->var_values[VAR_R] = inlink->frame_rate.num == 0 || inlink->frame_rate.den == 0 ?
eq                258 libavfilter/vf_eq.c     EQContext *eq = ctx->priv;
eq                273 libavfilter/vf_eq.c     eq->var_values[VAR_N]   = inlink->frame_count_out;
eq                274 libavfilter/vf_eq.c     eq->var_values[VAR_POS] = pos == -1 ? NAN : pos;
eq                275 libavfilter/vf_eq.c     eq->var_values[VAR_T]   = TS2T(in->pts, inlink->time_base);
eq                277 libavfilter/vf_eq.c     if (eq->eval_mode == EVAL_MODE_FRAME) {
eq                278 libavfilter/vf_eq.c         set_gamma(eq);
eq                279 libavfilter/vf_eq.c         set_contrast(eq);
eq                280 libavfilter/vf_eq.c         set_brightness(eq);
eq                281 libavfilter/vf_eq.c         set_saturation(eq);
eq                293 libavfilter/vf_eq.c         if (eq->param[i].adjust)
eq                294 libavfilter/vf_eq.c             eq->param[i].adjust(&eq->param[i], out->data[i], out->linesize[i],
eq                306 libavfilter/vf_eq.c                             void (*set_fn)(EQContext *eq), AVFilterContext *ctx)
eq                308 libavfilter/vf_eq.c     EQContext *eq = ctx->priv;
eq                312 libavfilter/vf_eq.c     if (eq->eval_mode == EVAL_MODE_INIT)
eq                313 libavfilter/vf_eq.c         set_fn(eq);
eq                320 libavfilter/vf_eq.c     EQContext *eq = ctx->priv;
eq                323 libavfilter/vf_eq.c     if (!strcmp(cmd, #param_name)) return set_param(&eq->param_name##_pexpr, args, cmd, set_##set_fn_name, ctx);
eq                380 libavfilter/vf_eq.c AVFILTER_DEFINE_CLASS(eq);
eq                 48 libavfilter/vf_eq.h     void (*adjust)(struct EQParameters *eq, uint8_t *dst, int dst_stride,
eq                103 libavfilter/vf_eq.h void ff_eq_init(EQContext *eq);
eq                104 libavfilter/vf_eq.h void ff_eq_init_x86(EQContext *eq);
eq                100 libavfilter/vf_xbr.c             if (e < i && (!eq(PF,PB) && !eq(PH,PD) || eq(PE,PI)                                     \
eq                101 libavfilter/vf_xbr.c                           && (!eq(PF,I4) && !eq(PH,I5))                                             \
eq                102 libavfilter/vf_xbr.c                           || eq(PE,PG) || eq(PE,PC))) {                                             \
eq                134 libavfilter/vf_xbr.c             if (e < i && (!eq(PF,PB) && !eq(PF,PC) || !eq(PH,PD) && !eq(PH,PG) || eq(PE,PI)         \
eq                135 libavfilter/vf_xbr.c                           && (!eq(PF,F4) && !eq(PF,I4) || !eq(PH,H5) && !eq(PH,I5))                 \
eq                136 libavfilter/vf_xbr.c                           || eq(PE,PG) || eq(PE,PC))) {                                             \
eq                176 libavfilter/vf_xbr.c             if (e < i && (!eq(PF,PB) && !eq(PH,PD) || eq(PE,PI)                                     \
eq                177 libavfilter/vf_xbr.c                           && (!eq(PF,I4) && !eq(PH,I5))                                             \
eq                178 libavfilter/vf_xbr.c                           || eq(PE,PG) || eq(PE,PC))) {                                             \
eq                 65 libavfilter/x86/vf_eq_init.c av_cold void ff_eq_init_x86(EQContext *eq)
eq                 70 libavfilter/x86/vf_eq_init.c         eq->process = process_mmxext;
eq                 73 libavfilter/x86/vf_eq_init.c         eq->process = process_sse2;
eq                 50 tests/checkasm/vf_eq.c     EQContext eq;
eq                 64 tests/checkasm/vf_eq.c     ff_eq_init(&eq);
eq                 66 tests/checkasm/vf_eq.c     if (check_func(eq.process, "process")) {