[FFmpeg-devel] [PATCH 1/8] compat/cuda: add dynamic loader
h.leppkes at gmail.com
Wed Oct 19 17:25:33 EEST 2016
On Wed, Oct 19, 2016 at 3:32 PM, Sven C. Dack <sven.c.dack at sky.com> wrote:
> On 19/10/16 13:50, Hendrik Leppkes wrote:
>> On Wed, Oct 19, 2016 at 2:00 PM, Timo Rothenpieler
>> <timo at rothenpieler.org> wrote:
>>> compat/cuda/dynlink_cuda.h | 88 +++++
>>> compat/cuda/dynlink_cuviddec.h | 808
>>> compat/cuda/dynlink_loader.h | 254 +++++++++++++
>>> compat/cuda/dynlink_nvcuvid.h | 316 ++++++++++++++++
>>> 4 files changed, 1466 insertions(+)
>>> create mode 100644 compat/cuda/dynlink_cuda.h
>>> create mode 100644 compat/cuda/dynlink_cuviddec.h
>>> create mode 100644 compat/cuda/dynlink_loader.h
>>> create mode 100644 compat/cuda/dynlink_nvcuvid.h
>>> diff --git a/compat/cuda/dynlink_cuda.h b/compat/cuda/dynlink_cuda.h
>>> new file mode 100644
>>> index 0000000..908f12d
>>> --- /dev/null
>>> +++ b/compat/cuda/dynlink_cuda.h
>>> @@ -0,0 +1,88 @@
>>> + * This file is part of FFmpeg.
>>> + *
>>> + * FFmpeg is free software; you can redistribute it and/or
>>> + * modify it under the terms of the GNU Lesser General Public
>>> + * License as published by the Free Software Foundation; either
>>> + * version 2.1 of the License, or (at your option) any later version.
>>> + *
>>> + * FFmpeg is distributed in the hope that it will be useful,
>>> + * but WITHOUT ANY WARRANTY; without even the implied warranty of
>>> + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
>>> + * Lesser General Public License for more details.
>>> + *
>>> + * You should have received a copy of the GNU Lesser General Public
>>> + * License along with FFmpeg; if not, write to the Free Software
>>> + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
>>> 02110-1301 USA
>>> + */
>> So did you write this without once looking at the NVIDIA header file?
>> Because if you did even read it, then you can't realistically claim
>> this is LGPL.
> Nvidia's copyright notice seem pretty clear to me. It grants permission to
> sublicense it without limitation and without restriction. So which part
> exactly in Nvidia's copyright notice do you have a problem with?
You seem to be referring to the license of the cuvid files, which is
not the license actually used by the CUDA headers. The CUDA headers
are under a full proprietary license with no such permission.
More information about the ffmpeg-devel