[Development] QAbstractVideoFilter, the pipeline and QImage

2018-12-21 Thread Jason H
I sent a message on interest@ but no one replied so I'm escalating it here. I am making a series of filters, but I'm encountering performance issues. I think it's because of lack of my understanding, or detail in the docs. The filter pipeline starts with a file or camera device, and various filt

Re: [Development] Braces (was Resolving coding style contentions)

2018-12-21 Thread Thiago Macieira
On Friday, 21 December 2018 13:12:01 -02 Jason H wrote: > I'd like to get everything down to one style (preferable QML's) Not going to happen. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center ___

Re: [Development] Braces (was Resolving coding style contentions)

2018-12-21 Thread Konstantin Tokarev
21.12.2018, 18:41, "Jason H" : > This is probably hijacking your post, but I've always found it bad style to > have different conventions for C++ and QML. > > //C++ convention > int Class::memberF() > { > > } > > //QM convention:, compressed is used: > Rectangle { >    onVisibleChanged: { >

Re: [Development] Braces (was Resolving coding style contentions)

2018-12-21 Thread Jason H
This is probably hijacking your post, but I've always found it bad style to have different conventions for C++ and QML. //C++ convention int Class::memberF() { } //QM convention:, compressed is used: Rectangle { onVisibleChanged: { } } I'd like to get everything down to one

Re: [Development] Braces (was Re: Resolving coding style contentions)

2018-12-21 Thread Thiago Macieira
On Friday, 21 December 2018 04:59:34 -02 Alberto Mardegan wrote: > Hi all! > Speaking of coding style again, I haven't found any indication in the > coding guidelines about brace vs parentheses in initializations. Because it wasn't a possibility before C++11. I'd say we prefer assignment wherev