Display (bitmap overlay) - page 32 - General Discussion and Assistance - CHDK Forum

Display (bitmap overlay)

  • 403 Replies
  • 148352 Views
*

Offline reyalp

  • ******
  • 14128
Re: Display (bitmap overlay)
« Reply #310 on: 02 / June / 2021, 00:03:10 »
Advertisements
I thought this was covered by having CAM_DRAW_RGBA build into the .o4 and .o5 directories (makefile_base.inc).
Did I miss something?
Nope, I totally missed that you'd already made them use separate object directories  :-[

That said, in the long term, I'd definitely argue for converting all the d6 cams and eliminating the old style. It's already hard enough to maintain.
Don't forget what the H stands for.

*

Offline CanonUser9000

  • *
  • 30
  • A570 - S95 - S100 - SX220 - SX700 - EOSM
Re: Display (bitmap overlay)
« Reply #311 on: 02 / June / 2021, 05:41:40 »
Quote
When you have time can you please test zebra and edge overlay.
on SX700:

edge overlay: works as expected, varios settings tested  :D

zebara: no display of anything, regardless of settings used  :(

*

Offline philmoz

  • *****
  • 3450
    • Photos
Re: Display (bitmap overlay)
« Reply #312 on: 02 / June / 2021, 06:42:35 »
zebara: no display of anything, regardless of settings used  :(


Thanks for testing. I've uploaded a new build to Google Drive which should fix this (fingers crossed).

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)

*

Offline philmoz

  • *****
  • 3450
    • Photos
Re: Display (bitmap overlay)
« Reply #313 on: 02 / June / 2021, 07:19:28 »
Zebra doesn't seem to draw at all on my g7x. Edge overlay works.


Should be fixed in revision 5940.

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)

*

Offline CanonUser9000

  • *
  • 30
  • A570 - S95 - S100 - SX220 - SX700 - EOSM
Re: Display (bitmap overlay)
« Reply #314 on: 02 / June / 2021, 08:58:43 »
Quote
Should be fixed in revision 5940

regarding zebra: no zebra display with rev 5940  :(

One finding more: during video recording OSD and grid are still missaligned in x-direction and somewhat croped (see att.)

*

Offline philmoz

  • *****
  • 3450
    • Photos
Re: Display (bitmap overlay)
« Reply #315 on: 02 / June / 2021, 20:16:36 »
regarding zebra: no zebra display with rev 5940  :(


Hmm, not sure about this - will need to think about it.


Quote
One finding more: during video recording OSD and grid are still missaligned in x-direction and somewhat croped (see att.)


Seeing the same on the G7X2 and G5X - not sure what is going on here.
The rightmost 3rd of the CHDK bitmap image seems to get shifted left to the centre.
@srsa_4c - any thoughts?


Edit: If I allocate a full size RGBA buffer and remove the x2 scaling for the CHDK layer the weirdness when recording movies does not happen.

« Last Edit: 02 / June / 2021, 20:23:58 by philmoz »
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)

*

Offline reyalp

  • ******
  • 14128
Re: Display (bitmap overlay)
« Reply #316 on: 02 / June / 2021, 23:39:43 »
Should be fixed in revision 5940.
Does appear to be fixed on G7X.

One thing I noticed is OSD settings don't get reset switching between xmir and old style, so stuff that was positioned at the edges is no longer visible. Just something to be aware of for now, but if/when we move it into the trunk, we might want to reset OSD positions or something. Or at least note it.

Another oddity:
If zebra is enabled, the histogram is drawn, but in half press it doesn't actually update. This appears to be the case regardless of the zebra "restore" settings.

The old style tends to blow the histogram away complete if zebra is actually drawing anything, but with "restore OSD" enabled, it does update in half press.

Earlier cameras have the "Draw over zebra" option, which could perhaps be re-enabled for xmir.

This is all minor, I'm just noting it because I ran into while trying to understand other histogram bugs.
Don't forget what the H stands for.

*

Offline CanonUser9000

  • *
  • 30
  • A570 - S95 - S100 - SX220 - SX700 - EOSM
Re: Display (bitmap overlay)
« Reply #317 on: 03 / June / 2021, 04:56:26 »
Quote
    regarding zebra: no zebra display with rev 5940  :(

update: zebra on SX700

Only if the option "RGB-Zebra (overexp. only)" is aktivated overexposed area are marked correctly on the display. No zebra without this option.  :-X

*

Offline philmoz

  • *****
  • 3450
    • Photos
Re: Display (bitmap overlay)
« Reply #318 on: 03 / June / 2021, 06:21:34 »
Only if the option "RGB-Zebra (overexp. only)" is aktivated overexposed area are marked correctly on the display. No zebra without this option.  :-X


Can you check the zebra color settings for over and under exposure (CHDK Settings -> Color Settings).
Make sure they are valid colours and not transparent.
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)

*

Offline reyalp

  • ******
  • 14128
Re: Display (bitmap overlay)
« Reply #319 on: 03 / June / 2021, 13:34:23 »
Can you check the zebra color settings for over and under exposure (CHDK Settings -> Color Settings).
Make sure they are valid colours and not transparent.
Also, the thresholds may need to be adjusted. Some (mostly earlier digic 6) cams use values in the 16-235 ish rather than 0-255, so to see anything in zebra the thresholds need to be large.
Don't forget what the H stands for.

 

Related Topics


SimplePortal © 2008-2014, SimplePortal