Tweak to histogram.c: A proposal - page 2 - General Discussion and Assistance - CHDK Forum

Tweak to histogram.c: A proposal

  • 11 Replies
  • 3901 Views
*

Offline Caefix

  • *****
  • 945
  • Sorry, busy deleting test shots...
Re: Tweak to histogram.c: A proposal
« Reply #10 on: 31 / January / 2022, 16:13:49 »
Advertisements
Btw, Edge Overlay on slows down booting to play...  :(
« Last Edit: 31 / January / 2022, 16:16:43 by Caefix »
All lifetime is a loan from eternity.

*

Offline Caefix

  • *****
  • 945
  • Sorry, busy deleting test shots...
Re: Tweak to histogram.c: A proposal
« Reply #11 on: 02 / February / 2022, 16:39:18 »
Btw, Edge Overlay on slows down booting to play...  :(
Seems a bit solved, && edited with some cosmetics  :-* ..., SX280 lib.c tells:
Code: [Select]
int vid_get_viewport_yoffset() {
    // this seems to be always 0, buffer always begins with actual display data (widescreen or not)
    return 0;

 vid_get_viewport_image_offset(); // offset into viewport for when image size != viewport size (e.g. 16:9 image on 4:3 LCD)
seems always 0, too.  Some #THUMB_FW lines to save some bytes didn´t disturb so far ...

Edit: Now it´s fluid, with ...  :xmas
Code: [Select]
static int key_check(int x)
{
    return camera_info.state.mode_play|x
        && camera_info.state.kbd_last_clicked_time - get_tick_count()>-300;
}
« Last Edit: 04 / February / 2022, 11:29:02 by Caefix »
All lifetime is a loan from eternity.

 

Related Topics