Browse Prior Art Database

Fixed Frame Multimedia System Variable Buffer Size Handling

IP.com Disclosure Number: IPCOM000118378D
Original Publication Date: 1997-Jan-01
Included in the Prior Art Database: 2005-Apr-01
Document File: 2 page(s) / 30K

Publishing Venue

IBM

Related People

Lisle, RJ: AUTHOR

Abstract

Disclosed is a method for processing variable length buffers by fixed length buffer processing modules. A boundary check is made to determine if enough data is available within the variable length buffer to allow simulating a fixed size buffer within the input buffer using simple pointer arithmetic. Otherwise, data is copied to a temporary fixed size buffer.

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 100% of the total text.

Fixed Frame Multimedia System Variable Buffer Size Handling

      Disclosed is a method for processing variable length buffers by
fixed length buffer processing modules.  A boundary check is made to
determine if enough data is available within the variable length
buffer to allow simulating a fixed size buffer within the input
buffer using simple pointer arithmetic.  Otherwise, data is copied to
a temporary fixed size buffer.

      Variable length input buffers are converted to fixed length
buffers for use by subsequent processing routines.  These routines
assume that each fixed size buffer is always full.  No partial
buffers can be tolerated.  To do this without incurring the overhead
of an additional copy operation, fixed size buffers are in effect
'carved' out  of each input variable length buffer using only pointer
arithmetic until  there is less than a full fixed buffer's worth of
data remaining in the input variable length buffer.  The remaining
portion is copied to the beginning of a temporary buffer, with the
remainder being copied from  the beginning of the next variable
length input buffer.  This temporary  buffer is then used to bridge
the gap between input buffers.