You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-07-06 06:27:36 +02:00
@ -239,14 +239,14 @@ static av_cold int init_filter(AVFilterContext *ctx, AVFrame *in)
|
|||||||
RET(ff_vk_init_compute_pipeline(vkctx, s->pl));
|
RET(ff_vk_init_compute_pipeline(vkctx, s->pl));
|
||||||
|
|
||||||
if (s->vkctx.output_format != s->vkctx.input_format) {
|
if (s->vkctx.output_format != s->vkctx.input_format) {
|
||||||
const struct LumaCoefficients *lcoeffs;
|
const AVLumaCoefficients *lcoeffs;
|
||||||
double tmp_mat[3][3];
|
double tmp_mat[3][3];
|
||||||
|
|
||||||
struct {
|
struct {
|
||||||
float yuv_matrix[4][4];
|
float yuv_matrix[4][4];
|
||||||
} *par;
|
} *par;
|
||||||
|
|
||||||
lcoeffs = ff_get_luma_coefficients(in->colorspace);
|
lcoeffs = av_csp_luma_coeffs_from_avcsp(in->colorspace);
|
||||||
if (!lcoeffs) {
|
if (!lcoeffs) {
|
||||||
av_log(ctx, AV_LOG_ERROR, "Unsupported colorspace\n");
|
av_log(ctx, AV_LOG_ERROR, "Unsupported colorspace\n");
|
||||||
return AVERROR(EINVAL);
|
return AVERROR(EINVAL);
|
||||||
|
Reference in New Issue
Block a user