Digital video signal encoder and encoding method
First Claim
1. A method for encoding a motion video signal, the method comprising:
- measuring a first difference between first and second frames of the motion video signal;
measuring a second difference between the second frame and a third frame of the motion video signal;
filtering the first and second differences to form a filtered difference;
adjusting an encoding parameter in accordance with the second difference and the filtered difference; and
encoding the third frame according to the encoding parameter as adjusted.
1 Assignment
0 Petitions
Accused Products
Abstract
A motion video signal encoder maximizes image quality without exceeding transmission bandwidth available to carry the encoded motion video signal by comparing encoded frames of the motion video signal to a desired size of frame. If the size of encoded frames differ from the desired size, encoding is adjusted to produce encoded frames closer in size to the desired size. In addition, a cumulative bandwidth error records an accumulated amount of available bandwidth. The cumulative bandwidth error is adjusted as time elapses to add to the available bandwidth and as each frame is encoded to thereby consume bandwidth. As the cumulative bandwidth error grows in magnitude above or below zero, encoding is adjusted as needed to either improve image quality to more completely consume available bandwidth or to reduce image quality to thereby consume less bandwidth and to thereby cause the cumulative bandwidth error to move toward zero. Rapid changes in the amount of change or motion in the motion video signal are detected by comparing the amount of change between two consecutive frames and filtering the amount of change with previously measured amounts of change. Encoding is pre-compensated according to the filtered measurement of rapid change.
62 Citations
18 Claims
-
1. A method for encoding a motion video signal, the method comprising:
-
measuring a first difference between first and second frames of the motion video signal;
measuring a second difference between the second frame and a third frame of the motion video signal;
filtering the first and second differences to form a filtered difference;
adjusting an encoding parameter in accordance with the second difference and the filtered difference; and
encoding the third frame according to the encoding parameter as adjusted. - View Dependent Claims (2)
-
-
3. A computer readable medium useful in association with a computer which includes a processor and a memory, the computer readable medium including computer instructions which are configured to cause the computer to encode a motion video signal by performing the steps of:
-
measuring a first difference between first and second frames of the motion video signal;
measuring a second difference between the second frame and a third frame of the motion video signal;
filtering the first and second differences to form a filtered difference;
adjusting an encoding parameter in accordance with the second difference and the filtered difference; and
encoding the third frame according to the encoding parameter as adjusted. - View Dependent Claims (4)
-
-
5. A computer system comprising:
-
a processor;
a memory operatively coupled to the processor; and
a motion video signal encoder which executes in the processor from the memory and which, when executed by the processor, causes the computer to encode a motion video signal by performing the steps of;
measuring a first difference between first and second frames of the motion video signal;
measuring a second difference between the second frame and a third frame of the motion video signal;
filtering the first and second differences to form a filtered difference;
adjusting an encoding parameter in accordance with the second difference and the filtered difference; and
encoding the third frame according to the encoding parameter as adjusted. - View Dependent Claims (6)
-
-
7. A method for encoding a motion video signal, the method comprising:
-
measuring a first difference between first and second frames of the motion video signal;
measuring a second difference between the second frame and a third frame of the motion video signal;
determining a third difference between the first and second differences;
comparing the third difference to a predetermined threshold;
adjusting a quantization parameter if the third difference is greater than the predetermined threshold; and
encoding the third frame according to the quantization parameter as adjusted. - View Dependent Claims (8, 9, 10)
further wherein adjusting the quantization parameter comprises increasing the quantization parameter.
-
-
10. The method of claim 7 wherein comparing the third difference comprises determining that the second difference is less than the first difference;
- and
further wherein adjusting the quantization parameter comprises decreasing the quantization parameter.
- and
-
11. A computer readable medium useful in association with a computer which includes a processor and a memory, the computer readable medium including computer instructions which are configured to cause the computer to perform a method comprising:
-
measuring a first difference between first and second frames of the motion video signal;
measuring a second difference between the second frame and a third frame of the motion video signal;
determining a third difference between the first and second differences;
comparing the third difference to a predetermined threshold;
adjusting a quantization parameter if the third difference is greater than the predetermined threshold; and
encoding the third frame according to the quantization parameter as adjusted. - View Dependent Claims (12, 13, 14)
further wherein adjusting comprises increasing the quantization parameter.
-
-
14. The computer readable medium of claim 11 wherein comparing comprises determining that the second difference is less than the first difference;
- and
further wherein adjusting comprises decreasing the quantization parameter.
- and
-
15. A computer system comprising:
-
a processor, a memory operatively coupled to the processor; and
a motion video signal encoder which executes in the processor from the memory and which, when executed by the processor, performs the tasks of;
measuring a first difference between first and second frames of the motion video signal;
measuring a second difference between the second frame and a third frame of the motion video signal;
determining a third difference between the first and second differences;
comparing the third difference to a predetermined threshold;
adjusting a quantization parameter if the third difference is greater than the predetermined threshold; and
encoding the third frame according to the quantization parameter as adjusted. - View Dependent Claims (16, 17, 18)
further wherein the task of adjusting comprises increasing the quantization parameter.
-
-
18. The computer system of claim 15 wherein the task of comparing comprises determining that the second difference is less than the first difference;
- and
further wherein the task of adjusting comprises decreasing the quantization parameter.
- and
Specification