Re: Dynamic array control support: please test!
From: Ezequiel Garcia <hidden>
Date: 2021-05-12 12:21:46
Hi John, On Thursday, April 29, 2021 14:56 -03, John Cox [off-list ref] wrote:
Hiquoted
Hi Ezequiel, John, After creating extensive new compliance tests for this feature I am now confident enough about the implementation. You can find it here: https://git.linuxtv.org/hverkuil/media_tree.git/log/?h=ctrl-refactor There are two items that I want to fix before I will post this: 1) The new flag needs to be documented 2) I think there are some simplifications possible w.r.t. storing the size of the new array, I want to look at that a bit more. In the meantime it would be great if some testing of this series can be done with real drivers instead of just vivid.Well I finally managed to put together your patch (in 5.10), tweaked driver & ffmpeg to have a variable noof slice headers and it all seems to work well. With the code I have it doesn't give a significant improvement in performance over 1 slice at a time but that is probably because I have multithreaded userland code and take liberties with buffer returns from the driver that Ezequiel disaproves of (but my ffmpeg code is happy with).
I don't think I have ever disapproved anything (and if I made it sound like that, it was a mistake). Quite the opposite, I am more than supportive to see get more drivers merged upstream. Thanks! Ezequiel