IXUS160/ELPH160 Porting attempt

  • 497 Replies
  • 110513 Views
*

Offline adong

  • **
  • 66
Re: IXUS160/ELPH160 Porting attempt
« Reply #20 on: 25 / April / 2015, 16:15:49 »
Advertisements
Haaaa that's what it meant by columns :) I had it set to the default 250, that's why i couldn't find any image.

Edit:

Does that help in finding the viewport_buffers and/or different get_viewport_fb_d/live_d ... functions ?
« Last Edit: 25 / April / 2015, 16:22:29 by adong »

*

Offline srsa_4c

  • ******
  • 3728
Re: IXUS160/ELPH160 Porting attempt
« Reply #21 on: 26 / April / 2015, 18:12:35 »
Does that help in finding the viewport_buffers and/or different get_viewport_fb_d/live_d ... functions ?
These are buffers with the Y411 variant of YUV, their width is likely 720, height is 240 or 480. It could be however that Canon has changed things in DIGIC 4+ and introduced a different YUV variant for live buffers.
If you're not sure about the viewport addresses, you can try to hunt them down visually.
Once you have collected buffer addresses, you can search for them in ROM and RAM. Note that the live buffers are usually quad-buffered (in known new cameras), that's 4 consecutive equal size buffers. Also note that new cameras have other framebuffers in various sizes, which are not used by CHDK.
fb_d is the playback mode buffer, the others are obviously only active in record mode (you'll need to request new RAM dumps from the whole RAM - unless you're only suspecting a smaller area). The RAW buffers may overwrite these buffers' content after a shot is taken.
 
edit:
Wait a second... If chdkptp is working, it's enough to confirm that the "viewfinder" (live tab) shows what's on the LCD - no need for those huge dumps.
« Last Edit: 26 / April / 2015, 18:28:53 by srsa_4c »

Re: IXUS160/ELPH160 Porting attempt
« Reply #22 on: 27 / April / 2015, 05:46:37 »
Another dump, this time with the menu enabled and a photo saved on the card.
http://glasno.st/LIVE.BIN.201504271143

*

Offline adong

  • **
  • 66
Re: IXUS160/ELPH160 Porting attempt
« Reply #23 on: 28 / April / 2015, 07:15:12 »


*

Offline srsa_4c

  • ******
  • 3728
Re: IXUS160/ELPH160 Porting attempt
« Reply #24 on: 28 / April / 2015, 13:17:26 »
It could be however that Canon has changed things in DIGIC 4+ and introduced a different YUV variant for live buffers.
Fortunately, they did not. A framebuffer is visible at the end of the new dump, it has the usual Y411 (6byte/4pixel) format.

*

Offline adong

  • **
  • 66
Re: IXUS160/ELPH160 Porting attempt
« Reply #25 on: 28 / April / 2015, 14:05:16 »


Test build to see if PTP live view works, mainly taken from the N.
« Last Edit: 03 / August / 2015, 03:28:10 by adong »

Re: IXUS160/ELPH160 Porting attempt
« Reply #26 on: 05 / May / 2015, 03:57:55 »
Hello,

I am in the process to create a mutlicamera rig. IXUS 160 is still in the market, so it looks that i can find 60 cameras in stock.

I have already ordered 2 cameras, so i can test shooting over PTP and download the images to PC.

Can you please advice which test build should i download in order to test? Any advice on the matter will be much appreciated.

Thanks
Anastasios

Re: IXUS160/ELPH160 Porting attempt
« Reply #27 on: 05 / May / 2015, 08:43:47 »
I am in the process to create a mutlicamera rig. IXUS 160 is still in the market, so it looks that i can find 60 cameras in stock.  I have already ordered 2 cameras, so i can test shooting over PTP and download the images to PC.  Can you please advice which test build should i download in order to test? Any advice on the matter will be much appreciated.
Good luck with your project!   Let's be sure to discuss how you are going to interconnect all these cameras - although not in this thread.
Ported :   A1200    SD940   G10    Powershot N    G16


*

Offline srsa_4c

  • ******
  • 3728
Re: IXUS160/ELPH160 Porting attempt
« Reply #28 on: 05 / May / 2015, 11:07:44 »
I am in the process to create a mutlicamera rig. IXUS 160 is still in the market, so it looks that i can find 60 cameras in stock.
This port is still work in progress and the developer (AFAIK) doesn't have the camera. Try getting in touch with adong, perhaps you could help making the development a bit easier for him...

Re: IXUS160/ELPH160 Porting attempt
« Reply #29 on: 05 / May / 2015, 13:46:50 »
I am in the process to create a mutlicamera rig. IXUS 160 is still in the market, so it looks that i can find 60 cameras in stock.  I have already ordered 2 cameras, so i can test shooting over PTP and download the images to PC.  Can you please advice which test build should i download in order to test? Any advice on the matter will be much appreciated.
Good luck with your project!   Let's be sure to discuss how you are going to interconnect all these cameras - although not in this thread.

Thank you. Will open a new thread to discuss the interconnection of the cameras, as i will need all the help i can get :-)

 

Related Topics