On Tue, Jul 18, 2017 at 10:34:20AM +0000, Yogender Gupta wrote: > Added 10/16bit formats to hwupload_cuda. > > Thanks, > Yogender > > ----------------------------------------------------------------------------------- > This email message is for the sole use of the intended recipient(s) and may > contain > confidential information. Any unauthorized review, use, disclosure or > distribution > is prohibited. If you are not the intended recipient, please contact the > sender by > reply email and destroy all copies of the original message. > -----------------------------------------------------------------------------------
> vf_hwupload_cuda.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > 49188f1bd1da5d94a1236c4da55a2609e7906f36 > 0001-hwupload_cuda-Add-10-16-bit-format-support.patch > From 0c780f59188edcef25a43aa6e6f375b51b87c22b Mon Sep 17 00:00:00 2001 > From: Yogender Gupta <[email protected]> > Date: Tue, 18 Jul 2017 16:01:02 +0530 > Subject: [PATCH] hwupload_cuda : Add 10/16 bit format support > > --- > libavfilter/vf_hwupload_cuda.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavfilter/vf_hwupload_cuda.c b/libavfilter/vf_hwupload_cuda.c > index ef98233..fe872d8 100644 > --- a/libavfilter/vf_hwupload_cuda.c > +++ b/libavfilter/vf_hwupload_cuda.c > @@ -58,7 +58,7 @@ static int cudaupload_query_formats(AVFilterContext *ctx) > > static const enum AVPixelFormat input_pix_fmts[] = { > AV_PIX_FMT_NV12, AV_PIX_FMT_YUV420P, AV_PIX_FMT_YUV444P, > - AV_PIX_FMT_NONE, > + AV_PIX_FMT_P010, AV_PIX_FMT_P016, AV_PIX_FMT_YUV444P16, > AV_PIX_FMT_NONE, I suggest to keep AV_PIX_FMT_NONE, on the last line alone that way patches adding formats at the end dont need to change it [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB "You are 36 times more likely to die in a bathtub than at the hands of a terrorist. Also, you are 2.5 times more likely to become a president and 2 times more likely to become an astronaut, than to die in a terrorist attack." -- Thoughty2
signature.asc
Description: Digital signature
_______________________________________________ ffmpeg-devel mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
