Hybrid Rate Control in a Digital Stream Transcoder
AssigneeScientific-Atlanta, Inc.
InventorJoel W. Schoenblum
Life of this patent
Estimating the term…
Abstract
A rate controller in run-level domain transcoder, which receives a stream of compressed frames carried in a bit stream, selectively determines whether to quantize and/or threshold portions of a frame carried in the stream of frames. The rate controller determines the input size of the frame and based at least in part upon at least a desired size, requantizes and/or thresholds the frame such that the output size of the frame is approximately the desired size.
Claims20
An apparatus comprising:
- a processor adapted to
- receive a quantized frame;
- determine the number of bits to shave from a given portion of the quantized frame (NSHAVE);
- determine for the given portion an initial content size (SINT), which is defined as the number of bits representing the given portion when initial content information of the given portion of the quantized frame is compressed;
- determine a reduction threshold (RT), wherein the reduction threshold is given as RT=NSHAVE/SINT;
- determine whether to requantize the given portion of the quantized frame based at least in part upon the reduction threshold;
- and
- responsive to determining to requantize the given portion of the quantized frame, requantize in the run-level domain the given portion of the quantized frame.
The apparatus of claim, 1 wherein the processor is further adapted to determine a total content size (CT) of the quantized frame, wherein the total content size (CT) is defined as the number of bits of the initial content information when the initial content information is compressed, and wherein the number of bits to shave (NSHAVE) from the given portion is related to the product of the initial content size (SINT) times the quotient of number of bits to shave (NS) from the quantized frame divided by the total content size (CT) of the quantized frame.
An apparatus comprising:
- a processor adapted to:
- receive a decompressed frame;
- determine the number of bits to shave from the frame (NSHAVE);
- determine an initial content size (SINT) of the frame, which is defined as a number of bits in the frame before the content information of the frame is compressed;
- determine a final content size (SFNL) of the frame, which is defined as the number of bits in the frame when the content information of the frame is compressed;
- determine a reduction error (e) for the frame, wherein the reduction error comprises (e)=SFNL+NSHAVE−SINT;
- and
- accumulate the reduction error with reduction errors from previously processed frames, wherein the accumulated reduction error is used in processing subsequent frames.
A method comprising the steps of:
- receiving in a first bit stream a compressed frame having compressed content information and non-content information therein, the compressed frame having a first bit size (NT1), and the compressed content information having a first bit size (CT1);
- determining an approximate number of bits to shave (NS) from the compressed frame;
- decoding the compressed frame such that the frame is represented by initial content information formatted in sets of run-level pairs, wherein each set of run-level pairs is defined by a set of levels and an associated set of runs;
- associating a scan position with a level in one of the sets of run-level pairs;
- decomposing the sets of run-level pairs into sets of levels and sets of runs;
- generating content information from the sets of levels and sets of runs;
- and
- encoding the frame using the content information.
Dependencies are inferred from the claim text.