[FFmpeg-devel] [PATCH] add yuv444p support to mcdeint
Michael Niedermayer
michael at niedermayer.cc
Fri May 30 03:58:39 EEST 2025
On Tue, May 27, 2025 at 01:24:57PM -0500, Ethan Halsall wrote:
> Signed-off-by: Ethan Halsall <ethanhalsall11 at augustana.edu>
> ---
> libavfilter/vf_mcdeint.c | 32 ++++++++++++++++++++++++++++----
> 1 file changed, 28 insertions(+), 4 deletions(-)
>
> diff --git a/libavfilter/vf_mcdeint.c b/libavfilter/vf_mcdeint.c
> index 82048b51d0..11ad19f5cd 100644
> --- a/libavfilter/vf_mcdeint.c
> +++ b/libavfilter/vf_mcdeint.c
> @@ -51,8 +51,10 @@
> #include "libavutil/opt.h"
> #include "libavcodec/avcodec.h"
> +#include "libavutil/pixdesc.h"
> #include "avfilter.h"
> #include "filters.h"
> +#include "formats.h"
> #include "video.h"
> enum MCDeintMode {
> @@ -76,6 +78,7 @@ typedef struct MCDeintContext {
> AVPacket *pkt;
> AVFrame *frame_dec;
> AVCodecContext *enc_ctx;
> + const AVPixFmtDescriptor *pix_fmt_desc;
> } MCDeintContext;
> #define OFFSET(x) offsetof(MCDeintContext, x)
> @@ -99,6 +102,17 @@ static const AVOption mcdeint_options[] = {
> AVFILTER_DEFINE_CLASS(mcdeint);
> +static const enum AVPixelFormat pix_fmts[] = {
> + AV_PIX_FMT_YUV420P,
> + AV_PIX_FMT_YUV444P,
> + AV_PIX_FMT_NONE
> +};
> +
Applying: add yuv444p support to mcdeint
error: corrupt patch at line 18
this patch is somehow corrupted, that above is not a valid diff
make sure the output of git format-patch is not modified
thx
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Breaking DRM is a little like attempting to break through a door even
though the window is wide open and the only thing in the house is a bunch
of things you dont want and which you would get tomorrow for free anyway
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20250530/628f8ab8/attachment.sig>
More information about the ffmpeg-devel
mailing list