Fire-I.Net SDK Manual

Total Page:16

File Type:pdf, Size:1020Kb

Fire-I.Net SDK Manual Unibrain Fire-i.net SDK manual Programmer’s Manual & Reference Table of Contents TABLE OF CONTENTS ................................................. 2 IsCurrent property .............................................. 39 INTRODUCTION ........................................................ 4 Identifier property .............................................. 39 TECHNICAL DETAILS .................................................. 5 Fixed property .................................................... 40 ARCHITECTURE .............................................................. 5 UserDefined property ......................................... 40 PERFORMANCE ............................................................. 5 RawModeOverride property ............................... 41 INSTALLATION ............................................................... 6 Width property ................................................... 41 DESIGN ....................................................................... 6 Height property .................................................. 42 USAGE ...................................................................... 7 ToString method ................................................. 42 SCENARIO I – SIMPLE VIDEO VIEWER ................................. 7 Save method ....................................................... 42 SCENARIO II – CONTROLLING CAMERA FEATURES ............... 14 FIREIFIXEDSTREAMFORMAT ........................................... 44 SCENARIO III – MANIPULATING CAPTURED FRAMES ............ 17 ResolutionString property................................... 44 SCENARIO IV – WORKING WITH A ROI (A.K.A. FORMAT 7) . 19 FrameRateString property .................................. 44 REFERENCE ............................................................. 22 FrameRate property ........................................... 44 FIREIPREVIEWCONTROL ................................................ 22 PacketSize property ............................................ 45 FIREIGUID................................................................. 22 PacketsPerFrame property ................................. 45 [] property .......................................................... 22 ToString method ................................................. 46 ToString method................................................. 22 IsFrameRateSupported method ......................... 46 InitFromString method ....................................... 23 FIREIUSERDEFINEDSTREAMFORMAT ............................... 48 FIREIMANAGER ........................................................... 24 Left property ....................................................... 48 GetConnectedCamerasCount method ................ 24 Right property .................................................... 48 SelectCamera method ........................................ 24 Top property ....................................................... 48 GetCameraFromIndex method ........................... 25 Bottom property ................................................. 49 GetCameraFromGUID method ........................... 26 Width property ................................................... 49 FIREIREGISTER ............................................................ 27 Height property .................................................. 49 GetBit method .................................................... 27 MaxWidth property ............................................ 50 SetBit method ..................................................... 27 MaxHeight property ........................................... 50 GetField method ................................................. 28 HorizontalPositionUnit property......................... 50 SetField method ................................................. 28 VerticalPositionUnit property ............................. 51 GetFieldLen method ........................................... 29 WidthUnit property ............................................ 51 SetFieldLen method ............................................ 29 HeightUnit property ........................................... 51 SwapEndianess method ..................................... 29 MaxPacketSize property ..................................... 52 FIREITRIGGER ............................................................. 30 PacketSizeUnit property ..................................... 52 AbsControl property ........................................... 30 PacketSize property ............................................ 52 Enabled property ................................................ 30 F7Offset property ............................................... 53 Polarity property ................................................ 31 ToString method ................................................. 53 Source property .................................................. 31 SetROI method ................................................... 54 Value property ................................................... 32 FIREIFEATURE ............................................................. 55 Mode property ................................................... 32 Name property ................................................... 55 IsSupported property ......................................... 32 IsSupported property .......................................... 55 HasAbsolute property ........................................ 33 HasAbsolute property ......................................... 56 CanRead property .............................................. 33 HasOnePush property ......................................... 56 HasOnOff property ............................................. 33 CanRead property ............................................... 56 HasPolarity property .......................................... 34 HasOnOff property ............................................. 57 CanReadRaw property ....................................... 34 HasAuto property ............................................... 57 Parameter property ........................................... 34 HasManual property .......................................... 58 IsSourceSupported method ................................ 35 MinValue property ............................................. 58 IsModeSupported method ................................. 35 MaxValue property ............................................. 58 Reload method ................................................... 36 Absolute property ............................................... 59 PullSoftwareTrigger method .............................. 36 Enabled property ................................................ 59 Save method ...................................................... 36 AutoMode property ............................................ 59 FIREISTREAMFORMAT .................................................. 37 Value property .................................................... 60 PixelFormatString property ................................ 37 HasSoftAbsolute property .................................. 60 PixelFormat property ......................................... 37 SoftAbsolute property ........................................ 61 Resolution property ............................................ 38 ValueString property .......................................... 61 IsUserDefined property ...................................... 39 MinValueString property .................................... 61 2 MaxValueString property ................................... 62 Focus property .................................................... 78 Unit property ...................................................... 62 Zoom property .................................................... 78 AbsoluteValue property ..................................... 63 Brightness property ............................................ 78 MinAbsoluteValue property ............................... 63 Sharpness property ............................................. 79 MaxAbsoluteValue property .............................. 64 Gamma property ................................................ 79 Reload method ................................................... 64 RawConversion property .................................... 79 OnePush method ................................................ 64 Icon property ...................................................... 80 FIREIFRAME ............................................................... 66 ReadRegister method ......................................... 80 GetPixel method ................................................. 66 WriteRegister method ........................................ 81 SetPixel method ................................................. 66 ReadCommand method ...................................... 81 GetRGB method ................................................. 67 WriteCommand method ..................................... 82 SetRGB method .................................................. 67 ReadBlock method .............................................. 82 SaveToFile method ............................................. 67 WriteBlock method ............................................. 82 FlipHorizontally method ..................................... 68 GetMemoryPresetsCount method ...................... 83 FlipVertically method ......................................... 68 ToString method ................................................. 83 Negative method................................................ 68 GetFeature
Recommended publications
  • Tandy's Little Wonder the Color Computer 1979-1991
    Tandy's Little Wonder The Color Computer 1979-1991 A complete history and reference guide to the CoCo and all related hardware, software, and support sources. by F.G. Swygert SECOND EDITION - UPDATED FEB 2006 Tandy's Little Wonder page 1 INSIDE FRONT COVER If printing to bind, print only page 1 (front cover) on card stock or heavy colored paper. page 2 Tandy's Little Wonder Tandy's Little Wonder the Color Computer: 1980-1991 (and still going strong into the next century!) Second Edition written & edited by F.G. Swygert The Original Tandy Color Computer First Edition Copyright 1993, Second Edition Copyright 2006 by F.G. Swygert. All rights reserved. Published by FARNA Systems 147 Tom Moore Road, Leesville, SC 29070 e-mail: [email protected] Tandy's Little Wonder page 3 Tandy's Little Wonder the Color Computer SPECIAL ACKNOWLEDGEMENTS: The following individuals have made contributions directly or indirectly to the content of this book : Frances Calcraft Lee Duell Thomas Fann Art Flexser Marty Goodman Frank Hogg Alan Huffman Don Hutchison Carmen Izzi Jr. M. David Johnson Bob Kemper Mark Marlette (Cloud-9) Nicholas Marentes Dave Myers Bob Montowski Alfredo Santos Kelly Thompson Jordan Tsvetkoff Rick Ulland Brian Wright Glenside Color Computer Club Mid-Iowa & Country CoCo Club Banner for the 15th "Last" CoCoFest annually hosted by Glenside Color Computer Club -- true stalwarts of the CoCo Community! This edition is dedicated to all those who continue to collect, use, and enjoy the Tandy Color Computer. All brand/trade names copyright their respective owners. No part of this publication may be reproduced or quoted without written permission from the publisher.
    [Show full text]
  • Commodore - 64 „ Word Processors AJIR
    $2.50 NO. 64 SEPTEMBER 1983 International Edition $3.00 /Acim a g in g . Computer Knowledge x Design your own !\ V educational software Elementary students use Logo Establish an effective computer curriculum in your school system Turtle Graphics for the VIC-20 and C64 More Than in the Valley I Look a\ a Personal Computer See page 28 See page 60 See page 37 Atari Painting Program Wraps Up A Product Catalog for the Atari and Apple Text Compression and Encryption Will Remember (If you . ■* . ,r *■> . *•,*- fCS&p Imagine a system that would record all MAGIC MEMORY4 is built for th&axr^V; the wonderous, valuable information puter rookie Everyone can relate to -/ you have assimilated onto a single tiny MAGIC MEMORY* becauseitsfofrft is^ r disk. (No more scattered bits of paper, familiar. It looks like an address book ''1 business cards, etc.) Imagine the same but its not. Its more. Like the address system giving you a typed sheet you book MAGIC MEMORY" presents an could put into a notebook or print out A thru Z index tabulation on the right for a party and instantly change, or add edge of the video display The user to, at a moments notice. Imagine cross- simply selects a tab and the book is referencing to suit both your business opened to the proper page(s). A second needs and personal desires so that all set of tabs are available that can be your data was organized into one little labeled by the user (i e companies one black book! On top of all this — imagine deals with, birthdays, lists, wines, having fun putting it together.
    [Show full text]
  • Atari 130XE Machine Language for the Absolute Beginner Kindle
    ATARI 130XE MACHINE LANGUAGE FOR THE ABSOLUTE BEGINNER PDF, EPUB, EBOOK Kevin Bergin | 164 pages | 03 Sep 2020 | ACORN BOOKS | 9781789824322 | English | none Atari 130XE Machine Language for the Absolute Beginner PDF Book M; Ewbank, Kay. OK, as promised, these are the companion programs for the book "Atari xe Machine Language for the Absolute Beginner". Master Memory Map for the Atari Topics: graphics, poke, location, screen, mode, byte, locations, bytes, memory, color, graphics mode, Inside Atari Basic. Then, if you really wish to explore the world of python, learn and master its language, please click the? For example, you could collect procedures to do matrix algebra or create various graphics objects. Condition: Fair. Think of the virtual assistants of smartphones, product recommendations for customers in online shops, the prevention of credit card fraud, spam filters in e-mail programs, the detection and diagnosis of disease symptoms. We all know that Norton's book is very convenient to reed. An Atari 8-bit Extra from A. There is no embarrassment, lots of stuff is being dug up and typed in, fixed and placed into preservation. Topics: Atari, Atari , Atari xl, Mac65, programming, assembly language, receipt. Analysis of popular Python projects templates-? Games For Your Atari. Includes index Topics: poke, atari, display, memory, graphics, color, language, program, assembly language, data, atari What does this price mean? A nice book on programming the Atari computer Topics: atari computer programming retro, Atari Computer , Atari Computer. Posted January 4, You should have seen what it did to the number 0, but that was so obvious it was fixed on the spot.
    [Show full text]
  • College Catalog 2019-2020
    COLLEGE CATALOG 2019-2020 1 This page is intentionally left blank 2 Message from the Chancellor ..................................................................................................................................................................................................5 Student Information .....................................................................................................................................................................................................................7 Academic Calendar ......................................................................................................................................................................................................................8 Campuses/Attendance Sites ...................................................................................................................................................................................................9 College Information ....................................................................................................................................................................................................................21 Clinton Community College ........................................................................................................................................................................................22 Muscatine Community College ..................................................................................................................................................................................24
    [Show full text]
  • Color Basic Unravelled Ii Foreword Origin: Spectral Assoc Revised:12/26/99 Walter K Zydhek
    TABLE OF CONTENTS 1 FOREWORD……………………………………………………………………………………………………1 2 INTRODUCTION…………………………………………………………………………………………3 3 COLOR BASIC - AN INTERPRETER………………………………………………4 4 INTERPRETER MECHANICS…………………………………………………………………6 5 VARIABLES…………………………………………………………………………………………………10 6 CONSOLE INPUT/OUTPUT……………………………………………………………………13 APPENDICES A MEMORY MAP B DISASSEMBLY OF COLOR BASIC C BASIC ROUTINES AND ENTRY POINTS D FLOATING POINT ROUTINES E BASIC’S DATA/ASCII TABLES F MEMORY MAP DESCRIPTION G INTERRUPTS H OPERATOR PRECEDENCE I BASIC 1.0 DIFFERENCES J BASIC 1.1 DIFFERENCES K ASCII CHART COLOR BASIC UNRAVELLED II FOREWORD ORIGIN: SPECTRAL ASSOC REVISED:12/26/99 WALTER K ZYDHEK FOREWORD Due to the many requests for the Unravelled Series produced by Spectral Associates, and the fact that these books are rare and no longer in production, I have taken it upon myself to reproduce them in electronic .PDF (Adobe Acrobatâ) format. I have re-disassembled the ROMs listed in this book, and added all the comments from the Original Extended Basic Unravelled Book. Some changes were made to make the book a little easier to read. 1. The comments have been cleaned up some. In cases where a comments continued onto the next line, a * is placed in the Labels column, as well as a * at the beginning of each line of the comment. In cases where the previous comment used this format, a = was used. This was done in the original, but not all comments stuck to this format. 2. I have renumbered all the line numbers. Each Appendix (with code) starts at Line 0001. 3. Some spell checking, and context checking was done to verify accuracy. 4. I used the Letter Gothic MT Bold Font.
    [Show full text]
  • College Catalog 2018-2019
    College Catalog 2018-2019 1 This page is intentionally left blank 2 Message from the Chancellor ..................................................................................................................................................................................................5 Student Information .....................................................................................................................................................................................................................7 Academic Calendar ......................................................................................................................................................................................................................8 Campuses/Attendance Sites ...................................................................................................................................................................................................9 College Information ....................................................................................................................................................................................................................21 Clinton Community College ........................................................................................................................................................................................22 Muscatine Community College ..................................................................................................................................................................................24
    [Show full text]
  • G a M E S F E a T U
    Games Feature 74470 16901 O IMAkES P/XpERWORk PANdEIVIONiuiVI VANish MAGIC WINDOW II turns your APPLE in­ And as an extra assurance that your system. MAGIC MAILER lets you insert to a sophisticated word processor. But document is perfect before printing and each name and address (or whatever is in because MAGIC WINDOW II operates so mailing, you can use MAGIC WORDS. your records) into your document quickly much like a standard typewriter, it’s ex­ With incredible speed, MAGIC WORDS and efficiently. tremely simple to use. In fact, because of proofreads your document for spelling er­ With MAGIC MAILER, you never have to its unique menu structure, it’s the easiest rors and typos, shows you each one in con­ retype a document or an internal address. to learn, and function selection is virtually text on the screen, and allows you to cor­ With just a few keystrokes, each letter error free. rect or ignore each in sequence. Unlike any becomes an original, and the final phase other spelling checker, it will then auto­ MAGIC WINDOW Il’s powerful word pro­ of the paperwork process is complete — matically create a corrected file as you go cessing features include automatic format­ efficiently and to perfection. so you never need to return to MAGIC WIN­ ting, editing, centering, and justification — Let's face it: The letters, invoices, and DOW II to update it yourself manually. Or. and these are all done easily “on the video other documents you send out represent screen” before you ever print. Just type if you're busy.
    [Show full text]
  • Disk Basic Unravelled Ii Foreword Original: Spectral Assoc Revised:12/26/99 Walter K Zydhek
    TABLE OF CONTENTS 1 FOREWORD……………………………………………………………………………………………………1 2 INTRODUCTION…………………………………………………………………………………………3 3 HOW TO USE THIS BOOK……………………………………………………………………4 4 DESCRIPTION OF DISK BASIC………………………………………………………5 FILE CONTROL BLOCK STRUCTURE………………………………………………6 FILE ALLOCATION TABLE…………………………………………………………………9 THE DIRECTORY………………………………………………………………………………………11 1793 FLOPPY DISK CONTROLLER DESCRIPTION…………………13 MACHINE LANGUAGE FILE INPUT/OUTPUT………………………………17 DISK BASIC RAM VARIABLES/BUFFERS……………………………………18 APPENDICES A MEMORY MAP B DISASSEMBLY OF DISK BASIC 1.1 C DISASSEMBLY OF DISK BASIC 1.0 D DISK BASIC SYMBOL TABLE – 1.1 E DISK BASIC SYMBOL TABLE – 1.0 F DISK BASIC ROUTINES AND ENTRY POINTS G DISK BASIC’S DATA/ASCII TABLES H DISK BASIC ERROR ENTRY POINTS I ASCII CHART DISK BASIC UNRAVELLED II FOREWORD ORIGINAL: SPECTRAL ASSOC REVISED:12/26/99 WALTER K ZYDHEK FOREWORD Due to the many requests for the Unravelled Series produced by Spectral Associates, and the fact that these books are rare and no longer in production, I have taken it upon myself to reproduce them in electronic .PDF (Adobe Acrobatâ) format. I have re-disassembled the ROMs listed in this book, and added all the comments from the Original Extended Basic Unravelled Book. Some changes were made to make the book a little easier to read. 1. The comments have been cleaned up some. In cases where a comments continued onto the next line, a * is placed in the Labels column, as well as a * at the beginning of each line of the comment. In cases where the previous comment used this format, a = was used. This was done in the original, but not all comments stuck to this format.
    [Show full text]
  • BASIC Programs for Small Computers.Pdf
    Copyright 1984, COMPUTE! Publications,Inc. Allrights reserved. Reproduction or translation ofany part ofthis workbeyond that permitted bySections107 and 108of the United States Copyright Actwithout the permission of the copyright owner is unlawful. Printed in the United States of America ISBN 0-942386-38-8 10 987654321 COMPUTE! Publications, Inc., Post Office Box5406,Greensboro, NC 27403,(919)275-9809, is one of the ABCpublishing companies, and is not associated with any manufacturer of personal computers. VIC-20is a trademark of Commodore Electronics Limited. TI-99/4 and TI-99/4A are trademarks of Texas Instruments, Inc. TRS-80 Color Computer, TRS-80 Model I, and MC-10 are trademarks ofTandy,Inc. Contents Acknowledgments v Foreword vii Introduction ix Chapter 1: Conserving Memory 1 Chapter 2: Translating BASIC 11 Chapter 3: Quick Calculations 21 Chapter 4: Graphics 45 Chapter 5: Sound 87 Chapter 6: Math Competency Ill Chapter 7: Homework Helpers 147 Chapter 8: Computer Sorting 193 Chapter 9: Fun in Less Than 4K 207 Appendix A: A Beginner's Guide to Typing In Programs ... 259 Appendix B: How to Type In Programs 261 Appendix C: BASICKeyword Abbreviations 264 Index 266 f <r t c c rrr r r f t c c r c c c c c c c c i c c c c c c c c c c c r ip\ Acknowledgments I want to offerspecial thanks to the staffof South Elementary Schoolin Cedar City, Utah, who gaveme the idea for this book. The school had purchased three computers, then receivedsix hand-me-down computers from the high school.
    [Show full text]
  • About Basic for Ms-Dos
    TERNS A\C rO\D T O\S OF SA-! A+D .CEZSE OF TAhDV COMP-TER EO, PNEhT A40 SOF-;\AQF J.RCnASE3 F33V 7AC 0 SnACI( :3VPA\'-OhhED COVP-TER CEhTERS RETA j-?RE? A\? >A0 S SrAC< F9A\Cn SEES 'IR 2EA-E;IS AT TnE R A-TnOR ZEC -0CAT OhS LIMITED WARRANTY CUSTOMER OBLIGATIONS A CUSTOMER assumes full responsibility that this computer hardware purchased (the Equipment and any copies of software included with the Equipment or licensed se arately (the Software ) meets the specifications capacity capabilities versatility and other requirements of CUETOMER 6 CUSTOMER assumes full responsibility lor the condAon and effectiveness of the operating environment in whlch toe Equipment and Software are to function and lor its installation LIMITED WARRANTIES AND CONDITIONS OF SALE A For a period of ninety (901 calendar days lrom the date of the Radio Shack sales document received upon purchase of the Equipment RADIO SHACK warrants to the original CUSTOMER that the Equipment and the medium upon which the Software is stored is free from manufacturing defects This warranty is only applicable lo purchases of Tandy Equipment by the original customer from Radlo Shack company-owned computer cenlers retail stores, and Radlo Shack franchisees and dealers at their aulhorlzed locations The warrantv is 111. 6 9ADIO SPACK sha I not be liable for any damages caused by delay in delivering or furnishing Equipment and or Softviare C No actio1 ar sin out of any claimed breach of this Warranty or transactions under this Warranty may be brought rr'ore than two 92) years after the cause of action has accrued or more than four (4) years after the date of the Radio Shack sales document for the Equlpment or Software whichever first occurs D Sore states do not a1 ow the imitat on or exclusion of incidental or coiseouential damages so the above imitationis) or exclusionls) may lot apply to CUSTOMER IV.
    [Show full text]
  • Gfa BASIC for Atari ST)
    TOTALLY BASIC A Reference, Cross-Reference and Substitution Guide. Covering over two dozen subsets on nearly a dozen platforms from A to ZOrder. Direct support for: AMIGA: Amiga Basic, Hi Soft BASIC and True BASIC. Apple II: Integer BASIC and Apple Soft BASIC. Atari 8 bit: Atari XL BASIC. Atari ST. ST BASIC 1.0/2.0, Hi Soft BASIC, BBC BASIC, FAST BASIC and GfA BASIC. Commodore 8 bit: PET, C-64 BASIC and C-128 BASIC. CP/M: MBASIC and ABASIC. Macintosh: MS BASIC, Z BASIC, Future BASIC, VIP BASIC and True BASIC. Mainframes: ANSI Minimal BASIC. PC DOS: Business BASIC II. BASICA, IBM BASIC, MS BASIC, GW BASIC, QBASIC, Quick BASIC, Turbo BASIC, Power BASIC, True Basic, Microsoft Professional Development Basic 7.0 and Visual BASIC. PC Windows: CA REALIZER, Visual BASIC 1 through 6 Professional. Psion: OPL. Tandy/Radio Shack: TRS-80 BASIC, Color Computer BASIC and Tandy BASIC for PC. Timex - Sinclair: 100 BASIC. Spectrum Color BASIC. VAX: DCL BASIC. Copyright © 2003 by Earl R. Dingman. All Rights Reserved. TOTALLY BASIC: A Reference ©1989-2003 Earl R. Dingman ACOS() (GfA BASIC 3.0 for Atari ST, True BASIC for Amiga, Macintosh, PC and Unix) Provides the Arc COSine for the value placed inside the parentheses. Syntax: PRINT ACOS(n) or X = ACOS(n) Substitutions: Generally use a DEF FN or DEFFN function: DEF FNACOS(n) = ATN(n / SQR(-n * n+1)) + 1.5708 Then you would use the created function in the program: FNACOS(n). Also see: DEF FN and DEFFN plus OPTION ANGLE ACS SUBSTITUTION FACTOR: Excellent PORTABILITY: None ACS (Timex/Sinclair BASIC) Returns the Arc CoSine of a value in radians.
    [Show full text]
  • Color Computer 1/2/3 Hardware Programming, Chris Lomont, V0.82
    Color Computer 1/2/3 Hardware Programming, Chris Lomont, v0.82 Color Computer 1/2/3 Hardware Programming Chris Lomont, Aug 2007, version 0.82 This document collects and details hardware programming information for the TRS-80 Color Computer, versions 1, 2, and 3. Although it has some tutorial information in it, it is designed to be a reference. Many areas also apply to the Color Computer Clones such as the British Dragon 32/64. It is compiled and edited by Chris Lomont, www.lomont.org. Send comments, corrections, and errors to CoCo3 at the above domain. Please don't repost this on the web, but point to this copy, so eventually all information is corrected and integrated. This document is compiled from many sources, listed in the Bibliography. If you feel this infringes any of your copyrighted material, email me with your material, and I will remove or rewrite from scratch the offending sections. Hex numbers start with a $, as in 255=$FF. Addresses like $FFFE (65534) give the decimal in parentheses. 16-bit addresses like $B0F1 are in 6809 CPU address space. On the Color Computer 3, 20-bit addresses like $70FFF are in GIME address space. Also on the Color Computer 3, the Memory Mapping Unit (MMU) maps eight 8K pages from the GIME space into CPU space. Many sections (marked TODO) need a lot more work, which I will do given time. DISCLAIMER: All information provided as is, etc. Use at your own risk. Version History 0.8 June 2006 Initial version and organization of material.
    [Show full text]