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

Clément Bœsch u at pkh.me
Sat Apr 27 14:20:30 EEST 2019


On Sat, Apr 27, 2019 at 12:29:44PM +0200, Paul B Mahol wrote:
> 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?

It is actually already dynamically allocated (the private context is), but
I suppose you meant individual allocs for each dimension. It really is an
open question. Maybe it's not an issue, it's just that I would just think
twice before doing such change because I would assume it would impact
performance on low-end machines due to more sparse memory accesses.

[...]

-- 
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20190427/e10b5860/attachment.sig>


More information about the ffmpeg-devel mailing list