[FFmpeg-devel] [PATCH 1/2] avfilter/vf_lut3d: increase MAX_LEVEL

Paul B Mahol onemda at gmail.com
Sat Apr 27 13:29:44 EEST 2019

On 4/27/19, Clément Bœsch <u at pkh.me> wrote:
> On Thu, Apr 25, 2019 at 04:47:00PM +0200, Paul B Mahol wrote:
>> On 4/25/19, Reto Kromer <lists at reto.ch> wrote:
>> > Paul B Mahol wrote:
>> >
>> >>Found 65x65x65 3D LUT in wild
>> >
>> > FYI: 128x128x128 3D LUTs do also exist in film production.
>> >
>> Thank you, changed locally.
> This means one single malloc of 24M unless I'm mistaken. Are we sure
> that's what we want?

So you want this to be dynamically allocated? How you want to access elements?
As one big 1d array with size*size*i + size*i + i access or with
casting (which, if works at all
for all compilers is part of C99).

More information about the ffmpeg-devel mailing list