Automatic Program Specialization for Interactive Media

Abstract

This dissertation introduces and analyzes techniques for writing programs that manipulate interactive media. By 'media' I mean audio, images, and video flowing through a personal computer. By 'interactive' I mean that there is an impatient and unpredictable user who produces and consumes this media. Historically, such systems that provide low latency and remain highly flexible have been rare and difficult to build. I propose treating media systems as programming languages and bringing the techniques of semantics based program transformation to bear. One part of this solution is the use of compiler generation as an interface to runtime code generation. The idea is to use automatic specialization to convert flexible programs into fast programs. This idea has already been developed by the partial evaluation community. In order to make it work better with media, I extend the known techniques for specialization with partially static integers and equality constraints. I demonstrate the effectiveness of these techniques by using a prototype implementation to benchmark kernels such as wave-table audio synthesis and color-to-grayscale conversion.

Open PDF

Document Details

Document Type
Technical Report
Publication Date
Jul 23, 1997
Accession Number
ADA331383

Entities

People

  • Scott Draves

Organizations

  • Carnegie Mellon University

Tags

Communities of Interest

  • C4I
  • Energy and Power Technologies

DTIC Thesaurus Topics

  • C Programming Language
  • Computational Science
  • Computer Architecture
  • Computer Languages
  • Computer Programming
  • Computer Programs
  • Computer Science
  • Computers
  • Grammars
  • High Level Languages
  • Information Processing
  • Language
  • Linguistics
  • Lisp Programming Language
  • Operating Systems
  • Programming Languages
  • Two Dimensional

Fields of Study

  • Computer science

Readers

  • Computer Networking
  • Database Systems and Applications
  • Educational Psychology