eq2->buf[0] = realloc (eq2->buf[0], img_n);
}
- dst = vf_get_image (vf->next, src->imgfmt, MP_IMGTYPE_EXPORT, 0, src->w, src->h);
+ dst = ff_vf_get_image (vf->next, src->imgfmt, MP_IMGTYPE_EXPORT, 0, src->w, src->h);
for (i = 0; i < ((src->num_planes>1)?3:1); i++) {
if (eq2->param[i].adjust != NULL) {
}
}
- return vf_next_put_image (vf, dst, pts);
+ return ff_vf_next_put_image (vf, dst, pts);
}
static
par->adjust = NULL;
}
#if HAVE_MMX
- else if (par->g == 1.0 && gCpuCaps.hasMMX) {
+ else if (par->g == 1.0 && ff_gCpuCaps.hasMMX) {
par->adjust = &affine_1d_MMX;
}
#endif
static
void print_values (vf_eq2_t *eq2)
{
- mp_msg (MSGT_VFILTER, MSGL_V, "vf_eq2: c=%.2f b=%.2f g=%.4f s=%.2f \n",
+ ff_mp_msg (MSGT_VFILTER, MSGL_V, "vf_eq2: c=%.2f b=%.2f g=%.4f s=%.2f \n",
eq2->contrast, eq2->brightness, eq2->gamma, eq2->saturation
);
}
break;
}
- return vf_next_control (vf, request, data);
+ return ff_vf_next_control (vf, request, data);
}
static
case IMGFMT_444P:
case IMGFMT_422P:
case IMGFMT_411P:
- return vf_next_query_format (vf, fmt);
+ return ff_vf_next_query_format (vf, fmt);
}
return 0;
return 1;
}
-const vf_info_t vf_info_eq2 = {
+const vf_info_t ff_vf_info_eq2 = {
"Software equalizer",
"eq2",
"Hampa Hug, Daniel Moreno, Richard Felker",