the invention will be described within the context of an mpeg - like encoding system that encodes an input information stream in to produce an encoded output information stream out that nominally conforms to a group of frames ( gof ) or group of pictures ( gop ) data structure . each gof / gop data structure comprises n frames arranged as a plurality of sub - gof or sub - gop data structures having a maximal size of m frames . each sub - gof / gop comprise a respective anchor frame ( e . g ., an i - frame or a p - frame ) and , optionally , one or more non - anchor frames ( e . g ., b - frames ). in response to an inter - frame information discontinuity within the input information stream in , the invention adapts the encoded output information stream such that the first anchor frame following the information discontinuity comprises an i - frame , while the first anchor frame preceding the information discontinuity comprises a p - frame . fig1 depicts an mpeg - like encoding system 100 according to the invention . specifically , fig1 depicts an mpeg - like encoding system 100 comprising a first encoding module 101 , a second encoding module 102 , a controller 103 , a selector 104 and an output buffer 160 . the mpeg - like encoding system 100 receives and encodes an input information stream in comprising a plurality of uncompressed information frames , illustratively a sequence of images forming a video information stream , to produce an encoded output information stream out . first encoding module 101 receives and encodes the input information stream in to produce a first encoded information stream s 101 that partially conforms to a group of frames ( gof ) or group of pictures ( gop ) data structure . the first encoded information stream s 101 only partially conforms to the gof or gop data structure because the first encoding module 101 encodes every anchor frame as a forward predicted coded frame ( p - frame ), even if the frame was scheduled , per the gof / gop data structure , to be an intra - coded frame ( i - frame ). thus , first encoded information stream s 101 includes sub - gofs or sub - gops having p - frames as anchor frames . the first encoded information stream s 101 is buffered in a sub - gof / gop buffer and then coupled to a first input of selector 104 . second encoding module 102 receives and encodes the input information stream in to produce a second encoded information stream s 102 comprising only intra - coded anchor frames . specifically , the second encoding module 102 encodes every anchor frame as an intra - coded frame ( i - frame ), even if the frame was scheduled , per the gof / gop data structure utilized by the first encoding module 101 , to be a p - frame . such a frame is denoted as dual - coded frame , since it is encoded as an i - frame by the second encoding module 102 and as a p - frame by the first encoding module 101 . thus , second encoded information stream s 102 includes only intra - coded anchor frames . the second encoded information stream s 102 is buffered in a sub - gof / gop buffer and then coupled to a second input of selector 104 . additionally , each frame encoded by second encoder 102 is reconstructed ( i . e ., decoded ) to provide a reference anchor frame suitable for use in a motion prediction portion of the first encoding module 101 , as will be discussed below . output buffer 160 produces a rate control signal rc indicative of a buffer utilization level of a far end decoder buffer . the rate control signal rc is coupled to the first encoding module 101 and the second encoding module 102 . the encoding modules utilize the rate control signal to adapt quantization parameters of their respective encoding processes , such that the bit rate of their respective output signals s 101 and s 102 may be controlled , thereby avoiding buffer overflow or underflow in a far end decoder buffer . controller 103 is coupled to a control input of the selector 104 and also produces a first encoder control signal c 1 and a second encoder control signal c 2 for controlling , respectively , first encoding module 101 and second encoding module 102 . the controller 103 normally operates in a continuous mode of operation , wherein the information steam provided to the output buffer conforms to a defined gof / gop data structure . to prevent , e . g ., the occurrence of consecutive i - frame type anchor frames in that provided information stream , the controller 103 enters a discontinuous mode of operation in the event of , e . g ., a scene change or other information stream discontinuity . in the discontinuous mode of operation , the controller 103 changes the first ( temporally ) anchor frame from an i - frame to a p - frame . this is possible because each anchor frame is dual coded as both an i - frame and a p - frame , as previously mentioned . to detect such an information discontinuity , the controller 103 receives at least one of the input information stream in and a mode decision indication signal md from the second encoding module 102 . the detection of an information discontinuity will be described below . briefly , where more than a threshold number of macroblocks are selected for intra - coding ( rather then inter - coding or predictive coding ), the present information frame being encoded is inherently sufficiently different from an anchor frame from which predictions are based to conclude that an information discontinuity , such as a scene change , has occurred . first encoding module 101 comprises an adder 155 , a mode decision module 105 p , a discrete cosine transform ( dct ) module 110 p , a quantizer ( q ) module 115 p , a variable length coding ( vlc ) module 120 p , an inverse quantizer ( q − 1 ) 125 p , an inverse discrete cosine transform ( dct − 1 ) module 130 p , a subtractor 156 , a buffer 135 p , a rate control module 140 p , a motion compensation module 145 p , a motion estimation module 150 p and an anchor frame storage module 170 . although the second encoding module 102 comprises a plurality of modules , those skilled in the art will realize that the functions performed by the various modules are not required to be isolated into separate modules as shown in fig1 . for example , the set of modules comprising the motion compensation module 145 p , inverse quantization module 125 p and inverse dct module 130 p is generally known as an “ embedded decoder .” in the case of the input information stream in comprising a video information stream , the video information stream represents a sequence of images on the input signal path in which is digitized and represented as , illustratively a luminance and two color difference signals ( y , c r , c b ) in accordance with the mpeg standards . these signals are further divided into a plurality of layers ( sequence , group of pictures , picture , slice , macroblock and block ) such that each picture ( frame ) is represented by a plurality of macroblocks . each macroblock comprises four ( 4 ) luminance blocks , one c r block and one c b block where a block is defined as an eight ( 8 ) by eight ( 8 ) sample array . the division of a picture into block units improves the ability to discern changes between two successive pictures and improves image compression through the elimination of low amplitude transformed coefficients ( discussed below ). the digitized signal may optionally undergo preprocessing such as format conversion for selecting an appropriate window , resolution and input format . subtractor 155 generates a residual signal ( also referred to in the art as simply the residual or the residual macroblock ) by subtracting a predicted macroblock on the signal path pf from an input macroblock on the signal path in . the mode decision module 105 p receives the residual macroblock ( i . e ., the predicted macroblock ) from the subtractor 155 and the input macroblock from the signal path in . if the predicted macroblock is substantially similar to the input macroblock ( i . e ., the residuals are relatively small and are easily coded using very few bits ), then the mode decision module 105 p selects the residual signal from the subtractor 155 for inter - coding . that is , the macroblock will be encoded as a motion compensated macroblock , i . e ., motion vector ( s ) and associated residual ( s ). however , if the difference between the predicted macroblock and the input macroblock is substantial , the residuals are difficult to code . consequently , the system operates more efficiently by directly coding the input macroblock rather than coding the motion compensated residual macroblock . the above selection process is known as a selection of the coding mode . coding the input macroblock is referred to as intra - coding , while coding the residuals is referred to as inter - coding . the selection between these two modes is known as the intra - inter - decision ( iid ). the iid is typically computed by first computing the variance of the residual macroblock ( var r ) and the variance of the input macroblock ( var i ). the coding decision is based on these values . there are several functions that can be used to make this decision . for example , using the simplest function , if var r is less than var i , the iid selects the inter - mode . conversely , if var i is less than var r , the iid selects the intra - mode . optionally , the mode decision module 105 p provides an output signal md indicative of the presence or absence of an information stream discontinuity . for example , in one embodiment of the invention the output signal md indicates the number of macroblocks within a particular information frame that have been selected , by the iid process , as intra - coded macroblocks . a large number of intra - coded macroblocks within a particular information frame indicates that the information frame is substantially different from a preceding information frame . such a substantial difference may be due to an information discontinuity , such as a scene cut or scene change in an input video information stream . the controller may be conditioned to interpret excursions beyond a predefined number of intra - coded macroblocks within one frame as indicative of a scene cut . the operation of the controller will be described in more detail below with respect to fig2 and 3 . the selected block ( i . e ., input macroblock or residual macroblock ) is then coupled to the discrete cosine transform ( dct ) module 110 p . the dct module 110 p applies a discrete cosine transform process to each block of the received macroblock to produce a set of , illustratively , eight ( 8 ) by eight ( 8 ) blocks of dct coefficients . the dct basis function or subband decomposition permits effective use of psychovisual criteria which is important for the next step of quantization . it should be noted that while the dct module may be adapted to process any size block or macroblock , though the eight by eight block size is commonly used in mpeg - like compression systems . the dct coefficients produced by the dct module 110 p are coupled to the quantizer module 115 p . the quantizer module 115 p quantizes the received dct coefficients to produce a quantized output block . the process of quantization reduces the accuracy with which the dct coefficients are represented by dividing the dct coefficients by a set of quantization values with appropriate rounding to form integer values . the quantization values can be set individually for each dct coefficient , using criteria based on the visibility of the basis functions ( known as visually weighted quantization ). namely , the quantization value corresponds to the threshold for visibility of a given basis function , i . e ., the coefficient amplitude that is just detectable by the human eye . by quantizing the dct coefficients with this value , many of the dct coefficients are converted to the value “ zero ”, thereby improving image compression efficiency . the process of quantization is a key operation and is an important tool to achieve visual quality and to control the encoder to match its output to a given bit rate ( rate control ). since a different quantization value can be applied to each dct coefficient , a “ quantization matrix ” is generally established as a reference table , e . g ., a luminance quantization table or a chrominance quantization table . thus , the encoder chooses a quantization matrix that determines how each frequency coefficient in the transformed block is quantized . the rate control module 140 p controls the quantization scale ( step size ) used to quantize the dct coefficients and / or controls the number of dct coefficients that are coded by the system in response to a rate control signal rc produced by the output buffer 160 . the rate control signal rc produced by the output buffer 160 indicates a utilization level of the output buffer 160 . the primary task of the rate control module 140 p is to manage the fullness or utilization level of the output buffer 160 , from which a constant output bit rate is provided to a transmission channel . the constant bit rate must be maintained even though the encoding rate may vary significantly , depending on the content of each image and the sequence of images . the rate control module 140 p adjusts the output bit rate of the first encoding module 101 by selecting a quantizer scale for each frame in a manner maintaining the overall quality of the video image while controlling the coding rate . namely , a quantizer scale is selected for each frame such that target bit rate for the picture is achieved while maintaining a uniform visual quality over the entire sequence of pictures . in this manner , the rate control module 140 p operates to prevent buffer overflow and underflow conditions on the decoder side ( e . g ., within a receiver or target storage device , not shown ) after transmission of the output information stream out . optionally , the rate control module 140 p is responsive to a rate control signal rc 1 indicative of a utilization level of the buffer 135 p . as previously noted , the buffer 135 p is used to hold , e . g ., at least one encoded sub - gof / gop comprising an anchor frame ( i . e ., an i - frame or a p - frame ) and a plurality of non - anchor frames ( i . e ., b - frames ) according to the gof / gop data structure . therefore , if the capacity of the buffer 135 p is limited , then the rate control module 140 p must ensure that the buffer 135 p does not overflow . another important task of the rate control module 140 p is to insure that the bit stream produced by the encoder does not overflow or underflow a decoder &# 39 ; s input buffer . overflow and underflow control is accomplished by maintaining and monitoring a virtual buffer within the encoder . this virtual buffer is known as the video buffering verifier ( vbv ). to ensure proper decoder input buffer bit control , the encoder &# 39 ; s rate control process establishes for each picture , and also for each macroblock of pixels comprising each picture , a bit quota ( also referred to herein as a bit budget ). by coding the blocks and the overall picture using respective numbers of bits that are within the respective bit budgets , the vbv does not overflow or underflow . since the vbv mirrors the operation of the decoder &# 39 ; s input buffer , if the vbv does not underflow or overflow , then the decoder &# 39 ; s input buffer will not underflow or overflow . to accomplish such buffer control , the rate controller makes the standard assumption in video coding that the current picture looks somewhat similar to the previous picture . if this assumption is true , the blocks of pixels in the picture are motion compensated by the coding technique and , once compensated , require very few bits to encode . this method works very well , as long as the actual number of bits needed to code the picture is near the target number of bits assigned to the picture , i . e ., that the number of bits actually used is within the bit quota for that picture . the quantized dct coefficients ( e . g ., an 8 × 8 block of quantized dct coefficients ) produced by the quantizing module 115 p are coupled to the variable length coding ( vlc ) module , where the two - dimensional block of quantized coefficients is scanned in a “ zigzag ” order to convert it into a one - dimensional string of quantized dct coefficients . this zigzag scanning order is an approximate sequential ordering of the dct coefficients from the lowest spatial frequency to the highest . variable length coding ( vlc ) module 120 then encodes the string of quantized dct coefficients and all side - information for the macroblock using variable length coding and run - length coding . to perform motion prediction and compensation , the first encoding module 101 regenerates encoded anchor frames for use a reference frames . specifically , the quantized dct coefficients ( e . g ., an 8 × 8 block of quantized dct coefficients ) produced by the quantizing module 115 p are coupled to the inverse quantizing ( q − 1 ) module 125 p , where an inverse quantizing process is performed on each macroblock . the resulting dequantized dct coefficients ( e . g ., an 8 × 8 block of dequantized dct coefficients ) are passed to the inverse dct ( dct − 1 ) module 130 p , where an inverse dct process is performed on each macroblock to produce a decoded error signal . the error signal produced by the dct − 1 module 130 p is coupled to an input of adder 156 . motion estimation module 150 p receives the input information stream in and a stored anchor frame information stream aout . the stored anchor frame information stream aout is provided by the anchor frame storage module 170 , which stores an input anchor frame information stream ain that is provided by the second encoding module 101 , and will be discussed in more detail below . briefly , the stored anchor frame information stream aout represents a decoded version of the intra - coded first anchor frame of a gof or gop presently being encoded by the second encoding module 102 ( and first encoding module 101 ). the motion estimation module 150 p estimates motion vectors using the input information stream in and the stored anchor frame information stream aout . a motion vector is a two - dimensional vector which is used by motion compensation to provide an offset from the coordinate position of a block in the current picture to the coordinates in a reference frame . the reference frames can be forward predicted coded frames ( p - frames ) or bidirectional ( i . e ., forward and backward ) predicted frames ( b - frames ). the use of motion vectors greatly enhances image compression by reducing the amount of information that is transmitted on a channel because only the changes between the current and reference frames are coded and transmitted . the motion vectors are coupled to the motion compensation module 145 p and the vlc module 120 p . the motion compensation module 145 p utilizes the received motion vectors to improve the efficiency of the prediction of sample values . motion compensation involves a prediction that uses motion vectors to provide offsets into the past and / or future reference frames containing previously decoded sample values that are used to form the prediction error . namely , the motion compensation module 150 p uses the previously decoded frame and the motion vectors to construct an estimate of the current frame . furthermore , those skilled in the art will realize that the functions performed by the motion estimation module and the motion compensation module can be implemented in a combined module , e . g ., a single block motion compensator . prior to performing motion compensation prediction for a given macroblock , a coding mode must be selected . in the area of coding mode decision , the mpeg and mpeg - like standards provide a plurality of different macroblock coding modes . specifically , mpeg - 2 provides macroblock coding modes which include intra mode , no motion compensation mode ( no mc ), frame / field / dual - prime motion compensation inter mode , forward / backward / average inter mode and field / frame dct mode . once a coding mode is selected , motion compensation module 145 p generates a motion compensated prediction frame ( e . g ., a predicted image ) on path pf of the contents of the block based on past and / or future reference pictures . this motion compensated prediction frame on path pf is subtracted , via subtractor 155 , from the input information frame in ( e . g ., a video image ) in the current macroblock to form an error signal or predictive residual signal . the formation of the predictive residual signal effectively removes redundant information in the input video image . as previously discussed , the predictive residual signal is coupled to the mode decision module 105 p for further processing . the vlc data stream produced by the vlc encoder 120 p is received into the buffer 135 p , illustratively a “ first in - first out ” ( fifo ) buffer capable of holding at least one encoded sub - gof / gop according to the gof / gop data structure . the vlc data stream stored in buffer 135 p is selectively coupled , via selector 104 , to the output buffer 160 , illustratively a fifo buffer . a consequence of using different picture types and variable length coding is that the overall bit rate into the output buffer 160 is variable . namely , the number of bits used to code each frame can be different . in applications that involve a fixed - rate channel for coupling the output information stream out to , e . g ., a storage medium or telecommunication channel , the output buffer 160 is used to match the encoder output to the channel for smoothing the bit rate . thus , the output signal out of fifo buffer 160 is a compressed representation of the input information stream in . second encoding module 102 comprises a discrete cosine transform ( dct ) module 110 i , a quantizer ( q ) module 115 i , a variable length coding ( vlc ) module 120 i , an inverse quantizer ( q − 1 ) module , an inverse discrete cosine transform ( dct − 1 ) module 130 i , a buffer 135 i and a rate control module 140 i . the various modules included within the second encoding module 102 are connected together and operate in substantially the same manner as previously described with respect to the first encoding module 101 . as such , only differences between the two encoding modules will be discussed in detail . the primary difference between the two encoding modules is that the second encoding module 102 only encodes those input information frames scheduled , per the gof / gop data structure , to be encoded as anchor frames . by contrast , the first encoding module 101 encodes all the input information frames per the gof / gop data structure . the controller 103 causes the mpeg - like encoder depicted in fig1 to operate in one of several operating modes , namely a continuous operating mode and a discontinuous operating mode . the controller 103 normally operates in a continuous mode of operation , wherein the information steam provided to the output buffer conforms to a defined gof / gop data structure . to prevent , e . g ., the occurrence of consecutive i - frame type anchor frames in that provided information stream , the controller 103 enters a discontinuous mode of operation in the event of , e . g ., a scene change or other information stream discontinuity . in the discontinuous mode of operation , the controller 103 changes the first ( temporally ) anchor frame from an i - frame to a p - frame . this is possible because each anchor frame is dual coded as both an i - frame and a p - frame , as previously described . the operation of the controller 103 will be described in more detail below with respect to table 1 and fig2 . the discontinuous mode of operation is entered when the controller 103 determines that an information discontinuity within the input information stream in has occurred , e . g ., a scene change or “ scene cut ” within an input video stream . in the continuous mode of operation , controller 103 adapts selector 104 such that the first encoder output stream s 101 and second encoder output stream s 102 are selected in a manner producing , at the output of switch 104 , an information stream conforming to the gof / gop data structure . specifically , the controller 103 causes switch 104 to select , as the first frame in a gof or gop being formed , the i - frame within the second encoder output stream s 102 associated with first frame of the gof or gop . that is , the i - frame version of the dual coded frame is selected . the controller 103 then causes selector 104 to select , as the remaining frames in the gof or gop being formed , the anchor frames and non - anchor frames associated with the remaining frames of the gof or gop . this process is repeated for each gof or gop until the controller 103 enters the discontinuous mode of operation . in the discontinuous mode of operation , the controller 103 determines if the discontinuity has occurred within one sub - gof / gop from the start of a new gof or gop information structure . if this is not the case ( i . e ., the previous anchor frame was a p - frame and , hence , not the first frame of a new sub - gof / gop ), then the controller 103 starts a new sub - gof / gop by encoding the anchor frame after the information discontinuity as an i - frame . however , if the discontinuity occurs within one sub - gof / gop of the scheduled i - frame , the controller 103 causes selector 104 to select the p - frame version of the dual - encoded previous anchor frame along with the associated non - anchor frames ( i . e ., the b - frames of the sub - gof / gop ) the controller 103 then causes selector 104 to select the i - frame version of the dual encoded anchor frame immediately after the information disc continuity . in effect , the scheduled first sub - gof / gop of a new gof / gop is made the last sub - gof / gop of the previous gof / gop information structure and a new gof / gop information structure is started with the anchor frame after discontinuity as its first frame . table 1 depicts information useful in understanding the invention . the first row of table 1 identifies a frame number ( i . e ., 1 - 18 ) associated with each of a plurality of input information frames , illustratively video frames , provided to the invention . the second row of table 1 depicts a scene number ( i . e ., 1 - 2 ) associated with each of the input video frames of the first row . it is important to note that the scene number of transitions from scene 1 to scene 2 after the 11th frame . the third row of table 1 depicts a desired gof / gop data structure used to encode the video input frames ( i . e ., ibbpbbpbb . . . ). the desired gof / gop data structure is the structure intended to be imparted to the output information stream out provided by the output buffer 160 to , e . g ., a transmission channel . it must be noted that the exemplary gof / gop data structure depicted in table 1 is for illustrative purposes only , the invention may be practiced using any gof / gop data structure . the fourth row depicts the output information stream s 101 of the first encoding module 101 of the mpeg - like encoder depicted in fig1 . as previously discussed , the first encoding module 101 receives and encodes the input information stream in to produce a first encoded information stream s 101 that partially conforms to a group of frames ( gof ) or group of pictures ( gop ) data structure , illustratively the gof / gop data structure depicted in the third row of table 1 . the first encoded information stream s 101 only partially conforms to the gof or gop data structure because the first encoding module 101 encodes every anchor frame as a p - frame , even if the frame was scheduled , per the gof / gop data structure , to be an i - frame . thus , first encoded information stream s 101 includes sub - gofs or sub - gops having p - frames as anchor frames . the fifth row depicts the output information stream s 102 of the second encoding module 102 of the mpeg - like encoder depicted in fig1 . as previously discussed , the second encoding module 102 receives and encodes the input information stream in to produce a second encoded information stream s 102 comprising only intra - coded anchor frames . specifically , the second encoding module 102 encodes every anchor frame as an intra - coded frame ( i - frame ), even if the frame was scheduled , per the gof / gop data structure utilized by the first encoding module 101 , to be a p - frame . thus , second encoded information stream s 102 includes only intra - coded anchor frames . the sixth row depicts an output information stream out provided by the output buffer 160 of the of the mpeg - like encoder depicted in fig1 . specifically , the sixth row depicts the adaptation made to the gof / gop data structure in response to a change from a first scene ( frame 11 ) and a second scene ( frame 12 ). referring to the gof / gop structure defined in the third row , frame 13 is scheduled to be encoded as a p - frame . however , since a new scene started at frame 12 , the first anchor frame of the first sub - gof / gop following the scene change will be encoded as an i - frame . since frame 10 ( a dual coded anchor frame ) is already scheduled to be an i - frame , the controller causes the p - frame version of frame 10 to be selected for output , while the i - frame version of frame 13 is selected for output . in this manner , the undesirable situation of outputting two closely proximate i - frames ( i . e ., frames 10 and 13 ) is avoided . the seventh row depicts an alternate output information stream out provided by the output buffer 160 of the of the mpeg - like encoder depicted in fig1 . specifically , the sixth row depicts the adaptation made to the gof / gop data structure in response to a change from a first scene ( frame 11 ) and a second scene ( frame 12 ), where the first frame of the new scene ( i . e ., frame 12 ) is encoded as an i - frame , rather than the first anchor frame ( i . e ., frame 13 ) of the new scene as depicted in row 6 . fig2 depicts a flow diagram of an adaptive frame switching routine 200 suitable for use in the mpeg - like encoder depicted in fig1 . specifically , the routine 200 of fig2 may be implemented as a control routine within the controller 103 , or as a logical function between cooperating modules of the mpeg - like encoder 100 of fig1 . the routine 200 provides adaptive fame switching within the context of an encoding system simultaneously encoding anchor frames as both i - frames and p - frames ( i . e ., dual coded frames ). the routine 200 of fig2 is entered at step 205 , where a variable last_intra is set equal to 0 . the routine 200 then proceeds to step 210 , where the query is made as to whether a received input information frame to be encoded is scheduled ( per the gof / gop data structure ) to be encoded as an i - frame . if the query at step 210 is answered affirmatively , then the routine 200 proceeds to step 215 . at step 215 the received frame is encoded as an i - frame , and the encoded i - frame is stored in a first buffer ( i . e ., buffer_i ). the routine 200 then proceeds to step 220 , where the received frame is encoded as a p - frame , and the encoded p - frame is stored in a second buffer ( i . e ., buffer_p ). the routine 200 then proceeds to step 225 , where the last_intra variable is set equal to 1 . the routine 200 then proceeds to step 210 . if the query at step 210 is answered negatively , then the routine 200 proceeds to step 230 . at step 230 a query is made as to whether the received frame is scheduled to be encoded as a b - frame . if the query at step 230 is answered affirmatively , then the routine 200 proceeds to step 235 , where a query is made as to whether the last - intra variable is equal to 1 . if the query at step 235 is answered affirmatively , then the routine 200 proceeds to step 240 , where the received frame is encoded as a b - frame , and the encoded b - frame is stored in a third buffer ( i . e ., buffer_b ). the routine 200 then proceeds to step 210 . if the query at step 235 is answered negatively , then the routine 200 proceeds to step 245 , where the received frame is encoded as a b - frame , and the encoded b - frame is sent to an output buffer . the routine 200 then proceeds to step 210 . it should be noted that the first buffer ( i . e ., bufer_i ), the second buffer ( i . e ., buffer_p ) and the third buffer ( i . e ., buffer_b ) may comprise unique memory modules , portions of the same memory module , internal memory of , e . g ., controller 103 or any other available memory , including a portion of an encoder output buffer . the location of the various memory locations does not impact the practice of the invention , since one skilled in the art and informed by the teachings of this disclosure will readily devise modifications to the invention suitable for a variety of memory configurations . if the query at step 230 is answered negatively , then the routine 200 proceeds to step 250 , where a query is made as to whether an information discontinuity ( e . g ., a scene change in a video input stream ) has been detected . if the query in step 250 is answered affirmatively , then the routine 200 proceeds to step 272 , where a query is made as to whether the last_intra variable is set equal to 1 . if the query at step 272 is answered negatively , then the routine 200 proceeds to step 274 , where the received frame is encoded as an i - frame , and the encoded i - frame is sent to the output buffer . the routine 200 then proceeds to step 210 . if the query at step 272 is answered affirmatively , then the routine 200 proceeds to step 276 , where the contents of the second buffer ( i . e ., buffer_p ) are transferred to the output buffer . the routine 200 then proceeds to step 278 , where the contents of the third buffer ( e . g ., buffer_b ) are transferred to the output buffer , and to step 280 , where the received frame is encoded as an i - frame , and the encoded i - frame is sent to the output buffer . the routine 200 then proceeds to step 282 , where the last_intra variable is set equal to 0 . the routine 200 then proceeds to step 210 . if the query at step 250 is answered negatively , then the routine 200 proceeds to step 255 , where a query is made as to whether the last_intra variable is set equal to 1 . if the query at step 255 is answered negatively , then the routine 200 proceeds to step 260 , where the received frame is encoded as a p - frame , and the encoded p - frame is sent to the output buffer . the routine 200 then proceeds to step 210 . if the query at step 255 is answered affirmatively , then the routine 200 proceeds to step 262 , where the last_intra variable is set equal to 0 . the routine 200 then proceeds to step 264 , where the contents of the first buffer ( i . e ., buffer_i ) are transferred to the output buffer , and to step 268 , where the contents of the third buffer ( i . e ., buffer_b ) are transferred to the output buffer . the routine 200 then proceeds to step 270 , where the received frame is encoded as a p - frame , and the encoded p - frame is sent to the output buffer . the routine 200 then proceeds to step 210 . the above - described flow routine depicts an exemplary embodiment of a method according to the invention . specifically , the above described routine depicts the concurrent encoding of a received anchor frame as both an i - frame and a p - frame . it is important to note that the first , second , third and output buffers are only used to store encoded ( i . e ., compressed ) information frames . thus , the memory requirements of the system are reduced at the cost of increased processing requirements . the inventor has determined that the added processing cost of such a system ( e . g ., the addition of a second encoding module ) may be more than offset by an associated decrease in memory expense . in the above - described embodiment of the invention the second encoding module 102 encodes every anchor frame as an i - frame . it must be noted that the second encoding module 102 may also be controlled to encode as i - frames only those frames that are scheduled , per the gof / gop data structure , to be encoded as p - frames . that is , in another embodiment of the invention the first encoding module 101 encodes input frames as i - frames , p - frames and b - frames in accordance with the gof / gop data structure . contemporaneously , the second encoding module 102 encodes as i - frames only those frames scheduled , per the gof / gop data structure , to be encoded as p - frames . in this alternate embodiment of the invention , the controller 103 in substantially the same manner as previously described , except that during the continuous mode of operation the controller 103 only causes the output stream s 101 of the first encoding module to be coupled to the output buffer 160 . this is because the output stream s 101 of the first encoding module 101 is properly encoded per the gof / gop data structure . in the discontinuous mode of operation , the controller 103 couples the output stream s 102 of the second encoding module 102 to the output buffer 160 when a p - frame within the first encoding module output stream s 101 must be replaced by an i - frame . fig3 depicts an embodiment of an mpeg - like encoding system 300 according to the invention . specifically , fig3 depicts an mpeg - like encoding system 300 comprising an encoding module 101 , a controller 103 and an output buffer 160 . the mpeg - like encoding system 300 receives and encodes an input information stream in comprising a plurality of uncompressed information frames , illustratively a sequence of images forming a video information stream , to produce an encoded output information stream out . the encoding module 101 receives and encodes the input information stream in to produce an encoded information stream s 101 that substantially conforms to a group of frames ( gof ) or group of pictures ( gop ) data structure . the first encoded information stream s 101 is buffered in a sub - gof / gop buffer 135 p and then coupled to the output buffer . the encoded frames stored within the sub - gof / gop buffer 135 p may be modified by the controller 103 , as will be discussed below . the encoding module 101 includes various elements which operate in substantially the same manner as corresponding elements of the first encoding module 101 described above with respect to fig1 . as such , only differences in the operation of the various elements will be described in detail below . specifically , the encoding module 101 comprises an adder 155 , a mode decision module 105 p , a discrete cosine transform ( dct ) module 110 p , a quantizer ( q ) module 115 p , a variable length coding ( vlc ) module 120 p , an inverse quantizer ( q − 1 ) 125 p , an inverse discrete cosine transform ( dct − 1 ) module 130 p , a subtractor 156 , a buffer 135 p , a rate control module 140 p , a motion compensation module 145 p , a motion estimation module 150 p and an anchor frame storage module 170 . the primary difference between the encoding module 101 of fig3 and the first encoding module 101 of fig1 is that the output of the inverse dct module 130 p ( i . e ., the last anchor frame ) is stored in the anchor frame storage module 170 and coupled to the motion estimation module 150 p for estimating motion vectors ( rather than an unencoded i - frame from the second encoding module of fig1 ). additionally , the unencoded version of for each frame that is scheduled , per the gof / gop structure to be an i - frame is also stored in the anchor frame storage module 170 . thus , the anchor frame storage module contains the reconstructed anchor frame preceding the last i - frame and the unencoded version of the last i - frame . in this manner , in the case of the i - frame being re - encoded ( i . e ., a scheduled i - frame encoded as such ) as a p - frame , the reconstructed anchor frame preceding the i - frame is used ( along with the unencoded version of the i - frame ) to predict a p - frame replacement for the encoded i - frame . output buffer 160 operates in substantially the same manner as the output buffer 160 of fig1 . the output buffer 160 produces a rate control signal rc indicative of a buffer utilization level of a far end decoder buffer . the rate control signal rc is coupled to the encoding module 101 , which uses the rate control signal rc to adapt , e . g ., quantization parameters such that the bit rate of the output information stream out may be controlled , thereby avoiding buffer overflow or underflow in a far end decoder buffer . controller 103 produces an encoder control signal c 1 for controlling the encoding module 101 and receives at least one of the input information stream in and a mode decision indication stream md from the encoding module 101 . the controller 103 , of fig3 detects information discontinuities in the manner previously described with respect to fig1 . while the controller 103 of fig3 also operates in one of a continuous mode and a discontinuous mode , and the end results of the two operating modes are the same ( with respect to the gof / gop data structure adaptation ), the operation of the ; controller 103 in these modes is slightly different than the operation of the controller 103 of fig1 . in the continuous mode of operation , the encoding module 101 of fig3 encodes the input information stream in in the above - described manner to produce an encoded information stream s 101 . the encoded information stream is stored in a temporary buffer ( sub - gof / gop buffer 135 p ) prior to being coupled to the output buffer . upon detecting an information discontinuity , the controller 103 enters the discontinuous mode of operation . if it is deemed appropriate to recode the last encoded anchor frame as a p - frame ( i . e ., the presently scheduled p - frame will be encoded as an i - frame ), then the unencoded version of the last encoded anchor frame ( presumably an i - frame ) is retrieved from the anchor storage module 170 and encoded as a p - frame using the reconstructed anchor frame preceding , temporally , the unencoded version of the unencoded i - frame ( also stored in the anchor storage module ). thus , the mpeg - like encoder of fig3 implements an “ on demand ” re - encoding of a previously encoded i - frame as a p - frame . fig4 depicts a flow diagram of an adaptive frame switching routine 400 suitable for use in the mpeg - like encoder depicted in fig3 . specifically , the routine 400 of fig4 may be implemented as a control routine within the controller 103 , or as a logical function between cooperating modules of the mpeg - like encoder 300 of fig3 . the routine 400 provides adaptive fame switching within the context of an encoding system providing demand based encoding of anchor frames as either i - frames or p - frames as necessary . the routine 400 is entered at step 402 , where a variable last_intra is set equal to 0 . the routine 400 then proceeds to step 404 , where a query is made as to whether a received information frame is scheduled ( per the gof / gop data structure ) to be encoded as an i - frame . if the query at step 404 is answered affirmatively , then the routine 400 proceeds to step 406 , where the received frame is encoded as an i - frame , and the encoded i - frame is stored in a first buffer ( i . e ., buffer_i ). the routine 400 then proceeds to step 408 , where the variable last_intra is set equal to 1 . the routine 400 then proceeds to step 410 , where the received frame and a previously reconstructed reference frame ( i . e ., an anchor frame ) are stored in a non - encoded buffer ( e . g ., anchor storage module 170 ). the routine 400 then proceeds to step 404 . if the query at step 404 is answered negatively , then the routine 400 proceeds to step 412 , where a query as to whether the received frame is scheduled to be encoded as a b - frame is made . if the query in step 412 is answered affirmatively , then the routine 400 proceeds to step 414 , where a query is made as to whether the variable last_intra is equal to 1 . if the query at step 414 is answered affirmatively , then the routine 400 proceeds to step 416 , where the received frame is encoded as a b - frame , and the encoded b - frame is stored is a second buffer ( i . e ., buffer_b ). the routine 400 then proceeds to step 404 . if the query in step 414 is answered negatively , then the routine 400 proceeds to step 418 , where the received frame is encoded as a b - frame and the encoded b - frame is sent to the output buffer . the routine 400 then proceeds to step 404 . if the query at step 412 is answered negatively , then the routine 400 proceeds to step 420 , where a query is made as to whether an information discontinuity ( e . g ., a scene change ) has been detected . if the query at step 420 is answered affirmatively , then the routine 400 proceeds to step 422 , where a query is made as to whether the variable last_intra is equal to 1 . if the query in step 422 is answered negatively , then the routine 400 proceeds to step 424 , where the received frame is encoded as an i - frame , and the encoded i - frame is coupled to the output buffer . the routine 400 then proceeds to step 404 . if the query in step 422 is answered affirmatively , then the routine 400 proceeds to step 426 , where the previously saved reference frame is re - encoded as a p - frame , and the encoded p - frame is coupled to the output buffer . the routine 400 then proceeds to step 428 , where the contents of the second buffer ( i . e ., buffer_b ) are coupled to the output buffer . the routine 400 then proceeds to step 430 , where the received frame is encoded as an i - frame , and the encoded i - frame is coupled to the output buffer . the routine 400 then proceeds to step 432 , where the variable last_intra is set equal to 0 , and to step 404 . if the query at step 420 is answered negatively , then the routine proceeds to step 434 , where a query is made as to whether the variable last_intra is equal to 1 . if the query at step 434 is answered negatively , then the routine 400 proceeds to step 436 , where the received frame is encoded as a p - frame , and the encoded p - frame is sent to the output buffer . the routine 400 then proceeds to step 404 . if the query at step 434 is answered affirmatively , then the routine 400 then proceeds to step 438 , where the contents of the first buffer ( buffer_i ) are coupled to the output buffer , and to step 440 , where the contents of the second buffer ( buffer_b ) are coupled to the output buffer . the routine 400 then proceeds 444 , where the received frame is encoded as a p - frame , and the encoded p - frame is coupled to the output buffer . the routine 400 then proceeds to step 446 , where the variable last_intra is set equal to 0 , and on to step 404 . the adaptive frame switching routine 400 of fig4 accomplishes substantially the same function as the adaptive frame switching routine 200 of fig2 except that the routine 400 of fig4 tends to require more memory resources and less processing resources than the routine 200 of fig2 . this is because the routine 400 of fig4 requires the storage of the unencoded ( i . e ., uncompressed ) information frame scheduled to be the first frame of a gof or gop and the reconstructed anchor frame prior to it . fig5 depicts an embodiment of an mpeg - like encoding system 500 according to the invention . specifically , fig5 depicts an mpeg - like encoding system 500 comprising an m - frame delay module 510 , an encoding module 101 , a controller 103 and an output buffer 160 . the mpeg - like encoding system 500 receives and encodes an input information stream in comprising a plurality of uncompressed information frames , illustratively a sequence of images forming a video information stream , to produce an encoded output information stream out . since the mpeg - like encoding system 500 of fig5 is substantially similar to the mpeg - like encoding system 300 previously described with respect to fig3 only the differences between the two systems will be discussed in detail . in the mpeg - like encoding system 500 of fig5 the m - frame delay module 510 , illustratively a “ first in - first out ” ( fifo ) buffer , receives the input information stream in and provides a delayed input information stream in to the encoder 101 . as previously discussed , a gof / gop data structure comprises n frames arranged as a plurality of sub - gof or sub - gop data structures having a maximal size of m frames . thus , the m - frame delay module 510 is capable of holding at least one sub - gof / gop according to the gof / gop data structure . the encoding module 101 receives and encodes the delayed input information stream in to produce an encoded information stream s 101 that substantially conforms to a group of frames ( gof ) or group of pictures ( gop ) data structure . the first encoded information stream s 101 is coupled to the output buffer 160 . the encoding module 101 includes various elements which operate in substantially the same manner as corresponding elements of the first encoding module 101 described above with respect to fig1 and fig3 . as such , only differences in the operation of the various elements will be described in detail below . specifically , the encoding module 101 comprises an adder 155 , a mode decision module 105 p , a discrete cosine transform ( dct ) module 110 p , a quantizer ( q ) module 115 p , a variable length coding ( vlc ) module 120 p , an inverse quantizer ( q − 1 ) 125 p , an inverse discrete cosine transform ( dct − 1 ) module 130 p , a subtractor 156 , a rate control module 140 p , a motion compensation module 145 p , a motion estimation module 150 p and an anchor frame storage module 170 . the primary difference between the encoding module 101 of fig5 and the encoding module 101 of fig3 is that the encoding module 101 of fig5 does not include a buffer 135 ( nor the associated optional rate control signal rc 1 ), as previously depicted in the encoding module 101 of fig3 . additionally , the anchor frame storage module 170 of the encoding module 101 of fig5 does not store the unencoded information frame that is scheduled , per the gof / gop structure to be the first frame of a gof or gop ( i . e ., the i - frame ), as previously depicted in the encoding module 101 of fig3 . finally , the mode decision module 105 p of the encoding module 101 of fig5 does not provide an optional mode decision signal md 1 to the controller , as previously depicted in the encoding module 101 of fig3 . output buffer 160 operates in substantially the same manner as the output buffer 160 of fig3 . the output buffer 160 produces a rate control signal rc indicative of a buffer utilization level of a far end decoder buffer . the rate control signal rc is coupled to the encoding module 101 , which uses the rate control signal rc to adapt , e . g ., quantization parameters such that the bit rate of the output information stream out may be controlled , thereby avoiding buffer overflow or underflow in a far end decoder buffer . controller 103 produces an encoder control signal c 1 for controlling the encoding module 101 . the controller 103 receives at the input information stream in and detects information discontinuities within that information stream . in response to the detection of an information discontinuity within the ( undelayed ) input information stream in , the controller 103 dynamically adapts the gof / gop data structure used by the encoder such that an i - frame is not included within both of two consecutive sub - gof / gop groups of encoded frames . to illustrate the operation of the controller 103 of fig5 consider the case of a the input information stream in providing a sub - gof / gop including an information discontinuity to the m - frame delay module 510 . the controller 103 monitors the input stream and detects the information discontinuity prior to the encoder 101 receiving the delayed input information stream in ′. the controller 103 causes the encoder 101 to encode , as a p - frame , the anchor frame of the sub - gof / gop including the information discontinuity . the controller 103 also causes the encoder 101 to encode , as an i - frame , the first frame following the information discontinuity ( e . g ., the first video frame of a new scene ) or the anchor frame of the next sub - gof / gop . since the controller 103 examines each sub - gof / gop prior to the sub - gof / gop being coupled to the encoder 101 , the controller 103 is able to determine the most appropriate method of coding the examined sub - gof / gop . that is , the controller provides , via control signal c 1 , information about a next sub - gof / gop to be encoded to the rate control module 140 p . thus , the buffer utilization predictions of the rate controller 140 p are enhanced , thereby providing enhanced encoding functionality to the encoder 101 ( e . g ., bit budget safety margins may be reduced , thereby allowing higher quality encoding by allocating more bits to each frame . it should be noted that the effect of an unexpected scene change to a particular sub - gof / gop can be spread across the entire gof or gop to minimize any quality degradation experienced by the particular sub - gof / gop . moreover , since the last sub - gof / gop of a scene is likely to be less important , in terms of preserving visual fidelity , than the first sub - gof / gop of a scene , the bits allocated for the last sub - gof / gop of a current scene can be reduced , thereby allowing for a corresponding increase in bit allocation to the next sub - gof / gop to improve the quality of the i - frame in the new scene . it is important to note that the encoder 101 of fig5 encodes each anchor frame only once , rather than always twice ( per fig1 ) or sometimes twice ( per fig3 ). fig6 depicts a controller 103 suitable for use in the mpeg - like encoder depicted in either fig1 or fig3 . the controller 103 comprises a microprocessor 103 - 4 as well as memory 103 - 8 for storing an a simultaneous encoding , adaptive frame switching routine 200 and / or an “ on demand ” encoding , adaptive frame switching routine 400 . the microprocessor 103 - 4 cooperates with conventional support circuitry 103 - 6 such as power supplies , clock circuits , cache memory and the like as well as circuits that assist in executing the software routines . as such , it is contemplated that some of the process steps discussed herein as software processes may be implemented within hardware , e . g ., as circuitry that cooperates with the microprocessor 103 - 4 to perform various steps . the controller 103 also contains input / output circuitry 103 - 2 that forms an interface between the various encoding modules ( 101 and 102 ) and the selector ( 104 ). although the controller 103 is depicted as a general purpose computer that is programmed to perform adaptive frame switching and associated control functions in accordance with the present invention , the invention can be implemented in hardware as an application specific integrated circuit ( asic ). as such , the process steps described herein ( e . g ., with respect to fig2 and fig4 ) are intended to be broadly interpreted as being equivalently performed by software , hardware , or a combination thereof . the controller 103 of the present invention may be used to execute the control routines described in fig2 and fig4 . however , it must also be noted that the controller 103 may also be used to implement the mpeg - like encoders of fig1 fig3 and fig5 entirely in software . as such , the controller 103 of fig6 is shown receiving the input information stream in and produce the output information stream out . in such a software implementation , the controller 103 performs the functions described above with respect to the mpeg - like encoders of fig1 fig3 and / or fig5 . it should be noted that the buffer 135 p of the encoder 101 of , e . g ., fig3 may store encoded frames in a “ linked list ” manner . that is , each of the stored encoded frames may be associated with a pointer variable that identifies , e . g ., the next encoded frame in a sequence of encoded frames . in this manner , selecting an i - frame instead of p - frame for inclusion in the encoder output stream s 101 comprises “ de - linking ” the de - selected frame and “ linking ” the selected frame . that is , the pointer of the encoded frame preceding the de - linked frame is made to point to the linked frame . similarly , the pointer associated with the linked frame is made to point to the frame following the de - linked frame . the invention advantageously utilizes the bit budget of a gof / gop structure such that the bit budget is not “ wasted ” on intra - coding a last sub - gof / gop in an information stream . moreover , the invention operates to substantially prevent decoder buffer overflow conditions caused by tightly spaced intra - coded information frames ( e . g ., two consecutive i - frames ). moreover , it is noted that informational qualities , such as visual information qualities , of the dual - coded information frame are assumed to be nearly identical for both the i - frame and the p - frame are . thus , in addition to a gof / gop quality enhancement , there is no discernable information degradations imparted to any individual frame within the gof / gops effected by the operation of the invention . the present invention can be embodied in the form of computer - implemented processes and apparatuses for practicing those processes . the present invention also can be embodied in the form of computer program code embodied in tangible media , such as floppy diskettes , cd - roms , hard drives , or any other computer readable storage medium , wherein , when the computer program code is loaded into and executed by a computer , the computer becomes an apparatus for practicing the invention . the present invention can also be embodied in the form of computer program code , for example whether stored in a storage medium , loaded into and / or executed by a computer , or transmitted over some transmission medium , such as over electrical wiring or cabling , through fiber optics , or via electromagnetic radiation , wherein , when the computer program code is loaded into and executed by a computer , the computer becomes an apparatus for practicing the invention . when implemented on a general - purpose microprocessor , the computer program code segments configure the microprocessor to create specific logic circuits . although various embodiments which incorporate the teachings of the present invention have been shown and described in detail herein , those skilled in the art can readily devise many other varied embodiments that still incorporate these teachings .