List of Examples
| Table of Contents | List of Figures | List of Examples | List of Tables |
- Example 2-1. Creating and Destroying a Parameter-value List
- Example 2-2. Setting Audio Defaults
- Example 2-3. Setting Image Defaults
- Example 2-4. Setting Individual Parameter Values
- Example 2-5. Printing the Contents of a Digital Media Parameter-value List
- Example 6-1. Configuring and Opening an ALport
- Example 6-2. Opening Input and Output ALports
- Example 6-3. Querying for the Existence of Other Audio Processes
- Example 6-4. Querying for Input and Output Rates
- Example 6-5. Querying for 4-channel Capability
- Example 6-6. Synchronizing Audio Between Two Output Ports: align.c
- Example 6-7. Calculating UST
- Example 7-1. Creating, Filling, Querying and Freeing an AUpvlist
- Example 7-2. Checking Audio Track Sample Format and Sample Width
- Example 7-3. Creating a Semaphore
- Example 7-4. Recording Stereo from an Audio Port: recordexample.c
- Example 8-1. Copying CD Data to an Audio File: cdsample.c
- Example 9-1. Reading DAT Samples
- Example 10-1. Opening MIDI Input and Output Ports
- Example 10-2. Sending a MIDI Message
- Example 10-3. Using MIDI File Descriptors
- Example 12-1. Sending Live Video to the Screen: simplev2s.c
- Example 12-2. Video Frame Grabbing: simplegrab.c
- Example 12-3. Frame Output: simplem2v.c
- Example 12-4. Continuous Frame Capture: simplecapt.c
- Example 14-1. Using VL Callbacks
- Example 14-2. VL Event Handling: eventex.c
- Example 15-1. Setting Up Source, Drain, and Blend Nodes
- Example 17-1. Opening a Window to Display Live Video Input: simpleinput,c
- Example 18-1. Setting up the IndigoVideo Board for PAL Input
- Example 18-2. Selecting a Video Input Source
- Example 18-3. Getting the Input Source Number
- Example 18-4. Creating a Scalable Video Input Window: sizeinput.c
- Example 18-5. Approximating the Requested Video Window Size
- Example 18-6. Specifying a Video Window Offset
- Example 18-7. Getting Exclusive Use of the IndigoVideo Board
- Example 18-8. Using IndigoVideo Underlay Mode
- Example 18-9. Using Chroma Keying to Key Out Black Pixels
- Example 18-10. Using IndigoVideo Overlay Mode: voverlay.c
- Example 18-11. Using the Chroma Key Map: chromamap.c
- Example 19-1. Setting the Location of the IndigoVideo Output Window
- Example 19-2. Aligning a Video Output Area with an IRIS GL Window
- Example 19-3. Sending a RGB Image as a Still Video Frame
- Example 20-1. Determining the Capture Buffer Size
- Example 20-2. Grabbing a Single Frame of 8-bit RGB data: rgbgrab.c
- Example 20-3. Using the SV_GET_FIELD Macro
- Example 20-4. Capturing Frames in Burst Mode
- Example 20-5. Initializing Continuous Capture Mode
- Example 20-6. Accessing and Releasing Captured Frames
- Example 20-7. Setting Top-to-Bottom pixmode for YUV
- Example 20-8. Finding Image Data in YUV with Blanking Frames
- Example 20-9. Grabbing YUV Frames to Save as RGB Images: vgrab.c
- Example 20-10. Interleaving 8-bit RGB Fields with Inversion
- Example 20-11. Displaying Interleaved 8-bit RGB Data
- Example 20-12. Converting 8-bit RGB Capture Data to 32-bit RGB
- Example 20-13. Setting up the IRIS GL Color Map to Display 8-bit RGB
- Example 21-1. X Event Handling for IndigoVideo events: xevents.c
- Example 21-2. Handling Video Events with IRIS GL Routines
- Example 24-1. Using a Custom Error Handling Routine
- Example 24-2. Compressing and Decompressing a Single Frame
- Example 24-3. Compressing a Series of Frames
- Example 24-4. Getting the Decompression Scheme from a Header
- Example 24-5. Decompressing a Series of Frames
- Example 24-6. Creating and Using an Internal Buffer
- Example 24-7. Creating and Using an External Buffer
- Example 24-8. Using Buffers for Playback
- Example 24-9. Using Buffers for Nonblocking Playback
- Example 24-10. Using Buffers for Recording
- Example 24-11. Using Buffers for Nonblocking Recording
- Example 24-12. Using Buffers for Multiprocess Playback
- Example 24-13. Using Buffers for Multiprocess Recording
- Example 24-14. Cosmo Compress Memory-to-Memory Compression
- Example 25-1. Getting a List of Compression Library Algorithms
- Example 25-2. Getting a List of Parameters for a Compressor/Decompressor
- Example 25-3. Getting the Current Values of Selected Parameters
- Example 25-4. Using Macros to Get or Set the Value of a Floating Point Parameter
- Example 25-5. Getting and Setting Parameter Defaults
- Example 25-6. Getting and Setting Minimum and Maximum Parameter Values
- Example 26-1. Adding Algorithms to the Compression Library
- Example 26-2. Decompression Buffering
- Example 26-3. Compression Buffering
- Example 26-4. Adding Parameters to the Compression Library
- Example 28-1. Creating and Initializing a Default Movie Parameter-value List
- Example 28-2. Adding a User-Defined Global Movie Parameter
- Example 28-3. Adding a User-Defined Image Track Parameter for a New Track
- Example 29-1. Creating a Movie
- Example 29-2. Adding an Audio Track to a Movie
- Example 29-3. Determining What Size Buffer to Allocate
- Example 29-4. Reading a Compressed Image from a Movie into a Buffer
- Example 30-1. Creating an IRIS GL Playback Window
- Example 30-2. Binding a Window for Playing Multiple Movies
- Example 30-3. Enabling and Muting Audio Playback
- Example 30-4. Designating a Movie as the Primary Audio Rate Controller
- Example 30-5. Setting and Getting the Loop Mode
- Example 30-6. Using mvGrabIrisGL() and mvReleaseIrisGL()
- Example 30-7. Initializing Movie Playback
- Example 30-8. Preparing a File Descriptor Set
- Example 30-9. Handling Movie Frame, Stop, and Error Events
- Example 30-10. Handling X11 Expose and Resize Window Events
- Example 31-1. Creating QuickTime Movies with the Movie Library
- Example 31-2. Converting QuickTime Picture Data to RGBX Format