diff options
author | Paul B Mahol <onemda@gmail.com> | 2021-02-02 16:12:34 +0100 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2021-02-02 17:53:29 +0100 |
commit | 62e24a5d80697488a3e466c96f2f666405a7ef80 (patch) | |
tree | a6c601e0c8d03ea0ebcfb7012557a63a14806e43 | |
parent | a7e826b9e13e7cc3c145a61d0aa599e6381dd12d (diff) | |
download | ffmpeg-62e24a5d80697488a3e466c96f2f666405a7ef80.tar.gz |
avfilter/vf_colorlevels: beautify define
-rw-r--r-- | libavfilter/vf_colorlevels.c | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/libavfilter/vf_colorlevels.c b/libavfilter/vf_colorlevels.c index 6ed0c06004..b4d8106133 100644 --- a/libavfilter/vf_colorlevels.c +++ b/libavfilter/vf_colorlevels.c @@ -120,22 +120,22 @@ typedef struct ThreadData { int omin; } ThreadData; -#define LOAD_COMMON\ - ColorLevelsContext *s = ctx->priv;\ - const ThreadData *td = arg;\ -\ - int process_h = td->h;\ - const int slice_start = (process_h * jobnr ) / nb_jobs;\ - const int slice_end = (process_h * (jobnr+1)) / nb_jobs;\ - int x, y;\ - const uint8_t *srcrow = td->srcrow;\ - uint8_t *dstrow = td->dstrow;\ - const int step = s->step;\ - const uint8_t offset = td->offset;\ -\ - int imin = td->imin;\ - int omin = td->omin;\ - double coeff = td->coeff;\ +#define LOAD_COMMON \ + ColorLevelsContext *s = ctx->priv; \ + const ThreadData *td = arg; \ + \ + int process_h = td->h; \ + const int slice_start = (process_h * jobnr ) / nb_jobs; \ + const int slice_end = (process_h * (jobnr+1)) / nb_jobs; \ + int x, y; \ + const uint8_t *srcrow = td->srcrow; \ + uint8_t *dstrow = td->dstrow; \ + const int step = s->step; \ + const uint8_t offset = td->offset; \ + \ + int imin = td->imin; \ + int omin = td->omin; \ + double coeff = td->coeff; static int colorlevel_slice_8(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) { |