Unified · Split
| @@ -118,7 +118,8 @@ static av_cold enum AVPixelFormat match_pixfmt(const VSFormat *vsf, int c_order[ · 117 unmodified lines | |||
| 118 | pixfmt = av_pix_fmt_desc_get_id(pd); | 118 | pixfmt = av_pix_fmt_desc_get_id(pd); |
| 119 | 119 | ||
| 120 | if (pd->flags & (AV_PIX_FMT_FLAG_BAYER | AV_PIX_FMT_FLAG_ALPHA | | 120 | if (pd->flags & (AV_PIX_FMT_FLAG_BAYER | AV_PIX_FMT_FLAG_ALPHA | |
| 121 | AV_PIX_FMT_FLAG_HWACCEL | AV_PIX_FMT_FLAG_BITSTREAM)) | 121 | AV_PIX_FMT_FLAG_HWACCEL | AV_PIX_FMT_FLAG_BITSTREAM | |
| 122 | AV_PIX_FMT_FLAG_XYZ)) | ||
| 122 | continue; | 123 | continue; |
| 123 | 124 | ||
| 124 | if (pd->log2_chroma_w != vsf->subSamplingW || | 125 | if (pd->log2_chroma_w != vsf->subSamplingW || |
| @@ -141,9 +142,6 @@ static av_cold enum AVPixelFormat match_pixfmt(const VSFormat *vsf, int c_order[ · 16 unmodified lines | |||
| 141 | if (av_pix_fmt_count_planes(pixfmt) != vsf->numPlanes) | 142 | if (av_pix_fmt_count_planes(pixfmt) != vsf->numPlanes) |
| 142 | continue; | 143 | continue; |
| 143 | 144 | ||
| 144 | if (strncmp(pd->name, "xyz", 3) == 0) | ||
| 145 | continue; | ||
| 146 | |||
| 147 | if (!is_native_endian(pixfmt)) | 145 | if (!is_native_endian(pixfmt)) |
| 148 | continue; | 146 | continue; |
| 149 | 147 | ||