Video Development Environment

Reference Guide for HP-UX, Sun Solaris 2.x, and SunOS 4.1.x/X11R5 1.2









Parallax Graphics



Part Number: 917-026526 Rev. G


Table of Contents

Preface
How To Use This Manual

Technical Support Contacts



Introduction
Additional Software Required

APIs for Development: Xlib, Xt, and Motif

Sample Applications and Source Code

Upgrade and Cross-Platform Differences

Differences between Framebuffer and Overlay Cards

Differences in Recent Releases

Adding Support for Zoom_2x

Using Shared Memory

Using Multiple Video Cards

Porting Issues and Cross-Platform Development
Making Upgrades and Ports Easier: imake

Porting from Video Framebuffer to Overlay Cards

Porting from Overlay to Framebuffer Cards

Supporing Audio for Sun and HP

Shared Libraries

Porting between Specific Platforms

Sun-Framebuffer-Only APIs



Xlib Extension
Overview
Source Code for Applications

Source-Code for Example Programs

Functions Required to Initialize X Windows

Include and Library Files

Usage, Makefile, and Imakefile Support

Core Functions

JPEG Functions

Using Shared-Memory for JPEG Compression

Deallocating Shared Memory

Utility Functions



Xt Video Widgets

Overview

Source Code for Applications

Source Code for Example Programs

Include and Library Files

Usage, Makefile, and Imakefile Support

For More Information

VideoIn Widget

VideoOut Widget

JPEG Widget

TCWindow Widget



Motif Functions

Overview

Source Code for Applications

Source-Code for Example Programs

Include and Library Files

Usage, Makefile, and Imakefile Support

Motif Convenience Functions



Appendix A: Include and Library Files

Descriptions of the Include Files

Descriptions of the Library Files

Linking and Compiling Libraries



Appendix B: Parallax Video Variables

Appendix C: The MovieTool JPEG Movie File Structure
Overview
Updated Movie File Structure

Movie File Structure

Movie File Header

Movie Frames

Movie File Operands (movie.h)

Movie File Index (Frame Offset Array)

Interpreting the Movie File Structure



Appendix D: Real-Time MovieTool (Sun Solaris 2.5 Only)
About RTMovieTool and the Rtv Server

Writing an RTMovieTool Application

Reference Section: Functions and Errors

The Real-Time MovieTool File Structure

Why We Replaced RTV Toolkit with RTMovieTool



Appendix E: XView Video Objects and MovieTool API (Sun Solaris Only)
XView Video Objects

XVideo MovieTool JPEG Movie API



Appendix F: Developing on X11R5 (SunOS 4.1.x only)
Setting Up to Develop on X11R5

Getting Started

Using xtvideo