Re: [Patch v2 16/21] media: ti-vpe: vpe: use standard struct instead of duplicating fields

2019-10-07 Thread Benoit Parrot
Hans Verkuil wrote on Mon [2019-Oct-07 09:57:26 +0200]: > On 10/4/19 6:29 PM, Benoit Parrot wrote: > > For each queue we need to maintain resolutions, pixel format, > > bytesperline, sizeimage, colorspace, etc. > > > > Instead of manually adding more entries in the vpe_q_data struct, it is > > be

Re: [Patch v2 16/21] media: ti-vpe: vpe: use standard struct instead of duplicating fields

2019-10-07 Thread Hans Verkuil
On 10/4/19 6:29 PM, Benoit Parrot wrote: > For each queue we need to maintain resolutions, pixel format, > bytesperline, sizeimage, colorspace, etc. > > Instead of manually adding more entries in the vpe_q_data struct, it is > better to just add a "struct v4l2_format" member and use that to store

[Patch v2 16/21] media: ti-vpe: vpe: use standard struct instead of duplicating fields

2019-10-04 Thread Benoit Parrot
For each queue we need to maintain resolutions, pixel format, bytesperline, sizeimage, colorspace, etc. Instead of manually adding more entries in the vpe_q_data struct, it is better to just add a "struct v4l2_format" member and use that to store all needed information. Signed-off-by: Benoit Parr