1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331 |
- #------------------------------------------------------------------------------
- # File: NikonCustom.pm
- #
- # Description: Read and write Nikon Custom settings
- #
- # Revisions: 2009/11/25 - P. Harvey Created
- #
- # References: 1) Warren Hatch private communication (D3 with SB-800 and SB-900)
- # 2) Anonymous contribution 2011/05/25 (D700, D7000)
- # JD) Jens Duttke private communication
- #------------------------------------------------------------------------------
- package Image::ExifTool::NikonCustom;
- use strict;
- use vars qw($VERSION);
- $VERSION = '1.12';
- # custom settings for the D80 (encrypted) - ref JD
- %Image::ExifTool::NikonCustom::SettingsD80 = (
- PROCESS_PROC => \&Image::ExifTool::ProcessBinaryData,
- WRITE_PROC => \&Image::ExifTool::WriteBinaryData,
- CHECK_PROC => \&Image::ExifTool::CheckBinaryData,
- WRITABLE => 1,
- FIRST_ENTRY => 0,
- GROUPS => { 0 => 'MakerNotes', 2 => 'Camera' },
- NOTES => 'Custom settings for the Nikon D80.',
- 0.1 => { # CS1
- Name => 'Beep',
- Mask => 0x80,
- PrintConv => {
- 0x00 => 'On',
- 0x80 => 'Off',
- },
- },
- 0.2 => { # CS4
- Name => 'AFAssist',
- Mask => 0x40,
- PrintConv => {
- 0x00 => 'On',
- 0x40 => 'Off',
- },
- },
- 0.3 => { # CS5
- Name => 'NoMemoryCard',
- Mask => 0x20,
- PrintConv => {
- 0x00 => 'Release Locked',
- 0x20 => 'Enable Release',
- },
- },
- 0.4 => { # CS6
- Name => 'ImageReview',
- Mask => 0x10,
- PrintConv => {
- 0x00 => 'On',
- 0x10 => 'Off',
- },
- },
- 0.5 => { # CS17
- Name => 'Illumination',
- Mask => 0x08,
- PrintConv => {
- 0x00 => 'Off',
- 0x08 => 'On',
- },
- },
- 0.6 => { # CS11
- Name => 'MainDialExposureComp',
- Mask => 0x04,
- PrintConv => {
- 0x00 => 'Off',
- 0x04 => 'On',
- },
- },
- 0.7 => { # CS10
- Name => 'EVStepSize',
- Mask => 0x01,
- PrintConv => {
- 0x00 => '1/3 EV',
- 0x01 => '1/2 EV',
- },
- },
- 1.1 => { # CS7
- Name => 'AutoISO',
- Mask => 0x40,
- PrintConv => {
- 0x00 => 'Off',
- 0x40 => 'On',
- },
- },
- 1.2 => { # CS7-a
- Name => 'AutoISOMax',
- Mask => 0x30,
- PrintConv => {
- 0x00 => 200,
- 0x10 => 400,
- 0x20 => 800,
- 0x30 => 1600,
- },
- },
- 1.3 => { # CS7-b
- Name => 'AutoISOMinShutterSpeed',
- Mask => 0x0f,
- PrintConvColumns => 2,
- PrintConv => {
- 0x00 => '1/125 s',
- 0x01 => '1/100 s',
- 0x02 => '1/80 s',
- 0x03 => '1/60 s',
- 0x04 => '1/40 s',
- 0x05 => '1/30 s',
- 0x06 => '1/15 s',
- 0x07 => '1/8 s',
- 0x08 => '1/4 s',
- 0x09 => '1/2 s',
- 0x0a => '1 s',
- },
- },
- 2.1 => { # CS13
- Name => 'AutoBracketSet',
- Mask => 0xc0,
- PrintConv => {
- 0x00 => 'AE & Flash',
- 0x40 => 'AE Only',
- 0x80 => 'Flash Only',
- 0xc0 => 'WB Bracketing',
- },
- },
- 2.2 => { # CS14
- Name => 'AutoBracketOrder',
- Mask => 0x20,
- PrintConv => {
- 0x00 => '0,-,+',
- 0x20 => '-,0,+',
- },
- },
- 3.1 => { # CS27
- Name => 'MonitorOffTime',
- Mask => 0xe0,
- PrintConv => {
- 0x00 => '5 s',
- 0x20 => '10 s',
- 0x40 => '20 s',
- 0x60 => '1 min',
- 0x80 => '5 min',
- 0xa0 => '10 min',
- },
- },
- 3.2 => { # CS28
- Name => 'MeteringTime',
- Mask => 0x1c,
- PrintConv => {
- 0x00 => '4 s',
- 0x04 => '6 s',
- 0x08 => '8 s',
- 0x0c => '16 s',
- 0x10 => '30 s',
- 0x14 => '30 min',
- },
- },
- 3.3 => { # CS29
- Name => 'SelfTimerTime',
- Mask => 0x03,
- PrintConv => {
- 0x00 => '2 s',
- 0x01 => '5 s',
- 0x02 => '10 s',
- 0x03 => '20 s',
- },
- },
- 4.1 => { # CS18
- Name => 'AELockButton',
- Mask => 0x1e,
- PrintConv => {
- 0x00 => 'AE/AF Lock',
- 0x02 => 'AE Lock Only',
- 0x04 => 'AF Lock Only',
- 0x06 => 'AE Lock (hold)',
- 0x08 => 'AF-ON',
- 0x0a => 'FV Lock',
- 0x0c => 'Focus Area Selection',
- 0x0e => 'AE-L/AF-L/AF Area',
- 0x10 => 'AE-L/AF Area',
- 0x12 => 'AF-L/AF Area',
- 0x14 => 'AF-ON/AF Area',
- },
- },
- 4.2 => { # CS19
- Name => 'AELock',
- Mask => 0x01,
- PrintConv => {
- 0x00 => 'Off',
- 0x01 => 'On',
- },
- },
- 4.3 => { # CS30
- Name => 'RemoteOnDuration',
- Mask => 0xc0,
- PrintConv => {
- 0x00 => '1 min',
- 0x40 => '5 min',
- 0x80 => '10 min',
- 0xc0 => '15 min',
- },
- },
- 5.1 => { # CS15
- Name => 'CommandDials',
- Mask => 0x80,
- PrintConv => {
- 0x00 => 'Standard (Main Shutter, Sub Aperture)',
- 0x80 => 'Reversed (Main Aperture, Sub Shutter)',
- },
- },
- 5.2 => { # CS16
- Name => 'FunctionButton',
- Mask => 0x78,
- PrintConv => {
- 0x00 => 'ISO Display',
- 0x08 => 'Framing Grid',
- 0x10 => 'AF-area Mode',
- 0x18 => 'Center AF Area',
- 0x20 => 'FV Lock',
- 0x28 => 'Flash Off',
- 0x30 => 'Matrix Metering',
- 0x38 => 'Center-weighted',
- 0x40 => 'Spot Metering',
- },
- },
- 6.1 => { # CS8
- Name => 'GridDisplay',
- Mask => 0x80,
- PrintConv => {
- 0x00 => 'Off',
- 0x80 => 'On',
- },
- },
- 6.2 => { # CS9
- Name => 'ViewfinderWarning',
- Mask => 0x40,
- PrintConv => {
- 0x00 => 'On',
- 0x40 => 'Off',
- },
- },
- 6.3 => { # CS12
- Name => 'CenterWeightedAreaSize',
- Mask => 0x0c,
- PrintConv => {
- 0x00 => '6 mm',
- 0x04 => '8 mm',
- 0x08 => '10 mm',
- },
- },
- 6.4 => { # CS31
- Name => 'ExposureDelayMode',
- Mask => 0x20,
- PrintConv => {
- 0x00 => 'Off',
- 0x20 => 'On',
- },
- },
- 6.5 => { # CS32
- Name => 'MB-D80Batteries',
- Mask => 0x03,
- PrintConv => {
- 0x00 => 'LR6 (AA Alkaline)',
- 0x01 => 'HR6 (AA Ni-MH)',
- 0x02 => 'FR6 (AA Lithium)',
- 0x03 => 'ZR6 (AA Ni-Mg)',
- },
- },
- 7.1 => { # CS23
- Name => 'FlashWarning',
- Mask => 0x80,
- PrintConv => {
- 0x00 => 'On',
- 0x80 => 'Off',
- },
- },
- 7.2 => { # CS24
- Name => 'FlashShutterSpeed',
- Mask => 0x78,
- ValueConv => '2 ** (($val >> 3) - 6)',
- ValueConvInv => '$val>0 ? int(log($val)/log(2)+6+0.5) << 3 : 0',
- PrintConv => 'Image::ExifTool::Exif::PrintExposureTime($val)',
- PrintConvInv => 'Image::ExifTool::Exif::ConvertFraction($val)',
- },
- 7.3 => { # CS25
- Name => 'AutoFP',
- Mask => 0x04,
- PrintConv => {
- 0x00 => 'Off',
- 0x04 => 'On',
- },
- },
- 7.4 => { # CS26
- Name => 'ModelingFlash',
- Mask => 0x02,
- PrintConv => {
- 0x00 => 'Off',
- 0x02 => 'On',
- },
- },
- 8.1 => { # CS22
- Name => 'InternalFlash',
- Mask => 0xc0,
- PrintConv => {
- 0x00 => 'TTL',
- 0x40 => 'Manual',
- 0x80 => 'Repeating Flash',
- 0xc0 => 'Commander Mode',
- },
- },
- 8.2 => { # CS22-a
- Name => 'ManualFlashOutput',
- Mask => 0x07,
- ValueConv => '2 ** (-$val)',
- ValueConvInv => '$val > 0 ? -log($val)/log(2) : 0',
- PrintConv => q{
- return 'Full' if $val > 0.99;
- Image::ExifTool::Exif::PrintExposureTime($val);
- },
- PrintConvInv => '$val=~/F/i ? 1 : Image::ExifTool::Exif::ConvertFraction($val)',
- },
- 9.1 => { # CS22-b
- Name => 'RepeatingFlashOutput',
- Mask => 0x70,
- ValueConv => '2 ** (-($val>>4)-2)',
- ValueConvInv => '$val > 0 ? int(-log($val)/log(2)-2+0.5)<<4 : 0',
- PrintConv => 'Image::ExifTool::Exif::PrintExposureTime($val)',
- PrintConvInv => 'Image::ExifTool::Exif::ConvertFraction($val)',
- },
- 9.2 => { # CS22-c
- Name => 'RepeatingFlashCount',
- Mask => 0x0f,
- ValueConv => '$val < 10 ? $val + 1 : 5 * ($val - 7)',
- ValueConvInv => '$val <= 10 ? $val - 1 : $val / 5 + 7',
- },
- 10.1 => { # CS22-d
- Name => 'RepeatingFlashRate',
- Mask => 0xf0,
- ValueConv => 'my $v=($val>>4); $v < 10 ? $v + 1 : 10 * ($v - 8)',
- ValueConvInv => 'int(($val <= 10 ? $val - 1 : $val / 10 + 8) + 0.5) << 4',
- PrintConv => '"$val Hz"',
- PrintConvInv => '$val=~/(\d+)/; $1 || 0',
- },
- 10.2 => { # CS22-n
- Name => 'CommanderChannel',
- Mask => 0x03,
- ValueConv => '$val + 1',
- ValueConvInv => '$val - 1',
- },
- 11.1 => { # CS22-e
- Name => 'CommanderInternalFlash',
- Mask => 0xc0,
- PrintConv => {
- 0x00 => 'TTL',
- 0x40 => 'Manual',
- 0x80 => 'Off',
- },
- },
- 11.2 => { # CS22-h
- Name => 'CommanderGroupAMode',
- Mask => 0x30,
- PrintConv => {
- 0x00 => 'TTL',
- 0x10 => 'Auto Aperture',
- 0x20 => 'Manual',
- 0x30 => 'Off',
- },
- },
- 11.3 => { # CS22-k
- Name => 'CommanderGroupBMode',
- Mask => 0x0c,
- PrintConv => {
- 0x00 => 'TTL',
- 0x04 => 'Auto Aperture',
- 0x08 => 'Manual',
- 0x0c => 'Off',
- },
- },
- 12.1 => { # CS22-f
- Name => 'CommanderInternalTTLComp',
- Mask => 0x1f,
- ValueConv => '($val - 9) / 3',
- ValueConvInv => '$val * 3 + 9',
- PrintConv => '$val ? sprintf("%+.1f",$val) : 0',
- PrintConvInv => '$val',
- },
- 12.2 => { # CS22-g
- Name => 'CommanderInternalManualOutput',
- Mask => 0xe0,
- ValueConv => '2 ** (-($val>>5))',
- ValueConvInv => '$val > 0 ? int(-log($val)/log(2)+0.5) << 5 : 0',
- PrintConv => q{
- return 'Full' if $val > 0.99;
- Image::ExifTool::Exif::PrintExposureTime($val);
- },
- PrintConvInv => '$val=~/F/i ? 1 : Image::ExifTool::Exif::ConvertFraction($val)',
- },
- 13.1 => { # CS22-i
- Name => 'CommanderGroupA_TTL-AAComp',
- Mask => 0x1f,
- ValueConv => '($val - 9) / 3',
- ValueConvInv => '$val * 3 + 9',
- PrintConv => '$val ? sprintf("%+.1f",$val) : 0',
- PrintConvInv => '$val',
- },
- 13.2 => { # CS22-j
- Name => 'CommanderGroupAManualOutput',
- Mask => 0xe0,
- ValueConv => '2 ** (-($val>>5))',
- ValueConvInv => '$val > 0 ? int(-log($val)/log(2)+0.5) << 5 : 0',
- PrintConv => q{
- return 'Full' if $val > 0.99;
- Image::ExifTool::Exif::PrintExposureTime($val);
- },
- PrintConvInv => '$val=~/F/i ? 1 : Image::ExifTool::Exif::ConvertFraction($val)',
- },
- 14.1 => { # CS22-l
- Name => 'CommanderGroupB_TTL-AAComp',
- Mask => 0x1f,
- ValueConv => '($val - 9) / 3',
- ValueConvInv => '$val * 3 + 9',
- PrintConv => '$val ? sprintf("%+.1f",$val) : 0',
- PrintConvInv => '$val',
- },
- 14.2 => { # CS22-m
- Name => 'CommanderGroupBManualOutput',
- Mask => 0xe0,
- ValueConv => '2 ** (-($val>>5))',
- ValueConvInv => '$val > 0 ? int(-log($val)/log(2)+0.5) << 5 : 0',
- PrintConv => q{
- return 'Full' if $val > 0.99;
- Image::ExifTool::Exif::PrintExposureTime($val);
- },
- PrintConvInv => '$val=~/F/i ? 1 : Image::ExifTool::Exif::ConvertFraction($val)',
- },
- 15.1 => { # CS3
- Name => 'CenterAFArea',
- Mask => 0x80,
- PrintConv => {
- 0x00 => 'Normal Zone',
- 0x80 => 'Wide Zone',
- },
- },
- 15.2 => { # CS20
- Name => 'FocusAreaSelection',
- Mask => 0x04,
- PrintConv => {
- 0x00 => 'No Wrap',
- 0x04 => 'Wrap',
- },
- },
- 15.3 => { # CS21
- Name => 'AFAreaIllumination',
- Mask => 0x03,
- PrintConv => {
- 0x00 => 'Auto',
- 0x01 => 'Off',
- 0x02 => 'On',
- },
- },
- 16.1 => { # CS2
- Name => 'AFAreaModeSetting',
- Mask => 0xc0,
- PrintConv => {
- 0x00 => 'Single Area',
- 0x40 => 'Dynamic Area',
- 0x80 => 'Auto-area',
- },
- },
- );
- # custom settings for the D40 (encrypted) - ref JD
- %Image::ExifTool::NikonCustom::SettingsD40 = (
- PROCESS_PROC => \&Image::ExifTool::ProcessBinaryData,
- WRITE_PROC => \&Image::ExifTool::WriteBinaryData,
- CHECK_PROC => \&Image::ExifTool::CheckBinaryData,
- WRITABLE => 1,
- FIRST_ENTRY => 0,
- GROUPS => { 0 => 'MakerNotes', 2 => 'Camera' },
- NOTES => 'Custom settings for the Nikon D40.',
- 0.1 => { # CS1
- Name => 'Beep',
- Mask => 0x80,
- PrintConv => {
- 0x00 => 'On',
- 0x80 => 'Off',
- },
- },
- 0.2 => { # CS9
- Name => 'AFAssist',
- Mask => 0x40,
- PrintConv => {
- 0x00 => 'On',
- 0x40 => 'Off',
- },
- },
- 0.3 => { # CS6
- Name => 'NoMemoryCard',
- Mask => 0x20,
- PrintConv => {
- 0x00 => 'Release Locked',
- 0x20 => 'Enable Release',
- },
- },
- 0.4 => { # CS7
- Name => 'ImageReview',
- Mask => 0x10,
- PrintConv => {
- 0x00 => 'On',
- 0x10 => 'Off',
- },
- },
- 1.1 => { # CS10-a
- Name => 'AutoISO',
- Mask => 0x80,
- PrintConv => {
- 0x00 => 'Off',
- 0x80 => 'On',
- },
- },
- 1.2 => { # CS10-b
- Name => 'AutoISOMax',
- Mask => 0x30,
- PrintConv => {
- 0x10 => 400,
- 0x20 => 800,
- 0x30 => 1600,
- },
- },
- 1.3 => { # CS10-c
- Name => 'AutoISOMinShutterSpeed',
- Mask => 0x07,
- PrintConvColumns => 2,
- PrintConv => {
- 0x00 => '1/125 s',
- 0x01 => '1/60 s',
- 0x02 => '1/30 s',
- 0x03 => '1/15 s',
- 0x04 => '1/8 s',
- 0x05 => '1/4 s',
- 0x06 => '1/2 s',
- 0x07 => '1 s',
- },
- },
- 2.1 => { # CS15-b
- Name => 'ImageReviewTime',
- Mask => 0x07,
- PrintConv => {
- 0x00 => '4 s',
- 0x01 => '8 s',
- 0x02 => '20 s',
- 0x03 => '1 min',
- 0x04 => '10 min',
- },
- },
- 3.1 => { # CS15-a
- Name => 'MonitorOffTime',
- Mask => 0xe0,
- PrintConv => {
- 0x00 => '4 s',
- 0x20 => '8 s',
- 0x40 => '20 s',
- 0x60 => '1 min',
- 0x80 => '10 min',
- },
- },
- 3.2 => { # CS15-c
- Name => 'MeteringTime',
- Mask => 0x1c,
- PrintConv => {
- 0x00 => '4 s',
- 0x04 => '8 s',
- 0x08 => '20 s',
- 0x0c => '1 min',
- 0x10 => '30 min',
- },
- },
- 3.3 => { # CS16
- Name => 'SelfTimerTime',
- Mask => 0x03,
- PrintConv => {
- 0x00 => '2 s',
- 0x01 => '5 s',
- 0x02 => '10 s',
- 0x03 => '20 s',
- },
- },
- 3.4 => { # CS17
- Name => 'RemoteOnDuration',
- Mask => 0xc0,
- PrintConv => {
- 0x00 => '1 min',
- 0x40 => '5 min',
- 0x80 => '10 min',
- 0xc0 => '15 min',
- },
- },
- 4.1 => { # CS12
- Name => 'AELockButton',
- Mask => 0x0e,
- PrintConv => {
- 0x00 => 'AE/AF Lock',
- 0x02 => 'AE Lock Only',
- 0x04 => 'AF Lock Only',
- 0x06 => 'AE Lock (hold)',
- 0x08 => 'AF-ON',
- },
- },
- 4.2 => { # CS13
- Name => 'AELock',
- Mask => 0x01,
- PrintConv => {
- 0x00 => 'Off',
- 0x01 => 'On',
- },
- },
- 5.1 => { # CS4
- Name => 'ShootingModeSetting',
- Mask => 0x70,
- PrintConv => {
- 0x00 => 'Single Frame',
- 0x10 => 'Continuous',
- 0x20 => 'Self-timer',
- 0x30 => 'Delayed Remote',
- 0x40 => 'Quick-response Remote',
- },
- },
- 5.2 => { # CS11
- Name => 'TimerFunctionButton',
- Mask => 0x07,
- PrintConv => {
- 0x00 => 'Shooting Mode',
- 0x01 => 'Image Quality/Size',
- 0x02 => 'ISO',
- 0x03 => 'White Balance',
- 0x04 => 'Self-timer',
- },
- },
- 6.1 => { # CS5
- Name => 'Metering',
- Mask => 0x03,
- PrintConv => {
- 0x00 => 'Matrix',
- 0x01 => 'Center-weighted',
- 0x02 => 'Spot',
- },
- },
- 8.1 => { # CS14-a
- Name => 'InternalFlash',
- Mask => 0x10,
- PrintConv => {
- 0x00 => 'TTL',
- 0x10 => 'Manual',
- },
- },
- 8.2 => { # CS14-b
- Name => 'ManualFlashOutput',
- Mask => 0x07,
- ValueConv => '2 ** (-$val)',
- ValueConvInv => '$val > 0 ? -log($val)/log(2) : 0',
- PrintConv => q{
- return 'Full' if $val > 0.99;
- Image::ExifTool::Exif::PrintExposureTime($val);
- },
- PrintConvInv => '$val=~/F/i ? 1 : Image::ExifTool::Exif::ConvertFraction($val)',
- },
- 9 => { # CS8
- Name => 'FlashLevel',
- Format => 'int8s',
- ValueConv => '$val / 6',
- ValueConvInv => '$val * 6',
- PrintConv => 'sprintf("%+.1f",$val)',
- PrintConvInv => '$val',
- },
- 10.1 => { # CS2
- Name => 'FocusModeSetting',
- # (may differ from FocusMode if lens switch is set to Manual)
- Mask => 0xc0,
- PrintConv => {
- 0x00 => 'Manual',
- 0x40 => 'AF-S',
- 0x80 => 'AF-C',
- 0xc0 => 'AF-A',
- },
- },
- 11.1 => { # CS3
- Name => 'AFAreaModeSetting',
- # (may differ from AFAreaMode for Manual focus)
- Mask => 0x30,
- PrintConv => {
- 0x00 => 'Single Area',
- 0x10 => 'Dynamic Area',
- 0x20 => 'Closest Subject',
- },
- }
- );
- # D90 custom settings (ref PH)
- %Image::ExifTool::NikonCustom::SettingsD90 = (
- PROCESS_PROC => \&Image::ExifTool::ProcessBinaryData,
- WRITE_PROC => \&Image::ExifTool::WriteBinaryData,
- CHECK_PROC => \&Image::ExifTool::CheckBinaryData,
- WRITABLE => 1,
- FIRST_ENTRY => 0,
- GROUPS => { 0 => 'MakerNotes', 2 => 'Camera' },
- NOTES => 'Custom settings for the D90.',
- # Missing:
- # CSe2 RepeatingFlashRate (needs verification)
- # CommanderInternalFlash, CommanderGroupAMode, CommanderGroupBMode,
- # CommanderChannel, CommanderInternalManualOutput,
- # CommanderGroupAManualOutput, CommanderGroupBManualOutput
- # CommanderGroupA_TTL-AAComp, CommanderGroupB_TTL-AAComp,
- # CSe4 AutoBracketSet (some values need verification)
- # CSf2 OKButton ("Not Used" value needs verification)
- # CSf5-b CommandDialsChangeMainSub
- # CSf5-c CommandDialsMenuAndPlayback
- 0.1 => { # CSf1
- Name => 'LightSwitch',
- Mask => 0x08,
- PrintConv => {
- 0x00 => 'LCD Backlight',
- 0x08 => 'LCD Backlight and Shooting Information',
- },
- },
- 2.1 => { # CSa1
- Name => 'AFAreaModeSetting',
- Mask => 0x60,
- PrintConv => {
- 0x00 => 'Single Area',
- 0x20 => 'Dynamic Area',
- 0x40 => 'Auto-area',
- 0x60 => '3D-tracking (11 points)',
- },
- },
- 2.2 => { # CSa2
- Name => 'CenterFocusPoint',
- Mask => 0x10,
- PrintConv => {
- 0x00 => 'Normal Zone',
- 0x10 => 'Wide Zone',
- },
- },
- 2.3 => { # CSa3
- Name => 'AFAssist',
- Mask => 0x01,
- PrintConv => { 0x00 => 'On', 0x01 => 'Off' },
- },
- 2.4 => { # CSa4
- Name => 'AFPointIllumination',
- Mask => 0x06,
- PrintConv => {
- 0x00 => 'Auto',
- 0x02 => 'On',
- 0x04 => 'Off',
- },
- },
- 2.5 => { # CSa5
- Name => 'FocusPointWrap',
- Mask => 0x08,
- PrintConv => {
- 0x00 => 'No Wrap',
- 0x08 => 'Wrap',
- },
- },
- 3.1 => { # CSa6
- Name => 'AELockForMB-D80',
- Mask => 0x1c,
- PrintConv => {
- 0x00 => 'AE Lock Only',
- 0x04 => 'AF Lock Only',
- 0x08 => 'AE Lock (hold)',
- 0x0c => 'AF-On',
- 0x10 => 'FV Lock',
- 0x14 => 'Focus Point Selection',
- 0x1c => 'AE/AF Lock',
- },
- },
- 3.2 => { # CSd12
- Name => 'MB-D80BatteryType',
- Mask => 0x03,
- PrintConv => {
- 0x00 => 'LR6 (AA alkaline)',
- 0x01 => 'HR6 (AA Ni-MH)',
- 0x02 => 'FR6 (AA lithium)',
- 0x03 => 'ZR6 (AA Ni-Mn)',
- },
- },
- 4.1 => { # CSd1
- Name => 'Beep',
- Mask => 0x40,
- PrintConv => {
- 0x40 => 'On',
- 0x00 => 'Off',
- },
- },
- 4.2 => { # CSd2
- Name => 'GridDisplay',
- Mask => 0x02,
- PrintConv => { 0x00 => 'Off', 0x02 => 'On' },
- },
- 4.3 => { # CSd3
- Name => 'ISODisplay',
- Mask => 0x0c,
- PrintConv => {
- 0x00 => 'Show ISO/Easy ISO',
- 0x04 => 'Show ISO Sensitivity',
- 0x0c => 'Show Frame Count',
- },
- },
- 4.4 => { # CSd4
- Name => 'ViewfinderWarning',
- Mask => 0x01,
- PrintConv => { 0x00 => 'On', 0x01 => 'Off' },
- },
- 4.5 => { # CSf6
- Name => 'NoMemoryCard',
- Mask => 0x20,
- PrintConv => {
- 0x00 => 'Release Locked',
- 0x20 => 'Enable Release',
- },
- },
- 5.1 => { # CSd5
- Name => 'ScreenTips',
- Mask => 0x04,
- PrintConv => { 0x00 => 'Off', 0x04 => 'On' },
- },
- 5.2 => { # CSd7
- Name => 'FileNumberSequence',
- Mask => 0x08,
- PrintConv => { 0x00 => 'On', 0x08 => 'Off' },
- },
- 5.3 => { # CSd8
- Name => 'ShootingInfoDisplay',
- Mask => 0xc0,
- PrintConv => {
- 0x00 => 'Auto',
- 0x80 => 'Manual (dark on light)',
- 0xc0 => 'Manual (light on dark)',
- },
- },
- 5.4 => { # CSd9
- Name => 'LCDIllumination',
- Mask => 0x20,
- PrintConv => { 0x00 => 'Off', 0x20 => 'On' },
- },
- 6.1 => { # CSb2
- Name => 'EasyExposureComp',
- Mask => 0x01,
- PrintConv => { 0x00 => 'Off', 0x01 => 'On' },
- },
- 6.2 => { # CSf7
- Name => 'ReverseIndicators',
- Mask => 0x80,
- PrintConv => {
- 0x00 => '+ 0 -',
- 0x80 => '- 0 +',
- },
- },
- 7.1 => { # CSb1
- Name => 'ExposureControlStepSize',
- Mask => 0x40,
- PrintConv => {
- 0x00 => '1/3 EV',
- 0x40 => '1/2 EV',
- },
- },
- 8.1 => { # CSb3
- Name => 'CenterWeightedAreaSize',
- Mask => 0x60,
- PrintConv => {
- 0x00 => '6 mm',
- 0x20 => '8 mm',
- 0x40 => '10 mm',
- },
- },
- 8.2 => { # CSb4-a
- Name => 'FineTuneOptMatrixMetering',
- Mask => 0x0f,
- ValueConv => '($val > 0x7 ? $val - 0x10 : $val) / 6',
- ValueConvInv => 'int($val*6+($val>0?0.5:-0.5)) & 0x0f',
- PrintConv => '$val ? sprintf("%+.2f", $val) : 0',
- PrintConvInv => 'Image::ExifTool::Exif::ConvertFraction($val)',
- },
- 9.1 => { # CSb4-b
- Name => 'FineTuneOptCenterWeighted',
- Mask => 0xf0,
- ValueConv => '($val > 0x70 ? $val - 0x100 : $val) / 0x60',
- ValueConvInv => '(int($val*6+($val>0?0.5:-0.5))<<4) & 0xf0',
- PrintConv => '$val ? sprintf("%+.2f", $val) : 0',
- PrintConvInv => 'Image::ExifTool::Exif::ConvertFraction($val)',
- },
- 9.2 => { # CSb4-c
- Name => 'FineTuneOptSpotMetering',
- Mask => 0x0f,
- ValueConv => '($val > 0x7 ? $val - 0x10 : $val) / 6',
- ValueConvInv => 'int($val*6+($val>0?0.5:-0.5)) & 0x0f',
- PrintConv => '$val ? sprintf("%+.2f", $val) : 0',
- PrintConvInv => 'Image::ExifTool::Exif::ConvertFraction($val)',
- },
- 11.1 => { # CSd6
- Name => 'CLModeShootingSpeed',
- Mask => 0x07,
- PrintConv => '"$val fps"',
- PrintConvInv => '$val=~s/\s*fps//i; $val',
- },
- 11.2 => { # CSd10
- Name => 'ExposureDelayMode',
- Mask => 0x40,
- PrintConv => {
- 0x00 => 'Off',
- 0x40 => 'On',
- },
- },
- 13.1 => { # CSe4
- Name => 'AutoBracketSet',
- Mask => 0xe0, #(NC)
- PrintConv => {
- 0x00 => 'AE & Flash', # default
- 0x20 => 'AE Only',
- 0x40 => 'Flash Only', #(NC)
- 0x60 => 'WB Bracketing', #(NC)
- 0x80 => 'Active D-Lighting', #(NC)
- },
- },
- 13.2 => { # CSe6
- Name => 'AutoBracketOrder',
- Mask => 0x10,
- PrintConv => {
- 0x00 => '0,-,+',
- 0x10 => '-,0,+',
- },
- },
- 14.1 => { # CSf3
- Name => 'FuncButton',
- Mask => 0x78,
- PrintConv => {
- 0x08 => 'Framing Grid',
- 0x10 => 'AF-area Mode',
- 0x18 => 'Center Focus Point',
- 0x20 => 'FV Lock', # default
- 0x28 => 'Flash Off',
- 0x30 => 'Matrix Metering',
- 0x38 => 'Center-weighted Metering',
- 0x40 => 'Spot Metering',
- 0x48 => 'My Menu Top',
- 0x50 => '+ NEF (RAW)',
- },
- },
- 16.1 => { # CSf2
- Name => 'OKButton',
- Mask => 0x18,
- PrintConv => {
- 0x08 => 'Select Center Focus Point',
- 0x10 => 'Highlight Active Focus Point',
- 0x18 => 'Not Used', #(NC)
- 0x00 => 'Not Used', #(NC)
- },
- },
- 17.1 => { # CSf4
- Name => 'AELockButton',
- Mask => 0x38,
- PrintConv => {
- 0x00 => 'AE/AF Lock',
- 0x08 => 'AE Lock Only',
- 0x10 => 'AF Lock Only', #(NC)
- 0x18 => 'AE Lock (hold)', #(NC)
- 0x20 => 'AF-ON', #(NC)
- 0x28 => 'FV Lock', #(NC)
- },
- },
- 18.1 => { # CSf5-a
- Name => 'CommandDialsReverseRotation',
- Mask => 0x80,
- PrintConv => { 0x00 => 'No', 0x80 => 'Yes' },
- },
- 18.2 => { # CSc1
- Name => 'ShutterReleaseButtonAE-L',
- Mask => 0x02,
- PrintConv => { 0x00 => 'Off', 0x02 => 'On' },
- },
- 19.1 => { # CSc2
- Name => 'MeteringTime',
- Mask => 0xf0,
- PrintConvColumns => 2,
- PrintConv => {
- 0x00 => '4 s',
- 0x10 => '6 s', # default
- 0x20 => '8 s',
- 0x30 => '16 s',
- 0x40 => '30 s',
- 0x50 => '1 min',
- 0x60 => '5 min',
- 0x70 => '10 min',
- 0x80 => '30 min',
- },
- },
- 19.2 => { # CSc5
- Name => 'RemoteOnDuration',
- Mask => 0x03,
- PrintConv => {
- 0x00 => '1 min',
- 0x01 => '5 min',
- 0x02 => '10 min',
- 0x03 => '15 min',
- },
- },
- 20.1 => { # CSc3-a
- Name => 'SelfTimerTime',
- Mask => 0xc0,
- PrintConv => {
- 0x00 => '2 s',
- 0x40 => '5 s',
- 0x80 => '10 s', # default
- 0xc0 => '20 s',
- },
- },
- 20.2 => { # CSc3-b
- Name => 'SelfTimerShotCount',
- Mask => 0x1e,
- ValueConv => '$val >> 1',
- ValueConvInv => '$val << 1',
- },
- 21.1 => { # CSc4-a
- Name => 'PlaybackMonitorOffTime',
- Mask => 0x1c,
- PrintConv => {
- 0x00 => '4 s',
- 0x04 => '10 s', # default
- 0x08 => '20 s',
- 0x0c => '1 min',
- 0x10 => '5 min',
- 0x14 => '10 min',
- },
- },
- 21.2 => { # CSc4-d
- Name => 'ImageReviewTime',
- Mask => 0xe0,
- PrintConv => {
- 0x00 => '4 s', # default
- 0x20 => '10 s',
- 0x40 => '20 s',
- 0x60 => '1 min',
- 0x80 => '5 min',
- 0xa0 => '10 min',
- },
- },
- 22.1 => { # CSc4-b
- Name => 'MenuMonitorOffTime',
- Mask => 0xe0,
- PrintConv => {
- 0x00 => '4 s',
- 0x20 => '10 s',
- 0x40 => '20 s', # default
- 0x60 => '1 min',
- 0x80 => '5 min',
- 0xa0 => '10 min',
- },
- },
- 22.2 => { # CSc4-c
- Name => 'ShootingInfoMonitorOffTime',
- Mask => 0x1c,
- PrintConv => {
- 0x00 => '4 s',
- 0x04 => '10 s', # default
- 0x08 => '20 s',
- 0x0c => '1 min',
- 0x10 => '5 min',
- 0x14 => '10 min',
- },
- },
- 23.1 => { # CSe1
- Name => 'FlashShutterSpeed',
- Mask => 0x0f,
- PrintConvColumns => 2,
- PrintConv => {
- 0x00 => '1/60 s', # default
- 0x01 => '1/30 s',
- 0x02 => '1/15 s',
- 0x03 => '1/8 s',
- 0x04 => '1/4 s',
- 0x05 => '1/2 s',
- 0x06 => '1 s',
- 0x07 => '2 s',
- 0x08 => '4 s',
- 0x09 => '8 s',
- 0x0a => '15 s',
- 0x0b => '30 s',
- },
- },
- 24.1 => { # CSe2-a
- Name => 'InternalFlash',
- Mask => 0xc0,
- PrintConv => {
- 0x00 => 'TTL',
- 0x40 => 'Manual',
- 0x80 => 'Repeating Flash',
- 0xc0 => 'Commander Mode',
- },
- },
- 24.2 => { # CSe2-b
- Name => 'ManualFlashOutput',
- Mask => 0x1f,
- ValueConv => '2 ** (-$val/3)',
- ValueConvInv => '$val > 0 ? -3*log($val)/log(2) : 0',
- PrintConv => q{
- return 'Full' if $val > 0.99;
- Image::ExifTool::Exif::PrintExposureTime($val);
- },
- PrintConvInv => '$val=~/F/i ? 1 : Image::ExifTool::Exif::ConvertFraction($val)',
- },
- 25.1 => { # CSe2-ca
- Name => 'RepeatingFlashOutput',
- Mask => 0x70,
- ValueConv => '2 ** (-($val>>4)-2)',
- ValueConvInv => '$val > 0 ? int(-log($val)/log(2)-2+0.5)<<4 : 0',
- PrintConv => 'Image::ExifTool::Exif::PrintExposureTime($val)',
- PrintConvInv => 'Image::ExifTool::Exif::ConvertFraction($val)',
- },
- 25.2 => { # CSe2-cb
- Name => 'RepeatingFlashCount',
- Mask => 0x0f,
- ValueConv => '$val < 10 ? $val + 1 : 5 * ($val - 7)',
- ValueConvInv => '$val <= 10 ? $val - 1 : $val / 5 + 7',
- },
- 26.1 => { # CSe2-cc (NC)
- Name => 'RepeatingFlashRate',
- Mask => 0xf0,
- ValueConv => 'my $v=($val>>4); $v < 10 ? $v + 1 : 10 * ($v - 8)',
- ValueConvInv => 'int(($val <= 10 ? $val - 1 : $val / 10 + 8) + 0.5) << 4',
- PrintConv => '"$val Hz"',
- PrintConvInv => '$val=~/(\d+)/; $1 || 0',
- },
- 31.1 => { # CSd11
- Name => 'FlashWarning',
- Mask => 0x80,
- PrintConv => {
- 0x00 => 'On',
- 0x80 => 'Off',
- },
- },
- 31.2 => { # CSe2-ea
- Name => 'CommanderInternalTTLComp',
- Mask => 0x1f,
- ValueConv => '($val - 9) / 3',
- ValueConvInv => '$val * 3 + 9',
- PrintConv => '$val ? sprintf("%+.1f",$val) : 0',
- PrintConvInv => '$val',
- },
- 31.3 => { # CSe3
- Name => 'ModelingFlash',
- Mask => 0x20,
- PrintConv => { 0x00 => 'On', 0x20 => 'Off' },
- },
- 31.4 => { # CSe5
- Name => 'AutoFP',
- Mask => 0x40,
- PrintConv => {
- 0x00 => 'Off',
- 0x40 => 'On',
- },
- },
- 32.1 => { # CSe2-eb
- Name => 'CommanderGroupA_TTLComp',
- Mask => 0x1f,
- ValueConv => '($val - 9) / 3',
- ValueConvInv => '$val * 3 + 9',
- PrintConv => '$val ? sprintf("%+.1f",$val) : 0',
- PrintConvInv => '$val',
- },
- 33.1 => { # CSe2-ec
- Name => 'CommanderGroupB_TTLComp',
- Mask => 0x1f,
- ValueConv => '($val - 9) / 3',
- ValueConvInv => '$val * 3 + 9',
- PrintConv => '$val ? sprintf("%+.1f",$val) : 0',
- PrintConvInv => '$val',
- },
- 34.1 => { # CSa7
- Name => 'LiveViewAF',
- Mask => 0xc0,
- PrintConv => {
- 0x00 => 'Face Priority', #(NC)
- 0x40 => 'Wide Area',
- 0x80 => 'Normal Area',
- },
- },
- );
- # D300 (ref JD) and D3 (ref 1/PH) custom settings
- %Image::ExifTool::NikonCustom::SettingsD3 = (
- PROCESS_PROC => \&Image::ExifTool::ProcessBinaryData,
- WRITE_PROC => \&Image::ExifTool::WriteBinaryData,
- CHECK_PROC => \&Image::ExifTool::CheckBinaryData,
- WRITABLE => 1,
- FIRST_ENTRY => 0,
- GROUPS => { 0 => 'MakerNotes', 2 => 'Camera' },
- NOTES => 'Custom settings for the D3, D3S, D3X, D300 and D300S.',
- # these settings have been decoded using the D3 and D300, and
- # extrapolated to the other models, but these haven't yet been
- # verified, and the following custom settings are missing:
- # CSf1-d (D3X,D3S) MultiSelectorLiveView
- # CSf1 (D300S) LightSwitch
- 0.1 => { #1
- Name => 'CustomSettingsBank',
- Mask => 0x03,
- PrintConv => {
- 0 => 'A',
- 1 => 'B',
- 2 => 'C',
- 3 => 'D',
- },
- },
- 0.2 => { #1
- Name => 'CustomSettingsAllDefault',
- Notes => '"No" if any custom setting for this bank was changed from the default',
- Mask => 0x80,
- PrintConv => { 0x00 => 'Yes', 0x80 => 'No' },
- },
- 1.1 => { # CSa1
- Name => 'AF-CPrioritySelection',
- Mask => 0xc0,
- PrintConv => {
- 0x00 => 'Release',
- 0x40 => 'Release + Focus',
- 0x80 => 'Focus',
- },
- },
- 1.2 => { # CSa2
- Name => 'AF-SPrioritySelection',
- Mask => 0x20,
- PrintConv => {
- 0x00 => 'Focus',
- 0x20 => 'Release',
- },
- },
- 1.3 => { # CSa8
- Name => 'AFPointSelection',
- Mask => 0x10,
- PrintConv => {
- 0x00 => '51 Points',
- 0x10 => '11 Points',
- },
- },
- 1.4 => { # CSa3
- Name => 'DynamicAFArea',
- Mask => 0x0c,
- PrintConv => {
- 0x00 => '9 Points',
- 0x04 => '21 Points',
- 0x08 => '51 Points',
- 0x0c => '51 Points (3D-tracking)',
- },
- },
- 1.5 => { # CSa4
- Name => 'FocusTrackingLockOn',
- Condition => '$$self{Model} !~ /D3S\b/',
- Notes => 'not D3S',
- Mask => 0x03,
- PrintConv => {
- 0x00 => 'Long',
- 0x01 => 'Normal',
- 0x02 => 'Short',
- 0x03 => 'Off',
- },
- },
- 2.1 => { # CSa5
- Name => 'AFActivation',
- Mask => 0x80,
- PrintConv => {
- 0x00 => 'Shutter/AF-On',
- 0x80 => 'AF-On Only',
- },
- },
- 2.2 => { # CSa7
- Name => 'FocusPointWrap',
- Mask => 0x08,
- PrintConv => {
- 0x00 => 'No Wrap',
- 0x08 => 'Wrap',
- },
- },
- 2.3 => [ # CSa6
- {
- Name => 'AFPointIllumination',
- Condition => '$$self{Model} =~ /D3[SX]?\b/',
- Notes => 'D3',
- Mask => 0x60,
- PrintConv => {
- 0x00 => 'On in Continuous Shooting and Manual Focusing',
- 0x20 => 'On During Manual Focusing',
- 0x40 => 'On in Continuous Shooting Modes',
- 0x60 => 'Off',
- },
- },
- {
- Name => 'AFPointIllumination',
- Notes => 'D300',
- Mask => 0x06,
- PrintConv => {
- 0x00 => 'Auto',
- 0x02 => 'Off',
- 0x04 => 'On',
- },
- },
- ],
- 2.4 => { # CSa6-b (D3, added by firmware update)
- Name => 'AFPointBrightness',
- Condition => '$$self{Model} =~ /D3[SX]?\b/',
- Notes => 'D3 only',
- Mask => 0x06,
- PrintConv => {
- 0x00 => 'Low',
- 0x02 => 'Normal',
- 0x04 => 'High',
- 0x06 => 'Extra High',
- },
- },
- 2.5 => { # CSa9 (D300)
- Name => 'AFAssist',
- Condition => '$$self{Model} =~ /D300S?\b/',
- Notes => 'D300 only',
- Mask => 0x01,
- PrintConv => { 0x00 => 'On', 0x01 => 'Off' },
- },
- 3.1 => { # CSa9 (D3)
- Name => 'AFOnButton',
- Condition => '$$self{Model} =~ /D3[SX]?\b/',
- Notes => 'D3 only',
- Mask => 0x07,
- PrintConv => {
- 0 => 'AF On',
- 1 => 'AE/AF Lock',
- 2 => 'AE Lock Only',
- 3 => 'AE Lock (reset on release)',
- 4 => 'AE Lock (hold)',
- 5 => 'AF Lock Only',
- },
- },
- 3.2 => { # CSa10 (D3)
- Name => 'VerticalAFOnButton',
- Condition => '$$self{Model} =~ /D3[SX]?\b/',
- Notes => 'D3 only',
- Mask => 0x70,
- PrintConv => {
- 0x00 => 'AF On',
- 0x10 => 'AE/AF Lock',
- 0x20 => 'AE Lock Only',
- 0x30 => 'AE Lock (reset on release)',
- 0x40 => 'AE Lock (hold)',
- 0x50 => 'AF Lock Only',
- 0x70 => 'Same as AF On',
- },
- },
- 3.3 => { # CSa10 (D300)
- Name => 'AF-OnForMB-D10',
- Condition => '$$self{Model} =~ /D300S?\b/',
- Notes => 'D300 only',
- Mask => 0x70,
- PrintConv => {
- 0x00 => 'AF-On',
- 0x10 => 'AE/AF Lock',
- 0x20 => 'AE Lock Only',
- 0x30 => 'AE Lock (reset on release)',
- 0x40 => 'AE Lock (hold)',
- 0x50 => 'AF Lock Only',
- 0x60 => 'Same as FUNC Button',
- },
- },
- 4.1 => { # CSa4 (D3S)
- Name => 'FocusTrackingLockOn',
- Condition => '$$self{Model} =~ /D3S\b/',
- Notes => 'D3S only',
- Mask => 0x07,
- PrintConv => {
- 0x00 => '5 (Long)',
- 0x01 => '4',
- 0x02 => '3 (Normal)',
- 0x03 => '2',
- 0x04 => '1 (Short)',
- 0x05 => 'Off',
- },
- },
- 4.2 => { # CSf7 (D3S)
- Name => 'AssignBktButton',
- Condition => '$$self{Model} =~ /D3S\b/',
- Notes => 'D3S only',
- Mask => 0x08,
- PrintConv => {
- 0x00 => 'Auto Bracketing',
- 0x08 => 'Multiple Exposure',
- },
- },
- 4.3 => { # CSf1-c (D3S) (ref 1)
- Name => 'MultiSelectorLiveView',
- Condition => '$$self{Model} =~ /D3S\b/',
- Notes => 'D3S only',
- Mask => 0xc0,
- PrintConv => {
- 0x00 => 'Reset',
- 0x40 => 'Zoom On/Off',
- 0x80 => 'Start Movie Recording',
- 0xc0 => 'Not Used',
- },
- },
- 4.4 => { # CSf1-c2 (D3S) (ref 1)
- Name => 'InitialZoomLiveView',
- Condition => '$$self{Model} =~ /D3S\b/',
- Notes => 'D3S only',
- Mask => 0x30,
- PrintConv => {
- 0x00 => 'Low Magnification',
- 0x10 => 'Medium Magnification',
- 0x20 => 'High Magnification',
- },
- },
- 6.1 => { # CSb1
- Name => 'ISOStepSize',
- Mask => 0xc0,
- PrintConv => {
- 0x00 => '1/3 EV',
- 0x40 => '1/2 EV',
- 0x80 => '1 EV',
- },
- },
- 6.2 => { # CSb2
- Name => 'ExposureControlStepSize',
- Mask => 0x30,
- PrintConv => {
- 0x00 => '1/3 EV',
- 0x10 => '1/2 EV',
- 0x20 => '1 EV',
- },
- },
- 6.3 => { # CSb3
- Name => 'ExposureCompStepSize',
- Mask => 0x0c,
- PrintConv => {
- 0x00 => '1/3 EV',
- 0x04 => '1/2 EV',
- 0x08 => '1 EV',
- },
- },
- 6.4 => { # CSb4
- Name => 'EasyExposureCompensation',
- Mask => 0x03,
- PrintConv => {
- 0x00 => 'Off',
- 0x01 => 'On',
- 0x02 => 'On (auto reset)',
- },
- },
- 7.1 => [ # CSb5
- {
- Name => 'CenterWeightedAreaSize',
- Condition => '$$self{Model} =~ /D3[SX]?\b/',
- Notes => 'D3',
- Mask => 0xe0,
- PrintConv => {
- 0x00 => '8 mm',
- 0x20 => '12 mm',
- 0x40 => '15 mm',
- 0x60 => '20 mm',
- 0x80 => 'Average',
- },
- },
- {
- Name => 'CenterWeightedAreaSize',
- Notes => 'D300',
- Mask => 0xe0,
- PrintConv => {
- 0x00 => '6 mm',
- 0x20 => '8 mm',
- 0x40 => '10 mm',
- 0x60 => '13 mm',
- 0x80 => 'Average',
- },
- },
- ],
- 7.2 => { # CSb6-b
- Name => 'FineTuneOptCenterWeighted',
- Mask => 0x0f,
- ValueConv => '($val > 0x7 ? $val - 0x10 : $val) / 6',
- ValueConvInv => 'int($val*6+($val>0?0.5:-0.5)) & 0x0f',
- PrintConv => '$val ? sprintf("%+.2f", $val) : 0',
- PrintConvInv => 'Image::ExifTool::Exif::ConvertFraction($val)',
- },
- 8.1 => { # CSb6-a
- Name => 'FineTuneOptMatrixMetering',
- Mask => 0xf0,
- ValueConv => '($val > 0x70 ? $val - 0x100 : $val) / 0x60',
- ValueConvInv => '(int($val*6+($val>0?0.5:-0.5))<<4) & 0xf0',
- PrintConv => '$val ? sprintf("%+.2f", $val) : 0',
- PrintConvInv => 'Image::ExifTool::Exif::ConvertFraction($val)',
- },
- 8.2 => { # CSb6-c
- Name => 'FineTuneOptSpotMetering',
- Mask => 0x0f,
- ValueConv => '($val > 0x7 ? $val - 0x10 : $val) / 6',
- ValueConvInv => 'int($val*6+($val>0?0.5:-0.5)) & 0x0f',
- PrintConv => '$val ? sprintf("%+.2f", $val) : 0',
- PrintConvInv => 'Image::ExifTool::Exif::ConvertFraction($val)',
- },
- 9.1 => { # CSf1-a, CSf2-a (D300S)
- Name => 'MultiSelectorShootMode',
- Mask => 0xc0,
- PrintConv => {
- 0x00 => 'Select Center Focus Point',
- 0x40 => 'Highlight Active Focus Point',
- 0x80 => 'Not Used',
- },
- },
- 9.2 => { # CSf1-b, CSf2-b (D300S)
- Name => 'MultiSelectorPlaybackMode',
- Condition => '$$self{Model} !~ /D3S\b/',
- Notes => 'all models except D3S', # (not confirmed for D3X)
- Mask => 0x30,
- PrintConv => {
- 0x00 => 'Thumbnail On/Off',
- 0x10 => 'View Histograms',
- 0x20 => 'Zoom On/Off',
- 0x30 => 'Choose Folder',
- },
- },
- 9.3 => [ # CSf1-b2, CSf2-b2 (D300S)
- {
- Name => 'InitialZoomSetting',
- Condition => '$$self{Model} =~ /D3[SX]?\b/',
- Notes => 'D3',
- Mask => 0x0c,
- PrintConv => { #1
- 0x00 => 'High Magnification',
- 0x04 => 'Medium Magnification',
- 0x08 => 'Low Magnification',
- },
- },
- {
- Name => 'InitialZoomSetting',
- Notes => 'D300',
- Mask => 0x0c,
- PrintConv => { #JD
- 0x00 => 'Low Magnification',
- 0x04 => 'Medium Magnification',
- 0x08 => 'High Magnification',
- },
- },
- ],
- 9.4 => { # CSf2 (D300,D3), CSf3 (D300S)
- Name => 'MultiSelector',
- Mask => 0x01,
- PrintConv => {
- 0x00 => 'Do Nothing',
- 0x01 => 'Reset Meter-off Delay',
- },
- },
- 10.1 => { # CSd9 (D300,D3S), CSd10 (D300S), CSd8 (D3)
- Name => 'ExposureDelayMode',
- Mask => 0x40,
- PrintConv => { 0x00 => 'Off', 0x40 => 'On' },
- },
- 10.2 => { # CSd4 (D300), CDs5 (D300S), CSd2-a (D3)
- Name => 'CLModeShootingSpeed',
- Mask => 0x07,
- PrintConv => '"$val fps"',
- PrintConvInv => '$val=~s/\s*fps//i; $val',
- },
- 10.3 => { # (D3 CSd2-b)
- Name => 'CHModeShootingSpeed',
- Condition => '$$self{Model} =~ /D3[SX]?\b/',
- Notes => 'D3 only',
- Mask => 0x30,
- PrintConv => {
- 0x00 => '9 fps',
- 0x10 => '10 fps',
- 0x20 => '11 fps',
- },
- },
- 11 => { # CSd5 (D300), CSd6 (D300S), CSd3 (D3)
- Name => 'MaxContinuousRelease',
- # values: 1-100 (D300), 1-130 (D3)
- },
- 12.1 => { # CSf10, CSf11 (D3S,D300S)
- Name => 'ReverseIndicators',
- Mask => 0x20,
- PrintConv => {
- 0x00 => '+ 0 -',
- 0x20 => '- 0 +',
- },
- },
- 12.2 => [ # CSd6 (D300), CSd7 (D300S), CSd4 (D3)
- {
- Name => 'FileNumberSequence',
- Condition => '$$self{Model} =~ /D3[SX]?\b/',
- Notes => 'D3',
- Mask => 0x02,
- PrintConv => { 0x00 => 'On', 0x02 => 'Off' },
- },
- {
- Name => 'FileNumberSequence',
- Notes => 'D300',
- Mask => 0x08,
- PrintConv => { 0x00 => 'On', 0x08 => 'Off' },
- },
- ],
- 12.3 => { # CSd5-a (D3)
- Name => 'RearDisplay',
- Condition => '$$self{Model} =~ /D3[SX]?\b/',
- Notes => 'D3 only',
- Mask => 0x80,
- PrintConv => {
- 0x00 => 'ISO',
- 0x80 => 'Exposures Remaining',
- },
- },
- 12.4 => { # CSd5-b (D3)
- Name => 'ViewfinderDisplay',
- Condition => '$$self{Model} =~ /D3[SX]?\b/',
- Notes => 'D3 only',
- Mask => 0x40,
- PrintConv => {
- 0x00 => 'Frame Count',
- 0x40 => 'Exposures Remaining',
- },
- },
- 12.5 => { # CSd11 (D300), CSd12 (D300S)
- Name => 'BatteryOrder',
- Condition => '$$self{Model} =~ /D300S?\b/',
- Notes => 'D300 only',
- Mask => 0x04,
- PrintConv => {
- 0x00 => 'MB-D10 First',
- 0x04 => 'Camera Battery First',
- },
- },
- 12.6 => { # CSd10 (D300), CSd11 (D300S)
- Name => 'MB-D10Batteries',
- Condition => '$$self{Model} =~ /D300S?\b/',
- Notes => 'D300 only',
- Mask => 0x03,
- PrintConv => {
- 0x00 => 'LR6 (AA alkaline)',
- 0x01 => 'HR6 (AA Ni-MH)',
- 0x02 => 'FR6 (AA lithium)',
- 0x03 => 'ZR6 (AA Ni-Mn)',
- },
- },
- 12.7 => { # CSd7 (D3S), CSd4, (D300S)
- Name => 'ScreenTips',
- Condition => '$$self{Model} =~ /(D3S|D300S)\b/',
- Mask => 0x10,
- PrintConv => {
- 0x00 => 'On',
- 0x10 => 'Off',
- },
- },
- 13.1 => { # CSd1
- Name => 'Beep',
- Mask => 0xc0,
- PrintConv => {
- 0x00 => 'High',
- 0x40 => 'Low',
- 0x80 => 'Off',
- },
- },
- 13.2 => { # CSd7 (D300), CSd8 (D300S), CSd6 (D3)
- Name => 'ShootingInfoDisplay',
- Mask => 0x30,
- PrintConv => {
- 0x00 => 'Auto', #JD (D300)
- 0x10 => 'Auto', #1 (D3)
- 0x20 => 'Manual (dark on light)',
- 0x30 => 'Manual (light on dark)',
- },
- },
- 13.3 => { # CSd2 (D300)
- Name => 'GridDisplay',
- Condition => '$$self{Model} =~ /D300S?\b/',
- Notes => 'D300 only',
- Mask => 0x02,
- PrintConv => { 0x00 => 'Off', 0x02 => 'On' },
- },
- 13.4 => { # CSd3 (D300)
- Name => 'ViewfinderWarning',
- Condition => '$$self{Model} =~ /D300S?\b/',
- Notes => 'D300 only',
- Mask => 0x01,
- PrintConv => { 0x00 => 'On', 0x01 => 'Off' },
- },
- 13.5 => { # CSf1-b (D3S) (ref 1)
- Name => 'MultiSelectorPlaybackMode',
- Condition => '$$self{Model} =~ /D3S\b/',
- Notes => 'D3S only',
- Mask => 0x03,
- PrintConv => {
- 0x00 => 'Thumbnail On/Off',
- 0x01 => 'View Histograms',
- 0x02 => 'Zoom On/Off',
- },
- },
- 14.1 => [ # CSf5-a (ref 1), CSf6-a (D300S)
- {
- Name => 'PreviewButton',
- Condition => '$$self{Model} =~ /D3[SX]?\b/',
- Notes => 'D3',
- Mask => 0xf8,
- PrintConv => {
- 0x00 => 'None',
- 0x08 => 'Preview',
- 0x10 => 'FV Lock',
- 0x18 => 'AE/AF Lock',
- 0x20 => 'AE Lock Only',
- 0x28 => 'AE Lock (reset on release)',
- 0x30 => 'AE Lock (hold)',
- 0x38 => 'AF Lock Only',
- 0x40 => 'Flash Off',
- 0x48 => 'Bracketing Burst',
- 0x50 => 'Matrix Metering',
- 0x58 => 'Center-weighted Metering',
- 0x60 => 'Spot Metering',
- 0x68 => 'Virtual Horizon',
- # 0x70 not used
- 0x78 => 'Playback',
- 0x80 => 'My Menu Top',
- },
- },
- { #PH
- Name => 'FuncButton',
- Notes => 'D300',
- Mask => 0xf8,
- PrintConv => {
- 0x00 => 'None',
- 0x08 => 'Preview',
- 0x10 => 'FV Lock',
- 0x18 => 'AE/AF Lock',
- 0x20 => 'AE Lock Only',
- 0x28 => 'AE Lock (reset on release)',
- 0x30 => 'AE Lock (hold)',
- 0x38 => 'AF Lock Only',
- # 0x40 not used
- 0x48 => 'Flash Off',
- 0x50 => 'Bracketing Burst',
- 0x58 => 'Matrix Metering',
- 0x60 => 'Center-weighted Metering',
- 0x68 => 'Spot Metering',
- 0x70 => 'Playback', #PH (guess)
- 0x78 => 'My Menu Top', #PH (guess)
- 0x80 => '+ NEF (RAW)', #PH (guess)
- },
- },
- ],
- 14.2 => [ # CSf5-b (PH,NC), CSf6-b (D300S)
- {
- Name => 'PreviewButtonPlusDials',
- Condition => '$$self{Model} =~ /D3[SX]?\b/',
- Notes => 'D3',
- Mask => 0x07,
- PrintConv => {
- 0 => 'None',
- 1 => 'Choose Image Area (FX/DX/5:4)',
- 2 => 'One Step Speed/Aperture',
- 3 => 'Choose Non-CPU Lens Number',
- # n/a 4 => 'Focus Point Selection',
- 5 => 'Choose Image Area (FX/DX)',
- 6 => 'Shooting Bank Menu',
- 7 => 'Dynamic AF Area', #PH (D3S,D3X,NC)
- },
- },
- { #PH
- Name => 'FuncButtonPlusDials',
- Notes => 'D300',
- Mask => 0x07,
- PrintConv => {
- 0 => 'None',
- 2 => 'One Step Speed/Aperture',
- 3 => 'Choose Non-CPU Lens Number',
- 5 => 'Auto Bracketing',
- 6 => 'Dynamic AF Area',
- },
- },
- ],
- 15.1 => [ # CSf4-a (ref 1), CSf5-a (D300S)
- {
- Name => 'FuncButton',
- Condition => '$$self{Model} =~ /D3[SX]?\b/',
- Notes => 'D3',
- Mask => 0xf8,
- PrintConv => {
- 0x00 => 'None',
- 0x08 => 'Preview',
- 0x10 => 'FV Lock',
- 0x18 => 'AE/AF Lock',
- 0x20 => 'AE Lock Only',
- 0x28 => 'AE Lock (reset on release)',
- 0x30 => 'AE Lock (hold)',
- 0x38 => 'AF Lock Only',
- 0x40 => 'Flash Off',
- 0x48 => 'Bracketing Burst',
- 0x50 => 'Matrix Metering',
- 0x58 => 'Center-weighted Metering',
- 0x60 => 'Spot Metering',
- 0x68 => 'Virtual Horizon',
- # 0x70 not used
- 0x78 => 'Playback',
- 0x80 => 'My Menu Top',
- },
- },
- { #PH
- Name => 'PreviewButton',
- Notes => 'D300',
- Mask => 0xf8,
- PrintConv => {
- 0x00 => 'None',
- 0x08 => 'Preview',
- 0x10 => 'FV Lock',
- 0x18 => 'AE/AF Lock',
- 0x20 => 'AE Lock Only',
- 0x28 => 'AE Lock (reset on release)',
- 0x30 => 'AE Lock (hold)',
- 0x38 => 'AF Lock Only',
- # 0x40 not used
- 0x48 => 'Flash Off',
- 0x50 => 'Bracketing Burst',
- 0x58 => 'Matrix Metering',
- 0x60 => 'Center-weighted Metering',
- 0x68 => 'Spot Metering',
- 0x70 => 'Playback', #PH (guess)
- 0x78 => 'My Menu Top', #PH (guess)
- 0x80 => '+ NEF (RAW)', #PH (guess)
- },
- },
- ],
- 15.2 => [ # CSf4-b (ref 1), CSf5-b (D300S)
- {
- Name => 'FuncButtonPlusDials',
- Condition => '$$self{Model} =~ /D3[SX]?\b/',
- Notes => 'D3',
- Mask => 0x07,
- PrintConv => {
- 0 => 'None',
- 1 => 'Choose Image Area (FX/DX/5:4)',
- 2 => 'One Step Speed/Aperture',
- 3 => 'Choose Non-CPU Lens Number',
- 4 => 'Focus Point Selection', #(NC)
- 5 => 'Choose Image Area (FX/DX)',
- 6 => 'Shooting Bank Menu',
- 7 => 'Dynamic AF Area', #PH (D3S,D3X,NC)
- },
- },
- { #PH
- Name => 'PreviewButtonPlusDials',
- Notes => 'D300',
- Mask => 0x07,
- PrintConv => {
- 0 => 'None',
- 2 => 'One Step Speed/Aperture',
- 3 => 'Choose Non-CPU Lens Number',
- 5 => 'Auto Bracketing',
- 6 => 'Dynamic AF Area',
- },
- },
- ],
- 16.1 => [ # CSf6-a (ref 1), CSf7-a (D300S)
- {
- Name => 'AELockButton',
- Condition => '$$self{Model} =~ /D3[SX]?\b/',
- Notes => 'D3',
- Mask => 0xf8,
- PrintConv => {
- 0x00 => 'None',
- 0x08 => 'Preview',
- 0x10 => 'FV Lock',
- 0x18 => 'AE/AF Lock',
- 0x20 => 'AE Lock Only',
- 0x28 => 'AE Lock (reset on release)',
- 0x30 => 'AE Lock (hold)',
- 0x38 => 'AF Lock Only',
- 0x40 => 'Flash Off',
- 0x48 => 'Bracketing Burst',
- 0x50 => 'Matrix Metering',
- 0x58 => 'Center-weighted Metering',
- 0x60 => 'Spot Metering',
- 0x68 => 'Virtual Horizon',
- 0x70 => 'AF On', # (AE-L/AF-L button only)
- 0x78 => 'Playback',
- 0x80 => 'My Menu Top',
- },
- },
- { #PH
- Name => 'AELockButton',
- Notes => 'D300',
- Mask => 0xf8,
- PrintConv => {
- 0x00 => 'None',
- 0x08 => 'Preview',
- 0x10 => 'FV Lock',
- 0x18 => 'AE/AF Lock',
- 0x20 => 'AE Lock Only',
- 0x28 => 'AE Lock (reset on release)',
- 0x30 => 'AE Lock (hold)',
- 0x38 => 'AF Lock Only',
- 0x40 => 'AF On', # (AE-L/AF-L button only)
- 0x48 => 'Flash Off',
- 0x50 => 'Bracketing Burst',
- 0x58 => 'Matrix Metering',
- 0x60 => 'Center-weighted Metering',
- 0x68 => 'Spot Metering',
- 0x70 => 'Playback', #PH (guess)
- 0x78 => 'My Menu Top', #PH (guess)
- 0x80 => '+ NEF (RAW)', #PH (guess)
- },
- },
- ],
- 16.2 => [ # CSf6-b (ref 1), CSf7-b (D300S)
- {
- Name => 'AELockButtonPlusDials',
- Condition => '$$self{Model} =~ /D3[SX]?\b/',
- Notes => 'D3',
- Mask => 0x07,
- PrintConv => {
- 0 => 'None',
- 1 => 'Choose Image Area (FX/DX/5:4)',
- 2 => 'One Step Speed/Aperture',
- 3 => 'Choose Non-CPU Lens Number',
- # n/c 4 => 'Focus Point Selection', #(NC)
- 5 => 'Choose Image Area (FX/DX)',
- 6 => 'Shooting Bank Menu',
- 7 => 'Dynamic AF Area', #PH (D3S,D3X,NC)
- },
- },
- { #PH
- Name => 'AELockButtonPlusDials',
- Notes => 'D300',
- Mask => 0x07,
- PrintConv => {
- 0 => 'None',
- # n/a 2 => 'One Step Speed/Aperture',
- 3 => 'Choose Non-CPU Lens Number',
- 5 => 'Auto Bracketing', #(NC)
- 6 => 'Dynamic AF Area',
- },
- },
- ],
- 17.1 => { # CSf7-a, CSf8-a (D3S,D300S)
- Name => 'CommandDialsReverseRotation',
- Mask => 0x80,
- PrintConv => { 0x00 => 'No', 0x80 => 'Yes' },
- },
- 17.2 => { # CSf7-b, CSf8-b (D3S,D300S)
- Name => 'CommandDialsChangeMainSub',
- Mask => 0x40,
- PrintConv => { 0x00 => 'Off', 0x40 => 'On' },
- },
- 17.3 => { # CSf7-c, CSf8-c (D3S,D300S)
- Name => 'CommandDialsApertureSetting',
- Mask => 0x20,
- PrintConv => {
- 0x00 => 'Sub-command Dial',
- 0x20 => 'Aperture Ring',
- },
- },
- 17.4 => { # CSf7-d, CSf8-d (D3S,D300S)
- Name => 'CommandDialsMenuAndPlayback',
- Mask => 0x10,
- PrintConv => { 0x00 => 'Off', 0x10 => 'On' },
- },
- 17.5 => { # CSd8 (D300,D3S), CSd9 (D300S), CSd7 (D3)
- Name => 'LCDIllumination',
- Mask => 0x08,
- PrintConv => { 0x00 => 'Off', 0x08 => 'On' },
- },
- 17.6 => { # CSf3, CSf4 (D300S)
- Name => 'PhotoInfoPlayback',
- Mask => 0x04,
- PrintConv => {
- 0x00 => 'Info Up-down, Playback Left-right',
- 0x04 => 'Info Left-right, Playback Up-down',
- },
- },
- 17.7 => { # CSc1
- Name => 'ShutterReleaseButtonAE-L',
- Mask => 0x02,
- PrintConv => { 0x00 => 'Off', 0x02 => 'On' },
- },
- 17.8 => { # CSf8, CSf9 (D3S,D300S)
- Name => 'ReleaseButtonToUseDial',
- Mask => 0x01,
- PrintConv => { 0x00 => 'No', 0x01 => 'Yes' },
- },
- 18.1 => { # CSc3
- Name => 'SelfTimerTime',
- Mask => 0x18,
- PrintConv => {
- 0x00 => '2 s',
- 0x08 => '5 s',
- 0x10 => '10 s',
- 0x18 => '20 s',
- },
- },
- 18.2 => { # CSc4
- Name => 'MonitorOffTime',
- # NOTE: The D3S and D300S have separate settings for Playback,
- # Image Review, Menus, and Information Display times
- Mask => 0x07,
- PrintConv => {
- 0x00 => '10 s',
- 0x01 => '20 s',
- 0x02 => '1 min',
- 0x03 => '5 min',
- 0x04 => '10 min',
- },
- },
- 20.1 => [ # CSe1
- {
- Name => 'FlashSyncSpeed',
- Condition => '$$self{Model} =~ /D3[SX]?\b/',
- Notes => 'D3',
- Mask => 0xe0,
- PrintConv => {
- 0x00 => '1/250 s (auto FP)',
- 0x20 => '1/250 s',
- 0x40 => '1/200 s',
- 0x60 => '1/160 s',
- 0x80 => '1/125 s',
- 0xa0 => '1/100 s',
- 0xc0 => '1/80 s',
- 0xe0 => '1/60 s',
- },
- },
- {
- Name => 'FlashSyncSpeed',
- Notes => 'D300',
- Mask => 0xf0,
- PrintConv => {
- 0x00 => '1/320 s (auto FP)',
- 0x10 => '1/250 s (auto FP)',
- 0x20 => '1/250 s',
- 0x30 => '1/200 s',
- 0x40 => '1/160 s',
- 0x50 => '1/125 s',
- 0x60 => '1/100 s',
- 0x70 => '1/80 s',
- 0x80 => '1/60 s',
- },
- },
- ],
- 20.2 => { # CSe2
- Name => 'FlashShutterSpeed',
- Mask => 0x0f,
- PrintConvColumns => 2,
- PrintConv => {
- 0x00 => '1/60 s',
- 0x01 => '1/30 s',
- 0x02 => '1/15 s',
- 0x03 => '1/8 s',
- 0x04 => '1/4 s',
- 0x05 => '1/2 s',
- 0x06 => '1 s',
- 0x07 => '2 s',
- 0x08 => '4 s',
- 0x09 => '8 s',
- 0x0a => '15 s',
- 0x0b => '30 s',
- },
- },
- 21.1 => [{ # CSe5 (D300), CSe4 (D3)
- Name => 'AutoBracketSet',
- Condition => '$$self{Model} !~ /(D3S|D300S)\b/',
- Notes => 'D3 and D300',
- Mask => 0xc0,
- PrintConv => {
- 0x00 => 'AE & Flash',
- 0x40 => 'AE Only',
- 0x80 => 'Flash Only',
- 0xc0 => 'WB Bracketing',
- },
- },{ # CSe4 (D3S) (NC for D300S)
- Name => 'AutoBracketSet',
- Notes => 'D3S and D300S',
- Mask => 0xe0,
- PrintConv => {
- 0x00 => 'AE & Flash',
- 0x20 => 'AE Only',
- 0x40 => 'Flash Only',
- 0x60 => 'WB Bracketing',
- # D3S/D300S have an "ADL Bracketing" setting - PH
- 0x80 => 'ADL Bracketing',
- },
- }],
- 21.2 => [{ # CSe6 (D300), CSe5 (D3)
- Name => 'AutoBracketModeM',
- Condition => '$$self{Model} !~ /(D3S|D300S)\b/',
- Notes => 'D3 and D300',
- Mask => 0x30,
- PrintConv => {
- 0x00 => 'Flash/Speed',
- 0x10 => 'Flash/Speed/Aperture',
- 0x20 => 'Flash/Aperture',
- 0x30 => 'Flash Only',
- },
- },{ # CSe5 (D3S)
- Name => 'AutoBracketModeM',
- Notes => 'D3S and D300S',
- Mask => 0x18,
- PrintConv => {
- 0x00 => 'Flash/Speed',
- 0x08 => 'Flash/Speed/Aperture',
- 0x10 => 'Flash/Aperture',
- 0x18 => 'Flash Only',
- },
- }],
- 21.3 => [{ # CSe7 (D300), CSe6 (D3)
- Name => 'AutoBracketOrder',
- Condition => '$$self{Model} !~ /(D3S|D300S)\b/',
- Notes => 'D3 and D300',
- Mask => 0x08,
- PrintConv => {
- 0x00 => '0,-,+',
- 0x08 => '-,0,+',
- },
- },{ # CSe6 (D3S)
- Name => 'AutoBracketOrder',
- Notes => 'D3S and D300S',
- Mask => 0x04,
- PrintConv => {
- 0x00 => '0,-,+',
- 0x04 => '-,0,+',
- },
- }],
- 21.4 => { # CSe4 (D300), CSe3 (D3)
- Name => 'ModelingFlash',
- Mask => 0x01,
- PrintConv => { 0x00 => 'On', 0x01 => 'Off' },
- },
- 22.1 => { # CSf9, CSf10 (D3S,D300S)
- Name => 'NoMemoryCard',
- Mask => 0x80,
- PrintConv => {
- 0x00 => 'Release Locked',
- 0x80 => 'Enable Release',
- },
- },
- 22.2 => { # CSc2
- Name => 'MeteringTime',
- Mask => 0x0f,
- PrintConvColumns => 2,
- PrintConv => {
- 0x00 => '4 s',
- 0x01 => '6 s',
- 0x02 => '8 s',
- 0x03 => '16 s',
- 0x04 => '30 s',
- 0x05 => '1 min',
- 0x06 => '5 min',
- 0x07 => '10 min',
- 0x08 => '30 min',
- 0x09 => 'No Limit',
- },
- },
- 23.1 => { # CSe3
- Name => 'InternalFlash',
- Mask => 0xc0,
- PrintConv => {
- 0x00 => 'TTL',
- 0x40 => 'Manual',
- 0x80 => 'Repeating Flash',
- 0xc0 => 'Commander Mode',
- },
- },
- 25.1 => { #1 CSc4-d (D3S)
- Name => 'ImageReviewTime',
- Mask => 0xe0,
- PrintConv => {
- 0x00 => '4 s',
- 0x20 => '10 s',
- 0x40 => '20 s',
- 0x60 => '1 min',
- 0x80 => '5 min',
- 0xa0 => '10 min',
- },
- },
- 25.2 => { #1 CSc4-a (D3S)
- Name => 'PlaybackMonitorOffTime',
- Mask => 0x1c,
- PrintConv => {
- 0x00 => '4 s',
- 0x04 => '10 s',
- 0x08 => '20 s',
- 0x0c => '1 min',
- 0x10 => '5 min',
- 0x14 => '10 min',
- },
- },
- 26.1 => { #1 CSc4-b (D3S)
- Name => 'MenuMonitorOffTime',
- Mask => 0xe0,
- PrintConv => {
- 0x00 => '4 s',
- 0x20 => '10 s',
- 0x40 => '20 s',
- 0x60 => '1 min',
- 0x80 => '5 min',
- 0xa0 => '10 min',
- },
- },
- 26.2 => { #1 CSc4-c (D3S)
- Name => 'ShootingInfoMonitorOffTime',
- Mask => 0x1c,
- PrintConv => {
- 0x00 => '4 s',
- 0x04 => '10 s',
- 0x08 => '20 s',
- 0x0c => '1 min',
- 0x10 => '5 min',
- 0x14 => '10 min',
- },
- },
- );
- # D700 custom settings (ref 2)
- %Image::ExifTool::NikonCustom::SettingsD700 = (
- PROCESS_PROC => \&Image::ExifTool::ProcessBinaryData,
- WRITE_PROC => \&Image::ExifTool::WriteBinaryData,
- CHECK_PROC => \&Image::ExifTool::CheckBinaryData,
- WRITABLE => 1,
- FIRST_ENTRY => 0,
- DATAMEMBER => [ 16.1 ],
- GROUPS => { 0 => 'MakerNotes', 2 => 'Camera' },
- NOTES => 'Custom settings for the D700.',
- 0.1 => { #1
- Name => 'CustomSettingsBank',
- Mask => 0x03,
- PrintConv => {
- 0 => 'A',
- 1 => 'B',
- 2 => 'C',
- 3 => 'D',
- },
- },
- 0.2 => { #1
- Name => 'CustomSettingsAllDefault',
- Notes => '"No" if any custom setting for this bank was changed from the default',
- Mask => 0x80,
- PrintConv => { 0x00 => 'Yes', 0x80 => 'No' },
- },
- 1.1 => { # CSa1
- Name => 'AF-CPrioritySelection',
- Mask => 0xc0,
- PrintConv => {
- 0x00 => 'Release',
- 0x40 => 'Release + Focus',
- 0x80 => 'Focus',
- },
- },
- 1.2 => { # CSa2
- Name => 'AF-SPrioritySelection',
- Mask => 0x20,
- PrintConv => {
- 0x00 => 'Focus',
- 0x20 => 'Release',
- },
- },
- 1.3 => { # CSa8
- Name => 'AFPointSelection',
- Mask => 0x10,
- PrintConv => {
- 0x00 => '51 Points',
- 0x10 => '11 Points',
- },
- },
- 1.4 => { # CSa3
- Name => 'DynamicAFArea',
- Mask => 0x0c,
- PrintConv => {
- 0x00 => '9 Points',
- 0x04 => '21 Points',
- 0x08 => '51 Points',
- 0x0c => '51 Points (3D-tracking)',
- },
- },
- 2.1 => { # CSa5
- Name => 'AFActivation',
- Mask => 0x80,
- PrintConv => {
- 0x00 => 'Shutter/AF-On',
- 0x80 => 'AF-On Only',
- },
- },
- 2.2 => { # CSa7
- Name => 'FocusPointWrap',
- Mask => 0x08,
- PrintConv => {
- 0x00 => 'No Wrap',
- 0x08 => 'Wrap',
- },
- },
- 2.3 => { # CSa6
- Name => 'AFPointIllumination',
- Mask => 0x06,
- PrintConv => {
- 0x00 => 'Auto',
- 0x02 => 'Off',
- 0x04 => 'On',
- },
- },
- 2.4 => { # CSa9
- Name => 'AFAssist',
- Mask => 0x01,
- PrintConv => { 0x00 => 'On', 0x01 => 'Off' },
- },
- 3.1 => { # CSa4
- Name => 'FocusTrackingLockOn',
- Mask => 0x07,
- PrintConv => {
- 0x00 => '3 Normal',
- 0x01 => '4',
- 0x02 => '5 Long',
- 0x03 => '2',
- 0x04 => '1 Short',
- 0x05 => 'Off',
- },
- },
- 3.2 => { # CSa10
- Name => 'AF-OnForMB-D10',
- Mask => 0x70,
- PrintConv => {
- 0x00 => 'AF-On',
- 0x10 => 'AE/AF Lock',
- 0x20 => 'AE Lock Only',
- 0x30 => 'AE Lock (reset on release)',
- 0x40 => 'AE Lock (hold)',
- 0x50 => 'AF Lock Only',
- 0x60 => 'Same as FUNC Button',
- },
- },
- 4.1 => { # CSb1
- Name => 'ISOStepSize',
- Mask => 0xc0,
- PrintConv => {
- 0x00 => '1/3 EV',
- 0x40 => '1/2 EV',
- 0x80 => '1 EV',
- },
- },
- 4.2 => { # CSb2
- Name => 'ExposureControlStepSize',
- Mask => 0x30,
- PrintConv => {
- 0x00 => '1/3 EV',
- 0x10 => '1/2 EV',
- 0x20 => '1 EV',
- },
- },
- 4.3 => { # CSb3
- Name => 'ExposureCompStepSize',
- Mask => 0x0c,
- PrintConv => {
- 0x00 => '1/3 EV',
- 0x04 => '1/2 EV',
- 0x08 => '1 EV',
- },
- },
- 4.4 => { # CSb4
- Name => 'EasyExposureCompensation',
- Mask => 0x03,
- PrintConv => {
- 0x00 => 'Off',
- 0x01 => 'On',
- 0x02 => 'On (auto reset)',
- },
- },
- 5.1 => { # CSb5
- Name => 'CenterWeightedAreaSize',
- Mask => 0x70,
- PrintConv => {
- 0x00 => '8 mm',
- 0x10 => '12 mm',
- 0x20 => '15 mm',
- 0x30 => '20 mm',
- 0x40 => 'Average',
- },
- },
- 6.1 => { # CSb6-a
- Name => 'FineTuneOptMatrixMetering',
- Mask => 0xf0,
- ValueConv => '($val > 0x70 ? $val - 0x100 : $val) / 0x60',
- ValueConvInv => '(int($val*6+($val>0?0.5:-0.5))<<4) & 0xf0',
- PrintConv => '$val ? sprintf("%+.2f", $val) : 0',
- PrintConvInv => 'Image::ExifTool::Exif::ConvertFraction($val)',
- },
- 6.2 => { # CSb6-c
- Name => 'FineTuneOptSpotMetering',
- Mask => 0x0f,
- ValueConv => '($val > 0x7 ? $val - 0x10 : $val) / 6',
- ValueConvInv => 'int($val*6+($val>0?0.5:-0.5)) & 0x0f',
- PrintConv => '$val ? sprintf("%+.2f", $val) : 0',
- PrintConvInv => 'Image::ExifTool::Exif::ConvertFraction($val)',
- },
- 7.1 => { # CSc1
- Name => 'ShutterReleaseButtonAE-L',
- Mask => 0x80,
- PrintConv => { 0x00 => 'Off', 0x80 => 'On' },
- },
- 7.2 => { # CSc3
- Name => 'SelfTimerTime',
- Mask => 0x30,
- PrintConv => {
- 0x00 => '2 s',
- 0x10 => '5 s',
- 0x20 => '10 s',
- 0x30 => '20 s',
- },
- },
- 7.3 => { # CSc2
- Name => 'MeteringTime',
- Mask => 0x0f,
- PrintConvColumns => 2,
- PrintConv => {
- 0x00 => '4 s',
- 0x01 => '6 s',
- 0x02 => '8 s',
- 0x03 => '16 s',
- 0x04 => '30 s',
- 0x05 => '1 min',
- 0x06 => '5 min',
- 0x07 => '10 min',
- 0x08 => '30 min',
- 0x09 => 'No Limit',
- },
- },
- 8.1 => { # CSc4-a
- Name => 'PlaybackMonitorOffTime',
- Mask => 0x38,
- PrintConv => {
- 0x00 => '4 s',
- 0x08 => '10 s',
- 0x10 => '20 s',
- 0x18 => '1 min',
- 0x20 => '5 min',
- 0x28 => '10 min',
- },
- },
- 8.2 => { # CSc4-b
- Name => 'MenuMonitorOffTime',
- Mask => 0x07,
- PrintConv => {
- 0x00 => '4 s',
- 0x01 => '10 s',
- 0x02 => '20 s',
- 0x03 => '1 min',
- 0x04 => '5 min',
- 0x05 => '10 min',
- },
- },
- 9.1 => { # CSc4-c
- Name => 'ShootingInfoMonitorOffTime',
- Mask => 0x38,
- PrintConv => {
- 0x00 => '4 s',
- 0x08 => '10 s',
- 0x10 => '20 s',
- 0x18 => '1 min',
- 0x20 => '5 min',
- 0x28 => '10 min',
- },
- },
- 9.2 => { # CSc4-d
- Name => 'ImageReviewTime',
- Mask => 0x07,
- PrintConv => {
- 0x00 => '4 s',
- 0x01 => '10 s',
- 0x02 => '20 s',
- 0x03 => '1 min',
- 0x04 => '5 min',
- 0x05 => '10 min',
- },
- },
- 10.1 => { # CSd1
- Name => 'Beep',
- Mask => 0xc0,
- PrintConv => {
- 0x00 => 'High',
- 0x40 => 'Low',
- 0x80 => 'Off',
- },
- },
- 10.2 => { # CSd7
- Name => 'ShootingInfoDisplay',
- Mask => 0x30,
- PrintConv => {
- 0x00 => 'Auto', #JD (D300)
- 0x10 => 'Auto', #1 (D3)
- 0x20 => 'Manual (dark on light)',
- 0x30 => 'Manual (light on dark)',
- },
- },
- 10.3 => { # CSd8
- Name => 'LCDIllumination',
- Mask => 0x08,
- PrintConv => { 0x00 => 'Off', 0x08 => 'On' },
- },
- 10.4 => { # CSd9
- Name => 'ExposureDelayMode',
- Mask => 0x04,
- PrintConv => { 0x00 => 'Off', 0x04 => 'On' },
- },
- 10.5 => { # CSd2
- Name => 'GridDisplay',
- Mask => 0x02,
- PrintConv => { 0x00 => 'Off', 0x02 => 'On' },
- },
- 11.1 => { # CSd6
- Name => 'FileNumberSequence',
- Mask => 0x40,
- PrintConv => { 0x00 => 'On', 0x40 => 'Off' },
- },
- 11.2 => { # CSd4
- Name => 'CLModeShootingSpeed',
- Mask => 0x07,
- PrintConv => '"$val fps"',
- PrintConvInv => '$val=~s/\s*fps//i; $val',
- },
- 12 => { # CSd5
- Name => 'MaxContinuousRelease',
- # values: 1-100
- },
- 13.1 => { # CSd3
- Name => 'ScreenTips',
- Mask => 0x08,
- PrintConv => { 0x08 => 'On', 0x00 => 'Off' },
- },
- 13.2 => { # CSd11
- Name => 'BatteryOrder',
- Mask => 0x04,
- PrintConv => {
- 0x00 => 'MB-D10 First',
- 0x04 => 'Camera Battery First',
- },
- },
- 13.3 => { # CSd10
- Name => 'MB-D10BatteryType',
- Mask => 0x03,
- PrintConv => {
- 0x00 => 'LR6 (AA alkaline)',
- 0x01 => 'HR6 (AA Ni-MH)',
- 0x02 => 'FR6 (AA lithium)',
- 0x03 => 'ZR6 (AA Ni-Mn)',
- },
- },
- 15.1 => { # CSe1
- Name => 'FlashSyncSpeed',
- Mask => 0xf0,
- PrintConv => {
- 0x00 => '1/320 s (auto FP)',
- 0x10 => '1/250 s (auto FP)',
- 0x20 => '1/250 s',
- 0x30 => '1/200 s',
- 0x40 => '1/160 s',
- 0x50 => '1/125 s',
- 0x60 => '1/100 s',
- 0x70 => '1/80 s',
- 0x80 => '1/60 s',
- },
- },
- 15.2 => { # CSe2
- Name => 'FlashShutterSpeed',
- Mask => 0x0f,
- PrintConvColumns => 2,
- PrintConv => {
- 0x00 => '1/60 s',
- 0x01 => '1/30 s',
- 0x02 => '1/15 s',
- 0x03 => '1/8 s',
- 0x04 => '1/4 s',
- 0x05 => '1/2 s',
- 0x06 => '1 s',
- 0x07 => '2 s',
- 0x08 => '4 s',
- 0x09 => '8 s',
- 0x0a => '15 s',
- 0x0b => '30 s',
- },
- },
- 16.1 => { # CSe3
- Name => 'FlashControlBuilt-in',
- # Note If set the Manual, Repeating Flash, Commander Mode
- # does not decode the detail settings.
- Mask => 0xc0,
- RawConv => '$$self{FlashControlBuiltin} = $val',
- PrintConv => {
- 0x00 => 'TTL',
- 0x40 => 'Manual',
- 0x80 => 'Repeating Flash',
- 0xc0 => 'Commander Mode',
- },
- },
- 16.2 => { # CSe3-b
- Name => 'ManualFlashOutput',
- Condition => '$$self{FlashControlBuiltin} == 0x40',
- Mask => 0x1f,
- ValueConv => '2 ** (-$val/3)',
- ValueConvInv => '$val > 0 ? -3*log($val)/log(2) : 0',
- PrintConv => q{
- return 'Full' if $val > 0.99;
- Image::ExifTool::Exif::PrintExposureTime($val);
- },
- PrintConvInv => '$val=~/F/i ? 1 : Image::ExifTool::Exif::ConvertFraction($val)',
- },
- 17.1 => { # CSe3-ca
- Name => 'RepeatingFlashOutput',
- Condition => '$$self{FlashControlBuiltin} == 0x80',
- Mask => 0x70,
- ValueConv => '2 ** (-($val>>4)-2)',
- ValueConvInv => '$val > 0 ? int(-log($val)/log(2)-2+0.5)<<4 : 0',
- PrintConv => 'Image::ExifTool::Exif::PrintExposureTime($val)',
- PrintConvInv => 'Image::ExifTool::Exif::ConvertFraction($val)',
- },
- 17.2 => { # CSe3-cb
- Name => 'RepeatingFlashCount',
- Condition => '$$self{FlashControlBuiltin} == 0x80',
- Mask => 0x0f,
- ValueConv => '$val < 10 ? $val + 1 : 5 * ($val - 7)',
- ValueConvInv => '$val <= 10 ? $val - 1 : $val / 5 + 7',
- },
- 18.1 => { # CSe3-cc (NC)
- Name => 'RepeatingFlashRate',
- Condition => '$$self{FlashControlBuiltin} == 0x80',
- Mask => 0xf0,
- ValueConv => 'my $v=($val>>4); $v < 10 ? $v + 1 : 10 * ($v - 8)',
- ValueConvInv => 'int(($val <= 10 ? $val - 1 : $val / 10 + 8) + 0.5) << 4',
- PrintConv => '"$val Hz"',
- PrintConvInv => '$val=~/(\d+)/; $1 || 0',
- },
- 18.2 => { # CSe3-dd
- Name => 'CommanderInternalTTLChannel',
- Condition => '$$self{FlashControlBuiltin} == 0xc0',
- Mask => 0x03,
- PrintConv => {
- 0x00 => '1 ch',
- 0x01 => '2 ch',
- 0x02 => '3 ch',
- 0x03 => '4 ch',
- },
- },
- 20.1 => { # CSe3-da
- Name => 'CommanderInternalTTLCompBuiltin',
- Condition => '$$self{FlashControlBuiltin} == 0xc0',
- Mask => 0x1f,
- ValueConv => '($val - 9) / 3',
- ValueConvInv => '$val * 3 + 9',
- PrintConv => '$val ? sprintf("%+.1f",$val) : 0',
- PrintConvInv => '$val',
- },
- 21.1 => { # CSe3-db
- Name => 'CommanderInternalTTLCompGroupA',
- Condition => '$$self{FlashControlBuiltin} == 0xc0',
- Mask => 0x1f,
- ValueConv => '($val - 9) / 3',
- ValueConvInv => '$val * 3 + 9',
- PrintConv => '$val ? sprintf("%+.1f",$val) : 0',
- PrintConvInv => '$val',
- },
- 22.1 => { # CSe3-dc
- Name => 'CommanderInternalTTLCompGroupB',
- Condition => '$$self{FlashControlBuiltin} == 0xc0',
- Mask => 0x1f,
- ValueConv => '($val - 9) / 3',
- ValueConvInv => '$val * 3 + 9',
- PrintConv => '$val ? sprintf("%+.1f",$val) : 0',
- PrintConvInv => '$val',
- },
- 26.1 => { # CSe5
- Name => 'AutoBracketSet',
- Mask => 0xc0,
- PrintConv => {
- 0x00 => 'AE & Flash',
- 0x40 => 'AE Only',
- 0x80 => 'Flash Only',
- 0xc0 => 'WB Bracketing',
- },
- },
- 26.2 => { # CSe6
- Name => 'AutoBracketModeM',
- Mask => 0x30,
- PrintConv => {
- 0x00 => 'Flash/Speed',
- 0x10 => 'Flash/Speed/Aperture',
- 0x20 => 'Flash/Aperture',
- 0x30 => 'Flash Only',
- },
- },
- 26.3 => { # CSe7
- Name => 'AutoBracketOrder',
- Mask => 0x08,
- PrintConv => {
- 0x00 => '0,-,+',
- 0x08 => '-,0,+',
- },
- },
- 26.4 => { # CSe4
- Name => 'ModelingFlash',
- Mask => 0x01,
- PrintConv => { 0x00 => 'On', 0x01 => 'Off' },
- },
- 27.1 => { # CSf2-a
- Name => 'MultiSelectorShootMode',
- Mask => 0xc0,
- PrintConv => {
- 0x00 => 'Select Center Focus Point',
- 0x40 => 'Highlight Active Focus Point',
- 0x80 => 'Not Used',
- },
- },
- 27.2 => { # CSf2-b
- Name => 'MultiSelectorPlaybackMode',
- Mask => 0x30,
- PrintConv => {
- 0x00 => 'Thumbnail On/Off',
- 0x10 => 'View Histograms',
- 0x20 => 'Zoom On/Off',
- 0x30 => 'Choose Folder',
- },
- },
- 27.3 => { # CSf2-b2
- Name => 'InitialZoomSetting',
- Mask => 0x0c,
- PrintConv => { #1
- 0x00 => 'Low Magnification',
- 0x04 => 'Medium Magnification',
- 0x08 => 'High Magnification',
- },
- },
- 27.4 => { # CSf3
- Name => 'MultiSelector',
- Mask => 0x01,
- PrintConv => {
- 0x00 => 'Do Nothing',
- 0x01 => 'Reset Meter-off Delay',
- },
- },
- 28.1 => { # CSf5-a
- Name => 'FuncButton',
- Mask => 0xf8,
- PrintConv => {
- 0x00 => 'None',
- 0x08 => 'Preview',
- 0x10 => 'FV Lock',
- 0x18 => 'AE/AF Lock',
- 0x20 => 'AE Lock Only',
- 0x28 => 'AE Lock (reset on release)',
- 0x30 => 'AE Lock (hold)',
- 0x38 => 'AF Lock Only',
- # 0x40 not used
- 0x48 => 'Flash Off',
- 0x50 => 'Bracketing Burst',
- 0x58 => 'Matrix Metering',
- 0x60 => 'Center-weighted Metering',
- 0x68 => 'Spot Metering',
- 0x70 => 'My Menu Top',
- 0x78 => 'Live View',
- 0x80 => '+ NEF (RAW)',
- 0x88 => 'Virtual Horizon',
- },
- },
- 29.1 => { # CSf6-a
- Name => 'PreviewButton',
- Mask => 0xf8,
- PrintConv => {
- 0x00 => 'None',
- 0x08 => 'Preview',
- 0x10 => 'FV Lock',
- 0x18 => 'AE/AF Lock',
- 0x20 => 'AE Lock Only',
- 0x28 => 'AE Lock (reset on release)',
- 0x30 => 'AE Lock (hold)',
- 0x38 => 'AF Lock Only',
- 0x40 => 'AF-ON',
- 0x48 => 'Flash Off',
- 0x50 => 'Bracketing Burst',
- 0x58 => 'Matrix Metering',
- 0x60 => 'Center-weighted Metering',
- 0x68 => 'Spot Metering',
- 0x70 => 'My Menu Top',
- 0x78 => 'Live View',
- 0x80 => '+ NEF (RAW)',
- 0x88 => 'Virtual Horizon',
- },
- },
- 30.1 => { # CSf7-a
- Name => 'AELockButton',
- Notes => 'D300',
- Mask => 0xf8,
- PrintConv => {
- 0x00 => 'None',
- 0x08 => 'Preview',
- 0x10 => 'FV Lock',
- 0x18 => 'AE/AF Lock',
- 0x20 => 'AE Lock Only',
- 0x28 => 'AE Lock (reset on release)',
- 0x30 => 'AE Lock (hold)',
- 0x38 => 'AF Lock Only',
- 0x40 => 'AF-ON',
- 0x48 => 'Flash Off',
- 0x50 => 'Bracketing Burst',
- 0x58 => 'Matrix Metering',
- 0x60 => 'Center-weighted Metering',
- 0x68 => 'Spot Metering',
- 0x70 => 'My Menu Top',
- 0x78 => 'Live View',
- 0x80 => '+ NEF (RAW)',
- 0x88 => 'Virtual Horizon',
- },
- },
- 31.1 => { # CSf5-b
- Name => 'FuncButtonPlusDials',
- Mask => 0x70,
- PrintConv => {
- 0x00 => 'None',
- 0x10 => 'Choose Image Area',
- 0x20 => 'One Step Speed/Aperture',
- 0x30 => 'Choose Non-CPU Lens Number',
- # n/a 0x40 => 'Focus Point Selection',
- 0x50 => 'Auto bracketing',
- 0x60 => 'Dynamic AF Area',
- 0x70 => 'Shutter speed & Aperture lock',
- },
- },
- 31.2 => { # CSf6-b
- Name => 'PreviewButtonPlusDials',
- Mask => 0x07,
- PrintConv => {
- 0x00 => 'None',
- 0x01 => 'Choose Image Area',
- 0x02 => 'One Step Speed/Aperture',
- 0x03 => 'Choose Non-CPU Lens Number',
- # n/a 0x04 => 'Focus Point Selection',
- 0x05 => 'Auto bracketing',
- 0x06 => 'Dynamic AF Area',
- 0x07 => 'Shutter speed & Aperture lock',
- },
- },
- 32.1 => { # CSf7-b
- Name => 'AELockButtonPlusDials',
- Mask => 0x70,
- PrintConv => {
- 0x00 => 'None',
- 0x10 => 'Choose Image Area',
- 0x20 => 'One Step Speed/Aperture',
- 0x30 => 'Choose Non-CPU Lens Number',
- # n/a 0x40 => 'Focus Point Selection',
- 0x50 => 'Auto bracketing',
- 0x60 => 'Dynamic AF Area',
- 0x70 => 'Shutter speed & Aperture lock',
- },
- },
- 33.1 => { # CSf9-a
- Name => 'CommandDialsReverseRotation',
- Mask => 0x80,
- PrintConv => { 0x00 => 'No', 0x80 => 'Yes' },
- },
- 33.2 => { # CSf9-b
- Name => 'CommandDialsChangeMainSub',
- Mask => 0x40,
- PrintConv => { 0x00 => 'Off', 0x40 => 'On' },
- },
- 33.3 => { # CSf9-c
- Name => 'CommandDialsApertureSetting',
- Mask => 0x20,
- PrintConv => {
- 0x00 => 'Sub-command Dial',
- 0x20 => 'Aperture Ring',
- },
- },
- 33.4 => { # CSf9-d
- Name => 'CommandDialsMenuAndPlayback',
- Mask => 0x10,
- PrintConv => { 0x00 => 'Off', 0x10 => 'On' },
- },
- 33.5 => { # CSf12
- Name => 'ReverseIndicators',
- Mask => 0x08,
- PrintConv => {
- 0x00 => '+ 0 -',
- 0x08 => '- 0 +',
- },
- },
- 33.6 => { # CSf4
- Name => 'PhotoInfoPlayback',
- Mask => 0x04,
- PrintConv => { 0x00 => 'Off', 0x04 => 'On' },
- },
- 33.7 => { # CSf11
- Name => 'NoMemoryCard',
- Mask => 0x02,
- PrintConv => {
- 0x00 => 'Release Locked',
- 0x02 => 'Enable Release',
- },
- },
- 33.8 => { # CSf10
- Name => 'ReleaseButtonToUseDial',
- Mask => 0x01,
- PrintConv => { 0x00 => 'No', 0x01 => 'Yes' },
- },
- );
- # D800 custom settings (ref PH)
- %Image::ExifTool::NikonCustom::SettingsD800 = (
- PROCESS_PROC => \&Image::ExifTool::ProcessBinaryData,
- WRITE_PROC => \&Image::ExifTool::WriteBinaryData,
- CHECK_PROC => \&Image::ExifTool::CheckBinaryData,
- WRITABLE => 1,
- FIRST_ENTRY => 0,
- DATAMEMBER => [ 23.1 ],
- GROUPS => { 0 => 'MakerNotes', 2 => 'Camera' },
- NOTES => 'Custom settings for the D800 and D800E.',
- 12.1 => { # CSe5
- Name => 'AutoBracketingSet',
- Mask => 0xe0, #(NC)
- PrintConv => {
- 0x00 => 'AE & Flash', # default
- 0x20 => 'AE Only', #(NC)
- 0x40 => 'Flash Only',
- 0x60 => 'WB Bracketing', #(NC)
- 0x80 => 'Active D-Lighting', #(NC)
- },
- },
- 12.2 => { # CSe7
- Name => 'AutoBracketOrder',
- Mask => 0x10,
- PrintConv => {
- 0x00 => '0,-,+',
- 0x10 => '-,0,+',
- },
- },
- 12.3 => { # CSe6
- Name => 'AutoBracketingMode',
- Mask => 0x0c,
- PrintConv => {
- 0x00 => 'Flash/Speed',
- 0x04 => 'Flash/Speed/Aperture',
- 0x08 => 'Flash/Aperture',
- 0x0c => 'Flash Only',
- },
- },
- # 21 - 100 (MaxContinuousRelease?)
- 22.1 => { # CSe1
- Name => 'FlashSyncSpeed',
- Mask => 0xf0,
- PrintConv => {
- 0x00 => '1/320 s (auto FP)',
- 0x10 => '1/250 s (auto FP)',
- 0x20 => '1/250 s',
- 0x30 => '1/200 s',
- 0x40 => '1/160 s',
- 0x50 => '1/125 s',
- 0x60 => '1/100 s',
- 0x70 => '1/80 s',
- 0x80 => '1/60 s',
- },
- },
- 22.2 => { # CSe2
- Name => 'FlashShutterSpeed',
- Mask => 0x0f,
- PrintConvColumns => 2,
- PrintConv => {
- 0x00 => '1/60 s',
- 0x01 => '1/30 s',
- 0x02 => '1/15 s',
- 0x03 => '1/8 s',
- 0x04 => '1/4 s',
- 0x05 => '1/2 s',
- 0x06 => '1 s',
- 0x07 => '2 s',
- 0x08 => '4 s',
- 0x09 => '8 s',
- 0x0a => '15 s',
- 0x0b => '30 s',
- },
- },
- 23.1 => { # CSe3
- Name => 'FlashControlBuilt-in',
- Mask => 0xc0,
- RawConv => '$$self{FlashControlBuiltin} = $val',
- PrintConv => {
- 0x00 => 'TTL',
- 0x40 => 'Manual',
- 0x80 => 'Repeating Flash',
- 0xc0 => 'Commander Mode',
- },
- },
- 23.2 => { # CSe3-b
- Name => 'ManualFlashOutput',
- Condition => '$$self{FlashControlBuiltin} == 0x40',
- Mask => 0x1f,
- ValueConv => '2 ** (-$val/3)',
- ValueConvInv => '$val > 0 ? -3*log($val)/log(2) : 0',
- PrintConv => q{
- return 'Full' if $val > 0.99;
- Image::ExifTool::Exif::PrintExposureTime($val);
- },
- PrintConvInv => '$val=~/F/i ? 1 : Image::ExifTool::Exif::ConvertFraction($val)',
- },
- 24.1 => { # CSe3-ca
- Name => 'RepeatingFlashOutput',
- Condition => '$$self{FlashControlBuiltin} == 0x80',
- Mask => 0x70,
- ValueConv => '2 ** (-($val>>4)-2)',
- ValueConvInv => '$val > 0 ? int(-log($val)/log(2)-2+0.5)<<4 : 0',
- PrintConv => 'Image::ExifTool::Exif::PrintExposureTime($val)',
- PrintConvInv => 'Image::ExifTool::Exif::ConvertFraction($val)',
- },
- 24.2 => { # CSe3-cb
- Name => 'RepeatingFlashCount',
- Condition => '$$self{FlashControlBuiltin} == 0x80',
- Mask => 0x0f,
- ValueConv => '$val < 10 ? $val + 1 : 5 * ($val - 7)',
- ValueConvInv => '$val <= 10 ? $val - 1 : $val / 5 + 7',
- },
- 25.1 => { # CSe3-cc
- Name => 'RepeatingFlashRate',
- Condition => '$$self{FlashControlBuiltin} == 0x80',
- Mask => 0xf0,
- ValueConv => 'my $v=($val>>4); $v < 10 ? $v + 1 : 10 * ($v - 8)',
- ValueConvInv => 'int(($val <= 10 ? $val - 1 : $val / 10 + 8) + 0.5) << 4',
- PrintConv => '"$val Hz"',
- PrintConvInv => '$val=~/(\d+)/; $1 || 0',
- },
- 25.2 => { # CSe3
- Name => 'CommanderChannel',
- Mask => 0x03,
- ValueConv => '$val + 1',
- ValueConvInv => '$val - 1',
- },
- 27.1 => { # CSe3
- Name => 'CommanderInternalFlash',
- Mask => 0xc0,
- PrintConv => {
- 0x00 => 'TTL',
- 0x40 => 'Manual',
- 0x80 => 'Off',
- },
- },
- 27.2 => { # CSe3
- Name => 'CommanderInternalManualOutput',
- Mask => 0x1f,
- ValueConv => '2 ** (-$val/3)',
- ValueConvInv => '$val > 0 ? int(-log($val)/log(2) * 3 + 0.5): 0',
- PrintConv => q{
- return 'Full' if $val > 0.99;
- Image::ExifTool::Exif::PrintExposureTime($val);
- },
- PrintConvInv => '$val=~/F/i ? 1 : Image::ExifTool::Exif::ConvertFraction($val)',
- },
- 28.1 => { # CSe3
- Name => 'CommanderGroupAMode',
- Mask => 0xc0,
- PrintConv => {
- 0x00 => 'TTL',
- 0x40 => 'Auto Aperture',
- 0x80 => 'Manual',
- 0xc0 => 'Off',
- },
- },
- 28.2 => { # CSe3
- Name => 'CommanderGroupAManualOutput',
- Mask => 0x1f,
- ValueConv => '2 ** (-$val/3)',
- ValueConvInv => '$val > 0 ? int(-log($val)/log(2) * 3 + 0.5): 0',
- PrintConv => q{
- return 'Full' if $val > 0.99;
- Image::ExifTool::Exif::PrintExposureTime($val);
- },
- PrintConvInv => '$val=~/F/i ? 1 : Image::ExifTool::Exif::ConvertFraction($val)',
- },
- 29.1 => { # CSe3
- Name => 'CommanderGroupBMode',
- Mask => 0xc0,
- PrintConv => {
- 0x00 => 'TTL',
- 0x40 => 'Auto Aperture',
- 0x80 => 'Manual',
- 0xc0 => 'Off',
- },
- },
- 29.2 => { # CSe3
- Name => 'CommanderGroupBManualOutput',
- Mask => 0x1f,
- ValueConv => '2 ** (-$val/3)',
- ValueConvInv => '$val > 0 ? int(-log($val)/log(2) * 3 + 0.5): 0',
- PrintConv => q{
- return 'Full' if $val > 0.99;
- Image::ExifTool::Exif::PrintExposureTime($val);
- },
- PrintConvInv => '$val=~/F/i ? 1 : Image::ExifTool::Exif::ConvertFraction($val)',
- },
- 30.1 => { # CSe4
- Name => 'ModelingFlash',
- Mask => 0x20,
- PrintConv => { 0x00 => 'On', 0x20 => 'Off' },
- },
- 30.2 => { # CSe3
- Name => 'CommanderInternalTTLComp',
- Mask => 0x1f,
- ValueConv => '($val - 9) / 3',
- ValueConvInv => '$val * 3 + 9',
- PrintConv => '$val ? sprintf("%+.1f",$val) : 0',
- PrintConvInv => '$val',
- },
- 31.1 => { # CSe3
- Name => 'CommanderGroupA_TTL-AAComp',
- Mask => 0x1f,
- ValueConv => '($val - 9) / 3',
- ValueConvInv => '$val * 3 + 9',
- PrintConv => '$val ? sprintf("%+.1f",$val) : 0',
- PrintConvInv => '$val',
- },
- 32.1 => { # CSe3
- Name => 'CommanderGroupB_TTL-AAComp',
- Mask => 0x1f,
- ValueConv => '($val - 9) / 3',
- ValueConvInv => '$val * 3 + 9',
- PrintConv => '$val ? sprintf("%+.1f",$val) : 0',
- PrintConvInv => '$val',
- },
- # 47 - related to flash
- );
- # D810 custom settings (ref 1)
- %Image::ExifTool::NikonCustom::SettingsD810 = (
- PROCESS_PROC => \&Image::ExifTool::ProcessBinaryData,
- WRITE_PROC => \&Image::ExifTool::WriteBinaryData,
- CHECK_PROC => \&Image::ExifTool::CheckBinaryData,
- WRITABLE => 1,
- FIRST_ENTRY => 0,
- DATAMEMBER => [ 24.1 ],
- GROUPS => { 0 => 'MakerNotes', 2 => 'Camera' },
- NOTES => 'Custom settings for the D810',
- 0.1 => { # CSf1
- Name => 'LightSwitch',
- Mask => 0x08,
- PrintConv => {
- 0x00 => 'LCD Backlight',
- 0x08 => 'LCD Backlight and Shooting Information',
- },
- },
- 0.2 => {
- Name => 'CustomSettingsBank',
- Mask => 0x03,
- PrintConv => {
- 0 => 'A',
- 1 => 'B',
- 2 => 'C',
- 3 => 'D',
- },
- },
- 1.1 => { #CSa1
- Name => 'AF-CPrioritySelection',
- Mask => 0xc0,
- PrintConv => {
- 0x00 => 'Release',
- 0x40 => 'Release + Focus',
- 0x80 => 'Focus',
- },
- },
- 1.2 => { # CSa2
- Name => 'AF-SPrioritySelection',
- Mask => 0x20,
- PrintConv => {
- 0x00 => 'Focus',
- 0x20 => 'Release',
- },
- },
- 1.3 => { # CSa7
- Name => 'AFPointSelection',
- Mask => 0x10,
- PrintConv => {
- 0x00 => '51 Points',
- 0x10 => '11 Points',
- },
- },
- 1.4 => { # CSa3
- Name => 'FocusTrackingLockOn',
- Mask => 0x07,
- PrintConv => {
- 0x00 => 'Off',
- 0x01 => '1 (Short)',
- 0x02 => '2',
- 0x03 => '3 (Normal)',
- 0x04 => '4',
- 0x05 => '5 (Long)',
- },
- },
- 2.1 => { # CSa4
- Name => 'AFActivation',
- Mask => 0x80,
- PrintConv => {
- 0x00 => 'Shutter/AF-On',
- 0x80 => 'AF-On Only',
- },
- },
- 2.2 => { # CSa7
- Name => 'FocusPointWrap',
- Mask => 0x08,
- PrintConv => {
- 0x00 => 'No Wrap',
- 0x08 => 'Wrap',
- },
- },
- 2.3 => { # CSa6
- Name => 'AFPointBrightness',
- Mask => 0x06,
- PrintConv => {
- 0x00 => 'Auto',
- 0x02 => 'On',
- 0x04 => 'Off',
- },
- },
- 2.4 => { # CSa10
- Name => 'AFAssist',
- Mask => 0x01,
- PrintConv => {
- 0x00 => 'On',
- 0x01 => 'Off',
- },
- },
- 3.1 => { # CSd13
- Name => 'BatteryOrder',
- Mask => 0x40,
- PrintConv => {
- 0x00 => 'MB-D12 First',
- 0x40 => 'Camera Battery First',
- },
- },
- 3.2 => { # CSd12
- Name => 'MB-D12BatteryType',
- Mask => 0x03,
- PrintConv => {
- 0x00 => 'LR6 (AA alkaline)',
- 0x01 => 'HR6 (AA Ni-MH)',
- 0x02 => 'FR6 (AA lithium)',
- },
- },
- 4.1 => { # CSd1-b
- Name => 'Pitch',
- Mask => 0x40,
- PrintConv => { 0x00 => 'High', 0x40 => 'Low' },
- },
- 4.2 => { # CSf11
- Name => 'NoMemoryCard',
- Mask => 0x20,
- PrintConv => {
- 0x00 => 'Release Locked',
- 0x20 => 'Enable Release',
- },
- },
- 4.3 => { # CSd8
- Name => 'ISODisplay',
- Mask => 0x0c,
- PrintConv => {
- 0x00 => 'Show ISO/Easy ISO',
- 0x04 => 'Show ISO Sensitivity',
- 0x0c => 'Show Frame Count',
- },
- },
- 4.4 => { # CSd7
- Name => 'GridDisplay',
- Mask => 0x02,
- PrintConv => { 0x00 => 'On', 0x02 => 'Off' },
- },
- 5.1 => { # CSd10
- Name => 'ShootingInfoDisplay',
- Mask => 0xc0,
- PrintConv => {
- 0x00 => 'Not Set', # observed on a new camera prior to applying a setting for the first time
- 0x40 => 'Auto',
- 0x80 => 'Manual (dark on light)',
- 0xc0 => 'Manual (light on dark)',
- },
- },
- 5.2 => { # CSd11
- Name => 'LCDIllumination',
- Mask => 0x20,
- PrintConv => { 0x00 => 'Off', 0x20 => 'On' },
- },
- 5.3 => { # CSd5
- Name => 'ElectronicFront-CurtainShutter',
- Mask => 0x08,
- PrintConv => { 0x00 => 'Off', 0x08 => 'On' },
- },
- 5.4 => { # CSd9
- Name => 'ScreenTips',
- Mask => 0x04,
- PrintConv => { 0x00 => 'Off', 0x04 => 'On' },
- },
- 5.5 => { # CSd1-a
- Name => 'Beep',
- Mask => 0x03,
- PrintConv => {
- 0x00 => 'Off',
- 0x01 => 'Low',
- 0x02 => 'Medium',
- 0x03 => 'High',
- },
- },
- 6.1 => { # CSf12
- Name => 'ReverseIndicators',
- Mask => 0x80,
- PrintConv => {
- 0x00 => '+ 0 -',
- 0x80 => '- 0 +',
- },
- },
- 6.2 => { # CSf9-a
- Name => 'CommandDialsReverseRotation',
- Mask => 0x18,
- PrintConv => {
- 0x00 => 'No',
- 0x08 => 'Shutter Speed & Aperture',
- 0x10 => 'Exposure Compensation',
- 0x18 => 'Exposure Compensation, Shutter Speed & Aperture',
- },
- },
- 6.3 => { # CSb4
- Name => 'EasyExposureCompensation',
- Mask => 0x03,
- PrintConv => {
- 0x00 => 'Off',
- 0x01 => 'On',
- 0x02 => 'On (auto reset)',
- },
- },
- 7.1 => { # CSb2
- Name => 'ExposureControlStepSize',
- Mask => 0xc0,
- PrintConv => {
- 0x00 => '1/3 EV',
- 0x40 => '1/2 EV',
- 0x80 => '1 EV',
- },
- },
- 7.2 => { # CSb1
- Name => 'ISOStepSize',
- Mask => 0x30,
- PrintConv => {
- 0x00 => '1/3 EV',
- 0x10 => '1/2 EV',
- 0x20 => '1 EV',
- },
- },
- 7.3 => { # CSb3
- Name => 'ExposureCompStepSize',
- Mask => 0x0c,
- PrintConv => {
- 0x00 => '1/3 EV',
- 0x04 => '1/2 EV',
- 0x08 => '1 EV',
- },
- },
- 8.1 => { # CSb6
- Name => 'CenterWeightedAreaSize',
- Mask => 0xe0,
- PrintConv => {
- 0x00 => '8 mm',
- 0x20 => '12 mm',
- 0x40 => '15 mm',
- 0x60 => '20 mm',
- 0x80 => 'Average',
- },
- },
- 8.2 => { # CSb7-a
- Name => 'FineTuneOptMatrixMetering',
- Mask => 0x0f,
- ValueConv => '($val > 0x7 ? $val - 0x10 : $val) / 6',
- ValueConvInv => 'int($val*6+($val>0?0.5:-0.5)) & 0x0f',
- PrintConv => '$val ? sprintf("%+.2f", $val) : 0',
- PrintConvInv => 'Image::ExifTool::Exif::ConvertFraction($val)',
- },
- 9.1 => { # CSb7-b
- Name => 'FineTuneOptCenterWeighted',
- Mask => 0xf0,
- ValueConv => '($val > 0x70 ? $val - 0x100 : $val) / 0x60',
- ValueConvInv => '(int($val*6+($val>0?0.5:-0.5))<<4) & 0xf0',
- PrintConv => '$val ? sprintf("%+.2f", $val) : 0',
- PrintConvInv => 'Image::ExifTool::Exif::ConvertFraction($val)',
- },
- 9.2 => { # CSb7-c
- Name => 'FineTuneOptSpotMetering',
- Mask => 0x0f,
- ValueConv => '($val > 0x7 ? $val - 0x10 : $val) / 6',
- ValueConvInv => 'int($val*6+($val>0?0.5:-0.5)) & 0x0f',
- PrintConv => '$val ? sprintf("%+.2f", $val) : 0',
- PrintConvInv => 'Image::ExifTool::Exif::ConvertFraction($val)',
- },
- 10.1 => { # CSf2-a
- Name => 'MultiSelectorShootMode',
- Mask => 0xc0,
- PrintConv => {
- 0x00 => 'Select Center Focus Point (Reset)',
- 0x40 => 'Highlight Active Focus Point',
- 0x80 => 'Preset Focus Point (Pre)',
- 0xc0 => 'Not Used (None)',
- },
- },
- 10.2 => { # CSf2-b
- Name => 'MultiSelectorPlaybackMode',
- Mask => 0x30,
- PrintConv => {
- 0x00 => 'Thumbnail On/Off',
- 0x10 => 'View Histograms',
- 0x20 => 'Zoom On/Off',
- 0x30 => 'Choose Folder',
- },
- },
- 10.3 => { # CSf3
- Name => 'MultiSelector',
- Mask => 0x01,
- PrintConv => {
- 0x00 => 'Do Nothing',
- 0x01 => 'Reset Meter-off Delay',
- },
- },
- 11.1 => { # CSd4
- Name => 'ExposureDelayMode',
- Mask => 0xc0,
- PrintConv => {
- 0x00 => 'Off',
- 0x40 => '1 s',
- 0x80 => '2 s',
- 0xc0 => '3 s',
- },
- },
- 11.2 => { # CSd2
- Name => 'CLModeShootingSpeed',
- Mask => 0x0f,
- PrintConv => '"$val fps"',
- PrintConvInv => '$val=~s/\s*fps//i; $val',
- },
- 12.1 => { # CSd3
- Name => 'MaxContinuousRelease',
- # values: 1-100
- },
- 13.1 => { # CSe6
- Name => 'AutoBracketSet',
- Mask => 0xe0,
- PrintConv => {
- 0x00 => 'AE & Flash',
- 0x20 => 'AE Only',
- 0x40 => 'Flash Only',
- 0x60 => 'WB Bracketing',
- 0x80 => 'Active D-Lighting',
- },
- },
- 13.2 => { # CSe8
- Name => 'AutoBracketOrder',
- Mask => 0x10,
- PrintConv => {
- 0x00 => '0,-,+',
- 0x10 => '-,0,+',
- },
- },
- 13.3 => { # CSe7
- Name => 'AutoBracketModeM',
- Mask => 0x0c,
- PrintConv => {
- 0x00 => 'Flash/Speed',
- 0x04 => 'Flash/Speed/Aperture',
- 0x08 => 'Flash/Aperture',
- 0x0c => 'Flash Only',
- },
- },
- 14.1 => { # CSf4-a
- Name => 'FuncButton',
- Mask => 0x1f,
- PrintConv => {
- 0 => 'None',
- 1 => 'Preview',
- 2 => 'FV Lock',
- 3 => 'AE/AF Lock',
- 4 => 'AE Lock Only',
- 5 => 'AE Lock (reset on release)',
- 6 => 'AE Lock (hold)',
- 7 => 'AF Lock Only',
- 8 => 'AF-On',
- 10 => 'Bracketing Burst',
- 11 => 'Matrix Metering',
- 12 => 'Center-weighted Metering',
- 13 => 'Spot Metering',
- 14 => 'Playback',
- 15 => 'My Menu Top Item',
- 16 => '+NEF(RAW)',
- 17 => 'Virtual Horizon',
- 19 => 'Grid Display', # values 19 and 20 are swapped from the D4s encodings
- 20 => 'My Menu',
- 21 => 'Disable Synchronized Release',
- 22 => 'Remote Release Only',
- 26 => 'Flash Disable/Enable',
- 27 => 'Highlight-weighted Metering', # new value with D810
- },
- },
- 15.1 => { # CSf5-a
- Name => 'PreviewButton',
- Mask => 0x1f,
- PrintConv => {
- 0 => 'None',
- 1 => 'Preview',
- 2 => 'FV Lock',
- 3 => 'AE/AF Lock',
- 4 => 'AE Lock Only',
- 5 => 'AE Lock (reset on release)',
- 6 => 'AE Lock (hold)',
- 7 => 'AF Lock Only',
- 8 => 'AF-On',
- 10 => 'Bracketing Burst',
- 11 => 'Matrix Metering',
- 12 => 'Center-weighted Metering',
- 13 => 'Spot Metering',
- 14 => 'Playback',
- 15 => 'My Menu Top Item',
- 16 => '+NEF(RAW)',
- 17 => 'Virtual Horizon',
- 19 => 'Grid Display', # values 19 and 20 are swapped from the D4s encodings
- 20 => 'My Menu',
- 21 => 'Disable Synchronized Release',
- 22 => 'Remote Release Only',
- 26 => 'Flash Disable/Enable',
- 27 => 'Highlight-weighted Metering', # new value with D810
- },
- },
- 16.1 => { # CSf8
- Name => 'AssignBktButton',
- Mask => 0x07,
- PrintConv => {
- 0 => 'Auto Bracketing',
- 1 => 'Multiple Exposure',
- 2 => 'HDR (high dynamic range)',
- 3 => 'None',
- },
- },
- 17.1 => { # CSf6-a
- Name => 'AELockButton',
- Mask => 0x1f,
- PrintConv => {
- 0 => 'None',
- 1 => 'Preview',
- 2 => 'FV Lock',
- 3 => 'AE/AF Lock',
- 4 => 'AE Lock Only',
- 5 => 'AE Lock (reset on release)',
- 6 => 'AE Lock (hold)',
- 7 => 'AF Lock Only',
- 8 => 'AF-On',
- 10 => 'Bracketing Burst',
- 11 => 'Matrix Metering',
- 12 => 'Center-weighted Metering',
- 13 => 'Spot Metering',
- 14 => 'Playback',
- 15 => 'My Menu Top Item',
- 16 => '+NEF(RAW)',
- 17 => 'Virtual Horizon',
- 19 => 'Grid Display', # values 19 and 20 are swapped from the D4s encodings
- 20 => 'My Menu',
- 21 => 'Disable Synchronized Release',
- 22 => 'Remote Release Only',
- 26 => 'Flash Disable/Enable',
- 27 => 'Highlight-weighted Metering', # new value with D810
- },
- },
- 18.1 => { # CSf9-b
- Name => 'CommandDialsChangeMainSub',
- Mask => 0xe0,
- PrintConv => {
- 0x00 => 'Autofocus Off, Exposure Off',
- 0x20 => 'Autofocus Off, Exposure On',
- 0x40 => 'Autofocus Off, Exposure On (Mode A)',
- 0x80 => 'Autofocus On, Exposure Off',
- 0xa0 => 'Autofocus On, Exposure On',
- 0xc0 => 'Autofocus On, Exposure On (Mode A)',
- },
- },
- 18.2 => { # CSf9-d
- Name => 'CommandDialsMenuAndPlayback',
- Mask => 0x18,
- PrintConv => {
- 0x00 => 'On',
- 0x08 => 'Off',
- 0x10 => 'On (Image Review Excluded)',
- },
- },
- 18.3 => { # CSf9-c
- Name => 'CommandDialsApertureSetting',
- Mask => 0x04,
- PrintConv => {
- 0x00 => 'Sub-command Dial',
- 0x04 => 'Aperture Ring',
- },
- },
- 18.4 => { # CSc1
- Name => 'ShutterReleaseButtonAE-L',
- Mask => 0x02,
- PrintConv => { 0x00 => 'Off', 0x02 => 'On' },
- },
- 18.5 => { # CSf10
- Name => 'ReleaseButtonToUseDial',
- Mask => 0x01,
- PrintConv => { 0x00 => 'No', 0x01 => 'Yes' },
- },
- 19.1 => { # CSc2
- Name => 'StandbyTimer',
- Mask => 0xf0,
- PrintConv => {
- 0x00 => '4 s',
- 0x10 => '6 s',
- 0x30 => '10 s',
- 0x50 => '30 s',
- 0x60 => '1 min',
- 0x70 => '5 min',
- 0x80 => '10 min',
- 0x90 => '30 min',
- },
- },
- 20.1 => { # CSc3-a
- Name => 'SelfTimerTime',
- Mask => 0xc0,
- PrintConv => {
- 0x00 => '2 s',
- 0x40 => '5 s',
- 0x80 => '10 s',
- 0xc0 => '20 s',
- },
- },
- 20.2 => { # CSc3-c
- Name => 'SelfTimerShotInterval',
- Mask => 0x30,
- PrintConv => {
- 0x00 => '0.5 s',
- 0x10 => '1 s',
- 0x20 => '2 s',
- 0x30 => '3 s',
- },
- },
- 20.3 => { # CSc3-b
- Name => 'SelfTimerShotCount',
- Mask => 0x0f,
- },
- 21.1 => { # CSc4-d
- Name => 'ImageReviewMonitorOffTime', # note: decode changed from D4s
- Mask => 0xe0,
- PrintConv => {
- 0x00 => '2 s',
- 0x20 => '4 s',
- 0x60 => '10 s',
- 0x80 => '20 s',
- 0xa0 => '1 min',
- 0xc0 => '5 min',
- 0xe0 => '10 min',
- },
- },
- 21.2 => { # CSc4-e # note: decode changed from D4s
- Name => 'LiveViewMonitorOffTime',
- Mask => 0x1c,
- PrintConv => {
- 0x04 => '5 min',
- 0x08 => '10 min',
- 0x0c => '15 min',
- 0x10 => '20 min',
- 0x14 => '30 min',
- 0x18 => 'No Limit',
- },
- },
- 22.1 => { # CSc4-b # note: decode changed from D4s
- Name => 'MenuMonitorOffTime',
- Mask => 0xe0,
- PrintConv => {
- 0x00 => '4 s',
- 0x40 => '10 s',
- 0x80 => '20 s',
- 0xa0 => '1 min',
- 0xc0 => '5 min',
- 0xe0 => '10 min',
- },
- },
- 22.2 => { # CSc4-c # note: decode changed from D4s
- Name => 'ShootingInfoMonitorOffTime',
- Mask => 0x1c,
- PrintConv => {
- 0x00 => '4 s',
- 0x08 => '10 s',
- 0x10 => '20 s',
- 0x14 => '1 min',
- 0x18 => '5 min',
- 0x1c => '10 min',
- },
- },
- 23.1 => { # CSe1
- Name => 'FlashSyncSpeed',
- Mask => 0xf0,
- PrintConv => {
- 0x00 => '1/320 s (auto FP)',
- 0x20 => '1/250 s (auto FP)',
- 0x30 => '1/250 s',
- 0x50 => '1/200 s',
- 0x60 => '1/160 s',
- 0x70 => '1/125 s',
- 0x80 => '1/100 s',
- 0x90 => '1/80 s',
- 0xa0 => '1/60 s',
- },
- },
- 23.2 => { # CSe2
- Name => 'FlashShutterSpeed',
- Mask => 0x0f,
- PrintConvColumns => 2,
- PrintConv => {
- 0x00 => '1/60 s',
- 0x01 => '1/30 s',
- 0x02 => '1/15 s',
- 0x03 => '1/8 s',
- 0x04 => '1/4 s',
- 0x05 => '1/2 s',
- 0x06 => '1 s',
- 0x07 => '2 s',
- 0x08 => '4 s',
- 0x09 => '8 s',
- 0x0a => '15 s',
- 0x0b => '30 s',
- },
- },
- 24.1 => { # CSe3
- Name => 'FlashControlBuilt-in',
- Mask => 0xc0,
- RawConv => '$$self{FlashControlBuiltin} = $val',
- PrintConv => {
- 0x00 => 'TTL',
- 0x40 => 'Manual',
- 0x80 => 'Repeating Flash',
- 0xc0 => 'Commander Mode',
- },
- },
- 31.1 => { # CSe5
- Name => 'ModelingFlash',
- Mask => 0x20,
- PrintConv => {
- 0x00 => 'On',
- 0x20 => 'Off',
- },
- },
- 36.1 => { # CSc4-a
- Name => 'PlaybackMonitorOffTime',
- Mask => 0xe0,
- PrintConv => {
- 0x00 => '4 s',
- 0x20 => '10 s',
- 0x40 => '20 s',
- 0x60 => '1 min',
- 0x80 => '5 min',
- 0xa0 => '10 min',
- },
- },
- 37.1 => { # CSf2-c
- Name => 'MultiSelectorLiveView',
- Mask => 0xc0,
- PrintConv => {
- 0x00 => 'Reset',
- 0x40 => 'Zoom',
- 0xc0 => 'Not Used',
- },
- },
- 38.1 => { # CSf7-a
- Name => 'ShutterSpeedLock',
- Mask => 0x80,
- PrintConv => {
- 0x00 => 'Off',
- 0x80 => 'On',
- },
- },
- 38.2 => { # CSf7-b
- Name => 'ApertureLock',
- Mask => 0x40,
- PrintConv => {
- 0x00 => 'Off',
- 0x40 => 'On',
- },
- },
- 38.3 => { # CSg4
- Name => 'MovieShutterButton',
- Mask => 0x20,
- PrintConv => {
- 0x00 => 'Take Photo',
- 0x20 => 'Record Movies',
- },
- },
- 38.4 => { # CSe4
- Name => 'FlashExposureCompArea',
- Mask => 0x04,
- PrintConv => {
- 0x00 => 'Entire frame',
- 0x04 => 'Background only',
- },
- },
- 40.1 => { # CSg3
- Name => 'MovieAELockButtonAssignment',
- Mask => 0x0f,
- PrintConv => {
- 0 => 'None',
- 3 => 'Index Marking',
- 4 => 'View Photo Shooting Info',
- 5 => 'AE/AF Lock',
- 6 => 'AE Lock Only',
- 7 => 'AE Lock (hold)',
- 8 => 'AF Lock Only',
- },
- },
- 41.1 => { # CSg1
- Name => 'MovieFunctionButton',
- Mask => 0x70,
- PrintConv => {
- 0x00 => 'None',
- 0x10 => 'Power Aperture (open)', # bit '02' is also toggled on for this setting
- 0x30 => 'Index Marking',
- 0x40 => 'View Photo Shooting Info',
- },
- },
- 41.2 => { # CSg2
- Name => 'MoviePreviewButton',
- Mask => 0x07,
- PrintConv => {
- 0x00 => 'None',
- 0x02 => 'Power Aperture (open)', # bit '10' is also toggled on for this setting
- 0x03 => 'Index Marking',
- 0x04 => 'View Photo Shooting Info',
- },
- },
- 42.1 => { # CSf4-b
- Name => 'FuncButtonPlusDials',
- Mask => 0x0f,
- PrintConv => {
- 0 => 'None',
- 1 => 'Choose Image Area (FX/DX/5:4)',
- 2 => 'Shutter Speed & Aperture Lock',
- 3 => 'One Step Speed / Aperture',
- 4 => 'Choose Non-CPU Lens Number',
- 5 => 'Active D-Lighting',
- 8 => 'Exposure Delay Mode',
- },
- },
- 43.1 => { # CSf5-b
- Name => 'PreviewButtonPlusDials',
- Mask => 0x0f,
- PrintConv => {
- 0 => 'None',
- 1 => 'Choose Image Area (FX/DX/5:4)',
- 2 => 'Shutter Speed & Aperture Lock',
- 3 => 'One Step Speed / Aperture',
- 4 => 'Choose Non-CPU Lens Number',
- 5 => 'Active D-Lighting',
- 8 => 'Exposure Delay Mode',
- },
- },
- 44.1 => { # CSf6-b
- Name => 'AELockButtonPlusDials',
- Mask => 0x0f,
- PrintConv => {
- 0 => 'None',
- 1 => 'Choose Image Area (FX/DX/5:4)',
- 2 => 'Shutter Speed & Aperture Lock',
- 4 => 'Choose Non-CPU Lens Number',
- 8 => 'Exposure Delay Mode',
- },
- },
- 45.1 => { # CSf13
- Name => 'AssignMovieRecordButton',
- Mask => 0x0f,
- PrintConv => {
- 0 => 'None',
- 1 => 'Choose Image Area (FX/DX/5:4)',
- 2 => 'Shutter Speed & Aperture Lock',
- 9 => 'White Balance',
- 10 => 'ISO Sensitivity',
- },
- },
- 46.1 => { # CSb7-d
- Name => 'FineTuneOptHighlightWeighted',
- Mask => 0x0f,
- ValueConv => '($val > 0x7 ? $val - 0x10 : $val) / 6',
- ValueConvInv => 'int($val*6+($val>0?0.5:-0.5)) & 0x0f',
- PrintConv => '$val ? sprintf("%+.2f", $val) : 0',
- PrintConvInv => 'Image::ExifTool::Exif::ConvertFraction($val)',
- },
- 47.1 => { # CSa5-b
- Name => 'DynamicAreaAFDisplay',
- Mask => 0x80,
- PrintConv => {
- 0x00 => 'Off',
- 0x80 => 'On',
- },
- },
- 47.2 => { # CSa5-a # moved with D810
- Name => 'AFPointIllumination',
- Mask => 0x40,
- PrintConv => {
- 0x00 => 'Off',
- 0x40 => 'On During Manual Focusing',
- },
- },
- 47.3 => { # CSa9
- Name => 'StoreByOrientation',
- Mask => 0x18,
- PrintConv => {
- 0x00 => 'Off',
- 0x08 => 'Focus Point',
- 0x10 => 'Focus Point and AF-area mode',
- },
- },
- 47.4 => { # CSa5-c
- Name => 'GroupAreaAFIllumination',
- Mask => 0x04,
- PrintConv => {
- 0x00 => 'Squares', # moved with D810
- 0x04 => 'Dots',
- },
- },
- 48.1 => { # CSb5
- Name => 'MatrixMetering',
- Mask => 0x80,
- PrintConv => {
- 0x00 => 'Face Detection On',
- 0x80 => 'Face Detection Off',
- },
- },
- 48.2 => { # CSf14
- Name => 'LiveViewButtonOptions',
- Mask => 0x30,
- PrintConv => {
- 0x00 => 'Enable',
- 0x20 => 'Disable',
- },
- },
- 48.3 => { # CSa12
- Name => 'AFModeRestrictions',
- Mask => 0x03,
- PrintConv => {
- 0x00 => 'No Restrictions',
- 0x01 => 'AF-C',
- 0x02 => 'AF-S',
- },
- },
- 49.1 => { # CSa11
- Name => 'LimitAFAreaModeSelection',
- Mask => 0x7e,
- PrintConv => {
- 0 => 'No Restrictions',
- BITMASK => {
- 1 => 'Auto-area',
- 2 => 'Group-area',
- 3 => '3D-tracking',
- 4 => 'Dynamic area (51 points)',
- 5 => 'Dynamic area (21 points)',
- 6 => 'Dynamic area (9 points)',
- },
- },
- },
- 50.1 => { # CSf15
- Name => 'AF-OnForMB-D12',
- Mask => 0x07,
- PrintConv => {
- 0 => 'AE/AF Lock',
- 1 => 'AE Lock Only',
- 2 => 'AF Lock Only',
- 3 => 'AE Lock (hold)',
- 4 => 'AE Lock (reset)',
- 5 => 'AF-On',
- 6 => 'FV Lock',
- 7 => 'Same As Fn Button',
- },
- },
- 51.1 => { # CSf16
- Name => 'AssignRemoteFnButton',
- Mask => 0x1f,
- PrintConv => {
- 0 => 'None',
- 1 => 'Preview',
- 2 => 'FV Lock',
- 3 => 'AE/AF Lock',
- 4 => 'AE Lock Only',
- 5 => 'AE Lock (reset on release)',
- 7 => 'AF Lock Only',
- 8 => 'AF-On',
- 16 => '+NEF(RAW)',
- 25 => 'Live View',
- 26 => 'Flash Disable/Enable',
- },
- },
- 52.1 => { # CSf17
- Name => 'LensFocusFunctionButtons',
- Mask => 0x3f,
- PrintConv => {
- 3 => 'AE/AF Lock',
- 4 => 'AE Lock Only',
- 7 => 'AF Lock Only',
- 21 => 'Disable Synchronized Release',
- 22 => 'Remote Release Only',
- 24 => 'Preset focus Point',
- 26 => 'Flash Disable/Enable',
- 32 => 'AF-Area Mode: Single-point AF',
- 33 => 'AF-Area Mode: Dynamic-area AF (9 points)',
- 34 => 'AF-Area Mode: Dynamic-area AF (21 points)',
- 35 => 'AF-Area Mode: Dynamic-area AF (51 points)',
- 36 => 'AF-Area Mode: Group-area AF',
- 37 => 'AF-Area Mode: Auto area AF',
- },
- },
- );
- # D5000 custom settings (ref PH)
- %Image::ExifTool::NikonCustom::SettingsD5000 = (
- PROCESS_PROC => \&Image::ExifTool::ProcessBinaryData,
- WRITE_PROC => \&Image::ExifTool::WriteBinaryData,
- CHECK_PROC => \&Image::ExifTool::CheckBinaryData,
- WRITABLE => 1,
- FIRST_ENTRY => 0,
- GROUPS => { 0 => 'MakerNotes', 2 => 'Camera' },
- NOTES => 'Custom settings for the D5000.',
- # Missing/Incomplete settings:
- # CSd7 - LiveViewDisplayOptions [couldn't find in data - try again with live view shots]
- 0.1 => { # CSa1
- Name => 'AFAreaModeSetting',
- Mask => 0x60,
- PrintConv => {
- 0x00 => 'Single Area',
- 0x20 => 'Dynamic Area',
- 0x40 => 'Auto-area',
- 0x60 => '3D-tracking (11 points)',
- },
- },
- 0.2 => { # CSa2
- Name => 'AFAssist',
- Mask => 0x01,
- PrintConv => {
- 0 => 'On',
- 1 => 'Off',
- },
- },
- 2.1 => { # CSd1
- Name => 'Beep',
- Mask => 0xc0,
- PrintConv => {
- 0x00 => 'Off',
- 0x40 => 'Low',
- 0x80 => 'High',
- },
- },
- 2.2 => { # CSd2
- Name => 'GridDisplay',
- Mask => 0x02,
- PrintConv => {
- 0x00 => 'On',
- 0x02 => 'Off',
- },
- },
- 2.3 => { # CSd3
- Name => 'ISODisplay',
- Mask => 0x08,
- PrintConv => {
- 0x08 => 'Off',
- 0x00 => 'On',
- },
- },
- 2.4 => { # CSf4
- Name => 'NoMemoryCard',
- Mask => 0x20,
- PrintConv => {
- 0x00 => 'Release Locked',
- 0x20 => 'Enable Release',
- },
- },
- 3.1 => { # CSd4
- Name => 'FileNumberSequence',
- Mask => 0x08,
- PrintConv => { 0x00 => 'On', 0x08 => 'Off' },
- },
- 4.1 => { # CSa4
- Name => 'RangeFinder',
- Mask => 0x10,
- PrintConv => { 0x00 => 'Off', 0x10 => 'On' },
- },
- 4.2 => { # CSd6
- Name => 'DateImprint',
- Mask => 0x08,
- PrintConv => {
- 0x00 => 'Off',
- 0x08 => 'On',
- },
- },
- 4.3 => { # CSf5
- Name => 'ReverseIndicators',
- Mask => 0x80,
- PrintConv => {
- 0x00 => '+ 0 -',
- 0x80 => '- 0 +',
- },
- },
- 5.1 => { # CSb1
- Name => 'EVStepSize',
- Mask => 0x40,
- PrintConv => {
- 0x00 => '1/3 EV',
- 0x40 => '1/2 EV',
- },
- },
- 9.1 => { # CSd5
- Name => 'ExposureDelayMode',
- Mask => 0x40,
- PrintConv => {
- 0x00 => 'Off',
- 0x40 => 'On',
- },
- },
- 11.1 => { # CSe2
- Name => 'AutoBracketSet',
- Mask => 0xc0,
- PrintConv => {
- 0x00 => 'Exposure',
- # (NOTE: the following are reversed in the D5100 -- is this correct?)
- 0x40 => 'Active D-Lighting', #(NC)
- 0x80 => 'WB Bracketing',
- },
- },
- 12.1 => { # CSf1
- Name => 'TimerFunctionButton',
- Mask => 0x38,
- PrintConv => {
- 0x00 => 'Self-timer',
- 0x08 => 'Release Mode',
- 0x10 => 'Image Quality/Size', #(NC)
- 0x18 => 'ISO', #(NC)
- 0x20 => 'White Balance', #(NC)
- 0x28 => 'Active D-Lighting', #(NC)
- 0x30 => '+ NEF (RAW)',
- 0x38 => 'Auto Bracketing',
- },
- },
- 15.1 => { # CSf2
- Name => 'AELockButton',
- Mask => 0x38,
- PrintConv => {
- 0x00 => 'AE/AF Lock',
- 0x08 => 'AE Lock Only', #(NC)
- 0x10 => 'AF Lock Only', #(NC)
- 0x18 => 'AE Lock (hold)',
- 0x20 => 'AF-ON',
- },
- },
- 16.1 => { # CSc1
- Name => 'ShutterReleaseButtonAE-L',
- Mask => 0x02,
- PrintConv => { 0x00 => 'Off', 0x02 => 'On' },
- },
- 16.2 => { # CSf3
- Name => 'CommandDialsReverseRotation',
- Mask => 0x80,
- PrintConv => { 0x00 => 'No', 0x80 => 'Yes' },
- },
- 17.1 => { # CSc2-c
- Name => 'MeteringTime',
- Mask => 0x70,
- PrintConv => {
- 0x00 => '4 s',
- 0x10 => '8 s',
- 0x20 => '20 s',
- 0x30 => '1 min',
- 0x40 => '30 min',
- },
- },
- 17.2 => { # CSc4
- Name => 'RemoteOnDuration',
- Mask => 0x03,
- PrintConv => {
- 0x00 => '1 min',
- 0x01 => '5 min',
- 0x02 => '10 min',
- 0x03 => '15 min',
- },
- },
- 18.1 => { # CSc3-a
- Name => 'SelfTimerTime',
- Mask => 0xc0,
- PrintConv => {
- 0x00 => '2 s',
- 0x40 => '5 s',
- 0x80 => '10 s',
- 0xc0 => '20 s',
- },
- },
- 18.2 => { # CSc3-b
- Name => 'SelfTimerShotCount',
- Mask => 0x1e,
- ValueConv => '$val >> 1',
- ValueConvInv => '$val << 1',
- },
- 19.1 => { # CSc2-b
- Name => 'ImageReviewTime',
- Mask => 0xe0,
- PrintConv => {
- 0x00 => '4 s',
- 0x20 => '8 s',
- 0x40 => '20 s',
- 0x60 => '1 min',
- 0x80 => '10 min',
- },
- },
- 20.1 => { # CSc2-a
- Name => 'PlaybackMenusTime',
- Mask => 0xe0,
- PrintConv => {
- 0x00 => '8 s',
- 0x20 => '12 s',
- 0x40 => '20 s',
- 0x60 => '1 min',
- 0x80 => '10 min',
- },
- },
- 22.1 => { # CSe1-a
- Name => 'InternalFlash',
- Mask => 0xc0,
- PrintConv => {
- 0x00 => 'TTL',
- 0x40 => 'Manual',
- },
- },
- 22.2 => { # CSe1-b
- Name => 'ManualFlashOutput',
- Mask => 0x1f,
- ValueConv => '2 ** (-$val/3)',
- ValueConvInv => '$val > 0 ? -3*log($val)/log(2) : 0',
- PrintConv => q{
- return 'Full' if $val > 0.99;
- Image::ExifTool::Exif::PrintExposureTime($val);
- },
- PrintConvInv => '$val=~/F/i ? 1 : Image::ExifTool::Exif::ConvertFraction($val)',
- },
- 32.1 => { # CSa3
- Name => 'LiveViewAF',
- Mask => 0x60,
- PrintConv => {
- 0x00 => 'Face Priority',
- 0x20 => 'Wide Area',
- 0x40 => 'Normal Area',
- 0x60 => 'Subject Tracking',
- },
- },
- );
- # D5100 custom settings (ref PH)
- %Image::ExifTool::NikonCustom::SettingsD5100 = (
- PROCESS_PROC => \&Image::ExifTool::ProcessBinaryData,
- WRITE_PROC => \&Image::ExifTool::WriteBinaryData,
- CHECK_PROC => \&Image::ExifTool::CheckBinaryData,
- WRITABLE => 1,
- FIRST_ENTRY => 0,
- GROUPS => { 0 => 'MakerNotes', 2 => 'Camera' },
- NOTES => 'Custom settings for the D5100.',
- 0.1 => { # CSa1
- Name => 'AF-CPrioritySelection',
- Mask => 0x80,
- PrintConv => {
- 0x00 => 'Release',
- 0x80 => 'Focus',
- },
- },
- 1.1 => { # CSa2
- Name => 'AFAssist',
- Mask => 0x01,
- PrintConv => {
- 0 => 'On',
- 1 => 'Off',
- },
- },
- 3.1 => { # CSd1
- Name => 'Beep',
- Mask => 0xc0,
- PrintConv => {
- 0x00 => 'Off',
- 0x40 => 'Low',
- 0x80 => 'High',
- },
- },
- 3.2 => { # CSf4
- Name => 'NoMemoryCard',
- Mask => 0x20,
- PrintConv => {
- 0x00 => 'Release Locked',
- 0x20 => 'Enable Release',
- },
- },
- 3.3 => { # CSd2
- Name => 'ISODisplay',
- Mask => 0x08,
- PrintConv => {
- 0x00 => 'On',
- 0x08 => 'Off',
- },
- },
- 4.1 => { # CSd3
- Name => 'FileNumberSequence',
- Mask => 0x08,
- PrintConv => { 0x00 => 'On', 0x08 => 'Off' },
- },
- 5.1 => { # CSa3
- Name => 'RangeFinder',
- Mask => 0x10,
- PrintConv => { 0x00 => 'Off', 0x10 => 'On' },
- },
- # (it looks like CSd5 DateImprint is not stored)
- 5.2 => { # CSf5
- Name => 'ReverseIndicators',
- Mask => 0x80,
- PrintConv => {
- 0x00 => '+ 0 -',
- 0x80 => '- 0 +',
- },
- },
- 6.1 => { # CSb1
- Name => 'EVStepSize',
- Mask => 0x40,
- PrintConv => {
- 0x00 => '1/3 EV',
- 0x40 => '1/2 EV',
- },
- },
- 10.1 => { # CSd4
- Name => 'ExposureDelayMode',
- Mask => 0x40,
- PrintConv => {
- 0x00 => 'Off',
- 0x40 => 'On',
- },
- },
- 12.1 => { # CSe2
- Name => 'AutoBracketSet',
- Mask => 0xc0,
- PrintConv => {
- 0x00 => 'Exposure',
- # (NOTE: the following are reversed from the D5000 -- is D5000 correct?)
- 0x40 => 'WB Bracketing',
- 0x80 => 'Active D-Lighting',
- },
- },
- 13.1 => { # CSf1
- Name => 'TimerFunctionButton',
- Mask => 0x38,
- PrintConv => {
- 0x00 => 'Self-timer',
- 0x08 => 'Release Mode',
- 0x10 => 'Image Quality/Size',
- 0x18 => 'ISO',
- 0x20 => 'White Balance',
- 0x28 => 'Active D-Lighting',
- 0x30 => '+ NEF (RAW)',
- 0x38 => 'Auto Bracketing',
- },
- },
- 16.1 => { # CSf2
- Name => 'AELockButton',
- Mask => 0x38,
- PrintConv => {
- 0x00 => 'AE/AF Lock',
- 0x08 => 'AE Lock Only',
- 0x10 => 'AF Lock Only',
- 0x18 => 'AE Lock (hold)',
- 0x20 => 'AF-ON',
- },
- },
- 17.1 => { # CSc1
- Name => 'ShutterReleaseButtonAE-L',
- Mask => 0x02,
- PrintConv => { 0x00 => 'Off', 0x02 => 'On' },
- },
- 17.2 => { # CSf3
- Name => 'CommandDialsReverseRotation',
- Mask => 0x80,
- PrintConv => { 0x00 => 'No', 0x80 => 'Yes' },
- },
- 18.1 => { # CSc2-d
- Name => 'MeteringTime',
- Mask => 0x70,
- PrintConv => {
- 0x00 => '4 s',
- 0x10 => '8 s',
- 0x20 => '20 s', #(NC)
- 0x30 => '1 min',
- 0x40 => '30 min', #(NC)
- },
- },
- 18.2 => { # CSc4
- Name => 'RemoteOnDuration',
- Mask => 0x03,
- PrintConv => {
- 0x00 => '1 min',
- 0x01 => '5 min',
- 0x02 => '10 min', #(NC)
- 0x03 => '20 min', # (but picture in manual shows 15 min)
- },
- },
- 19.1 => { # CSc3-a
- Name => 'SelfTimerTime',
- Mask => 0xc0,
- PrintConv => {
- 0x00 => '2 s',
- 0x40 => '5 s',
- 0x80 => '10 s',
- 0xc0 => '20 s',
- },
- },
- 19.2 => { # CSc3-b
- Name => 'SelfTimerShotCount',
- Mask => 0x0f,
- },
- 20.1 => { # CSc2-b
- Name => 'ImageReviewTime',
- Mask => 0xe0,
- PrintConv => {
- 0x00 => '4 s',
- 0x20 => '8 s', #(NC)
- 0x40 => '20 s',
- 0x60 => '1 min', #(NC)
- 0x80 => '10 min', #(NC)
- },
- },
- 20.2 => { # CSc2-c
- Name => 'LiveViewMonitorOffTime',
- Mask => 0x1c,
- PrintConv => {
- 0x00 => '3 min',
- 0x04 => '5 min', #(NC)
- 0x08 => '10 min',
- 0x0c => '15 min', #(NC)
- 0x10 => '20 min', #(NC)
- 0x14 => '30 min', #(NC)
- },
- },
- 21.1 => { # CSc2-a
- Name => 'PlaybackMenusTime',
- Mask => 0xe0,
- PrintConv => {
- 0x00 => '8 s', #(NC)
- 0x20 => '12 s',
- 0x40 => '20 s',
- 0x60 => '1 min',
- 0x80 => '10 min', #(NC)
- },
- },
- 23.1 => { # CSe1-a
- Name => 'InternalFlash',
- Mask => 0xc0,
- PrintConv => {
- 0x00 => 'TTL',
- 0x40 => 'Manual',
- },
- },
- 23.1 => { # CSe1-b
- Name => 'ManualFlashOutput',
- Mask => 0x1f,
- ValueConv => '2 ** (-$val/3)',
- ValueConvInv => '$val > 0 ? -3*log($val)/log(2) : 0',
- PrintConv => q{
- return 'Full' if $val > 0.99;
- Image::ExifTool::Exif::PrintExposureTime($val);
- },
- PrintConvInv => '$val=~/F/i ? 1 : Image::ExifTool::Exif::ConvertFraction($val)',
- },
- );
- # D5200 custom settings (ref PH)
- %Image::ExifTool::NikonCustom::SettingsD5200 = (
- PROCESS_PROC => \&Image::ExifTool::ProcessBinaryData,
- WRITE_PROC => \&Image::ExifTool::WriteBinaryData,
- CHECK_PROC => \&Image::ExifTool::CheckBinaryData,
- WRITABLE => 1,
- FIRST_ENTRY => 0,
- GROUPS => { 0 => 'MakerNotes', 2 => 'Camera' },
- NOTES => 'Custom settings for the D5200.',
- 0.1 => { # CSa1
- Name => 'AF-CPrioritySelection',
- Mask => 0x80,
- PrintConv => {
- 0x00 => 'Release',
- 0x80 => 'Focus',
- },
- },
- 0.2 => { # CSa2
- Name => 'NumberOfFocusPoints',
- Mask => 0x10,
- PrintConv => {
- 0x00 => '39 Points',
- 0x10 => '11 Points',
- },
- },
- 1.1 => { # CSa3
- Name => 'AFAssist',
- Mask => 0x01,
- PrintConv => {
- 0 => 'On',
- 1 => 'Off',
- },
- },
- 3.1 => { # CSd1
- Name => 'Beep',
- Mask => 0xc0,
- PrintConv => {
- 0x00 => 'Off',
- 0x40 => 'Low',
- 0x80 => 'High',
- },
- },
- 3.2 => { # CSf4
- Name => 'NoMemoryCard',
- Mask => 0x20,
- PrintConv => {
- 0x00 => 'Release Locked',
- 0x20 => 'Enable Release',
- },
- },
- 3.3 => { # CSd3
- Name => 'ISODisplay',
- Mask => 0x08,
- PrintConv => {
- 0x00 => 'On',
- 0x08 => 'Off',
- },
- },
- 4.1 => { # CSd3
- Name => 'FileNumberSequence',
- Mask => 0x08,
- PrintConv => { 0x00 => 'On', 0x08 => 'Off' },
- },
- 5.1 => { # CSa4
- Name => 'RangeFinder',
- Mask => 0x04,
- PrintConv => { 0x00 => 'Off', 0x04 => 'On' },
- },
- 5.2 => { # CSf3-a
- Name => 'ReverseExposureCompDial',
- Mask => 0x10,
- PrintConv => { 0x00 => 'No', 0x10 => 'Yes' },
- },
- 5.3 => { # CSf3-b
- Name => 'ReverseShutterSpeedAperture',
- Mask => 0x08,
- PrintConv => { 0x00 => 'No', 0x08 => 'Yes' },
- },
- 5.4 => { # CSf5
- Name => 'ReverseIndicators',
- Mask => 0x80,
- PrintConv => {
- 0x00 => '+ 0 -',
- 0x80 => '- 0 +',
- },
- },
- 6.1 => { # CSb1
- Name => 'EVStepSize',
- Mask => 0x40, # (bit 0x04 also changes)
- PrintConv => {
- 0x00 => '1/3 EV',
- 0x40 => '1/2 EV',
- },
- },
- 10.1 => { # CSd5
- Name => 'ExposureDelayMode',
- Mask => 0x40,
- PrintConv => {
- 0x00 => 'Off',
- 0x40 => 'On',
- },
- },
- 12.1 => { # CSe2
- Name => 'AutoBracketSet',
- Mask => 0xc0,
- PrintConv => {
- 0x00 => 'Exposure',
- # (NOTE: the following are reversed from the D5000 -- is D5000 correct?)
- 0x40 => 'WB Bracketing',
- 0x80 => 'Active D-Lighting',
- },
- },
- 13.1 => { # CSf1
- Name => 'FunctionButton',
- Mask => 0x1f,
- PrintConv => {
- 0x03 => 'AE/AF Lock',
- 0x04 => 'AE Lock Only',
- 0x06 => 'AE Lock (hold)',
- 0x07 => 'AF Lock Only',
- 0x08 => 'AF-ON',
- 0x10 => '+ NEF (RAW)',
- 0x12 => 'Active D-Lighting',
- 0x19 => 'Live View',
- 0x1a => 'Image Quality',
- 0x1b => 'ISO',
- 0x1c => 'White Balance',
- 0x1d => 'HDR',
- 0x1e => 'Auto Bracketing',
- 0x1f => 'AF-area Mode',
- },
- },
- 16.1 => { # CSf2
- Name => 'AELockButton',
- Mask => 0x0f,
- PrintConv => {
- 0x03 => 'AE/AF Lock',
- 0x04 => 'AE Lock Only',
- 0x06 => 'AE Lock (hold)',
- 0x07 => 'AF Lock Only',
- 0x08 => 'AF-ON',
- },
- },
- 17.1 => { # CSc1
- Name => 'ShutterReleaseButtonAE-L',
- Mask => 0x02,
- PrintConv => { 0x00 => 'Off', 0x02 => 'On' },
- },
- 18.1 => { # CSc2-d
- Name => 'StandbyTimer',
- Mask => 0xe0,
- PrintConv => {
- 0x00 => '4 s',
- 0x20 => '8 s',
- 0x40 => '20 s',
- 0x60 => '1 min',
- 0x80 => '30 min',
- },
- },
- 18.2 => { # CSc4
- Name => 'RemoteOnDuration',
- Mask => 0x03,
- PrintConv => {
- 0x00 => '1 min',
- 0x01 => '5 min',
- 0x02 => '10 min',
- 0x03 => '15 min',
- },
- },
- 19.1 => { # CSc3-a
- Name => 'SelfTimerTime',
- Mask => 0xc0,
- PrintConv => {
- 0x00 => '2 s',
- 0x40 => '5 s',
- 0x80 => '10 s',
- 0xc0 => '20 s',
- },
- },
- 19.2 => { # CSc3-b
- Name => 'SelfTimerShotCount',
- Mask => 0x0f,
- },
- 20.1 => { # CSc2-b
- Name => 'ImageReviewTime',
- Mask => 0xe0,
- PrintConv => {
- 0x20 => '4 s',
- 0x40 => '8 s',
- 0x80 => '20 s',
- 0xa0 => '1 min',
- 0xe0 => '10 min',
- },
- },
- 20.2 => { # CSc2-c
- Name => 'LiveViewMonitorOffTime',
- Mask => 0x1c,
- PrintConv => {
- 0x04 => '5 min',
- 0x08 => '10 min',
- 0x0c => '15 min',
- 0x10 => '20 min',
- 0x14 => '30 min',
- },
- },
- 21.1 => { # CSc2-a
- Name => 'PlaybackMenusTime',
- Mask => 0xe0,
- PrintConv => {
- 0x20 => '8 s',
- 0x80 => '20 s',
- 0xa0 => '1 min',
- 0xc0 => '5 min',
- 0xe0 => '10 min',
- },
- },
- 23.1 => { # CSe1-a
- Name => 'InternalFlash',
- Mask => 0xc0,
- PrintConv => {
- 0x00 => 'TTL',
- 0x40 => 'Manual',
- },
- },
- 23.2 => { # CSe1-b
- Name => 'ManualFlashOutput',
- Mask => 0x1f,
- ValueConv => '2 ** (-$val/3)',
- ValueConvInv => '$val > 0 ? -3*log($val)/log(2) : 0',
- PrintConv => q{
- return 'Full' if $val > 0.99;
- Image::ExifTool::Exif::PrintExposureTime($val);
- },
- PrintConvInv => '$val=~/F/i ? 1 : Image::ExifTool::Exif::ConvertFraction($val)',
- },
- );
- # D7000 custom settings (ref 2)
- %Image::ExifTool::NikonCustom::SettingsD7000 = (
- PROCESS_PROC => \&Image::ExifTool::ProcessBinaryData,
- WRITE_PROC => \&Image::ExifTool::WriteBinaryData,
- CHECK_PROC => \&Image::ExifTool::CheckBinaryData,
- WRITABLE => 1,
- FIRST_ENTRY => 0,
- DATAMEMBER => [ 23.1 ],
- GROUPS => { 0 => 'MakerNotes', 2 => 'Camera' },
- NOTES => 'Custom settings for the D7000.',
- 0.1 => { # CSa1
- Name => 'AF-CPrioritySelection',
- Mask => 0x80,
- PrintConv => {
- 0x00 => 'Release',
- 0x80 => 'Focus',
- },
- },
- 0.2 => { # CSa2
- Name => 'AF-SPrioritySelection',
- Mask => 0x20,
- PrintConv => {
- 0x00 => 'Focus',
- 0x20 => 'Release',
- },
- },
- 0.3 => { # CSa6
- Name => 'NumberOfFocusPoints',
- Mask => 0x10,
- PrintConv => {
- 0x00 => '39 Points',
- 0x10 => '11 Points',
- },
- },
- 0.4 => { # CSa3
- Name => 'FocusTrackingLockOn',
- Mask => 0x07,
- PrintConv => {
- 0x05 => '5 Long',
- 0x04 => '4',
- 0x03 => '3 Normal',
- 0x02 => '2',
- 0x01 => '1 Short',
- 0x00 => 'Off',
- },
- },
- 1.2 => { # CSa5
- Name => 'FocusPointWrap',
- Mask => 0x08,
- PrintConv => {
- 0x00 => 'No Wrap',
- 0x08 => 'Wrap',
- },
- },
- 1.3 => { # CSa4
- Name => 'AFPointIllumination',
- Mask => 0x06,
- PrintConv => {
- 0x00 => 'Auto',
- 0x02 => 'On',
- 0x04 => 'Off',
- },
- },
- 1.4 => { # CSa7
- Name => 'AFAssist',
- Mask => 0x01,
- PrintConv => { 0x00 => 'On', 0x01 => 'Off' },
- },
- 2.1 => { # CSd14
- Name => 'BatteryOrder',
- Mask => 0x40,
- PrintConv => {
- 0x00 => 'MB-D11 First',
- 0x40 => 'Camera Battery First',
- },
- },
- 2.2 => { # CSa10
- Name => 'AF-OnForMB-D11',
- Mask => 0x1c,
- PrintConv => {
- 0x00 => 'AE/AF Lock',
- 0x04 => 'AE Lock Only',
- 0x08 => 'AF Lock Only',
- 0x0c => 'AE Lock (hold)',
- 0x10 => 'AF-ON',
- 0x14 => 'FV Lock',
- 0x18 => 'Same as FUNC Button',
- },
- },
- 2.3 => { # CSd13
- Name => 'MB-D11BatteryType',
- Mask => 0x03,
- PrintConv => {
- 0x00 => 'LR6 (AA alkaline)',
- 0x01 => 'Ni-MH (AA Ni-MH)',
- 0x02 => 'FR6 (AA lithium)',
- },
- },
- 3.1 => { # CSd1-b
- Name => 'BeepPitch',
- Mask => 0xc0,
- PrintConv => {
- 0x00 => 'Off',
- 0x40 => 'Low',
- 0x80 => 'High',
- },
- },
- 3.2 => { # CSf8
- Name => 'NoMemoryCard',
- Mask => 0x20,
- PrintConv => {
- 0x00 => 'Release Locked',
- 0x20 => 'Enable Release',
- },
- },
- 3.3 => { # CSd3
- Name => 'ISODisplay',
- Mask => 0x0c,
- PrintConv => {
- 0x00 => 'Show ISO/Easy ISO',
- 0x04 => 'Show ISO Sensitivity',
- 0x0c => 'Show Frame Count',
- },
- },
- 3.4 => { # CSd2
- Name => 'GridDisplay',
- Mask => 0x02,
- PrintConv => { 0x00 => 'On', 0x02 => 'Off' },
- },
- 3.5 => { # CSd4
- Name => 'ViewfinderWarning',
- Mask => 0x01,
- PrintConv => { 0x00 => 'On', 0x01 => 'Off' },
- },
- 4.1 => { # CSd9
- Name => 'ShootingInfoDisplay',
- Mask => 0xc0,
- PrintConv => {
- 0x00 => 'Auto',
- 0x80 => 'Manual (dark on light)',
- 0xc0 => 'Manual (light on dark)',
- },
- },
- 4.2 => { # CSd10
- Name => 'LCDIllumination',
- Mask => 0x20,
- PrintConv => { 0x00 => 'Off', 0x20 => 'On' },
- },
- 4.3 => { # CSd8
- Name => 'FileNumberSequence',
- Mask => 0x08,
- PrintConv => { 0x00 => 'On', 0x08 => 'Off' },
- },
- 4.4 => { # CSd5
- Name => 'ScreenTips',
- Mask => 0x04,
- PrintConv => { 0x00 => 'Off', 0x04 => 'On' },
- },
- 4.5 => { # CSd1-a
- Name => 'BeepVolume',
- Mask => 0x03,
- PrintConv => {
- 0x00 => 'Off',
- 0x01 => '1',
- 0x02 => '2',
- 0x03 => '3',
- },
- },
- 5.1 => { # CSf9
- Name => 'ReverseIndicators',
- Mask => 0x80,
- PrintConv => {
- 0x00 => '+ 0 -',
- 0x80 => '- 0 +',
- },
- },
- 5.2 => { # CSb3
- Name => 'EasyExposureCompensation',
- Mask => 0x03,
- PrintConv => {
- 0x00 => 'Off',
- 0x01 => 'On',
- 0x02 => 'On Auto Reset',
- },
- },
- 6.1 => { # CSb2
- Name => 'ExposureControlStep',
- Mask => 0x40,
- PrintConv => {
- 0x00 => '1/3 EV',
- 0x40 => '1/2 EV',
- },
- },
- 6.2 => { # CSb1
- Name => 'ISOSensitivityStep',
- Mask => 0x10,
- PrintConv => {
- 0x00 => '1/3 EV',
- 0x10 => '1/2 EV',
- },
- },
- 7.1 => { # CSb4
- Name => 'CenterWeightedAreaSize',
- Mask => 0xe0,
- PrintConv => {
- 0x00 => '6 mm',
- 0x20 => '8 mm',
- 0x40 => '10 mm',
- 0x60 => '13 mm',
- 0x80 => 'Average',
- },
- },
- 10.1 => { # CSd11
- Name => 'ExposureDelayMode',
- Mask => 0x40,
- PrintConv => {
- 0x00 => 'Off',
- 0x40 => 'On',
- },
- },
- 10.2 => { # CSd6
- Name => 'CLModeShootingSpeed',
- Mask => 0x07,
- PrintConv => '"$val fps"',
- PrintConvInv => '$val=~s/\s*fps//i; $val',
- },
- 11 => { # CSd7
- Name => 'MaxContinuousRelease',
- # values: 1-100
- },
- 12.1 => { # CSe5
- Name => 'AutoBracketSet',
- Mask => 0xe0, #(NC)
- PrintConv => {
- 0x00 => 'AE & Flash', # default
- 0x20 => 'AE Only',
- 0x40 => 'Flash Only', #(NC)
- 0x60 => 'WB Bracketing', #(NC)
- 0x80 => 'Active D-Lighting', #(NC)
- },
- },
- 12.2 => { # CSe6
- Name => 'AutoBracketOrder',
- Mask => 0x10,
- PrintConv => {
- 0x00 => '0,-,+',
- 0x10 => '-,0,+',
- },
- },
- 13.1 => { # CSf3
- Name => 'FuncButton',
- Mask => 0xf8,
- PrintConv => {
- 0x00 => 'Grid Display',
- 0x08 => 'FV Lock',
- 0x10 => 'Flash Off',
- 0x18 => 'Matrix Metering',
- 0x20 => 'Center-weighted Metering',
- 0x28 => 'Spot Metering',
- 0x30 => 'My Menu Top',
- 0x38 => '+ NEF (RAW)',
- 0x40 => 'Active D-Lighting',
- 0x48 => 'Preview',
- 0x50 => 'AE/AF Lock',
- 0x58 => 'AE Lock Only',
- 0x60 => 'AF Lock Only',
- 0x68 => 'AE Lock (hold)',
- 0x70 => 'Bracketing Burst',
- 0x78 => 'Playback',
- 0x80 => '1EV Step Speed/Aperture',
- 0x88 => 'Choose Non-CPU Lens',
- 0x90 => 'Virtual Horizon',
- 0x98 => 'Start Movie Recording',
- },
- },
- 14.1 => { # CSf4
- Name => 'PreviewButton',
- Mask => 0xf8,
- PrintConv => {
- 0x00 => 'Grid Display',
- 0x08 => 'FV Lock',
- 0x10 => 'Flash Off',
- 0x18 => 'Matrix Metering',
- 0x20 => 'Center-weighted Metering',
- 0x28 => 'Spot Metering',
- 0x30 => 'My Menu Top',
- 0x38 => '+ NEF (RAW)',
- 0x40 => 'Active D-Lighting',
- 0x48 => 'Preview',
- 0x50 => 'AE/AF Lock',
- 0x58 => 'AE Lock Only',
- 0x60 => 'AF Lock Only',
- 0x68 => 'AE Lock (hold)',
- 0x70 => 'Bracketing Burst',
- 0x78 => 'Playback',
- 0x80 => '1EV Step Speed/Aperture',
- 0x88 => 'Choose Non-CPU Lens',
- 0x90 => 'Virtual Horizon',
- 0x98 => 'Start Movie Recording',
- },
- },
- 16.1 => { # CSf5
- Name => 'AELockButton',
- Mask => 0x38,
- PrintConv => {
- 0x00 => 'AE/AF Lock',
- 0x08 => 'AE Lock Only',
- 0x10 => 'AF Lock Only',
- 0x18 => 'AE Lock (hold)',
- 0x20 => 'AF-ON',
- 0x28 => 'FV Lock',
- },
- },
- 15.1 => { # CSf2
- Name => 'OKButton',
- Mask => 0x18,
- PrintConv => {
- 0x08 => 'Select Center Focus Point',
- 0x10 => 'Highlight Active Focus Point',
- 0x18 => 'Not Used', #(NC)
- 0x00 => 'Off', #(NC)
- },
- },
- 17.1 => { # CSf6-a
- Name => 'CommandDialsReverseRotation',
- Mask => 0x80,
- PrintConv => { 0x00 => 'No', 0x80 => 'Yes' },
- },
- 17.2 => { # CSf6-b
- Name => 'CommandDialsChangeMainSub',
- Mask => 0x60,
- PrintConv => {
- 0x00 => 'Off',
- 0x20 => 'On',
- 0x40 => 'On (A mode only)',
- },
- },
- 17.3 => { # CSf6-c
- Name => 'CommandDialsApertureSetting',
- Mask => 0x04,
- PrintConv => {
- 0x00 => 'Sub-command Dial',
- 0x04 => 'Aperture Ring',
- },
- },
- 17.4 => { # CSf6-d
- Name => 'CommandDialsMenuAndPlayback',
- Mask => 0x18,
- PrintConv => {
- 0x00 => 'On',
- 0x10 => 'On (Image Review Exclude)',
- 0x08 => 'Off',
- },
- },
- 17.5 => { # CSc1
- Name => 'ShutterReleaseButtonAE-L',
- Mask => 0x02,
- PrintConv => { 0x00 => 'Off', 0x02 => 'On' },
- },
- 17.6 => { # CSf7
- Name => 'ReleaseButtonToUseDial',
- Mask => 0x01,
- PrintConv => { 0x00 => 'No', 0x01 => 'Yes' },
- },
- 18.1 => { # CSc2
- Name => 'MeteringTime',
- Mask => 0xf0,
- PrintConvColumns => 2,
- PrintConv => {
- 0x00 => '4 s',
- 0x10 => '6 s', # default
- 0x20 => '8 s',
- 0x30 => '16 s',
- 0x40 => '30 s',
- 0x50 => '1 min',
- 0x60 => '5 min',
- 0x70 => '10 min',
- 0x80 => '30 min',
- 0x90 => 'No Limit',
- },
- },
- 18.2 => { # CSc5
- Name => 'RemoteOnDuration',
- Mask => 0x03,
- PrintConv => {
- 0x00 => '1 min',
- 0x01 => '5 min',
- 0x02 => '10 min',
- 0x03 => '15 min',
- },
- },
- 19.1 => { # CSc3-a
- Name => 'SelfTimerTime',
- Mask => 0xc0,
- PrintConv => {
- 0x00 => '2 s',
- 0x40 => '5 s',
- 0x80 => '10 s', # default
- 0xc0 => '20 s',
- },
- },
- 19.2 => { # CSc3-c
- Name => 'SelfTimerInterval',
- Mask => 0x30,
- PrintConv => {
- 0x00 => '0.5 s',
- 0x10 => '1 s',
- 0x20 => '2 s', # default
- 0x30 => '3 s',
- },
- },
- 19.3 => { # CSc3-b
- Name => 'SelfTimerShotCount',
- Mask => 0x0f,
- },
- 20.1 => { # CSc4-d
- Name => 'ImageReviewTime',
- Mask => 0xe0,
- PrintConv => { #(NC)
- 0x00 => '4 s',
- 0x20 => '10 s', # default
- 0x40 => '20 s',
- 0x60 => '1 min',
- 0x80 => '5 min',
- 0xa0 => '10 min',
- },
- },
- 20.2 => { # CSc4-e
- Name => 'LiveViewMonitorOffTime',
- Mask => 0x1c,
- PrintConv => { #(NC)
- 0x00 => '4 s',
- 0x04 => '10 s', # default
- 0x08 => '20 s',
- 0x0c => '1 min',
- 0x10 => '5 min',
- 0x14 => '10 min',
- },
- },
- 21.1 => { # CSc4-b
- Name => 'MenuMonitorOffTime',
- Mask => 0xe0,
- PrintConv => {
- 0x00 => '4 s',
- 0x20 => '10 s', # default
- 0x40 => '20 s',
- 0x60 => '1 min',
- 0x80 => '5 min',
- 0xa0 => '10 min',
- },
- },
- 21.2 => { # CSc4-c
- Name => 'ShootingInfoMonitorOffTime',
- Mask => 0x1c,
- PrintConv => { #(NC)
- 0x00 => '4 s',
- 0x04 => '10 s', # default
- 0x08 => '20 s',
- 0x0c => '1 min',
- 0x10 => '5 min',
- 0x14 => '10 min',
- },
- },
- 22.1 => { # CSe1
- Name => 'FlashSyncSpeed',
- Mask => 0xf0,
- PrintConv => {
- 0x00 => '1/320 s (auto FP)',
- 0x10 => '1/250 s (auto FP)',
- 0x20 => '1/250 s',
- 0x30 => '1/200 s',
- 0x40 => '1/160 s',
- 0x50 => '1/125 s',
- 0x60 => '1/100 s',
- 0x70 => '1/80 s',
- 0x80 => '1/60 s',
- },
- },
- 22.2 => { # CSe2
- Name => 'FlashShutterSpeed',
- Mask => 0x0f,
- PrintConvColumns => 2,
- PrintConv => {
- 0x00 => '1/60 s',
- 0x01 => '1/30 s',
- 0x02 => '1/15 s',
- 0x03 => '1/8 s',
- 0x04 => '1/4 s',
- 0x05 => '1/2 s',
- 0x06 => '1 s',
- 0x07 => '2 s',
- 0x08 => '4 s',
- 0x09 => '8 s',
- 0x0a => '15 s',
- 0x0b => '30 s',
- },
- },
- 23.1 => { # CSe3
- Name => 'FlashControlBuilt-in',
- Mask => 0xc0,
- RawConv => '$$self{FlashControlBuiltin} = $val',
- PrintConv => {
- 0x00 => 'TTL',
- 0x40 => 'Manual',
- 0x80 => 'Repeating Flash',
- 0xc0 => 'Commander Mode',
- },
- },
- 23.2 => { # CSe3-b
- Name => 'ManualFlashOutput',
- Condition => '$$self{FlashControlBuiltin} == 0x40',
- Mask => 0x1f,
- ValueConv => '2 ** (-$val/3)',
- ValueConvInv => '$val > 0 ? -3*log($val)/log(2) : 0',
- PrintConv => q{
- return 'Full' if $val > 0.99;
- Image::ExifTool::Exif::PrintExposureTime($val);
- },
- PrintConvInv => '$val=~/F/i ? 1 : Image::ExifTool::Exif::ConvertFraction($val)',
- },
- 24.1 => { # CSe3-ca
- Name => 'RepeatingFlashOutput',
- Condition => '$$self{FlashControlBuiltin} == 0x80',
- Mask => 0x70,
- ValueConv => '2 ** (-($val>>4)-2)',
- ValueConvInv => '$val > 0 ? int(-log($val)/log(2)-2+0.5)<<4 : 0',
- PrintConv => 'Image::ExifTool::Exif::PrintExposureTime($val)',
- PrintConvInv => 'Image::ExifTool::Exif::ConvertFraction($val)',
- },
- 24.2 => { # CSe3-cb
- Name => 'RepeatingFlashCount',
- Condition => '$$self{FlashControlBuiltin} == 0x80',
- Mask => 0x0f,
- ValueConv => '$val < 10 ? $val + 1 : 5 * ($val - 7)',
- ValueConvInv => '$val <= 10 ? $val - 1 : $val / 5 + 7',
- },
- 25.1 => { # CSe3-cc (NC)
- Name => 'RepeatingFlashRate',
- Condition => '$$self{FlashControlBuiltin} == 0x80',
- Mask => 0xf0,
- ValueConv => 'my $v=($val>>4); $v < 10 ? $v + 1 : 10 * ($v - 8)',
- ValueConvInv => 'int(($val <= 10 ? $val - 1 : $val / 10 + 8) + 0.5) << 4',
- PrintConv => '"$val Hz"',
- PrintConvInv => '$val=~/(\d+)/; $1 || 0',
- },
- 26.1 => { # CSe3-da
- Name => 'CommanderInternalTTLCompBuiltin',
- Condition => '$$self{FlashControlBuiltin} == 0xc0',
- Mask => 0x1f,
- ValueConv => '($val - 9) / 3',
- ValueConvInv => '$val * 3 + 9',
- PrintConv => '$val ? sprintf("%+.1f",$val) : 0',
- PrintConvInv => '$val',
- },
- 27.1 => { # CSe3-db
- Name => 'CommanderInternalTTLCompGroupA',
- Condition => '$$self{FlashControlBuiltin} == 0xc0',
- Mask => 0x1f,
- ValueConv => '($val - 9) / 3',
- ValueConvInv => '$val * 3 + 9',
- PrintConv => '$val ? sprintf("%+.1f",$val) : 0',
- PrintConvInv => '$val',
- },
- 28.1 => { # CSe3-dc
- Name => 'CommanderInternalTTLCompGroupB',
- Condition => '$$self{FlashControlBuiltin} == 0xc0',
- Mask => 0x1f,
- ValueConv => '($val - 9) / 3',
- ValueConvInv => '$val * 3 + 9',
- PrintConv => '$val ? sprintf("%+.1f",$val) : 0',
- PrintConvInv => '$val',
- },
- 30.1 => { # CSd11
- Name => 'FlashWarning',
- Mask => 0x80,
- PrintConv => {
- 0x00 => 'On',
- 0x80 => 'Off',
- },
- },
- 30.2 => { # CSe4
- Name => 'ModelingFlash',
- Mask => 0x20,
- PrintConv => { 0x00 => 'On', 0x20 => 'Off' },
- },
- 34.1 => { # CSa8-b
- Name => 'LiveViewAFAreaMode',
- Mask => 0x60,
- PrintConv => {
- 0x00 => 'Face-Priority',
- 0x20 => 'NormalArea',
- 0x40 => 'WideArea',
- 0x60 => 'SubjectTracking',
- },
- },
- 34.2 => { # CSa8-a
- Name => 'LiveViewAFMode',
- Mask => 0x02,
- PrintConv => {
- 0x00 => 'AF-C',
- 0x02 => 'AF-F',
- },
- },
- 35.1 => { # CSc4-a
- Name => 'PlaybackMonitorOffTime',
- Mask => 0xe0,
- PrintConv => {
- 0x00 => '4 s',
- 0x20 => '10 s', # default
- 0x40 => '20 s',
- 0x60 => '1 min',
- 0x80 => '5 min',
- 0xa0 => '10 min',
- },
- },
- );
- # D4/D4S custom settings (ref 1, decoded from D4S)
- %Image::ExifTool::NikonCustom::SettingsD4 = (
- PROCESS_PROC => \&Image::ExifTool::ProcessBinaryData,
- WRITE_PROC => \&Image::ExifTool::WriteBinaryData,
- CHECK_PROC => \&Image::ExifTool::CheckBinaryData,
- WRITABLE => 1,
- FIRST_ENTRY => 0,
- GROUPS => { 0 => 'MakerNotes', 2 => 'Camera' },
- NOTES => 'Custom settings for the D4 and D4S.',
- 0.1 => {
- Name => 'CustomSettingsBank',
- Mask => 0x03,
- PrintConv => {
- 0 => 'A',
- 1 => 'B',
- 2 => 'C',
- 3 => 'D',
- },
- },
- 1.1 => { #CSa1
- Name => 'AF-CPrioritySelection',
- Mask => 0xc0,
- PrintConv => {
- 0x00 => 'Release',
- 0x40 => 'Release + Focus',
- 0x80 => 'Focus',
- 0xc0 => 'Focus + Release',
- },
- },
- 1.2 => { # CSa2
- Name => 'AF-SPrioritySelection',
- Mask => 0x20,
- PrintConv => {
- 0x00 => 'Focus',
- 0x20 => 'Release',
- },
- },
- 1.3 => { # CSa7
- Name => 'AFPointSelection',
- Mask => 0x10,
- PrintConv => {
- 0x00 => '51 Points',
- 0x10 => '11 Points',
- },
- },
- 1.4 => { # CSa3
- Name => 'FocusTrackingLockOn',
- Mask => 0x07,
- PrintConv => {
- 0x00 => 'Off',
- 0x01 => '1 (Short)',
- 0x02 => '2',
- 0x03 => '3 (Normal)',
- 0x04 => '4',
- 0x05 => '5 (Long)',
- },
- },
- 2.1 => { # CSa4
- Name => 'AFActivation',
- Mask => 0x80,
- PrintConv => {
- 0x00 => 'Shutter/AF-On',
- 0x80 => 'AF-On Only',
- },
- },
- 2.2 => { # CSa6
- Name => 'FocusPointWrap',
- Mask => 0x08,
- PrintConv => {
- 0x00 => 'No Wrap',
- 0x08 => 'Wrap',
- },
- },
- 4.1 => { # CSd1-b
- Name => 'Pitch',
- Mask => 0x40,
- PrintConv => { 0x00 => 'High', 0x40 => 'Low' },
- },
- 4.2 => { # CSf12
- Name => 'NoMemoryCard',
- Mask => 0x20,
- PrintConv => {
- 0x00 => 'Release Locked',
- 0x20 => 'Enable Release',
- },
- },
- 4.3 => { # CSd6
- Name => 'GridDisplay',
- Mask => 0x02,
- PrintConv => { 0x00 => 'On', 0x02 => 'Off' },
- },
- 5.1 => { # CSd9
- Name => 'ShootingInfoDisplay',
- Mask => 0xc0,
- PrintConv => {
- # 0x00 - seen for D4 (PH)
- 0x40 => 'Auto',
- 0x80 => 'Manual (dark on light)',
- 0xc0 => 'Manual (light on dark)',
- },
- },
- 5.2 => { # CSd10
- Name => 'LCDIllumination',
- Mask => 0x20,
- PrintConv => { 0x00 => 'Off', 0x20 => 'On' },
- },
- 5.3 => { # CSd8
- Name => 'ScreenTips',
- Mask => 0x04,
- PrintConv => { 0x00 => 'Off', 0x04 => 'On' },
- },
- 5.4 => { # CSd1-a
- Name => 'Beep',
- Mask => 0x03,
- PrintConv => {
- 0x00 => 'Off',
- 0x01 => 'Low',
- 0x02 => 'Medium',
- 0x03 => 'High',
- },
- },
- 6.1 => { # CSf13
- Name => 'ReverseIndicators',
- Mask => 0x80,
- PrintConv => {
- 0x00 => '+ 0 -',
- 0x80 => '- 0 +',
- },
- },
- 6.2 => { # CSd7-a
- Name => 'RearDisplay',
- Mask => 0x40,
- PrintConv => {
- 0x00 => 'ISO',
- 0x40 => 'Exposures Remaining',
- },
- },
- 6.3 => { # CSd7-b
- Name => 'ViewfinderDisplay',
- Mask => 0x20,
- PrintConv => {
- 0x00 => 'Frame Count',
- 0x20 => 'Exposures Remaining',
- },
- },
- 6.4 => { # CSd10-a
- Name => 'CommandDialsReverseRotation',
- Mask => 0x18,
- PrintConv => {
- 0x00 => 'No',
- 0x08 => 'Shutter Speed & Aperture',
- 0x10 => 'Exposure Compensation',
- 0x18 => 'Exposure Compensation, Shutter Speed & Aperture',
- },
- },
- 6.5 => { # CSb4
- Name => 'EasyExposureCompensation',
- Mask => 0x03,
- PrintConv => {
- 0x00 => 'Off',
- 0x01 => 'On',
- 0x02 => 'On (auto reset)',
- },
- },
- 7.1 => { # CSb2
- Name => 'ExposureControlStepSize',
- Mask => 0xc0,
- PrintConv => {
- 0x00 => '1/3 EV',
- 0x40 => '1/2 EV',
- 0x80 => '1 EV',
- },
- },
- 7.2 => { # CSb1
- Name => 'ISOStepSize',
- Mask => 0x30,
- PrintConv => {
- 0x00 => '1/3 EV',
- 0x10 => '1/2 EV',
- 0x20 => '1 EV',
- },
- },
- 7.3 => { # CSb3
- Name => 'ExposureCompStepSize',
- Mask => 0x0c,
- PrintConv => {
- 0x00 => '1/3 EV',
- 0x04 => '1/2 EV',
- 0x08 => '1 EV',
- },
- },
- 8.1 => { # CSb6 (CSb5 for D4)
- Name => 'CenterWeightedAreaSize',
- Mask => 0xe0,
- PrintConv => {
- 0x00 => '8 mm',
- 0x20 => '12 mm',
- 0x40 => '15 mm',
- 0x60 => '20 mm',
- 0x80 => 'Average',
- },
- },
- 8.2 => { # CSb7-a
- Name => 'FineTuneOptMatrixMetering',
- Mask => 0x0f,
- ValueConv => '($val > 0x7 ? $val - 0x10 : $val) / 6',
- ValueConvInv => 'int($val*6+($val>0?0.5:-0.5)) & 0x0f',
- PrintConv => '$val ? sprintf("%+.2f", $val) : 0',
- PrintConvInv => 'Image::ExifTool::Exif::ConvertFraction($val)',
- },
- 9.1 => { # CSb7-b
- Name => 'FineTuneOptCenterWeighted',
- Mask => 0xf0,
- ValueConv => '($val > 0x70 ? $val - 0x100 : $val) / 0x60',
- ValueConvInv => '(int($val*6+($val>0?0.5:-0.5))<<4) & 0xf0',
- PrintConv => '$val ? sprintf("%+.2f", $val) : 0',
- PrintConvInv => 'Image::ExifTool::Exif::ConvertFraction($val)',
- },
- 9.2 => { # CSb7-c
- Name => 'FineTuneOptSpotMetering',
- Mask => 0x0f,
- ValueConv => '($val > 0x7 ? $val - 0x10 : $val) / 6',
- ValueConvInv => 'int($val*6+($val>0?0.5:-0.5)) & 0x0f',
- PrintConv => '$val ? sprintf("%+.2f", $val) : 0',
- PrintConvInv => 'Image::ExifTool::Exif::ConvertFraction($val)',
- },
- 10.1 => { # CSf1-a
- Name => 'MultiSelectorShootMode',
- Mask => 0xc0,
- PrintConv => {
- 0x00 => 'Select Center Focus Point (Reset)',
- 0x80 => 'Preset Focus Point (Pre)',
- 0xc0 => 'Not Used (None)',
- },
- },
- 10.2 => { # CSf1-b
- Name => 'MultiSelectorPlaybackMode',
- Mask => 0x30,
- PrintConv => {
- 0x00 => 'Thumbnail On/Off',
- 0x10 => 'View Histograms',
- 0x20 => 'Zoom On/Off',
- 0x30 => 'Choose Folder',
- },
- },
- 10.3 => { # CSf2
- Name => 'MultiSelector',
- Mask => 0x01,
- PrintConv => {
- 0x00 => 'Do Nothing',
- 0x01 => 'Reset Meter-off Delay',
- },
- },
- 11.1 => { # CSd4
- Name => 'ExposureDelayMode',
- Mask => 0xc0,
- PrintConv => {
- 0x00 => 'Off',
- 0x40 => '1 s',
- 0x80 => '2 s',
- 0xc0 => '3 s',
- },
- },
- 11.2 => { # CSd2-a
- Name => 'CHModeShootingSpeed',
- Mask => 0x10,
- PrintConv => {
- 0x00 => '10 fps',
- 0x10 => '11 fps',
- },
- },
- 11.3 => { # CSd2-b
- Name => 'CLModeShootingSpeed',
- Mask => 0x0f,
- PrintConv => '"$val fps"',
- PrintConvInv => '$val=~s/\s*fps//i; $val',
- },
- 12 => { # CSd3
- Name => 'MaxContinuousRelease',
- # values: 1-200
- },
- 13.1 => { # CSe6
- Name => 'AutoBracketSet',
- Mask => 0xe0,
- PrintConv => {
- 0x00 => 'AE & Flash',
- 0x20 => 'AE Only',
- 0x40 => 'Flash Only',
- 0x60 => 'WB Bracketing',
- 0x80 => 'Active D-Lighting',
- },
- },
- 13.2 => { # CSe8
- Name => 'AutoBracketOrder',
- Mask => 0x10,
- PrintConv => {
- 0x00 => '0,-,+',
- 0x10 => '-,0,+',
- },
- },
- 13.3 => { # CSe7
- Name => 'AutoBracketModeM',
- Mask => 0x0c,
- PrintConv => {
- 0x00 => 'Flash/Speed',
- 0x04 => 'Flash/Speed/Aperture',
- 0x08 => 'Flash/Aperture',
- 0x0c => 'Flash Only',
- },
- },
- 14.1 => { # CSf3-a
- Name => 'FuncButton',
- Mask => 0xf8,
- PrintConv => {
- 0x00 => 'None',
- 0x08 => 'Preview',
- 0x10 => 'FV Lock',
- 0x18 => 'AE/AF Lock',
- 0x20 => 'AE Lock Only',
- 0x28 => 'AE Lock (reset on release)',
- 0x30 => 'AE Lock (hold)',
- 0x38 => 'AF Lock Only',
- 0x40 => 'AF-On',
- 0x50 => 'Bracketing Burst',
- 0x58 => 'Matrix Metering',
- 0x60 => 'Center-weighted Metering',
- 0x68 => 'Spot Metering',
- 0x70 => 'Playback',
- 0x78 => 'My Menu Top Item',
- 0x80 => '+NEF(RAW)',
- 0x88 => 'Virtual Horizon',
- 0x90 => 'My Menu',
- 0xa0 => 'Grid Display',
- 0xa8 => 'Disable Synchronized Release',
- 0xb0 => 'Remote Release Only',
- 0xd0 => 'Flash Disable/Enable',
- },
- },
- 14.2 => { # CSf3-b
- Name => 'FuncButtonPlusDials',
- Mask => 0x07,
- PrintConv => {
- 0 => 'None',
- 1 => 'Choose Image Area (FX/DX/5:4)',
- 2 => 'Shutter Speed & Aperture Lock',
- 3 => 'One Step Speed / Aperture',
- 4 => 'Choose Non-CPU Lens Number',
- 5 => 'Active D-Lighting',
- 6 => 'Shooting Bank Menu',
- },
- },
- 15.1 => { # CSf4-a
- Name => 'PreviewButton',
- Mask => 0xf8,
- PrintConv => {
- 0x00 => 'None',
- 0x08 => 'Preview',
- 0x10 => 'FV Lock',
- 0x18 => 'AE/AF Lock',
- 0x20 => 'AE Lock Only',
- 0x28 => 'AE Lock (reset on release)',
- 0x30 => 'AE Lock (hold)',
- 0x38 => 'AF Lock Only',
- 0x40 => 'AF-On',
- 0x50 => 'Bracketing Burst',
- 0x58 => 'Matrix Metering',
- 0x60 => 'Center-weighted Metering',
- 0x68 => 'Spot Metering',
- 0x70 => 'Playback',
- 0x78 => 'My Menu Top Item',
- 0x80 => '+NEF(RAW)',
- 0x88 => 'Virtual Horizon',
- 0x90 => 'My Menu',
- 0xa0 => 'Grid Display',
- 0xa8 => 'Disable Synchronized Release',
- 0xb0 => 'Remote Release Only',
- 0xd0 => 'Flash Disable/Enable',
- },
- },
- 15.2 => { # CSf4-b
- Name => 'PreviewButtonPlusDials',
- Mask => 0x07,
- PrintConv => {
- 0 => 'None',
- 1 => 'Choose Image Area (FX/DX/5:4)',
- 2 => 'Shutter Speed & Aperture Lock',
- 3 => 'One Step Speed / Aperture',
- 4 => 'Choose Non-CPU Lens Number',
- 5 => 'Active D-Lighting',
- 6 => 'Shooting Bank Menu',
- },
- },
- 16.1 => { # CSf9
- Name => 'AssignBktButton',
- Mask => 0x07,
- PrintConv => {
- 0 => 'Auto Bracketing',
- 1 => 'Multiple Exposure',
- 2 => 'HDR (high dynamic range)',
- 3 => 'None',
- },
- },
- 18.1 => { # CSf10-b
- Name => 'CommandDialsChangeMainSub',
- Mask => 0xe0,
- PrintConv => {
- 0x00 => 'Autofocus Off, Exposure Off',
- 0x20 => 'Autofocus Off, Exposure On',
- 0x40 => 'Autofocus Off, Exposure On (Mode A)',
- 0x80 => 'Autofocus On, Exposure Off',
- 0xa0 => 'Autofocus On, Exposure On',
- 0xc0 => 'Autofocus On, Exposure On (Mode A)',
- },
- },
- 18.2 => { # CSf10-d
- Name => 'CommandDialsMenuAndPlayback',
- Mask => 0x18,
- PrintConv => {
- 0x00 => 'On',
- 0x08 => 'Off',
- 0x10 => 'On (Image Review Excluded)',
- },
- },
- 18.3 => { # CSf10-c
- Name => 'CommandDialsApertureSetting',
- Mask => 0x04,
- PrintConv => {
- 0x00 => 'Sub-command Dial',
- 0x04 => 'Aperture Ring',
- },
- },
- 18.4 => { # CSc1
- Name => 'ShutterReleaseButtonAE-L',
- Mask => 0x02,
- PrintConv => { 0x00 => 'Off', 0x02 => 'On' },
- },
- 18.5 => { # CSf11
- Name => 'ReleaseButtonToUseDial',
- Mask => 0x01,
- PrintConv => { 0x00 => 'No', 0x01 => 'Yes' },
- },
- 19.1 => { # CSc2
- Name => 'StandbyTimer',
- Mask => 0xf0,
- PrintConv => {
- 0x00 => '4 s',
- 0x10 => '6 s',
- 0x30 => '10 s',
- 0x50 => '30 s',
- 0x60 => '1 min',
- 0x70 => '5 min',
- 0x80 => '10 min',
- 0x90 => '30 min',
- },
- },
- 20.1 => { # CSc3-a
- Name => 'SelfTimerTime',
- Mask => 0xc0,
- PrintConv => {
- 0x00 => '2 s',
- 0x40 => '5 s',
- 0x80 => '10 s',
- 0xc0 => '20 s',
- },
- },
- 20.2 => { # CSc3-b
- Name => 'SelfTimerShotCount',
- Mask => 0x0f,
- },
- 20.3 => { # CSc3-c
- Name => 'SelfTimerShotInterval',
- Mask => 0x30,
- PrintConv => {
- 0x00 => '0.5 s',
- 0x10 => '1 s',
- 0x20 => '2 s',
- 0x30 => '3 s',
- },
- },
- 21.1 => { # CSc4-d
- Name => 'ImageReviewMonitorOffTime',
- Mask => 0xe0,
- PrintConv => {
- 0x00 => '2 s',
- 0x20 => '4 s',
- 0x40 => '10 s',
- 0x60 => '20 s',
- 0x80 => '1 min',
- 0xa0 => '5 min',
- 0xc0 => '10 min',
- },
- },
- 21.2 => { # CSc4-e
- Name => 'LiveViewMonitorOffTime',
- Mask => 0x1c,
- PrintConv => {
- 0x00 => '5 min',
- 0x04 => '10 min',
- 0x08 => '15 min',
- 0x0c => '20 min',
- 0x10 => '30 min',
- 0x14 => 'No Limit',
- },
- },
- 22.1 => { # CSc4-b
- Name => 'MenuMonitorOffTime',
- Mask => 0xe0,
- PrintConv => {
- 0x00 => '4 s',
- 0x20 => '10 s',
- 0x40 => '20 s',
- 0x60 => '1 min',
- 0x80 => '5 min',
- 0xa0 => '10 min',
- },
- },
- 22.2 => { # CSc4-c
- Name => 'ShootingInfoMonitorOffTime',
- Mask => 0x1c,
- PrintConv => {
- 0x00 => '4 s',
- 0x04 => '10 s',
- 0x08 => '20 s',
- 0x0c => '1 min',
- 0x10 => '5 min',
- 0x14 => '10 min',
- },
- },
- 23.1 => { # CSe1
- Name => 'FlashSyncSpeed',
- Mask => 0xf0,
- PrintConv => {
- # 0x00 - seen for D4 (PH)
- 0x10 => '1/250 s (auto FP)',
- 0x20 => '1/250 s',
- 0x30 => '1/200 s',
- 0x40 => '1/160 s',
- 0x50 => '1/125 s',
- 0x60 => '1/100 s',
- 0x70 => '1/80 s',
- 0x80 => '1/60 s',
- },
- },
- 23.2 => { # CSe2
- Name => 'FlashShutterSpeed',
- Mask => 0x0f,
- PrintConvColumns => 2,
- PrintConv => {
- 0x00 => '1/60 s',
- 0x01 => '1/30 s',
- 0x02 => '1/15 s',
- 0x03 => '1/8 s',
- 0x04 => '1/4 s',
- 0x05 => '1/2 s',
- 0x06 => '1 s',
- 0x07 => '2 s',
- 0x08 => '4 s',
- 0x09 => '8 s',
- 0x0a => '15 s',
- 0x0b => '30 s',
- },
- },
- 31.1 => { # CSe5
- Name => 'ModelingFlash',
- Mask => 0x20,
- PrintConv => {
- 0x00 => 'On',
- 0x20 => 'Off',
- },
- },
- 36.1 => { # CSc4-a
- Name => 'PlaybackMonitorOffTime',
- Mask => 0xe0,
- PrintConv => {
- 0x00 => '4 s',
- 0x20 => '10 s',
- 0x40 => '20 s',
- 0x60 => '1 min',
- 0x80 => '5 min',
- 0xa0 => '10 min',
- },
- },
- 37.1 => { # CSf15
- Name => 'PlaybackZoom',
- Mask => 0x01,
- PrintConv => {
- 0x00 => 'Use Separate Zoom Buttons',
- 0x01 => 'Use Either Zoom Button with Command Dial',
- },
- },
- 38.1 => { # CSf8-a
- Name => 'ShutterSpeedLock',
- Mask => 0x80,
- PrintConv => {
- 0x00 => 'Off',
- 0x80 => 'On',
- },
- },
- 38.2 => { # CSf8-b
- Name => 'ApertureLock',
- Mask => 0x40,
- PrintConv => {
- 0x00 => 'Off',
- 0x40 => 'On',
- },
- },
- 38.3 => { # CSg4
- Name => 'MovieShutterButton',
- Mask => 0x30,
- PrintConv => {
- 0x00 => 'Take Photo',
- 0x10 => 'Record Movies',
- 0x20 => 'Live Frame Grab',
- },
- },
- 38.4 => { # CSe4
- Name => 'FlashExposureCompArea',
- Mask => 0x04,
- PrintConv => {
- 0x00 => 'Entire frame',
- 0x04 => 'Background only',
- },
- },
- 41.1 => { # CSg1-a
- Name => 'MovieFunctionButton',
- Mask => 0x70,
- PrintConv => {
- 0x00 => 'None',
- 0x10 => 'Power Aperture (open)', # bit '02' is also toggled on for this setting
- 0x30 => 'Index Marking',
- 0x40 => 'View Photo Shooting Info',
- },
- },
- 41.2 => { # CSg2-a
- Name => 'MoviePreviewButton',
- Mask => 0x07,
- PrintConv => {
- 0x00 => 'None',
- 0x02 => 'Power Aperture (open)', # bit '10' is also toggled on for this setting
- 0x03 => 'Index Marking',
- 0x04 => 'View Photo Shooting Info',
- },
- },
- 42.1 => { # CSf14
- Name => 'VerticalMultiSelector',
- Mask => 0x60,
- PrintConv => {
- 0x00 => 'Same as Multi-Selector with Info(U/D) & Playback(R/L)',
- 0x20 => 'Same as Multi-Selector with Info(R/L) & Playback(U/D)',
- 0x40 => 'Focus Point Selection',
- },
- },
- 42.2 => { # CSf7-a
- Name => 'VerticalFuncButton',
- Mask => 0x1f,
- PrintConv => {
- 0 => 'None',
- 1 => 'Preview',
- 2 => 'FV Lock',
- 3 => 'AE/AF Lock',
- 4 => 'AE Lock Only',
- 5 => 'AE Lock (reset on release)',
- 6 => 'AE Lock (hold)',
- 7 => 'AF Lock Only',
- 10 => 'Bracketing Burst',
- 11 => 'Matrix Metering',
- 12 => 'Center-weighted Metering',
- 13 => 'Spot Metering',
- 14 => 'Playback',
- 15 => 'My Menu Top Item',
- 16 => '+NEF(RAW)',
- 17 => 'Virtual Horizon',
- 18 => 'My Menu',
- 20 => 'Grid Display',
- 26 => 'Flash Disable/Enable',
- },
- },
- 43.1 => { # CSf7-b
- Name => 'VerticalFuncButtonPlusDials',
- Mask => 0xf0,
- PrintConv => {
- 0x00 => 'None',
- 0x10 => 'Choose Image Area (FX/DX/5:4)',
- 0x20 => 'Shutter Speed & Aperture Lock',
- 0x30 => 'One Step Speed / Aperture',
- 0x40 => 'Choose Non-CPU Lens Number',
- 0x50 => 'Active D-Lighting',
- 0x60 => 'Shooting Bank Menu',
- 0x70 => 'ISO Sensitivity',
- 0x80 => 'Exposure Mode',
- 0x90 => 'Exposure Compensation',
- 0xa0 => 'Metering',
- },
- },
- 43.2 => { # CSf16
- Name => 'AssignMovieRecordButton',
- Mask => 0x07,
- PrintConv => {
- 0x00 => 'None',
- 0x01 => 'Choose Image Area (FX/DX/5:4)',
- 0x02 => 'Shutter Speed & Aperture Lock',
- 0x03 => 'ISO Sensitivity',
- 0x04 => 'Shooting Bank Menu',
- },
- },
- 46.1 => { # CSa5-c
- Name => 'DynamicAreaAFDisplay',
- Mask => 0x80,
- PrintConv => {
- 0x00 => 'Off',
- 0x80 => 'On',
- },
- },
- 46.2 => { # CSa5-a
- Name => 'AFPointIllumination',
- Mask => 0x60,
- PrintConv => {
- 0x00 => 'Off',
- 0x20 => 'On in Continuous Shooting Modes',
- 0x40 => 'On During Manual Focusing',
- 0x60 => 'On in Continuous Shooting and Manual Focusing',
- },
- },
- 46.3 => { # CSa10 (D4 is slightly different -- needs checking)
- Name => 'StoreByOrientation',
- Mask => 0x18,
- PrintConv => {
- 0x00 => 'Off',
- 0x08 => 'Focus Point',
- 0x10 => 'Focus Point and AF-area mode',
- },
- },
- 46.4 => { # CSa5-d
- Name => 'GroupAreaAFIllumination',
- Mask => 0x04,
- PrintConv => {
- 0x00 => 'Squares',
- 0x04 => 'Dots',
- },
- },
- 46.5 => { # CSa5-b
- Name => 'AFPointBrightness',
- Mask => 0x03,
- PrintConv => {
- 0x00 => 'Low',
- 0x01 => 'Normal',
- 0x02 => 'High',
- 0x03 => 'Extra High',
- },
- },
- 47.1 => { # CSa8
- Name => 'AFOnButton',
- Mask => 0x70,
- PrintConv => {
- 0x00 => 'AF On',
- 0x10 => 'AE/AF Lock',
- 0x20 => 'AE Lock Only',
- 0x30 => 'AE Lock (reset on release)',
- 0x40 => 'AE Lock (hold)',
- 0x50 => 'AF Lock Only',
- 0x60 => 'None',
- },
- },
- 47.2 => { # CSa9
- Name => 'VerticalAFOnButton',
- Mask => 0x07,
- PrintConv => {
- 0 => 'Same as AF On',
- 1 => 'AF On',
- 2 => 'AE/AF Lock',
- 3 => 'AE Lock Only',
- 4 => 'AE Lock (reset on release)',
- 5 => 'AE Lock (hold)',
- 6 => 'AF Lock Only',
- 7 => 'None',
- },
- },
- 48.1 => { # CSf5
- Name => 'SubSelectorAssignment',
- Mask => 0x80,
- PrintConv => {
- 0x00 => 'Focus Point Selection',
- 0x80 => 'Same As Multi-selector',
- },
- },
- 48.2 => { # CSg3-a
- Name => 'MovieSubSelectorAssignment',
- Mask => 0x07,
- PrintConv => {
- 0 => 'None',
- 1 => 'Index Marking',
- 2 => 'AE/AF Lock',
- 3 => 'AE Lock Only',
- 4 => 'AE Lock (hold)',
- 5 => 'AF Lock Only',
- 6 => 'View Photo Shooting Info',
- },
- },
- 49.1 => { # CSf6-a
- Name => 'SubSelector',
- Mask => 0xf8,
- PrintConv => {
- 0x00 => 'None',
- 0x08 => 'Preview',
- 0x10 => 'FV Lock',
- 0x18 => 'AE/AF Lock',
- 0x20 => 'AE Lock Only',
- 0x28 => 'AE Lock (reset on release)',
- 0x30 => 'AE Lock (hold)',
- 0x38 => 'AF Lock Only',
- 0x40 => 'AF-On',
- # 0x48 - seen for D4 (PH)
- 0x50 => 'Bracketing Burst',
- 0x58 => 'Matrix Metering',
- 0x60 => 'Center-weighted Metering',
- 0x68 => 'Spot Metering',
- 0x70 => 'Playback',
- 0x78 => 'My Menu Top Item',
- 0x80 => '+NEF(RAW)',
- 0x88 => 'Virtual Horizon',
- 0x90 => 'My Menu',
- 0x98 => 'Reset', # value appears to be specific to this control at this time
- 0xa0 => 'Grid Display',
- 0xa8 => 'Disable Synchronized Release',
- 0xb0 => 'Remote Release Only',
- 0xb8 => 'Preview', # value appears to be specific to this control at this time
- 0xd0 => 'Flash Disable/Enable',
- },
- },
- 49.2 => { # CSf6-b
- Name => 'SubSelectorPlusDials',
- Mask => 0x07,
- PrintConv => {
- # (not all values from CSf3-b/CSf4-b are available for CSf6-b)
- 0 => 'None',
- 1 => 'Choose Image Area (FX/DX/5:4)',
- 2 => 'Shutter Speed & Aperture Lock',
- # 3 => 'One Step Speed / Aperture', # (not available)
- 4 => 'Choose Non-CPU Lens Number',
- # 5 => 'Active D-Lighting', # (not available)
- 6 => 'Shooting Bank Menu',
- },
- },
- 50.1 => { # CSb5
- Name => 'MatrixMetering',
- Condition => '$$self{Model} =~ /\bD4S/',
- Notes => 'D4S only',
- Mask => 0x80,
- PrintConv => {
- 0x00 => 'Face Detection On',
- 0x80 => 'Face Detection Off',
- },
- },
- 50.2 => { # CSf17
- Name => 'LiveViewButtonOptions',
- Condition => '$$self{Model} =~ /\bD4S/',
- Notes => 'D4S only',
- Mask => 0x30,
- PrintConv => {
- 0x00 => 'Enable',
- 0x10 => 'Enable (standby time active)',
- 0x20 => 'Disable',
- },
- },
- 50.3 => { # CSa12
- Name => 'AFModeRestrictions',
- Condition => '$$self{Model} =~ /\bD4S/',
- Notes => 'D4S only',
- Mask => 0x03,
- PrintConv => {
- 0x00 => 'Off',
- 0x01 => 'AF-C',
- 0x02 => 'AF-S',
- },
- },
- 51.1 => { # CSa11
- Name => 'LimitAFAreaModeSelection',
- Condition => '$$self{Model} =~ /\bD4S/',
- Notes => 'D4S only',
- Mask => 0x7e,
- PrintConv => {
- 0 => 'No Restrictions',
- BITMASK => {
- 1 => 'Auto-area',
- 2 => 'Group-area',
- 3 => '3D-tracking',
- 4 => 'Dynamic area (51 points)',
- 5 => 'Dynamic area (21 points)',
- 6 => 'Dynamic area (9 points)',
- },
- },
- },
- 52.1 => { # CSg1-b
- Name => 'MovieFunctionButtonPlusDials',
- Mask => 0x10,
- PrintConv => {
- 0x00 => 'None',
- 0x10 => 'Choose Image Area',
- },
- },
- 52.2 => { # CSg2-b
- Name => 'MoviePreviewButtonPlusDials',
- Mask => 0x01,
- PrintConv => {
- 0x00 => 'None',
- 0x01 => 'Choose Image Area',
- },
- },
- 53.1 => { # CSg3-b
- Name => 'MovieSubSelectorAssignmentPlusDials',
- Mask => 0x10,
- PrintConv => {
- 0x00 => 'None',
- 0x10 => 'Choose Image Area',
- },
- },
- 54.1 => { # CSf18
- Name => 'AssignRemoteFnButton',
- Condition => '$$self{Model} =~ /\bD4S/',
- Notes => 'D4S only',
- Mask => 0x1f,
- PrintConv => {
- 0 => 'None',
- 1 => 'Preview',
- 2 => 'FV Lock',
- 3 => 'AE/AF Lock',
- 4 => 'AE Lock Only',
- 5 => 'AE Lock (reset on release)',
- 7 => 'AF Lock Only',
- 8 => 'AF-On',
- 16 => '+NEF(RAW)',
- 25 => 'Live View',
- 26 => 'Flash Disable/Enable',
- },
- },
- 55.1 => { # CSf19
- Name => 'LensFocusFunctionButtons',
- Condition => '$$self{Model} =~ /\bD4S/',
- Notes => 'D4S only',
- Mask => 0x3f,
- PrintConv => {
- 3 => 'AE/AF Lock',
- 4 => 'AE Lock Only',
- 7 => 'AF Lock Only',
- 21 => 'Disable Synchronized Release',
- 22 => 'Remote Release Only',
- 24 => 'Preset focus Point',
- 26 => 'Flash Disable/Enable',
- 32 => 'AF-Area Mode: Single-point AF',
- 33 => 'AF-Area Mode: Dynamic-area AF (9 points)',
- 34 => 'AF-Area Mode: Dynamic-area AF (21 points)',
- 35 => 'AF-Area Mode: Dynamic-area AF (51 points)',
- 36 => 'AF-Area Mode: Group-area AF',
- 37 => 'AF-Area Mode: Auto area AF',
- },
- },
- );
- 1; # end
- __END__
- =head1 NAME
- Image::ExifTool::NikonCustom - Read and Write Nikon custom settings
- =head1 SYNOPSIS
- This module is loaded automatically by Image::ExifTool when required.
- =head1 DESCRIPTION
- The Nikon custom functions are very specific to the camera model (and
- sometimes even change with firmware version). The information is stored as
- unformatted binary data in the ShotInfo record of the Nikon MakerNotes.
- This module contains the definitions necessary for Image::ExifTool to decode
- this information.
- =head1 AUTHOR
- Copyright 2003-2016, Phil Harvey (phil at owl.phy.queensu.ca)
- This library is free software; you can redistribute it and/or modify it
- under the same terms as Perl itself.
- =head1 ACKNOWLEDGEMENTS
- Thanks to Jens Duttke and Warren Hatch for their help decoding the D300 and
- D3 custom settings. And thanks to the customer service personnel at Best
- Buy for not bugging me while I spent lots of time playing with their
- cameras.
- =head1 SEE ALSO
- L<Image::ExifTool::TagNames/Nikon Tags>,
- L<Image::ExifTool(3pm)|Image::ExifTool>
- =cut
|