This was broken in d42b410e05ad1c4d6e74aa981b4a4423103291fb.
Unified · Split
| @@ -239,14 +239,14 @@ static av_cold int init_filter(AVFilterContext *ctx, AVFrame *in) · 238 unmodified lines | |||
| 239 | RET(ff_vk_init_compute_pipeline(vkctx, s->pl)); | 239 | RET(ff_vk_init_compute_pipeline(vkctx, s->pl)); |
| 240 | 240 | ||
| 241 | if (s->vkctx.output_format != s->vkctx.input_format) { | 241 | if (s->vkctx.output_format != s->vkctx.input_format) { |
| 242 | const struct LumaCoefficients *lcoeffs; | 242 | const AVLumaCoefficients *lcoeffs; |
| 243 | double tmp_mat[3][3]; | 243 | double tmp_mat[3][3]; |
| 244 | 244 | ||
| 245 | struct { | 245 | struct { |
| 246 | float yuv_matrix[4][4]; | 246 | float yuv_matrix[4][4]; |
| 247 | } *par; | 247 | } *par; |
| 248 | 248 | ||
| 249 | lcoeffs = ff_get_luma_coefficients(in->colorspace); | 249 | lcoeffs = av_csp_luma_coeffs_from_avcsp(in->colorspace); |
| 250 | if (!lcoeffs) { | 250 | if (!lcoeffs) { |
| 251 | av_log(ctx, AV_LOG_ERROR, "Unsupported colorspace\n"); | 251 | av_log(ctx, AV_LOG_ERROR, "Unsupported colorspace\n"); |
| 252 | return AVERROR(EINVAL); | 252 | return AVERROR(EINVAL); |