Closed NicolasHug closed 1 week ago
Can you add a TODO to write a test that confirms the data_ptr in the pre-allocated tensor is the same as the return value in both color-conversion library cases? Otherwise this can regress and we would not know any better.
Doesn't have to be this diff. You can do it later.
Up until now, the
preAllocatedOutputTensor
parameter of our low-level decoding functions was only considered forswscale
. It is now honored in all cases, i.e. whenfiltergraph
is used.