You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
video: add more resolutions to GC2145
As I mentioned in issue #91968,
It would be great if the camera drivers would support a larger number
of resolutions. For example those resolutions of the displays that they
wish to display an image on.
Potentially in both landscape and portrait mode.
So far I have added one the works in landscape mode for
ILI948x and ST7796 displays as well
as a QVGA in portrait mode, which should be good for
LI9341 and some ST7789 displays.
If this looks like a valid approach, I will also add the GIGA Display
Adapter size. Probably need to add the duplicate items to the
FORMAT_CAP list for YUYV mode.
Note: the other than add the items to the list, I just
added code to set resolution which computes the
c_ratio/r_ratio chooses the smaller of the two to use.
We may also remove most if not all of the items in the switch
statement and simply use the default clause code for them.
Signed-off-by: Kurt Eckhardt <[email protected]>
0 commit comments