Claims
- 1. In a computer system, a computer-implemented method of decoding one or more video frames in a video sequence, the method comprising:
for a plurality of blocks of pixels in a current video frame of the video sequence, selecting between multiple types, the multiple types including a first type and a second type; if the selected type is the first type, decoding the plurality of blocks using inter-frame prediction with motion compensation, including computing one or more predictors for the plurality of blocks relative to a reference video frame; and if the selected type is the second type, decoding the plurality of blocks using intra-frame spatial prediction of pixel values, including for each block in the plurality of blocks:
obtaining one or more pixel values for spatial prediction of pixel values of the block, wherein the one or more obtained pixel values for at least one of the plurality of blocks are from spatially adjacent pixels, predicting the pixel values of the block from the one or more obtained pixel values, and reconstructing the block from the predicted pixel values and a residual.
- 2. The method of claim 1 wherein the current video frame is in YUV format.
- 3. The method of claim 1 wherein the plurality of blocks is for a macroblock.
- 4. The method of claim 1 wherein the spatially adjacent pixels consist of pixels immediately left of the block.
- 5. The method of claim 1 wherein the spatially adjacent pixels consist of pixels immediately above the block.
- 6. The method of claim 1 wherein the spatially adjacent pixels consist of pixels immediately left of the block and pixels immediately above the block.
- 7. The method of claim 1 wherein for each block in the plurality of blocks:
if the block is the top left block of the current video frame, the one or more obtained pixel values consist of a gray value, otherwise, if the block is in the top row of the current video frame, the spatially adjacent pixels consist of pixels immediately left of the block, otherwise, if the block is in the left column of the current video frame, the spatially adjacent pixels consist of pixels immediately above the block, otherwise, the spatially adjacent pixels consist of the pixels immediately left of the block and the pixels immediately above the block.
- 8. The method of claim 1 wherein the predicting includes computing the mean of the one or more obtained pixel values.
- 9. The method of claim 1 wherein the selecting is based upon type information in a bitstream of encoded data for the video sequence.
- 10. One or more computer-readable media storing computer-executable instructions for causing the computer system to perform the method of claim 1.
- 11. One or more computer-readable media storing computer-executable instructions for causing a computer system programmed thereby to perform a method of decoding one or more pictures in a video sequence, the method comprising:
selecting between multiple types for plural blocks of pixels in a picture of the video sequence, the multiple types including a first type and a second type; if the selected type is the first type, decoding the plural blocks as the first type; and if the selected type is the second type, decoding the plural blocks with spatial prediction of pixel values, including, for each block in the plural blocks,
obtaining one or more pixel values, wherein if the block is the top left block of the picture, the one or more obtained pixel values consist of a gray value, otherwise, if the block is in the top row of the picture, the one or more obtained pixel values are from pixels immediately left of the block, otherwise, if the block is in the left column of the picture, the one or more obtained pixel values are from pixels immediately above the block, and otherwise, the one or more obtained pixel values are from the pixels immediately left of the block and the pixels immediately above the block, and predicting pixel values of the block from the one or more obtained pixel values.
- 12. The one or more computer-readable media of claim 11 wherein the picture is in YUV format.
- 13. The one or more computer-readable media of claim 11 wherein the plural blocks form a macroblock.
- 14. The one or more computer-readable media of claim 11 wherein the predicting includes computing the mean of the one or more obtained pixel values.
- 15. The one or more computer-readable media of claim 11 wherein if the selected type is the second type, the decoding the plural blocks further comprises reconstructing the plural blocks from residuals for the plural blocks and the predicted pixel values of the plural blocks.
- 16. The one or more computer-readable media of claim 11 wherein the selecting is based upon type information associated with the plural blocks.
- 17. The one or more computer-readable media of claim 11 wherein the picture is a video frame.
- 18. One or more computer-readable media storing computer-executable instructions for causing a computer system programmed thereby to perform a method of decoding one or more video frames in a video sequence, the method comprising:
receiving encoded data for a current video frame; and decoding the encoded data for the current video frame, including:
decoding a first plurality of blocks of pixels in the current video frame as inter type with motion compensation, including computing one or more predictors for the first plurality of blocks relative to a reference video frame using motion compensation; decoding a second plurality of blocks of pixels in the current video frame as intra type with spatial prediction of pixel values, including for each respective block of the second plurality of blocks:
obtaining one or more pixel values for spatial prediction of pixel values for the respective block, wherein the one or more obtained pixel values for at least one of the second plurality of blocks are from spatially adjacent pixels, and predicting the pixel values of the respective block from the obtained pixel values.
- 19. The one or more computer-readable media of claim 18 wherein the current video frame is in YUV format.
- 20. The one or more computer-readable media of claim 18 wherein the first plurality of blocks and the second plurality of blocks form respective macroblocks.
- 21. The one or more computer-readable media of claim 18 wherein for each respective block of the second plurality of the blocks, if the respective block is the top left block of the current video frame, the one or more obtained pixel values consist of a gray value, otherwise, if the respective block is in the top row of the current video frame, the spatially adjacent pixels consist of pixels immediately left of the respective block, otherwise, if the respective block is in the left column of the current video frame, the spatially adjacent pixels consist of pixels immediately above the respective block, and otherwise, the spatially adjacent pixels include the pixels immediately left of the respective block and the pixels immediately above the respective block.
- 22. The one or more computer-readable media of claim 18 wherein the predicting includes computing the mean of the one or more obtained pixel values.
- 23. The one or more computer-readable media of claim 18 wherein the decoding the second plurality of blocks further comprises reconstructing each respective block from a residual and the predicted pixel values of the respective block.
- 24. The one or more computer-readable media of claim 18 wherein the method further comprises, for the first plurality of the blocks and for the second plurality of the blocks, selecting between inter type and intra type based upon type information in the encoded data.
CROSS-REFERENCE TO RELATED APPLICATIONS
[0001] This application is a continuation-in-part of U.S. patent application Ser. No. 08/623,299, filed Mar. 28, 1996, entitled “TABLE-BASED LOW-LEVEL IMAGE CLASSIFICATION SYSTEM”; and is related to co-pending U.S. patent application Ser. No. 08/625,650, filed Mar. 29, 1996, entitled “TABLE-BASED COMPRESSION WITH EMBEDDING CODING”; Ser. No. 08/714,447, filed Sep. 16, 1996, entitled “MULTIMEDIA COMPRESSION SYSTEM WITH ADDITIVE TEMPORAL LAYERS”; Ser. No. ______ (Docket No. VXT:701) entitled “METHOD AND APPARATUS FOR IMPLEMENTING MOTION DETECTION IN VIDEO COMPRESSION,”; Ser. No. ______ (Docket No. VXT:702) entitled “DIGITAL VIDEO SIGNAL ENCODER AND ENCODING METHOD,”; Ser. No. ______ (Docket No. VXT703) entitled “PRODUCTION OF A VIDEO STREAM WITH SYNCHRONIZED ANNOTATIONS OVER A COMPUTER NETWORK”; Ser. No. ______ (Docket No. VXT:704) entitled “METHODS AND APPARATUS FOR IMPLEMENTING CONTROL FUNCTIONS IN A STREAMED VIDEO DISPLAY SYSTEM”; Ser. No. ______ (Docket No. VXT:705) entitled “METHODS AND APPARATUS FOR AUTOMATICALLY DETECTING PROTOCOLS IN A COMPUTER NETWORK”; Ser. No. ______ (Docket No. VXT:706) entitled “DYNAMIC BANDWIDTH SELECTION FOR EFFICIENT TRANSMISSION OF MULTIMEDIA STREAMS IN A COMPUTER NETWORK”; Ser. No. ______ (Docket No. VXT:710) entitled “STREAMING AND DISPLAYING OF A VIDEO STREAM WITH SYNCHRONIZED ANNOTATIONS OVER A COMPUTER NETWORK”; Ser. No. ______ (Docket No. VXT711) entitled SELECTIVE RETRANSMISSION FOR EFFICIENT AND RELIABLE STREAMING OF MULTIMEDIA PACKETS IN A COMPUTER NETWORK”; Ser. No. ______ (Docket No. VXT:712) entitled METHOD AND APPARATUS FOR TABLE-BASED COMPRESSION WITH EMBEDDED CODING”; Ser. No. ______ (Docket No. VXT:717) entitled “METHOD AND APPARATUS FOR COMMUNICATION MEDIA COMMANDS AND DATA USING THE HTTP PROTOCOL”; Ser. No. ______ (Docket No. VXT:718) entitled “CONDITIONAL REPLENISHMENT MECHANISM FOR DIGITAL VIDEO SIGNAL ENCODING”; provisional U.S. patent application Ser. No. ______ (Docket No. VXT:MP001+) entitled “VCR CONTROL FUNCTIONS”; Ser. No. ______ (Docket No. VXT:MP002+) entitled “METHODS AND APPARATUS FOR AUTODETECTING PROTOCOLS IN A COMPUTER NETWORK; which are all incorporated herein by reference.
Continuations (1)
|
Number |
Date |
Country |
| Parent |
08850957 |
May 1997 |
US |
| Child |
10403780 |
Mar 2003 |
US |
Continuation in Parts (1)
|
Number |
Date |
Country |
| Parent |
08623299 |
Mar 1996 |
US |
| Child |
10403780 |
Mar 2003 |
US |