Zebra - improvements for Digic 6 & 7 - General Discussion and Assistance - CHDK Forum supplierdeeply

Zebra - improvements for Digic 6 & 7

  • 1 Replies

Offline philmoz

  • *****
  • 3290
    • Photos
Zebra - improvements for Digic 6 & 7
« on: Yesterday at 06:13:19 »
Attached is a patch with some changes to the zebra logic for Digic 6 & 7.

This removes the full screen erase and refresh that causes a lot of flickering.

Instead it uses the opacity value to determine which pixels were drawn by the zebra code and need to be erased.
This could be to blink the zebra or when it is turned off.

In addition the change will not draw the zebra pixels where there are Canon OSD pixels in the YUV buffer - it checks the opacity value.
This prevents the Canon OSD from flickering at the expense of not drawing our zebra in some places.

I wanted to get any feedback, for or against, before checking this in. The change to not overwrite Canon OSD elements may not suit everyone; but I think the stability of the display makes up for it.

CHDK ports:
  sx30is (1.00c, 1.00h, 1.00l, 1.00n & 1.00p)
  g12 (1.00c, 1.00e, 1.00f & 1.00g)
  sx130is (1.01d & 1.01f)
  ixus310hs (1.00a & 1.01a)
  sx40hs (1.00d, 1.00g & 1.00i)
  g1x (1.00e, 1.00f & 1.00g)
  g5x (1.00c, 1.01a, 1.01b)
  g7x2 (1.01a, 1.01b, 1.10b)

Re: Zebra - improvements for Digic 6 & 7
« Reply #1 on: Yesterday at 07:21:03 »

I personally can’t add much value here, but am willing to test on the M3 when you are ready.


Related Topics