IXUS 170 Porting - page 8 - General Discussion and Assistance - CHDK Forum supplierdeeply

IXUS 170 Porting

  • 73 Replies
  • 38450 Views
*

Offline Caefix

  • *****
  • 652
  • Sorry, busy deleting test shots...
Re: IXUS 170 Porting
« Reply #70 on: 01 / July / 2021, 13:36:45 »
Advertisements
and there is an ixus170 / elph170 port in svn which probably only needs minor work.
exec require'camtests'.runbatch{bench=true,filexfer=true,shoot=true,xfersizebugs=true} now 26/0  8)
md grid fits full screen if set to Wide.
propset 6... Deutsch=66305, English=65537, Norsk=65793
Ps resolution (221) L/W=0, Lowlight=11
 
« Last Edit: 01 / July / 2021, 14:43:16 by Caefix »
All lifetime is a loan from eternity.

*

Offline Caefix

  • *****
  • 652
  • Sorry, busy deleting test shots...
Re: IXUS 170 Porting
« Reply #71 on: 27 / July / 2021, 13:00:09 »
 :-[ (chdkptp) Canon <play> menu is only available after switching to <rec> and back first ...
« Last Edit: 27 / July / 2021, 14:40:11 by Caefix »
All lifetime is a loan from eternity.

*

Online reyalp

  • ******
  • 13452
Re: IXUS 170 Porting
« Reply #72 on: 27 / July / 2021, 15:59:04 »
:-[ (chdkptp) Canon <play> menu is only available after switching to <rec> and back first ...
This is normal behavior for most cameras. Use one of the levents mentioned on https://chdk.fandom.com/wiki/PTP_Extension#FAQ to unlock
Don't forget what the H stands for.

*

Offline Caefix

  • *****
  • 652
  • Sorry, busy deleting test shots...
Re: IXUS 170 Porting
« Reply #73 on: 01 / November / 2021, 13:10:54 »
The insert to lib.c from Ix190 https://chdk.setepontos.com/index.php?topic=13146.msg147224#msg147224 plus
Code: [Select]
    #undef  CAM_BITMAP_HEIGHT
    #define CAM_BITMAP_HEIGHT               360
in platform_camera.h results in fine adjusted zebra, md_grid, ptp-liveview.  :)

Replacing
Code: [Select]
// void *vid_get_viewport_live_fb() {    return 0; }
// with the "usual"

extern char active_viewport_buffer;
extern void* viewport_buffers[];

void *vid_get_viewport_live_fb()
{
    extern char active_viewport_buffer;
    extern void* viewport_buffers[];

//    if (MODE_IS_VIDEO(mode_get()) || is_video_recording())
   //     return viewport_buffers[0];     // Video only seems to use the first viewport buffer.

    // camera appears to use 4 buffers with in still shooting and video
    // Hopefully return the most recently used viewport buffer so that motion detect, histogram, zebra and edge overly are using current image data
    return viewport_buffers[(active_viewport_buffer-1)&3];
}
is fine, too. ... leads to appended screenshot :blink: (Muggeled up SD-cards.)

Placing insert to Sx120 or Ix130 tells
Code: [Select]
../../../../platform/sx120is/sub/100b/libplatformsub.a(lib.o): In function `vid_get_viewport_height':
lib.c:(.text+0x60): multiple definition of `vid_get_viewport_height'
../../../../platform/sx120is/libplatform.a(lib.o):lib.c:(.text+0xe8): first defined here
collect2.exe: error: ld returned 1 exit status
gmake[1]: *** [main.elf] Error 1
... because there´s a sub/.../lib.c. Without the definition there plus insert, md_grid is adjusted, zebra & LV as fine as before (Ix130). Both versions can´t record ptp-video. (Partition/space issue?)
« Last Edit: 01 / November / 2021, 16:21:29 by Caefix »
All lifetime is a loan from eternity.


 

Related Topics