Apparatus for prediction coding or decoding image signal and method therefor
First Claim
1. An apparatus for predicting a Discrete Cosine Transform (DCT) component of an image signal in an apparatus for prediction coding or decoding an image signal, the apparatus for predicting a DCT component comprising:
- a packet change detection unit which determines whether or not blocks used to determine a prediction direction for a current block for which prediction is currently performed is included in a same packet to which the current block belongs;
a prediction reference value providing unit which provides a prediction reference value used in prediction according to the result of determination by the packet change detection unit; and
a prediction calculation unit which outputs a predictive coded value or a predictive decoded value using the prediction reference value provided by the prediction reference value providing unit and the DCT component of the current block according to an operation mode
3 Assignments
0 Petitions
Accused Products
Abstract
A hardware structure for adaptively prediction coding an image signal using spatial correlation and a method therefor are provided. The prediction coding apparatus has a packet change detection unit which determines whether or not blocks used to determine a prediction direction for a current block for which prediction is currently performed is included in a same packet to which the current block belongs; a prediction reference value providing unit which provides a prediction reference value used in prediction according to the result of determination by the packet change detection unit; and a prediction calculation unit which outputs a predictive coded value or a predictive decoded value using the prediction reference value provided by the prediction reference value providing unit and the DCT component of the current block according to an operation mode. According to the apparatus and method, the size of a prediction apparatus is reduced, and one apparatus is used both in coding and decoding.
-
Citations
35 Claims
-
1. An apparatus for predicting a Discrete Cosine Transform (DCT) component of an image signal in an apparatus for prediction coding or decoding an image signal, the apparatus for predicting a DCT component comprising:
-
a packet change detection unit which determines whether or not blocks used to determine a prediction direction for a current block for which prediction is currently performed is included in a same packet to which the current block belongs;
a prediction reference value providing unit which provides a prediction reference value used in prediction according to the result of determination by the packet change detection unit; and
a prediction calculation unit which outputs a predictive coded value or a predictive decoded value using the prediction reference value provided by the prediction reference value providing unit and the DCT component of the current block according to an operation mode - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A packet change detection apparatus in an apparatus for prediction coding or decoding an image signal, the packet change detection apparatus comprising:
-
a first packet change signal output unit which outputs a first packet change signal indicating whether or not the packet of a macro block to the left of the current macro block is the same as the packet of the current macro block, using a current packet change signal indicating whether or not the packet to which the current macro block belongs changed;
a storage unit which is formed with a plurality of storage areas of which number corresponds to the number of macro blocks forming X axis of a scene, and stores the current packet change signal in a storage area corresponding to a location of the current macro block on the X axis of the scene;
a selection signal generating unit which generates a selection signal indicating the location value on the X axis of the scene of the current macro block;
a first calculation unit which calculates a first output value using the selection signal and values stored in the storage areas;
a second calculation unit which outputs a second packet change signal indicating whether or not the packet of a macro block immediately above the current macro block is the same as the packet to which the current macro block belongs, using the first output value and the current packet change signal; and
a third calculation unit which outputs a third packet change signal indicating whether or not the packet of a macro block immediately above and to the left of the current macro block is the same as the packet to which the current macro block belongs, using the second packet change signal and a value stored in a storage area corresponding to the location on the X axis of the scene of the current macro block among storage areas forming the storage unit. - View Dependent Claims (13, 14, 15)
-
-
16. A prediction reference value providing apparatus which provides a prediction reference value for predictive coding or decoding an image signal to a calculation apparatus which performs prediction, the prediction reference value providing apparatus comprising
a horizontal direction memory unit which has storage areas capable of storing horizontal DCT components of a color difference signal block of a slice forming a scene and horizontal DCT components of any one brightness signal block of an upper brightness signal block and a lower brightness signal block of a slice; -
a vertical direction memory unit which has storage areas capable of storing vertical DCT components of any one column of vertical DCT components forming a slice;
an upper-left direction memory unit which has storage areas capable of storing the Direct Current (DC) component of a block immediately above and to the left of the current block for which prediction is currently performed; and
a memory control unit which stores the DC component of a block immediately above the current block in the upper-left memory unit, stores the horizontal DCT component of the current block in the horizontal direction memory unit, and stores the vertical DCT component of the current block in the vertical direction memory unit. - View Dependent Claims (17, 18, 19, 20, 21, 22, 23)
-
-
24. A method for predicting an image signal in a method for predictive coding or predictive decoding an image signal using a prediction memory which comprises a horizontal direction memory unit which has storage areas capable of storing horizontal DCT components of a slice forming a scene, a vertical direction memory unit which has storage areas capable of storing a vertical DCT component, and an upper-left memory unit storage areas capable of storing a DC component of a block immediately above and to the left of a current block for which prediction is performed, the method for prediction an image signal comprises:
-
(a) determining whether or not the packet to which the current macro block belongs is different from the packet of a macro block to the left of the current macro block, the macro block immediately above and to the left of the current block, or a macro block immediately above the current macro block, using a current packet change signal indicating whether or not the packet to which the current macro block belongs changed;
(b) if the packet to which the current macro block belongs is the same as the packet of the macro block to the left of the current macro block, the macro block immediately above and to the left of the current block, or the macro block immediately above the current macro block, determining the direction of prediction, using the DC component of the block to the left of the current block stored in the vertical direction memory unit, the DC component of the block immediately above the current block stored in the horizontal direction memory unit, and the DC component of the block immediately above and to the left of the current block;
(c) if the prediction direction is a first direction, outputting a reference prediction value by using a value stored in the vertical direction memory unit and if the prediction direction is a second direction, outputting a reference prediction value by using a value stored in the horizontal direction memory unit;
(d) if the packet to which the current macro block belongs is different from the packet of the macro block to the left of the current macro block, the macro block immediately above and to the left of the current block, or the macro block immediately above the current macro block, outputting a predetermined reference value;
(e) performing prediction calculation by using the reference prediction value of step (c) or the predetermined reference value of step (c) with the DCT component of the current block; and
(f) storing the DCT component of the current block in the prediction memory. - View Dependent Claims (25, 26)
-
-
27. A method for determining a prediction reference value which is provided by using a current packet change signal, wherein a storage unit which is formed with a plurality of storage areas of which number corresponds to the number of macro blocks forming X axis of a scene, and stores the current packet change signal in a storage area corresponding to a location of the current block on the X axis of the scene is included and a prediction reference value is provided by determining whether or not the packet to which the current macro block belongs is the same as the packet of a macro block to the left of the current macro block, a macro block immediately above and to the left of the current macro block, or a macro block immediately above the current macro block, the method for determining a prediction reference value comprising:
-
(a) generating a selection signal indicating the location value on the X axis of the scene of the current macro block;
(b) outputting a first output value using the selection signal and a value stored in the storage unit, (c) outputting a first packet change signal indicating whether or not the packet of the macro block to the left of the current macro block is the same as the packet of the current macro block, using the current packet change signal indicating whether or not the packet to which the current macro block belongs changed;
(d) outputting a second packet change signal indicating whether or not the packet of the macro block immediately above the current macro block is the same as the packet to which the current macro block belongs, using the first output value and the packet change signal;
(e) outputting a third packet change signal indicating whether or not the packet of the macro block immediately above and to the left of the current macro block is the same as the packet to which the current macro block belongs, using the second packet change signal and a value stored in a storage area corresponding to the location on the X axis of the scene of the current macro block among storage areas forming the storage unit;
(f) if any one of the first through the third packet change signal indicates that the packet to which the current macro block belongs is different from the packet of a macro block which is compared with the current macro block, outputting a predetermined reference value as the prediction reference value; and
(g) if any one of the first through the third packet change signal indicates that the packet to which the current macro block belongs is the same as the packet of a macro block which is compared with the current macro block, reading the prediction reference value from a predetermined prediction memory and outputting the prediction reference value. - View Dependent Claims (28, 29)
-
-
30. A method for controlling a prediction memory in a method for predictive coding or prediction decoding an image signal using a prediction memory which comprises a horizontal direction memory unit which has storage areas capable of storing horizontal DCT components of a slice forming a scene, a vertical direction memory unit which has storage areas capable of storing vertical DCT components, and an upper-left memory unit storage areas capable of storing a DC component of a block immediately above and to the left of a current block for which prediction is performed, the method for controlling a prediction memory comprises:
(a) storing the DC component of a block immediately above the current block in the upper-left memory unit, storing the horizontal DCT component of the current block in the horizontal direction memory unit, and storing the vertical DCT component of the current block in the vertical direction memory unit. - View Dependent Claims (31, 32)
-
33. A computer readable medium having embodied thereon a computer program for implementing a method for predicting an image signal in a method for predictive coding or predictive decoding an image signal using a prediction memory which comprises a horizontal direction memory unit which has storage areas capable of storing horizontal DCT components of a slice forming a scene, a vertical direction memory unit which has storage areas capable of storing vertical DCT components, and an upper-left memory unit storage areas capable of storing a DC component of a upper left-hand block of a current block for which prediction is performed, the method for prediction an image signal comprises:
-
(a) determining whether or not the packet to which the current macro block belongs is different from the packet of a left-hand macro block of the current macro block, the upper left-hand macro block of the current macro block, or an upper macro block of the current macro block, using a current packet change signal indicating whether or not the packet to which the current macro block belongs changed;
(b) if the packet to which the current macro block belongs is the same as the packet of the left-hand macro block of the current macro block, the upper left-hand macro block of the current macro block, or the upper macro block of the current macro block, determining the direction of prediction, using the DC component of the left-hand block of the current block stored in the vertical direction memory unit, the DC component of the upper block of the current block stored in the horizontal direction memory unit, and the DC component of the upper left-hand block of the current block;
(c) if the prediction direction is a first direction, outputting a reference prediction value by using a value stored in the vertical direction memory unit and if the prediction direction is a second direction, outputting a reference prediction value by using a value stored in the horizontal direction memory unit;
(d) if the packet to which the current macro block belongs is different from the packet of the left-hand macro block of the current macro block, the upper left-hand macro block of the current macro block, or the upper macro block of the current macro block, outputting a predetermined reference value, (e) performing prediction calculation by using the reference prediction value of step (c) or the predetermined reference value of step (c) with the DCT component of the current block; and
(f) storing the DCT component of the current block in the prediction memory.
-
-
34. A computer readable medium having embodied thereon a computer program for implementing a method for determining a prediction reference value which is provided by using a current packet change signal, wherein a storage unit which is formed with a plurality of storage areas of which number corresponds to the number of macro blocks forming X axis of a scene, and stores the current packet change signal in a storage area corresponding to a location of the current block on the X axis of the scene is included and the prediction reference value is provided by determining whether or not the packet to which the current macro block belongs is the same as a packet of the left-hand macro block of the current macro block, an upper left-hand macro block of the current macro block, or an upper macro block of the current macro block, the method for determining a prediction reference value comprising:
-
(a) generating a selection signal indicating the location value on the X axis of the scene of the current macro block;
(b) outputting a first output value using the selection signal and a value stored in the storage unit;
(c) outputting a first packet change signal indicating whether or not the packet of the left-hand macro block of the current macro block is the same as the packet of the current macro block, using the current packet change signal indicating whether or not the packet to which the current macro block belongs changed;
(d) outputting a second packet change signal indicating whether or not the packet of the upper macro block of the current macro block is the same as the packet to which the current macro block belongs, using the first output value and the current packet change signal (e) outputting a third packet change signal indicating whether or not the packet of the upper left-hand macro block of the current macro block is the same as the packet to which the current macro block belongs, using the second packet change signal and a value stored in a storage area corresponding to the location on the X axis of the scene of the current macro block among storage areas forming the storage unit. (f) if any one of the first through the third packet change signal indicates that the packet to which the current macro block belongs is different from the packet of a macro block which is compared with the current macro block, outputting a predetermined reference value as a prediction reference value; and
(g) if any one of the first through the third packet change signal indicates that the packet to which the current macro block belongs is the same as the packet of a macro block which is compared with the current macro block, reading the prediction reference value from a predetermined prediction memory and outputting the prediction reference value.
-
-
35. A computer readable medium having embodied thereon a computer program for implementing a method for controlling a prediction memory in a method for predictive coding or predictive decoding an image signal using a prediction memory which comprises a horizontal direction memory unit which has storage areas capable of storing horizontal DCT components of a slice forming a scene, a vertical direction memory unit which has storage areas capable of storing vertical DCT components, and an upper-left memory unit storage areas capable of storing a DC component of a block immediately above and to the left of a current block for which prediction is performed, the method for controlling a prediction memory comprises.
(a) storing the DC component of a block immediately above the current block in the upper-left memory unit, storing the horizontal DCT component of the current block in the horizontal direction memory unit, and storing the vertical DCT component of the current block in the vertical direction memory unit.
Specification