[FFmpeg-devel] [PATCH] hwupload_cuda : Add 10/16 bit format support
Philip Langdale
philipl at overt.org
Fri Aug 4 01:33:59 EEST 2017
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Wed, 19 Jul 2017 17:46:30 +0200
Michael Niedermayer <michael at niedermayer.cc> wrote:
> 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 <ygupta at nvidia.com> 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
>
> [...]
>
Pushed with that changed.
Thanks,
- --phil
-----BEGIN PGP SIGNATURE-----
iEYEARECAAYFAlmDpNcACgkQ+NaxlGp1aC6HVACeLECFdRfj+32cl9Jy6mr5TPdE
HiYAnRZhC6WDwYp+C+Q4yuOIqM/AZLxw
=QaYA
-----END PGP SIGNATURE-----
More information about the ffmpeg-devel
mailing list