[PATCH v3 3/6] documentation: media: Add documentation for new RGB and YUV bus formats
Hans Verkuil
hverkuil at xs4all.nl
Mon Mar 20 08:04:18 PDT 2017
On 03/17/2017 05:11 PM, Neil Armstrong wrote:
> On 03/16/2017 06:01 PM, Archit Taneja wrote:
>>
>>
>> On 3/7/2017 10:12 PM, Neil Armstrong wrote:
>>> Add documentation for added Bus Formats to describe RGB and YUS formats used
>>
>> s/YUS/YUV
>
> Thanks again....
>
>>
>>> as input to the Synopsys DesignWare HDMI TX Controller.
>>>
>>> Signed-off-by: Neil Armstrong <narmstrong at baylibre.com>
>>> ---
>>> Documentation/media/uapi/v4l/subdev-formats.rst | 4992 ++++++++++++++++++-----
>>> 1 file changed, 3963 insertions(+), 1029 deletions(-)
>>
>> Do we know if there is a better way to add more columns without
>> adding so many lines?
>
> It seems not, the reason is written in the commands.
>
>> If not, one option could be to create a separate tables for
>> 48 bit RGB formats, 48 bit YUV formats etc.
>
> It would be simple indeed, any V4L guys for an advice here ?
I would split up these large tables into separate tables, depending on the
number of bits each pixel uses: so an RGB table for 8 bits, 9-16 bits,
17-24, 25-32, 33-48.
This also avoids a major problem where the horizontal scrollbar is at the bottom
of the table, but the column numbering is at the top and out of sight if the
table is long.
It also prevents these large horizontal widths when they are not needed.
Regards,
Hans
More information about the linux-amlogic
mailing list