IXUS190 porting attempt - page 8 - DryOS Development - CHDK Forum supplierdeeply

IXUS190 porting attempt

  • 74 Replies
  • 15946 Views
*

Offline blackhole

  • *****
  • 844
  • A590IS 101b
    • Planetary astrophotography
Re: IXUS190 porting attempt
« Reply #70 on: 25 / June / 2021, 08:14:58 »
Advertisements
If anything else works, then it´s not my fault...   ::)
https://chdk.setepontos.com/index.php?topic=13146.msg146345#msg146345
I guess you want to ask why the ixus 265 is not available in the Autobuild server.
The answer is still the same, no one wants to go through testing. https://chdk.setepontos.com/index.php?topic=11597.msg145009#msg145009

The same goes for the ixus170 and ixus190.
The ixus170 (DryOS r55 ps6) probably has the same popset problem as the sx410. Here you can see how to check it if you have that camera:
https://chdk.setepontos.com/index.php?topic=13133.msg146472#msg146472

You can see the status of other cameras that are not in the Autobuild server here: https://chdk.fandom.com/wiki/Test_releases_not_available_in_autobuilds
It only depends on you and other users who have one of these cameras what will happen next.

*

Offline Caefix

  • *****
  • 641
  • Sorry, busy deleting test shots...
Re: IXUS190 porting attempt
« Reply #71 on: 30 / June / 2021, 13:46:18 »
If anything else works, then it´s not my fault...   ::)
https://chdk.setepontos.com/index.php?topic=13146.msg146345#msg146345
It only depends on you and other users who have one of these cameras what will happen next.
Here :haha  Need to confirm "other users". So long I´m happy with the cams as they are.  :xmas
All lifetime is a loan from eternity.

*

Offline Caefix

  • *****
  • 641
  • Sorry, busy deleting test shots...
Re: IXUS190 porting attempt
« Reply #72 on: 07 / July / 2021, 15:05:42 »
Ixus 190, 185, 170, 155 & 145 have full size md grid, when size set to wide  :-[ ...
« Last Edit: 08 / July / 2021, 13:37:23 by Caefix »
All lifetime is a loan from eternity.

*

Offline Caefix

  • *****
  • 641
  • Sorry, busy deleting test shots...
Re: IXUS190 porting attempt
« Reply #73 on: 12 / July / 2021, 15:03:37 »
 ;) ... seems, that cams with real aspect ratio UI setting have always correct md grid.
The upper list has PROPCASE_ASPECT_RATIO: 1=wide (16:9), 0 else...
All lifetime is a loan from eternity.


*

Offline Caefix

  • *****
  • 641
  • Sorry, busy deleting test shots...
Re: IXUS190 porting attempt
« Reply #74 on: 29 / October / 2021, 15:49:35 »
// PS11    ???
#define PROPCASE_ASPECT_RATIO                    311        // 0 = 4:3, 1 = 16:9 //, 2 = 3:2, 3 = 1:1

When I add this lines to lib.c then displayed md_grid, Zebra && ptp-Liveview behave as expected , but previously fine Zebra is shifted down 30 pixels.
Calculated 10*10 grid has always =0 in first row.
(Wide)
Code: [Select]
long vid_get_viewport_height()
{
    if (camera_info.state.mode_play || is_video_recording()) return 240;
    return shooting_get_prop(PROPCASE_ASPECT_RATIO)==1 ? 180:240;
}

int vid_get_viewport_yoffset()  // Zebra
{
    if (camera_info.state.mode_play || is_video_recording()) return 0; // 640x480
    return shooting_get_prop(PROPCASE_ASPECT_RATIO)==1 ? 30:0; // Wide = 16:9
}

int vid_get_viewport_display_yoffset()  // md_detect...
{
    if (camera_info.state.mode_play || is_video_recording()) return 0; // 640x480
    return shooting_get_prop(PROPCASE_ASPECT_RATIO)==1 ? 30:0; // Wide = 16:9
}

int vid_get_viewport_height_proper()            { return vid_get_viewport_height(); }

// PS11
// #define PROPCASE_ASPECT_RATIO                    311        // 0 = 4:3, 1 = 16:9  //=Wide, 2 = 3:2, 3 = 1:1
in debug-osd propcase 311 is displayed Wide=1, else=0.

Edit: Old default.lua tells unsupp. PS11,  from #6019 ;), language still German.

Edit2:
Ixus 190, 185, 170, 160, 155, 150, 145 & 130 have full size md grid, when size set to wide  :-[ ...
... at least these cams and others with the resolution option "Wide" instead of aspect ratios (A3300,...) should profit from same insert.  :xmas

Edit3: Ix175 & 155 has an additional differenciation...
Code: [Select]
);
extern int _GetVideoOutType(void);
// playback is 480 / 576 for NTSC / PAL respectively

Edit6 4: 14 13 12 14 15 16 17 21*lib.c collection, some known from porting threads...  :haha
One line more added to insert.

Edit57.1: && Ixus170:  :D error: 'viewport_buffers' undeclared > ...
Ix170 needed modification in platform_camera.c, too.

Edit9: With Propset 3 it happens (Ix120,130, Sx120), that the cam boots PROPCASE_ASPECT_RATIO  294 = 1 if set to wide, but with switching to <Rec> it falls to 0 and stays 0.  :(

Edit 8: Successfull finetuning, ...
Code: [Select]
G:\AspectMD_zebra_ptp\platform\a2400\lib.c
G:\AspectMD_zebra_ptp\platform\a3300\lib.c
G:\AspectMD_zebra_ptp\platform\a3300\sub\100a\lib.c
G:\AspectMD_zebra_ptp\platform\a3300\sub\100d\lib.c
G:\AspectMD_zebra_ptp\platform\a4000\lib.c
G:\AspectMD_zebra_ptp\platform\d20\lib.c
G:\AspectMD_zebra_ptp\platform\d30\lib.c
G:\AspectMD_zebra_ptp\platform\g1x\lib.c
G:\AspectMD_zebra_ptp\platform\ixus115_elph100hs\lib.c
G:\AspectMD_zebra_ptp\platform\ixus125_elph110hs\lib.c
G:\AspectMD_zebra_ptp\platform\ixus132_elph115\lib.c
G:\AspectMD_zebra_ptp\platform\ixus135_elph120\lib.c
G:\AspectMD_zebra_ptp\platform\ixus145_elph135\lib.c
G:\AspectMD_zebra_ptp\platform\ixus150_elph140\lib.c
G:\AspectMD_zebra_ptp\platform\ixus155_elph150\lib.c
G:\AspectMD_zebra_ptp\platform\ixus160_elph160\lib.c
G:\AspectMD_zebra_ptp\platform\ixus170_elph170\lib.c
G:\AspectMD_zebra_ptp\platform\ixus170_elph170\platform_camera.h
G:\AspectMD_zebra_ptp\platform\ixus185_elph185\lib.c
G:\AspectMD_zebra_ptp\platform\ixus190_elph200\Ix190-DlgItmROMLOG.TXT
G:\AspectMD_zebra_ptp\platform\ixus190_elph200\Ix190ShutdownROMLOG.TXT
G:\AspectMD_zebra_ptp\platform\ixus190_elph200\lib.c
G:\AspectMD_zebra_ptp\platform\ixus220_elph300hs\lib.c
G:\AspectMD_zebra_ptp\platform\ixus220_elph300hs\platform_palette.c
G:\AspectMD_zebra_ptp\platform\ixus230_elph310hs\lib.c
G:\AspectMD_zebra_ptp\platform\ixus230_elph310hs\platform_palette.c
G:\AspectMD_zebra_ptp\platform\ixus255_elph330hs\lib.c
G:\AspectMD_zebra_ptp\platform\sx230hs\lib.c
G:\AspectMD_zebra_ptp\platform\sx230hs\platform_palette.c
Edit: (Ix150 unexplored.)
« Last Edit: 09 / November / 2021, 13:30:00 by Caefix »
All lifetime is a loan from eternity.

 

Related Topics