Claims
- 1. An apparatus for generating format and control data for at least one converted macroblock which represents a plurality of original macroblocks, where the original macroblocks include both intra coded and non-intra coded macroblocks, the apparatus comprising:
- determining means for analyzing the intra coded and non-intra coded original macroblocks to determine whether (1) a majority of the original macroblocks are non-intra coded or (2) the majority of the original macroblocks are intra coded;
- first designating means for designating the converted macroblock non-intra coded if the majority of the original macroblocks are determined to be non-intra coded; and
- second designating means for designating the converted macroblock intra coded if the majority of the original macroblocks are determined to be intra coded.
- 2. The apparatus according to claim 1, wherein each the non-intra coded original macroblocks has a prediction type of P-coded or B-coded, and wherein the apparatus further comprises:
- third designating means for designating the prediction type of the converted non-intra coded macroblock (1) P-coded if a majority of the non-intra coded original macroblocks are determined to be P-coded or (2) B-coded if the majority of the non-intra coded original macroblocks are determined to be B-coded.
- 3. The apparatus according to claim 2, wherein each of the original macroblocks has a motion type of field format or frame format and wherein the apparatus further comprises:
- means for selecting a first macroblock group as (1) the original macroblocks which are P-coded if the converted macroblock is designated P-coded or (2) the original macroblocks which are B-coded if the converted macroblock is designated B-coded; and
- fourth designating means for designating the motion type of the converted macroblock as (1) field format if a majority of the selected macroblocks are in field format or (2) frame format if a majority of the selected macroblocks are in frame format.
- 4. An apparatus for generating format and control data for at least one converted macroblock which represents a plurality of original macroblocks, where the original macroblocks include both intra coded and non-intra coded macroblocks, each the non-intra coded original macroblocks has a prediction type of P-coded or B-coded and has a motion type of field format or frame format, the apparatus comprising:
- determining means for analyzing the intra coded and non-intra coded original macroblocks to determine whether (1) a majority of the original macroblocks are non-intra coded or (2) the majority of the original macroblocks are intra coded;
- first designating means for designating the converted macroblock non-intra coded if the majority of the original macroblocks are determined to be non-intra coded; and
- second designating means for designating the converted macroblock intra coded if the majority of the original macroblocks are determined to be intra coded;
- third designating means for designating the prediction type of the converted non-intra coded macroblock (1) P-coded if a majority of the non-intra coded original macroblocks are determined to be P-coded or (2) B-coded if the majority of the non-intra coded original macroblocks are determined to be B-coded;
- means for selecting a first macroblock group as (1) the original macroblocks which are P-coded if the converted macroblock is designated P-coded or (2) the original macroblocks which are B-coded if the converted macroblock is designated B-coded;
- fourth designating means for designating the motion type of the converted macroblock as (1) field format if a majority of the selected macroblocks are infield format or (2) frame format if a majority of the selected macroblocks are in frame format;
- means for selecting a second macroblock group as (1) the original macroblocks in the first macroblock group which are in field format if the converted macroblock is designated field format or (2) the original macroblocks in the first macroblock group which are in frame format of the converted macroblock is designated frame format;
- means for selecting a motion vector from the second macroblock group as the converted motion vector; and
- means for scaling the converted motion vector.
- 5. The apparatus according to claim 4, further comprising:
- means for determining whether a majority of the motion vectors of the second macroblock group are the same; and
- means for selecting one of the majority of motion vectors which are the same as the converted motion vector.
- 6. An apparatus for generating format and control data for at least one converted macroblock which represents a plurality of original macroblocks, wherein each of the original macroblocks contains coefficient values and the original macroblocks include both intra coded and non-intra coded macroblocks which represent an image, the apparatus comprising:
- first determining means for analyzing the intra coded and non-intra coded original macroblocks to determine whether (1) a majority of the original macroblocks are non-intra coded or (2) the majority of the original macroblocks are intra coded;
- first designated means for designating the converted macroblock non-intra coded if the majority of the original macroblocks are determined to be non-intra coded;
- second designating means for designating the converted macroblock intra coded if the majority of the original macroblocks are determined to be intra coded; and
- converter means for directly converting the resolution of the image by mapping the coefficient values of the non-intra coded original macroblocks to a second plurality of coefficient values in the converted macroblock in the spatial frequency domain.
- 7. The apparatus according to claim 1, wherein each of the original macroblocks contains coefficient values and the original macroblocks represent an image, the apparatus further comprises:
- converter means for directly converting the resolution of the image by mapping the coefficient values of the intra coded original macroblocks to a second plurality of coefficient values in the converted macroblock in the spatial frequency domain.
- 8. An apparatus for generating format and control data for at least one converted macroblock which represents a plurality of original macroblocks, where the original macroblocks include both intra coded and non-intra coded macroblocks and each of the original non-intra coded macroblocks has a motion type of field format or frame format and a prediction type of P-coded or B-coded, the apparatus comprising:
- determining means for analyzing the intra coded and non-intra coded original macroblocks to determine whether (1) a majority of the original macroblocks are non-intra coded or (2) the majority of the original macroblocks are intra coded;
- first designating means for designating the converted macroblock (1) non-intra coded if the majority of the original macroblocks are non-intra coded or (2) intra coded if the majority of the original macroblocks are intra coded;
- second designating means for designating the prediction type of the converted non-intra coded macroblock (1) P-coded if a majority of the non-intra coded original macroblocks are P-coded or (2) B-coded if the majority of the non-intra coded original macroblocks are B-coded;
- means for selecting a first macroblock group as (1) the original macroblocks which are P-coded if the converted is designated are P-coded or (2) the original macroblocks which are B-coded if the original macroblocks which are B-coded if the converted macroblock is designated B-coded; and
- third designating means for designating the motion type of the converted macroblock as (1) field format if a majority of the selected macroblocks are in field format or (2) frame format if a majority of the selected macroblocks are in frame format.
- 9. The apparatus according to claim 8, wherein each of the original macroblocks has a motion vector and the converted macroblock has a converted motion vector, the apparatus further comprising:
- means for selecting a second macroblock group as (1) the original macroblocks in the first macroblock group which are in field format if the converted macroblock is designated field format or (2) the original macroblocks in the first macroblock group which are in frame format if the converted macroblock is designated frame format;
- means for selecting a motion vector from the second macroblock group as the converted motion vector; and
- means for scaling the converted motion vector.
- 10. The apparatus according to claim 8, further comprising:
- means for determining whether a majority of the motion vectors of the second macroblock group are the same; and
- means for selecting one of the majority of motion vectors which are the same as the converted motion vector.
- 11. The apparatus according to claim 8, wherein the P-coded macroblocks are forward prediction or backward prediction coded and the second signaling means comprises:
- means for designating the prediction type of the converted macroblock as B-coded if there is not a majority of the non-intra coded original macroblocks which are P-coded or B-coded and at least one of the non-intra coded original macroblocks is B-coded;
- means for designating the prediction type of the converted macroblock as P-coded, forward prediction, if (1) there is not a majority of the non-intra coded original macroblocks which are P-coded or B-coded, (2) none of the original macroblocks are B-coded, and (3) at least one of the non-intra coded original macroblocks are P-coded, forward prediction; and
- means for designating the prediction type of the converted macroblock as P-coded, backward prediction, if (1) there is not a majority of the non-intra coded original macroblocks which are P-coded or B-coded, (2) none of non-intra coded original macroblocks are B-coded, (3) none of the non-intra coded original macroblocks are P-coded, forward prediction, and (4) at least one of the non-intra coded original macroblocks are P-coded, backward prediction.
- 12. The apparatus according to claim 8, wherein the third designating means comprises means for designating the motion type of the converted macroblock as frame format if there is not a majority of the original macroblocks in the first macroblock group which are in frame format or field format.
- 13. The apparatus according to claim 8, wherein each of the original macroblocks contains coefficient values and the apparatus further comprises means for generating intermediate macroblocks by setting the coefficient values to zero for the original macroblocks which (1) are intra coded or (2) do not have the same motion type or prediction type as the converted macroblock.
- 14. The apparatus according to claim 12, wherein the original macroblocks represent an image, and the apparatus further comprises:
- converter means for directly converting the resolution of the image by mapping the coefficient values of (1) the non-intra coded original macroblocks which have the same motion type and prediction type as the converted macroblock and (2) the intermediate macroblocks, to a second plurality of coefficient values in the converted macroblock in the spatial frequency domain.
- 15. The apparatus according to claim 8, wherein each of the original macroblocks contains coefficient values and the apparatus further comprises:
- means for averaging the coefficient values of each of the intra coded original macroblocks to generate a respective average value for each one of the coefficient values for each one of non-intra coded original macroblocks when the converted macroblock is designated intra coded; and
- means for replacing the coefficient values of each of the non-intra coded original macroblocks with the respective average value to produce intermediate macroblocks.
- 16. The apparatus according to claim 15, wherein the original macroblocks represent an image, and the apparatus further comprises:
- converter means for directly converting the resolution of the image by mapping the coefficient values of the intra coded original macroblocks and the intermediate macroblocks, to a second plurality of coefficient values in the converted macroblock in the spatial frequency domain.
- 17. An apparatus for generating format and control data for at least one converted macroblock from original macroblocks, where each of the original macroblocks is intra or non-intra coded and each of the original macroblocks contains coefficient values, the apparatus comprising:
- means or designating the converted macroblock (1) non-intra coded if a majority of original macroblocks are non-intra coded or (2) intra coded if the majority of the original macroblocks are intra coded;
- means for averaging the coefficient values of each of the intra coded original macroblocks to generate an average value for each one of the coefficients of the non-intra coded original macroblocks when the converted macroblock is designated intra coded; and
- means for replacing each coefficient value of each one of the non-intra coded original macroblocks with the average value to produce intermediate macroblocks.
- 18. The apparatus according to claim 17, wherein the original macroblocks represent an image, and the apparatus further comprises converter means for directly converting the resolution of the image by mapping the coefficient values of (1) the intra coded original macroblocks and (2) the intermediate macroblocks, to a second plurality of coefficient values in the converted macroblock in the spatial frequency domain.
- 19. An apparatus for changing the resolution of an MPEG encoded image, the decoder comprising:
- variable length decoding means for receiving and decoding an input signal containing DCT values arranged in original macroblocks, the DCT values defining a first resolution of the image;
- inverse dequantisation means for dequantising the DCT values;
- first designating means for designating a converted macroblock (1) non-intra coded if a majority of original macroblocks are non-intra coded or (2) intra coded if the majority of the original macroblocks are intra coded;
- second designating means for designating the prediction type of the converted macroblock (1) P-coded if a majority of the non-intra coded original macroblocks are P-coded or (2) B-coded if the majority of the non-intra coded original macroblocks are B-coded;
- means for selecting a first macroblock group as (1) the original macroblocks which are P-coded if the converted macroblock is designated P-coded or (2) the original macroblocks which are B-coded if the converted macroblock is designated B-coded;
- third designating means for designating the motion type of the converted macroblock as (1) field format if a majority of the selected macroblocks are in field format or (2) frame format if a majority of the selected macroblocks are in frame format;
- means for generating intermediate macroblocks by setting the coefficient values to zero for the original macroblocks which (1) are intra coded or (2) have a different motion type or a different prediction type than the converted macroblock, when the converted macroblock is designated non-intra coded;
- means for directly converting, when the converted macroblock is designated non-intra coded, the resolution of the image by mapping the DCT values of (1) the non-intra coded original macroblocks which have the same motion type and prediction type as the converted macroblock and (2) the intermediate macroblocks, to a second plurality of coefficient values in the converted macroblock in the spatial frequency domain;
- means for averaging the DCT values of each of the intra coded original macroblocks to generate a respective average value for each one of the DCT values of each of the non-intra coded original macroblocks when the converted macroblock is designated intra coded;
- means for replacing the coefficient values of each one of the non-intra coded original macroblocks with the respective average value to produce the intermediate macroblocks when the converted macroblock is designated intra coded; and
- means for directly converting, when the converted macroblock is designated intra coded, the resolution of the image by mapping the DCT values of (1) the intra coded original macroblocks and (2) the intermediate macroblocks, to a second plurality of coefficient values in the converted macroblock in the spatial frequency domain.
- 20. A method for generating format and control data for at least one converted macroblock which represents a plurality of original macroblocks, where the original macroblocks include both intra coded and non-intra coded macroblocks and each of the non-intra coded original macroblocks has a motion type of field format or frame format and a prediction type of P-coded or B-coded, the method comprising the steps of:
- analyzing the intra coded and non-intra coded original macroblocks to determine whether (1) a majority of the original macroblocks are non-intra coded or (2) the majority of the original macroblocks are intra coded;
- designating the converted macroblock (1) non intra coded if the majority of original macroblocks are non intra coded or (2) intra coded if the majority of the original macroblocks are intra coded;
- designating the prediction type of the converted macroblock (1) P-coded if a majority of the non-intra coded original macroblocks are P-coded or (2) B-coded if the majority of the non-intra coded original macroblocks are B-coded;
- selecting a first macroblock group as (1) the original macroblocks which are P-coded if the converted macroblock is designated P-coded if the converted macroblock is designated P-coded or (2) the original macroblocks which are B-coded if the converted macroblock is designated B-coded; and
- designating the motion type of the converted macroblock as (1) field format if a majority of the selected macroblocks are in field format or (2) frame format if a majority of the selected macroblocks are in frame format.
- 21. The method according to claim 20, wherein each of the original macroblocks has a motion vector and the converted macroblock has a converted motion vector, the method further comprising the steps of:
- selecting a second macroblock group as (1) the first macroblock group which is in field format if the converted macroblock is designated field format or (2) the first macroblock group which is in frame format if the converted macroblock is designated frame format; and
- selecting a motion vector from the second macroblock group as the converted motion vector.
- 22. A method for generating format and control data for at least one converted macroblock from original macroblocks, where each of the original macroblocks is intra or non-intra coded and each of the original macroblocks contains coefficient values, the method comprising the steps of:
- designating the converted macroblock (1) non-intra coded if a majority of original macroblocks are non-intra coded or (2) intra coded if the majority of the original macroblocks are intra coded;
- averaging the coefficient values of each of the intra coded original macroblocks to generate a respective average value for each of the coefficient values of each one of the non-intra coded original macroblocks when the converted macroblock is designated intra coded; and
- replacing the coefficient values of each one of the non-intra coded original macroblocks with the respective average value to produce intermediate macroblocks.
Parent Case Info
This application is a continuation in part of U.S. application 08/593,672 filed Jan. 29, 1996, now U.S. Pat. No. 5,737,019 and entitled METHOD AND APPARATUS FOR CHANGING RESOLUTION BY DCT MAPPING
US Referenced Citations (1)
Number |
Name |
Date |
Kind |
5270813 |
Puri et al. |
Dec 1993 |
|
Non-Patent Literature Citations (2)
Entry |
Jill Boyce, John Henderson and Larry Pearlstein, "SDTV Receivers with HDTV Decoding Capability," ACATS Technical Subgroup Meeting, May 18, 1995, Washington, D.C., (18 pp). |
H. Blair Benson, revised by Jerry Whitaker, "Television Engineering Handbook", Copyright 1992, 1986, by McGraw Hill, Inc., (pp. 18.2-18.7). |
Continuation in Parts (1)
|
Number |
Date |
Country |
Parent |
593672 |
Jan 1996 |
|