Only assigned, never read.
Showing the changes to libavfilter (1 of 1 file). Show all
Unified · Split
| @@ -132,12 +132,6 @@ typedef struct ZScaleContext { · 131 unmodified lines | |||
| 132 | zimg_graph_builder_params alpha_params, params; | 132 | zimg_graph_builder_params alpha_params, params; |
| 133 | zimg_graph_builder_params alpha_params_tmp, params_tmp; | 133 | zimg_graph_builder_params alpha_params_tmp, params_tmp; |
| 134 | zimg_filter_graph *alpha_graph[MAX_THREADS], *graph[MAX_THREADS]; | 134 | zimg_filter_graph *alpha_graph[MAX_THREADS], *graph[MAX_THREADS]; |
| 135 | |||
| 136 | enum AVColorSpace in_colorspace, out_colorspace; | ||
| 137 | enum AVColorTransferCharacteristic in_trc, out_trc; | ||
| 138 | enum AVColorPrimaries in_primaries, out_primaries; | ||
| 139 | enum AVColorRange in_range, out_range; | ||
| 140 | enum AVChromaLocation in_chromal, out_chromal; | ||
| 141 | } ZScaleContext; | 135 | } ZScaleContext; |
| 142 | 136 | ||
| 143 | typedef struct ThreadData { | 137 | typedef struct ThreadData { |
| @@ -816,15 +810,6 @@ static int filter_frame(AVFilterLink *link, AVFrame *in) · 672 unmodified lines | |||
| 816 | link->dst->inputs[0]->h = in->height; | 810 | link->dst->inputs[0]->h = in->height; |
| 817 | 811 | ||
| 818 | s->nb_threads = av_clip(FFMIN(ff_filter_get_nb_threads(ctx), FFMIN(link->h, outlink->h) / MIN_TILESIZE), 1, MAX_THREADS); | 812 | s->nb_threads = av_clip(FFMIN(ff_filter_get_nb_threads(ctx), FFMIN(link->h, outlink->h) / MIN_TILESIZE), 1, MAX_THREADS); |
| 819 | s->in_colorspace = in->colorspace; | ||
| 820 | s->in_trc = in->color_trc; | ||
| 821 | s->in_primaries = in->color_primaries; | ||
| 822 | s->in_range = in->color_range; | ||
| 823 | s->out_colorspace = out->colorspace; | ||
| 824 | s->out_trc = out->color_trc; | ||
| 825 | s->out_primaries = out->color_primaries; | ||
| 826 | s->out_range = out->color_range; | ||
| 827 | |||
| 828 | slice_params(s, out->height, in->height); | 813 | slice_params(s, out->height, in->height); |
| 829 | 814 | ||
| 830 | zimg_image_format_default(&s->src_format, ZIMG_API_VERSION); | 815 | zimg_image_format_default(&s->src_format, ZIMG_API_VERSION); |