mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-07 07:58:51 +00:00
goom: ff and iff are only used in a '#ifdef DRAW_MOTIF' block.
This commit is contained in:
parent
5c52506d07
commit
c185a8db9d
1 changed files with 2 additions and 0 deletions
|
@ -283,12 +283,14 @@ convolve_apply (VisualFX * _this, Pixel * src, Pixel * dest, PluginInfo * info)
|
||||||
{
|
{
|
||||||
|
|
||||||
ConvData *data = (ConvData *) _this->fx_data;
|
ConvData *data = (ConvData *) _this->fx_data;
|
||||||
|
#ifdef DRAW_MOTIF
|
||||||
float ff;
|
float ff;
|
||||||
int iff;
|
int iff;
|
||||||
|
|
||||||
ff = (FVAL (data->factor_p) * FVAL (data->factor_adj_p) +
|
ff = (FVAL (data->factor_p) * FVAL (data->factor_adj_p) +
|
||||||
FVAL (data->light)) / 100.0f;
|
FVAL (data->light)) / 100.0f;
|
||||||
iff = (unsigned int) (ff * 256);
|
iff = (unsigned int) (ff * 256);
|
||||||
|
#endif
|
||||||
|
|
||||||
{
|
{
|
||||||
double fcycle = (double) info->cycle;
|
double fcycle = (double) info->cycle;
|
||||||
|
|
Loading…
Reference in a new issue