Where to find include\camera.h? - General Help and Assistance on using CHDK stable releases - CHDK Forum

Where to find include\camera.h?

  • 3 Replies
  • 1133 Views
Where to find include\camera.h?
« on: 28 / January / 2023, 19:18:30 »
Advertisements
I want to see the list of cameras with an iris mechanism. A few posts on the forum say to have a look at include/camera.h. How do I do that?

*

Offline reyalp

  • ******
  • 14125
Re: Where to find include\camera.h?
« Reply #1 on: 28 / January / 2023, 20:10:52 »
I want to see the list of cameras with an iris mechanism.
FWIW, https://chdk.fandom.com/wiki/CameraFeatureTable on the wiki has this information, although it hasn't been updated for a while, so a few recently added cams may be missing (should be few if any, most of the cams I think of as recent are there).

Quote
A few posts on the forum say to have a look at include/camera.h. How do I do that?
camera.h is in CHDK svn https://app.assembla.com/spaces/chdk/subversion/source/HEAD/trunk but the per-camera iris info has not been there for many years, it's in the individual platform_camera.h files for each model.



Don't forget what the H stands for.

Re: Where to find include\camera.h?
« Reply #2 on: 28 / January / 2023, 20:29:34 »
Amazing. Thank you!

*

Offline Caefix

  • *****
  • 948
  • Sorry, busy deleting test shots...
Re: Where to find include\camera.h?
« Reply #3 on: 29 / January / 2023, 10:28:53 »
I want to see the list of cameras with an iris mechanism.

 :P the list of cameras withOUT an iris mechanism.

Code: [Select]
Search "#undef  CAM_HAS_IRIS_DIAPHRAGM" (90 hits in 90 files of 7242 searched)
  D:\hostluaPortable\CHDK-Shell\trunk\trunk-6214\platform\a1000\platform_camera.h (1 hit)
Line 35:     #undef  CAM_HAS_IRIS_DIAPHRAGM
  a1000
  a1100
  a1200
  a1300
  a1400
  a2000
  a2200
  a2300
  a2400
  a2500
  a2600
  a3000
  a3100
  a3200
  a3300
  a3400
  a4000
  a410
  a420
  a430
  a450
  a460
  a470
  a480
  a490
  a495
  a530
  a550
  a560
  a800
  a810
  d10
  d20
  d30
  ixus1000_sd4500
  ixus100_sd780
  ixus105_sd1300
  ixus110_sd960
  ixus115_elph100hs
  ixus120_sd940
  ixus125_elph110hs
  ixus130_sd1400
  ixus132_elph115
  ixus135_elph120
  ixus140_elph130
  ixus145_elph135
  ixus150_elph140
  ixus155_elph150
  ixus160_elph160
  ixus170_elph170
  ixus175_elph180
  ixus185_elph185
  ixus190_elph200
  ixus220_elph300hs
  ixus230_elph310hs
  ixus240_elph320hs
  ixus255_elph330hs
  ixus265_elph340hs
  ixus275_elph350hs
  ixus285_elph360hs
  ixus30_sd200
  ixus40_sd300
  ixus50_sd400
  ixus55_sd450
  ixus60_sd600
  ixus65_sd630
  ixus700_sd500
  ixus70_sd1000
  ixus750_sd550
  ixus75_sd750
  ixus800_sd700
  ixus80_sd1100
  ixus850_sd800
  ixus85_sd770
  ixus860_sd870
  ixus870_sd880
  ixus900_sd900
  ixus90_sd790
  ixus950_sd850
  ixus95_sd1200
  ixus960_sd950
  ixus970_sd890
  ixus980_sd990
  ixus990_sd970
  ixusizoom_sd30
  ixusw_sd430
  n
  n_facebook
  sx610hs
  sx620hs
All lifetime is a loan from eternity.

 

Related Topics


SimplePortal © 2008-2014, SimplePortal