AU707033B2 - Picture signal transmitting method and apparatus - Google Patents
Picture signal transmitting method and apparatus Download PDFInfo
- Publication number
- AU707033B2 AU707033B2 AU52992/98A AU5299298A AU707033B2 AU 707033 B2 AU707033 B2 AU 707033B2 AU 52992/98 A AU52992/98 A AU 52992/98A AU 5299298 A AU5299298 A AU 5299298A AU 707033 B2 AU707033 B2 AU 707033B2
- Authority
- AU
- Australia
- Prior art keywords
- picture
- signal
- circuit
- encoded
- coding
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired
Links
Landscapes
- Compression Or Coding Systems Of Tv Signals (AREA)
Description
PATENT
450100-2952 1 PICTURE SIGNAL TRANSMITTING METHOD AND APPARATUS 2 BACKGROUND OF THE INVENTION 3 The present invention relates to coding and decoding of 4 a picture signal for transmission, and, more particularly, is directed to matching the type of predictive coding applied to 6 pictures of the picture signal.
7 In, for example, a teleconferencing system or a video telephone system, moving picture signals are compressed and 9 encoded by taking advantage of intra-frame and inter-frame correlation so that they can be more efficiently transmitted over 11 a communication channel to a remote location.
12 Intra-frame correlation can be utilized by an 13 orthogonal transformation, such as a discrete cosine 14 transformation
(DCT).
l.i Inter-frame correlation can be utilized by predictive 16.. encoding between successive pictures. As used herein, a picture lP'.
i generally refers to an image represented by a frame. When the fields of a frame are coded in a non-interlaced manner, that is, 19., separately, each field may be referred to as a pi ture.
As shown in Fig. 1A, for example, frame pictures PC1, 21. PC2 and PC3 are generated at time points tl, t2 and t3. As shown by shading in Fig. lB, the difference between the frame pictures 3 .PC1 and PC2 is obtained as difference picture data PC12, and the difference between the frame pictures PC2 and PC3 is obtained as 22:2952REV1.APP 1
PATENT
450100-2952 1 difference picture data PC23. Since there is a fairly small 2 change between signals of temporally neighboring frames, 3 transmission of only the difference picture data utilizes the 4 transmission channel more efficiently than transmission of the original pictures. That is, using the difference picture data as 6 encoded picture signals reduces the amount of data to be 7 transmitted.
8 However, if only the difference signals are 9 transmitted, the original picture cannot be restored. It is advantageous to occasionally transmit a picture which is not 11 predictively encoded as a reference for difference picture data, 12 and because it is sometimes more efficient than transmitting the 13 picture as a predictively encoded picture.
14 Pictures which are encoded utilizing only intra-frame correlation and not inter-frame correlation, are referred to herein as intra-pictures or I-pictures.
Pictures which are encoded with predictive encoding 1i8 relative to one previously encoded picture are referred to herein as predictive pictures or P-pictures. The previously encoded picture may be an I-picture or a P-picture, and temporally 2 succeeds the P-picture.
22 Pictures which are encoded with predictive encoding 23 relative to at most two pictures, a temporally preceding and a 24 temporally succeeding picture, are referred to herein as bidirectionally predictive coded pictures or B-pictures. The two 6
P
2 2:2952REV1.APP
PATENT
450100-2952 1 pictures may each be an I-picture or a P-picture. When both are 2 used, the mean value of the two pictures is obtained and used as 3 a reference picture for the picture to be encoded.
4 A series of pictures may be considered as groups of pictures having a predetermined number of frames such as F1 6 F17. The luminance and chrominance picture signals of the 7 leading frame Fl are encoded as an I-picture, the picture signals 8 of the second frame F2 are encoded as a B-picture, and the 9 picture signals of the third frame F3 are encoded as a P-picture.
The fourth and the following frames F4 to F17 are encoded 11 alternately as B-pictures and P-pictures. Fig. 2A shows the 12 reference pictures used for encoding P-pictures, while Fig. 2B 13 shows the reference pictures used for encoding B-pictures.
14 As shown in Figs. 3A and 3B, there are four methods for encoding the macro-blocks (discussed below) of a picture. When 1 multiple methods are suitable, the method which will give the 17 smallest amount of encoded data is employed on a macro-block by 18:i macro-block basis. Blocks Fl to F5 in Fig. 3A represent data for S: frames of moving picture signals, whereas blocks F1X to F5X in Fig. 3B represent data for encoded frames. The s- id line arrows 2 in Fig. 3A show the frames to which motion vectors xl x6 22 relate.
S:.
2' The first method, shown as SP1, is to not use p redictive encoding, that is, to use only intra-frame S correlation. This is suitable for any macro-blocks of an I- 3 :22:2952REV1.APP 3
PATENT
450100-2952 1 picture, a P-picture and a B-picture. In other words, if less 2 encoded data is produced without predictive encoding, then this 3 method is selected.
4 The second method, shown as SP2, is to predictively encode relative to a picture which temporally succeeds the 6 current picture, referred to as backward predictive encoding.
7 The third method, shown as SP3, is to predictively encode 8 relative to a picture which temporally precedes the current 9 picture, referred to as forward predictive encoding. The second -0 method is suitable for macro-blocks of only B-pictures. The -1 third method is suitable for macro-blocks of P-pictures and B- -2 pictures.
-3 The fourth method, shown as SP4, is to predictively -4 encode relative to the mean value of two pictures, one temporally preceding and one temporally succeeding the current picture.
:i This method is suitable for macro-blocks of only B-pictures.
The encoding sequence will now be described.
The first frame Fl is encoded as an I-picture using the first method SP1 so that it is directly transmitted over a transmission channel as encoded data FIX.
The third frame F3 is encoded as a P-picture. When the 2 third method SP3, forward predictive coding, is used for a macro- 3 .block, difference signals from the temporally preceding frame Fl 4 o used as the reference picture, as indicated by a broken-line arrow SP3, and a motion vector x3 between the reference picture
BP
2 2:2952REV1.APP
A
PATENT
450100-2952 1 Fl and the current picture F3, are calculated and encoded as data 2 F3X for that macro-block. Alternatively, in this or another 3 macro-block of the P picture, if a smaller amount of encoded data 4 is produced for a macro-block of the P picture being encoded, the first method SP1 can be used wherein the data of the original 6 frame F3 are directly utilized as the transmission data F3X for 7 that macro-block.
8 The second frame F2 is encoded as a B-picture.
When the fourth method SP4 is used to encode a macroblock of the frame F2, a difference between the mean value of the 11 temporally preceding frame Fl and the temporally succeeding frame 12 F3 is calculated, on a pixel by pixel basis. The difference data 13 and the motion vectors xl and x2 are encoded as data F2X.
14 When the first processing method SPl is used to encode a macro-block of the frame F2, the data of the original frame F2 16. forms the encoded data F2X.
1 When one of the second or third methods SP2, SP3 is l used to encode a macro-block of the frame F2, one of the difference between the temporally succeeding frame F3 and the 2C. current frame F2, and the difference between the emporally preceding frame Fl and the current frame F2 is calculated. The 2 difference data and one of the motion vectors xl, x2 are encoded as the data F2X.
P
2 2 :2952REV1
.APP
PATENT
450100-2952 1 The frame F4 for the B-picture and the frame F5 for the 2 P-picture are processed in a similar manner as described above to 3 generate transmitted data F4X and 4 Fig. 4 illustrates an arrangement for encoding and decoding moving picture signals in accordance with the above- 6 described predictive encoding scheme. As shown in Fig. 4, an 7 encoding device 1 encodes input picture signals and transmits the 8 encoded signals to a recording medium 3 as a transmission channel 9 for recording. A decoding device 2 reproduces the signals recorded on the recording medium 3 and decodes these as output 11 signals.
12 The encoding device 1 includes an input terminal 10, a 13 pre-processing circuit 11, A/D converters 12 and 13, a frame 14 memory 14 including a luminance signal frame memory 15 and a color difference signal frame memory 16, a format converting circuit 17 and an encoder 18.
17 Input terminal 10 is adapted to receive a video signal VD and to supply the signal VD to pre-processing circuit 11 which functions to separate the video signal VD into luminance signals and color signals, herein chrominance or color difference signals, that are applied to analog-to-digital converters 2 12 and 13, respectively. The video signals, digitized by analogto-digital conversion by the A/D converters 12 and 13, are 4 supplied to frame memory 14 having memories 15, 16 which function to store the luminance signals and the color difference signals, BP22:2952REV1.APP 6
PATENT
450100-2952 1 respectively, and to read out the signals stored therein to 2 format converting circuit 17.
3 The converter 17 is operative to convert frame format 4 signals stored in the frame memory section 14 into block format signals. As shown in Fig. 5A, pictures are stored in the frame 6 memory section 14 as frame-format data having V lines each 7 consisting of H dots. The converting circuit 17 divides each 8 frame into N slices, each slice comprising a multiple of 16 lines. As shown, in Fig. 5B, the converter 17 divides each slice into M macro-blocks. As shown in Fig. 5C, each macro-block 11 represents luminance signals Y corresponding to 16 x 16 pixels or 12 dots, and associated chrominance Cr, Cb signals. These luminance 13 signals are sub-divided into blocks Y1 to Y4, each consisting of 14 8 x 8 dots. The 16 x 16 dot luminance signals are associated with 8 x 8 dot Cb signals and 8 x 8 dot Cr signals. The 1q.. converter 17 is also operative to supply the block format signals to the encoder 18, which is described in detail below with 1 reference to Fig. 6.
SThe encoder 18 operates to encode the block format signals and to supply the encoded signals as a bi .tream over a transmission channel for recording on the recording medium 3.
2. The decoding device 2 includes a decoder 31, a format converting circuit 32, a frame memory section 33 including a luminance signal frame memory 34 and a color difference signal 22:2952REV1.APP
PATENT
450100-2952 1 frame memory 35, digital-to-analog converters 36 and 37, a post- 2 processing circuit 38 and an output terminal 3 The decoder 31 is operative to reproduce encoded data 4 from the recording medium 3 and to decode the encoded data, as described in detail below with reference to Fig. 9, and to supply 6 decoded data signals to format converting circuit 32 which is 7 operative to convert the decoded data signals into frame format 8 data signals and to supply the frame format data signals as 9 luminance signals and color difference signals to the memory 33.
LO The memories 34, 35 of the memory 33 function to store the Ll luminance and chrominance signals, respectively, and to apply L2 these signals to D/A converters 36 and 37, respectively. The L3 analog signals from converters 36, 37 are synthesized by a post- L4 processing circuit 38 which functions to form output picture signals and to output them to output terminal 30, and thence to a L6 display unit, such as a CRT, not shown, for display.
Fig. 6 illustrates the encoder 18 shown in Fig. 4.
8 Generally, the encoder 18 stores three pictures, the o* current picture and the pictures temporally preceding and 0. succeeding the current picture. Based on the sequential position of the current picture in the group of pictures, the picture 2 coding type P or B) is selected for each picture. The picture type sequence is determined by a user using picture type !4 input device 65, independent of the pictures applied to an input terminal 49.
BP22:2952REV1.APP 8
PATENT
450100-2952 1 The encoder 18 also chooses one of frame-based and 2 field-based predictive encoding as will be explained with 3 reference to Fig. 7, and further chooses one of frame-based and 4 field-based DCT encoding as will be explained with reference to Fig. 8. For each picture, appropriate motion vectors are 6 obtained and the picture is predictively encoded relative to 7 zero, one or two previously encoded pictures which have been 8 locally decoded and which are referred to as reference pictures 9 to form a difference data signal. The difference data signal is 3 orthogonally transformed into blocks of coefficient data which 1 are quantized, variable length encoded and transmitted as encoded 2 data.
3 At the encoder 18, the quantized data are dequantized, 4 inverse orthogonally transformed, and stored as the reference pictures. The predictive encoding applies the motion vector(s) 6. ':obtained for the current picture to the reference picture(s) to 7 produce a prediction picture which is subtracted from the current .*picture to yield the difference data.
The elements of the encoder 18 will now be explained in detail.
Picture data for encoding is supplied macro-block by .macro-block to the input terminal 49 and thence to a motion :vector detection circuit 50 which is operative to process the picture data of respective frames as I-pictures, P-pictures or as 3-pictures, in accordance with a predetermined sequence for each 3 22:2952REV1.APP
PATENT
450100-2952 1 group of pictures, as shown for example, in Figs. 2A, 2B. The 2 circuit 50 applies the picture data of the current frame to a 3' frame memory 51 having frame memories 51a, 51b, 51c used for 4 storing a temporally preceding picture, the current picture and a temporally succeeding picture, respectively.
6 More specifically, the frames Fl, F2, F3 are stored in 7 the memories 51a, 51b, 51c, respectively. Then the picture 8 stored in memory 51c is transferred to memory 51a. The frames ,a F4, F5 are stored in the memories 51b, 51c, respectively. The 0 operations of transferring the picture in memory 51c to memory 1 51a and storing the next two pictures in memories 51b, 51c are 2 repeated for the remaining pictures in the group of pictures.
3 After the pictures are read into the memory and .4 temporarily stored, they are read out and supplied to a prediction mode changeover circuit 52 which is adapted to process the current picture for one of frame based and field based :predictive encoding. After processing the first frame picture 8: :data in a group of pictures as an I-picture and before processing second frame picture as a B-picture, the motion vector 0 detection circuit 50 processes the third frame P-picture. The 1 processing sequence is different from the sequence in which the 2 pictures are supplied because the B-picture may involve backward prediction, so subsequent decoding may require that the P-picture otemporally succeeding the B-picture have been previously decoded.
BP22:2952REV1.APP
PATENT
450100-2952 1 The motion vector detection circuit 50 calculates as an 2 estimated value for intra-coding for each macro-block, the sum of 3 absolute values of prediction errors for the frame prediction 4 mode for each macro-block and the sum of absolute values of prediction errors for the field prediction mode for each macro- 6 block and supplies these sums to the prediction decision circuit 7 54 which compares these sums and selects frame prediction mode or 8 field prediction mode in accordance with the smallest of these C values and provides the selected mode to the prediction mode 0 changeover circuit 52.
1 If the frame prediction mode is selected, the 2 prediction mode changeover circuit 52 outputs the four luminance 3 blocks Y1 to Y4 and the two chrominance or color difference 4 blocks Cb, Cr of each macro-block received from the motion vector detection circuit 50 without processing. As shown in Fig. 7A, odd or first field line data, indicated by solid lines, and even :or second field line data, indicated by dashed lines, alternate 8 in each luminance and color difference block as received from the .:".motion vector detection circuit 50. In Fig. 7A, a indicates 0 units for motion compensation. In the frame pred -tion mode, motion compensation is performed with four luminance blocks 2 (macro-blocks) as a unit and a single motion vector is associated 3***.with the four luminance blocks Y1 to Y4.
0 If the field prediction mode is selected, the prediction mode changeover circuit 52 processes the signals 3S 2 2:2952REV1.APP 1
PATENT
450100-2952 1 received from the motion vector detection circuit 50 so that each 2 of the four luminance blocks comprises data from a single field 3 and the two color difference blocks have non-interlaced odd and 4 even field data. Specifically, as shown in Fig. 7B, the luminance blocks Y1 and Y2 have odd-field data and the luminance 6 blocks Y3 and Y4 have even-field data, while the upper halves of 7 the color difference blocks Cb, Cr represent odd field color 8 difference data for the luminance blocks Y1 and Y2 and the lower q halves of the color difference blocks Cb, Cr represent even field .0 color difference data for the luminance blocks Y3 and Y4. In -1 Fig. 7B, b indicates units for motion compensation. In the field .2 prediction mode, motion compensation is performed separately for .3 the odd-field blocks and even-field blocks so that one motion 4 vector is associated with the two luminance blocks Y1 and Y2 and another motion vector is associated with the two luminance blocks Y3 and Y4.
The prediction mode changeover circuit 52 supplies the 8 current picture, as processed for frame based or field based predictive encoding, to arithmetic unit 53 of Fig. 6. The 0 arithmetic unit 53 functions to perform one of intra-picture prediction, forward prediction, backward prediction or bi- 2 directional prediction. A prediction decision circuit 54 is adapted to select the best type of prediction in dependence upon 4 the prediction error signals associated with the current picture signals.
BP22:2952REV1.APP 12
PATENT
450100-2952 1 The motion vector detection circuit 50 calculates, for 2 the current picture, the sum of absolute values of the 3 differences between each Aij and the average value of the Aij in 4 each macro-block ZIAij (average of Aij)) and supplies the sum as an estimated value for intra-coding to the prediction decision 6 circuit 54.
7 The motion vector detection circuit 50 calculates the 8 sum of absolute values (or sum of squares) of the difference (Aij S Bij) between signals Aij of the macro-blocks of the current 0 picture, and signals Bij of the macro-blocks of the prediction 1 picture ZlAij BijJ in each of frame prediction mode and field 2 prediction mode. As explained above, the motion vector(s) for 3 the current picture are applied to the reference picture(s) to 4 generate the prediction picture.. When the reference picture temporally precedes the current picture, the quantity ZIAij Bijl is referred to as a forward prediction error signal, and 7 .:::when the reference picture temporally succeeds the current :picture, the quantity IZAij Biji is referred to as a backward :'..:prediction error signal. When the prediction picture is the mean D of a temporally preceding and a temporally succeeding reference LiIIpicture, as motion-compensated, the quantity ZjAij Bijj is referred to as a bi-directional prediction error signal.
S. The circuit 50 supplies the forward frame prediction, t* he forward field prediction, the backward frame prediction, the :::.,backward field prediction, the bi-directional frame prediction 3022:2952REV1.APP
PATENT
450100-2952 1 and the bi-directional field prediction error signals to the 2 prediction decision circuit 54.
3r The prediction decision circuit 54 selects one of 4 intra-coding, forward inter-picture prediction, backward interpicture prediction or bi-directional inter-picture prediction and 6 one of frame and field prediction mode in accordance with the 7 smallest of the estimated value for intra-coding and the forward 8 frame, the forward field, the backward frame, the backward field, the bi-directional frame and the bi-directional field prediction 0 error signals. The arithmetic unit 53 predictively encodes the .1 current picture, as processed by the frame or field changeover 2 circuit 52, in accordance with the prediction mode selected by 3 the prediction decision circuit 54.
4 The motion vector detection circuit 50 serves to calculate and supply the motion vector(s) associated with the 6 :.:selected prediction mode to a variable length encoding circuit 58 a motion compensation circuit 64, explained later.
o. The sums of the absolute values of the inter-frame i:".:differences (prediction errors) on the macro-block basis are 0 supplied from the motion vector detection circuit 50 to the *C prediction mode changeover circuit 52 and to the prediction 2 decision circuit 54, in the manner as described above.
The arithmetic unit 53 supplies predictively encoded data, also referred to as difference data, for the current picture to a DCT mode changeover circuit 55 which is adapted to BP22:2952REV1.APP 1 A
PATENT
450100-2952 1 process the current picture for one of frame based and field 2 based orthogonal transformation.
3 The DCT changeover circuit 55 functions to compare the 4 encoding efficiency when the DCT operations for the macro-blocks in a picture are performed with the odd field data alternating 6 with the even field data, that is, for frame based orthogonal 7 transformation, as shown in Fig. 8A, with the encoding efficiency 8 when the DCT operations for the macro-blocks in a picture are performed with the odd field data separated from the even field .0 data, that is, for field based orthogonal transformation, as .1 shown in Fig. 8B. The circuit 55 functions to select the mode .2 with the higher encoding efficiency.
-3 To evaluate the encoding efficiency for frame based 4 orthogonal transformation, the DCT mode changeover circuit places the luminance macro-block data into interlaced form, as .6 shown in Fig. 8A, and calculates the differences between the odd .7 field line signals and even field line signals vertically adjacent to each other, and finds the sum of absolute values of 'the differences EFM, or the sum of squared values of the 0* differences.
E e(i, I o(i+1, j E j= i=1
SP
22 :2952REV1.APP
PATENT
450100-2952 1 To evaluate the encoding efficiency for field based 2 orthogonal transformation, the DCT mode changeover circuit 3 places the luminance macro-block data into non-interlaced form, 4 as shown in Fig. 8B, and calculates the differences between vertically adjacent odd field line signals and the differences 6 between vertically adjacent even field line signals, and finds 7 the sum of absolute values of the differences EFD, or the sum of 8 squared values of the differences.
16 EFD= o(i, j) o(i+l,j) I e(i, j) e(i+l,j) Eq.2 j=1 i=]l 9 The DCT changeover circuit 55 compares the difference 0 between the frame based and field based sums of the absolute 1 values with a predetermined threshold and selects frame based
DCT
2 transformation if the difference EFM EFD is less than the 3 predetermined threshold.
If the frame prediction mode is selected in the :prediction mode changeover circuit 52, the probability is high 6 that the frame DCT mode will be selected in the DCT mode 7 changeover circuit 55. If the field prediction mode is selected in the prediction mode changeover circuit 52, the probability is 9 high that the field DCT mode will be selected in the DCT mode changeover circuit 55. However, since this is not necessarily l'.'the case, the prediction mode changeover circuit 52 sets the mode BP22:2952REV1.APP 16
PATENT
450100-2952 1 which will give the least value of the sum of the absolute values 2 of prediction errors, while the DCT mode changeover circuit 3 sets the mode which will give the optimum orthogonal 4 transformation encoding efficiency.
If frame based orthogonal transformation mode, also 6 referred to as frame DCT mode, is selected, the DCT mode 7 changeover circuit 55 functions to ensure that the four luminance 8 blocks Y1 to Y4 and two color difference blocks Cb, Cr represent 9 alternating or interlaced odd and even field lines, as shown in -0 Fig. 8A.
L1 If field based orthogonal transformation mode, also L2 referred to as field DCT mode, is selected, the DCT mode L3 changeover circuit 55 functions to ensure that each of the .4 luminance blocks represents only one field, and that each of the color difference blocks has segregated or non-interlaced odd and 6 even field lines, as shown in Fig. 8B.
.7 The DCT mode changeover circuit 55 functions to output the data having the configuration associated with the selected DCT mode, and to output a DCT flag indicating the selected
DCT
Smode to the variable length encoding circuit 58 a-d the motion 1 compensation circuit 64.
2 The DCT mode changeover circuit 55 supplies 3" appropriately configured difference picture data to a DCT circuit 56 shown in Fig. 6 which is operative to orthogonally transform t using a discrete cosine transformation into DCT coefficients, 3P 2 2:2952REV1.APP 17 17
PATENT
450100-2952 1 and to supply the DCT coefficient data to a quantization circuit 2 57 that functions to quantize the coefficient data with 3' quantization steps selected in accordance with the volume of data 4 stored in a transmission buffer 59 and to supply quantized data to a variable length encoding circuit 58.
6 The variable length encoding circuit 58 is also 7 supplied with the quantization step or scale data from the 8 quantization circuit 57, prediction mode data from the prediction 9 decision circuit 54, that is data indicating which of the intra- .0 picture prediction, forward prediction, backward prediction or .1 bi-directional prediction is used, and motion vector data from .2 the motion vector detection circuit 50. The encoding circuit 58 .3 also receives prediction flag data from the prediction decision .4 circuit 54 comprising a flag indicating which of the frame prediction mode or the field prediction mode is used, and 6 prediction flag data from the DCT mode changeover circuit 7 comprising a flag indicating which of the frame DCT mode or the field DCT mode is used. This information is placed into the '..':header portion of the encoded data stream.
The variable length encoding circuit 58 serves to 1 encode the quantized data and the header information using a variable length code such as a Huffman code, in accordance with 3 the quantization step data supplied from the quantization circuit 57, and to output the resulting data to a transmission buffer 59.
S 952REV1.AP 18 BP2 2 :2952REV1.APP 18
*L
PATENT
450100-2952 1 The quantized data and quantization step are also 2 supplied to a dequantization circuit 60 which serves to 3- dequantize the quantized data using the quantization step, and to 4 supply the recovered DCT coefficient data to an inverse
DCT
circuit 61 that functions to inverse transform the DCT 6 coefficient data to produce recovered difference data and to 7 supply the recovered difference data to an arithmetic unit 62.
8 The arithmetic unit 62 combines the recovered 9 difference data with a previously encoded and decoded reference 0 picture, as motion compensated, to produce decoded data for a 1 reconstructed picture which will be used as a reference picture 2 and which is read into one of two frame memories 63a, 63b. The 3 memories 63a, 63b are adapted to read out the reference picture 4 data stored therein to a motion compensation circuit 64 that uses the motion vectors from the motion vector detection circuit 50 to 6 produce a prediction picture from the reference picture.
7 Specifically, the circuit 50 uses the motion vector to alter the 8. :.readout address of the reference picture from the memory 63a or :63b.
For a group of pictures, after the firs-, frame I- 1 picture data and the third frame P-picture data are stored in the '-forward and backward prediction picture memories or units 63a, 63b, respectively, the second frame B-picture data is processed *.jby the motion vector detection circuit 50. The prediction S. -decision circuit 54 selects the frame or field prediction mode, 22 :2952REV1.APP 19
PATENT
450100-2952 1 while setting the prediction mode to one of intra-frame 2 prediction mode, forward prediction mode, backward prediction 3 mode and bi-directional prediction mode in correspondence with 4 the sum of absolute values of predictive errors by macro-block.
Since a reconstructed B-picture is not used as a 6 reference picture for other pictures, it is not stored in the 7 frame memory 63.
8 It will be appreciated that the frame memory 63 has its 9 forward and backward prediction picture units 63a, 63b bank- LO exchanged as needed so that a picture stored in one of the units 11 63a or 63b can be outputted as either a forward or a backward L2 prediction picture.
L3 The motion compensation circuit 64 functions to supply L4 the motion compensated data as a prediction picture to the arithmetic unit 62 and to the arithmetic unit 53 which subtracts L6 the prediction picture from the P-picture or the B-picture .7 currently being predictively encoded.
More specifically, when the motion vector detection circuit 50 receives picture data for an I-picture from the 0" forward original picture unit 51a, the prediction decision .1 circuit 54 selects the intra-frame prediction mode and sets a 2' switch 53d of the arithmetic unit 53 to an input contact a. This 3" *causes the I-picture data to be inputted directly to the DCT mode changeover circuit 55. In this case, no prediction picture is BP22:2952REV1.APP
PATENT
450100-29 5 2 1 expected from the motion compensation circuit 64. The I-picture 2 data is also supplied to the forward prediction picture unit 63a.
3 When the forward prediction mode is selected by the 4 prediction decision circuit 54, the circuit 54 also sets the switch 53d to an input contact b which causes the arithmetic unit 6 53a to subtract the prediction picture, produced by the motion 7 compensation circuit 64, from the picture read out from the 8 memory 51, for each macro-block on a pixel by pixel basis, to S, produce difference data. The P-picture, after encoding and local .0 decoding, is supplied to one of the units 63a, 63b. For example, .1 if the P-picture immediately follows an I-picture, then the P- .2 picture is stored in the backward prediction picture unit 63b.
.3 For forward predictive encoding, the prediction picture 4 is a reference I-picture or P-picture read out from the forward prediction picture unit 63a of the frame memory 63 and motion- 6 compensated by the motion compensation circuit 64 in accordance 7 with the motion vector outputted from the motion vector detection circuit 50. More specifically, for each macro-block, the motion compensation circuit 64 shifts the readout address of the forward prediction picture unit 63a in an amount correspc:ding to the 1 motion vector currently output by the motion vector detection circuit 3 When the backward prediction mode is selected by the prediction decision circuit 54, the circuit 54 also sets the "switch 53d to an input contact c which causes the arithmetic unit 3P 2 2:2952REV1.APP 21 e
PATENT
450100-2952 1 53b to subtract the prediction picture, produced by the motion 2 compensation circuit 64, from the picture read out from the 3 memory 51, on a pixel by pixel basis, to produce difference data.
4 For backward predictive encoding, the prediction picture is a P-picture read out from the backward prediction 6 picture unit 63b of the frame memory 63 and motion-compensated by 7 the motion compensation circuit 64 in accordance with the motion 8 vector outputted from the motion vector detection circuit c. More specifically, for each macro-block, the motion compensation circuit 64 shifts the readout address of the backward prediction L1 picture unit 63b in an amount corresponding to the motion vector L2 currently output by the motion vector detection circuit L3 When the bi-directional prediction mode is selected by L4 the prediction decision circuit 54, the circuit 54 sets the switch 53d to an input contact d which causes the arithmetic unit 16 53c to subtract a prediction picture from the picture read out from the memory 51, on a pixel by pixel basis, to produce difference data. The prediction picture is the mean value of a ':forward prediction picture and a backward prediction picture.
""In the case of bi-directional prediction, the picture 1 stored in the forward prediction picture unit 63a, and the 2' picture stored in the backward prediction picture unit 63b, are 3 read out and motion-compensated by the motion compensation 4~i circuit 64 in dependence upon the motion vectors outputted from the motion vector detection circuit 50. More specifically, for 8
P
22 :2952REV1.APP 22 o
PATENT
450100-2952 1 each macro-block, the motion compensation circuit 64 shifts the 2 readout address of the forward and backward prediction picture 3 units 63a, 63b in an amount corresponding to the appropriate one 4 of the motion vectors currently output by the motion vector detection circuit 6 The transmission buffer 59 temporarily stores the data 7 supplied thereto, generates control data indicating the volume of 8 data stored therein and supplies the control data to the 9 quantization circuit 57. When the volume of data stored in the 0 transmission buffer 59 reaches a predetermined upper limit value, .1 the control data from the transmission buffer 59 causes the 2 quantization scale of the quantization circuit 57 to increase so 3 as to decrease the volume of the quantized data. Similarly, when 4 the volume of data stored in the transmission buffer 59 reaches a predetermined lower limit value, the control data from the 6 transmission buffer 59 causes the quantization scale of the :quantization circuit 57 to decrease so as to increase the volume the quantized data. In this manner, the transmission buffer 59 *:prevents the data supplied thereto from overflowing or underflowing its capacity. The data stored in th': ,transmission 1 buffer 59 are read out at a predetermined timing to an output 2 a 'terminal 69 and thence to a transmission channel for recording 3 on, for example, the recording medium 3.
.Although the foregoing description has been made with 3 2 :2952REV1 APP 23 a.o.
PATENT
450100-2952 1 reference mainly to the luminance blocks, the color difference 2 blocks are similarly processed and transmitted using the motion 3 vector which corresponds to the motion vector of the luminance 4 block halved in both the vertical and horizontal directions.
Fig. 9 illustrates the decoder 31 shown in Fig. 4.
6 The reproduced encoded picture data transmitted from 7 the recording medium 3 is applied to a reception circuit, not 8 shown, or to an input terminal 80 which applies the encoded 9 picture data to a reception buffer 81 that serves to temporarily LO store the encoded picture data and to supply this data to a L1 variable length decoding circuit 82 of a decoding circuit L2 The variable length decoding circuit 82 functions to -3 variable length decode the encoded data, to output the recovered .4 motion vector, prediction mode data, prediction flags and DCT flags to the motion compensation circuit 87, and to output the .6 quantization step data and variable length decoded picture data, 7. including the predictive mode, the motion vector, the predictive flag, the DCT flag and the quantized picture data for each macro- '"':block, to an inverse quantization circuit 83.
-The inverse quantization circuit 83 is adapted to 1. dequantize the picture data supplied from the variable length 2^ ::decoding circuit 82 in accordance with the quantization step data 3 supplied from the variable length decoding circuit 82 and to output the thus recovered coefficient data to an inverse transformation IDCT circuit 84.
8
P
22 :2952REV1.APP 24 ^4
PATENT
450100-2952 1 The IDCT circuit 84 is adapted to perform an inverse 2 transformation on the recovered coefficient-data to produce 31 recovered difference data, and to supply the recovered difference 4 data to an arithmetic unit If the recovered difference data supplied from the IDCT 6 circuit 84 represents an I-picture, the arithmetic unit 85 does 7 not process the data and simply supplies it through an output 8 terminal 91 to the format converting circuit 32 shown in Fig. 4, .9 and to a forward prediction picture unit 86a of a frame memory .0 86.
.1 If the recovered difference data supplied from the IDCT .2 circuit 84 represents a macro-block of a P-picture produced in 3 the forward prediction mode, then the reference picture data of .4 the preceding frame, as stored in the forward prediction picture memory 86a of the frame memory 86, is read and motion-compensated 6 by a motion compensation circuit 87 in dependence upon the motion 7 vector outputted from the variable length decoding circuit 82 to generate a prediction picture. Specifically, the motion compensation circuit 87 uses the motion vector to alter the read 0 .out address supplied to the memory 86a. The arit"netic unit adds the prediction picture to the recovered difference data to 2'o* produce a decoded or reconstructed picture which is stored in a S backward prediction picture memory 86b of the frame memory 86.
The decoded P-picture is retained in the decoder 31, and output after the next B-picture is decoded and output, so as to restore 32 2 2 9 52REV1.APP
Z
PATENT
450100-2952 1 the pictures to the order in which they were supplied to the 2 encoder 18 of Fig. 4.
3 Even if the macro-block of the P-picture was encoded as 4 intra-coded mode data, the decoded P-picture is directly stored in the backward prediction picture unit 86b, without being output 6 to the output terminal 91 by the arithmetic unit 7 If the recovered difference data supplied from the IDCT 8 circuit 84 represents a macro-block of a B-picture encoded in the intra-coding mode, as determined from the prediction mode LO supplied from the variable length decoding circuit 82 to the Ll motion compensation circuit 87, a prediction picture is not L2 generated.
L3 If the recovered difference data supplied from the IDCT L4 circuit 84 represents a macro-block of a B-picture encoded in the forward prediction mode, as determined from the prediction mode L6 supplied from the variable length decoding circuit 82 to the motion compensation circuit 87, the data stored in the forward prediction picture unit 86a of the frame memory 86 is read out and motion compensated by the motion compensation circuit 87 using the motion vector supplied from the variable length 1 decoding circuit 82 to form the prediction picture. The arithmetic unit 85 sums the recovered difference data with the '3 prediction picture to form the recovered B-picture.
If the recovered difference data supplied from the IDCT circuit 84 represents a macro-block of a B-picture encoded in the BP22:2952REV1.APP r
PATENT
450100-2952 1 backward prediction mode, as determined from the prediction mode 2 supplied from-the variable length decoding circuit 82 to the 3 motion compensation circuit 87, the data stored in the backward 4 prediction picture unit 86b is read out and motion compensated by the motion compensation circuit 87 using the motion vector 6 supplied from the variable length decoding circuit 82 to form the 7 prediction picture. The arithmetic unit 85 sums the recovered 8 difference data with the prediction picture to form the recovered 9 B-picture.
.0 If the recovered difference data supplied from the IDCT 11 circuit 84 represents a macro-block of a B-picture encoded in the .2 bi-directional prediction mode, as determined from the prediction 3 mode supplied from the variable length decoding circuit 82 to the .4 motion compensation circuit 87, the data stored in both the forward and backward prediction picture memories 86a, 86b are .6 read out and respectively motion compensated by the motion compensation circuit 87 using the motion vectors supplied from 8..::the variable length decoding circuit 82, then averaged to form .':the prediction picture. The arithmetic unit 85 sums the recovered difference data with the prediction pic:ure to form the recovered B-picture.
2to* The recovered B-picture is supplied via the output 3 terminal 91 to the format converting circuit 32. However, since the B-picture is not utilized for generating a prediction picture for other pictures, it is not stored in the frame memory 86.
o* ?P22:2952REV1.APP 27 0000
PATENT
450100-2952 1 After outputting of the B-picture, picture data of the 2 P-picture stored in the backward prediction picture unit 86b is 3 read and supplied via the motion compensation circuit 87 to the 4 arithmetic unit 85. Motion compensation is not performed at this time.
6 The counterpart circuits to the prediction mode 7 changeover circuit 52 and the DCT mode changeover circuit 55 in 8 the encoder 18 of Fig. 6 are not shown in the decoder 31. The 9 processing to be performed by these circuits, that is, the 0 processing for restoring the configuration in which odd-field .1 line signals and even-field line signals are separated from each 2 other to the configuration in which odd and even-field line 3 signals alternate with each other, is performed by the motion 4 compensation circuit 87.
The processing of the luminance signals has been 6 explained in the foregoing. As will be appreciated by one of 7 ordinary skill in the art, the processing of the color difference 8.:':.signals is carried out in a similar manner. However, the motion -vector employed in such case is the motion vector for luminance 0 signals which is halved in both the vertical and horizontal 1 directions.
Fig. 10 shows the signal to noise ratio (SNR) for 3 pictures transmitted using the above-described technique. As can 4 *.be seen, the best quality transmission is obtained for Ipictures, good quality transmission is obtained for P-pictures, BP22:2952REV1.APP 28
PATENT
450100-2952 1 and the poorest quality transmission is obtained for B-pictures.
2 Thus, if the transmission path has adequate capacity, it is 3 preferable to transmit a picture as an I-picture.
4 If all pictures cannot be transmitted as I-pictures, it is better to transmit a series of pictures as shown in Fig. 6 rather than in a format in which one average picture quality is 7 used for all pictures. The technique shown in Fig. 10 takes 8 advantage of the human visual sense characteristic of perceiving 9 a series of changing picture quality, as shown in Fig. 10, as of .0 higher quality than a series of unchanging picture quality, for a .1 predetermined transmission rate.
.2 Accordingly, in the configuration of Fig. 6, .3 transmission rate control is carried out by the quantizer 57 in 4 order to attain the picture quality perceived as better.
To dub pictures, two coder-decoder (codec) units are 6 used in series. However, the picture quality obtained from the 7 second codec is substantially worse than the picture quality :obtained from the first codec, as explained below.
Fig. 11 shows a configuration representing two codecs 0. :connected by an analog connection, namely, coder 201, decoder 1 202, coder 203 and decoder 204, connected in series.
A.
In Fig. 11, an analog video signal is supplied to an 3 input terminal 200 as an input signal a. The input terminal 200 4' .:functions to apply the analog video signal to an A/D converter 211 of coder 201. The converter 211 is adapted the convert the S: BP 2 2:2952REV1.APP 29
PATENT
450100-2952 1 analog video signal to a digital video signal, and to apply the 2 digital video signal to coding circuit 212 that serves to encode 3 this signal as previously described to produce a coded digital 4 video signal.
The coded digital video signal from coding circuit 212 6 of coder 201 is supplied to a decoding circuit 213 of decoder 202 7 which is adapted to decode the coded digital video signal and to 8 apply the decoded video signal to D/A converter 214.
0 The analog video signal produced by D/A converter of 0 decoder 202 is supplied as an output signal b to the coder 203, 1 which functions in a similar manner as the coder 201.
2 The digital video signal produced by the coder 203 is 3 supplied to decoder 204 which functions in a similar manner as 4 the decoder 202. The decoder 204 delivers an analog video signal as an output signal c to a terminal 205, which may transmit the signal c to another coder (not shown) and so on.
7 Fig. 12 shows the SNR of the output signals b, c shown ::in Fig. 11. The SNR of the output signal c is seen to be *::*substantially worse than the SNR of the output signal b.
:The deterioration in picture quality results from a mismatch between the picture type applied in the first codec and ::the picture type applied in the second codec. Namely, if a picture coded as a B picture in the first coder/decoder pair is *:.coded as, P picture in the second coder/decoder pair, a *BP22:2952REV1.APP ?n
PATENT
450100-2952 1 great deterioration of picture quality results because the 2 picture quality changes as a function-of the picture type.
3 Since the deterioration in picture quality results 4 from the mismatch between picture types of respective stages of codecs, such deterioration similarly takes place when digital 6 connections are used between respective codecs.
7 Fig. 13 shows a configuration representing two codecs 8 connected by a digital connection, namely, coder 302, decoder P 303, coder 304 and decoder 305, connected in series.
0 An analog video signal is supplied to terminal 300, 1 which supplies the analog video signal as an input signal a to 2 A/D converter 301 that serves to digitize the signal a, and to 3 apply the digital signal to a digital interface 311 of coder 302.
4 The digital interface 311 applies the signal supplied thereto to a coding circuit 312 which encodes or compresses the digital 6 video data to an encoded digital video bit stream.
7 The encoded digital video signal from the coding B3..':circuit 312 is supplied to decoding circuit 313 of decoder 303 that decodes the signal supplied thereto, and applies the decoded .signal to digital interface 314. The interface 314 functions to L output the decoded signal as an output signal b.
The output signal b is supplied to coder 304 which 3 functions in a similar manner as coder 302 to produce a coded "*:**signal that is applied to decoder 305 which functions in a Ssimilar manner as decoder 303. The digital signal output from B8P22:2952REV1.APP 31
PATENT
450100-2952 1 the decoder 303 is supplied to a D/A converter that serves to 2 convert the signal supplied thereto to an analog video signal and 3 to supply the analog video signal as an output signal c to output 4 terminal 307.
Fig. 12 also generally represents the SNR of the output 6 signals b, c shown in Fig. 13.
7 OBJECTS AND SUMMARY OF THE INVENTION p Therefore, an object of the present invention is to 9 provide a method and apparatus for encoding and decoding picture .0 signals which avoids the aforementioned disadvantages of the .1 prior art.
2 Another object of the present invention is to provide a .3 method and apparatus for transmitting and receiving picture 4. signals in serial stages which minimizes the deterioration in picture quality at each stage.
6. Yet another object of the present invention is to match :the type of coding applied to pictures of a picture signal in serial processing stages, each stage comprising coding and decoding.
0 In accordance with an aspect of the present invention, a picture signal is processed by receiving a picture type signal 2 indicating one of intra-picture coding, predictive coding and bidirectionally predictive coding for respective pictures 4 represented by the picture signal. The picture signal is encoded 8P22:2952REV1.APP
PATENT
450100-2952 as a function of the picture type signal to produce an encoded picture signal.
In accordance with another aspect of the present invention, an encoded picture signal is processed by decoding the encoded picture signal to produce a picture type signal and a decoded picture signal. The picture type signal and the decoded picture signal are multiplexed to produce an output signal.
The above, and other objects, features and advantages of the present invention will be apparent from the following detailed description of the preferred embodiments of the present invention when read in conjunction with the accompanying drawings in which corresponding parts are identified by the same reference numeral.
BRIEF DESCRIPTION OF THE DRAWINGS Figs. 1A and lB are picture illustrating inter-frame correlation; 9 0 .1 2 .3 46 .i e. e 6,..i 7- Figs. 2A and 2B are diagrams illustrating types of .pictures used in predictive encoding; 9 Fig. 3 is a diagram illustrating how picture signals 0 .are converted into encoded data for transmission; ~Fig. 4 is a block diagram showing a conventional device 2. for encoding and decoding picture signals; 3 Fig. 5 is a diagram referred to in explaining the operation of the format converting circuit shown in Fig. 4; BP22:2952REV1.APP 33
PATENT
450100-2952 1 Fig. 6 is a block diagram showing the encoder of the 2 device shown in Fig.4; 3 Fig. 7 is a chart referred to in explaining the 4 predictive encoding operation of the encoder shown in Fig. 6; Fig. 8 is a chart referred to in explaining the 6 orthogonal transformation operation of the encoder shown in Fig.
7 6; 8 Fig. 9 is a block diagram showing the decoder of the a device shown in Fig. 4; .0 Fig. 10 is a graph showing picture quality as a 1 function of picture type in a transmitted signal; .2 Fig. 11 is a block diagram showing two conventional .3 video codecs connected in series using an analog connection; 4 Fig. 12 is a graph showing picture quality of the
S
'signals output by the codecs of Fig. 11; .6 Fig. 13 is a block diagram showing two conventional video codecs connected in series using a digital connection; Fig. 14 is a block diagram showing two video codecs according to the present invention connected in series using an analog connection; 1 Fig. 15 is a graph showing picture quality of the signals output by the codecs of Fig. 14; 3 Fig. 16 is a block diagram showing two video codecs according to the present invention connected in series using a digital connection; BP22:2952REV1.APP
A
PATENT
450100-2952 1 Fig. 17 is a block diagram showing a coder circuit 2 according to the present invention; and 3, Fig. 18 is a block diagram showing a decoding circuit 4 according to the present invention.
DETAILED DESCRIPTION OF THE PREFERRED
EMBODIMENTS
6 The present invention comprises a picture type 7 identifier which is included with the picture signal at all 8 times, namely, when the signal is encoded and when the signal is 9 decoded. The picture type indicates one of intra-picture coding .0 (an I-picture), predictive coding (a P-picture) and bi- -1 directionally predictive coding (a B-picture). An I-picture .2 includes macro-blocks encoded by only intra-coding. A P-picture .3 includes macro-blocks encoded by intra-coding and/or macroblocks encoded by forward predictive coding. A B-picture includes macro-blocks encoded by intra-coding and/or macroblocks encoded by forward predictive coding and/or macroblocks encoded by 7" :backward predictive coding and/or macroblocks encoded by bi- .directionally predictive coding.
Initially, each picture of a picture signal is encoded 0 as a function of a respective picture type, then appropriately decoded. The decoded picture signal includes the respective 2 picture types, preferably in the vertical blanking interval of 3 each decoded picture. The decoded picture signal may be further 4 processed by, for example, dubbing.
BP
2 2:2952REV1.APP
PATENT
450100-2952 1 When the pictures of the decoded picture signal are 2 again encoded, the re-encoding is a function of the picture type 3 included in the decoded picture signal. The re-encoded signal 4 includes the picture type. Subsequent decoding of the re-encoded picture is a function of the picture type. Each picture of the 6 re-decoded picture signal includes its respective picture type.
7 Thus, the present invention matches the type of 8 predictive coding applied to pictures in a picture signal by S serially arranged coders which process the picture signal.
.0 The present invention promotes optimum picture quality.
.1 A picture, previously encoded as an I-picture, P-picture or B- .2 picture is again encoded as an I-picture, P-picture or B-picture, .3 respectively. Also, encoding of a picture, previously encoded as .4 a B-picture, as an I-picture or a P-picture is prevented. Thus, deterioration in signal quality after plural coding and decoding 6 operations is minimized.
7 Referring now to the drawings, and in particular to :Fig. 14, there are illustrated coding and decoding units (codecs) according to the present invention having a serial analog 0"..':connection therebetween. A first codec comprises coder 120 and 1 decoder 121, while a second codec comprises coder 122 and decoder 123. It will be appreciated by one of ordinary skill in the art 3 that additional codecs may be serially connected to those shown in Fig. 14.
BP22:2952REV1.APP
PATENT
450100-2952 1 In Fig. 14, an analog video signal is supplied to an 2 input terminal 100 as an input signal a, and a picture type 3 signal is supplied to an input terminal 108. The picture type 4 indicates one of intra-picture coding (an I-picture), predictive coding (a P-picture) and bi-directionally predictive coding (a B- 6 picture).
7 The input terminals 100, 108 function to apply the 8 analog video signal and the picture type signal, respectively, to an A/D converter 101 and a coding circuit 102, respectively, of LO coder 120. The converter 101 is adapted the convert the analog 11 video signal to a digital video signal, and to apply the digital L2 video signal to the coding circuit 102.
L3 The coding circuit 102 serves to encode the digital L4 video signal as a function of the picture type signal to produce a coded digital video signal which includes, for each encoded picture, its picture type as identified by the picture type L7. i signal. More specifically, if the picture type for a picture i" indicates intra-picture coding, then the coding circuit 102 codes the picture as an I-picture. If the picture type for a picture indicates predictive coding, then the coding circuit 102 codes the picture as a P-picture. If the picture type for a picture indicates bi-directionally predictive coding, then the coding .3 circuit 102 codes the picture as a B-picture.
!4 The coding unit 120 may alternatively have the structure shown in Fig. 6, in which coding is performed without BP22:2952REV1.APP 37
PATENT
450100-2952 1 reference to an externally supplied picture type. As used 2 herein, an externally supplied picture type means a picture type 3 supplied from generally the same source as supplies the digital 4 video signal, rather than from a separate source as is shown in Fig. 6, namely, the picture type input device 6 The coded digital video signal from coding circuit 102 7 of Fig. 14 is supplied to a decoding circuit 103 of decoder 121 8 which is adapted to decode the coded digital video signal as a S function of the picture type included in the encoded signal and LO to apply the decoded video signal to D/A converter 104. The L1 decoding circuit 103 is further adapted to apply the picture type L2 decoded from the coded digital video signal to a multiplexer 105.
L3 The multiplexer 105 is operative to multiplex the .4 picture type information with the decoded video signal to produce a multiplexed analog video signal as an output signal b in which 6 the picture type information is contained in the decoded video .7 signal. Preferably, the multiplexer 105 inserts the picture type for a picture of the decoded video signal into the vertical blanking interval of the picture. As mentioned, a picture may be either a frame or a field of the video signal.
.The output signal b is supplied from the multiplexer 105 to a separating circuit 106 of the coder 122. The separating 3 circuit is operative to separate or demultiplex the analog video 4 .signal and the picture type information from the output signal b, to supply the separated analog video signal to an A/D converter
BP
22 :2952REV1.APP
PATENT
450100-2952 1 107, and to supply the separated picture type information to a 2 coding circuit 108. The converter 107 is adapted the convert the 3 separated analog video signal to a digital video signal, and to 4 apply the digital video signal to the coding circuit 108.
The coding circuit 108 serves to encode the digital 6 video signal as a function of the separated picture type to 7 produce a re-coded digital video signal which includes, for each 8 re-encoded picture, its picture type as identified by the 9, separated picture type signal.
0 The re-coded digital video signal from the coding 1 circuit 108 is supplied to the decoder 123, which operates in a 2 similar manner as the decoder 121.
3 Decoding circuit 110 of decoder 123 decodes the re- 4 coded digital video signal to produce a re-decoded digital video .:signal and a corresponding picture type signal. The re-decoded 6 digital video signal is converted to an analog signal by D/A 7. .:converter 109, and applied to a multiplexer 111 which multiplexes :the analog video signal with the picture type signal from decoding circuit 110 to produce a multiplexed analog video signal O- :as an output signal c. Preferably, the multiplexer 111 inserts the picture type for a picture into the vertical blanking interval of the picture. The multiplexer 111 applies its output 3. signal c to an output terminal 119.
Due to the inclusion of the picture type identifier in the signals b and c, the codecs of Fig. 14 process respective 8P22:2952REV1.APP 39
PATENT
450100-2952 1 pictures of the video signals b and c in the same manner, that 2 is, as the same one of an I-picture, a P-picture or a B-picture.
3 Fig. 15 shows the SNR of the output signals b, c shown 4 in Fig. 14. The SNR of the output signal c is seen to be only slightly worse than the SNR of the output signal b.
6 That is, since the type of predictive coding applied to 7 each picture is the same in each of the serially arranged codecs, 8 the deterioration in picture quality at each codec is minimized even when the picture quality changes from picture to picture due LO to the type of predictive coding employed from picture to L1 picture.
[2 Fig. 16 shows codecs according to the present invention L3 having a serial digital connection therebetween. A first codec [4 comprises coder 142 and decoder 143, while a second codec comprises coder 144 and decoder 145.
In Fig. 16, an analog video signal is supplied to an input terminal 140 as an input signal a, and a picture type
LS"
signal is supplied to an input terminal 148. The input terminals 140, 148 function to apply the analog video signal and the picture type signal, respectively, to an A/D converter 141 and a coding circuit 152 of coder 142, respectively. The converter 141 is adapted the convert the analog video signal to a digital video 13 signal, and to apply the digital video signal to a digital 4 interface 151 of coder 142.
BP
2 2:2952REV1.APP
A
PATENT
450100-2952 1 The coding circuit 152 serves to encode the digital 2 video signal as a function of the picture type signal to produce 3 a coded digital video signal which includes, for each encoded 4 picture, its picture type as identified by the picture type signal. More specifically, if the picture type for a picture 6 indicates intra-picture coding, then the coding circuit 152 codes 7 the picture as an I-picture. If the picture type for a picture 8 indicates predictive coding, then the coding circuit 152 codes S the picture as a P-picture. If the picture type for a picture .0 indicates bi-directionally predictive coding, then the coding L1 circuit 152 codes the picture as a B-picture.
L2 The coding unit 120 may alternatively have the L3 structure shown in Fig. 6, in which coding is performed without L4 reference to an externally supplied picture type.
The coded digital video signal from coding circuit 152 is supplied to a decoding circuit 153 of decoder 143 which is adapted to decode the coded digital video signal as a function of L8' the picture type included in the encoded signal and to apply the decoded video signal to a digital interface 154. The decoding circuit 153 is further adapted to apply the picture type decoded from the coded digital video signal to a multiplexer 155.
The multiplexer 155 is operative to multiplex the picture type information with the decoded video signal to produce 4 a multiplexed digital video signal as an output signal b in which the picture type information is contained in the decoded video BP22:2952REV1.APP 41
PATENT
450100-2952 1 signal. Preferably, multiplexer 105 multiplexes the picture type 2 for a picture of the decoded video signal as a flag in the 3 respective picture.
4 The output signal b is supplied from the multiplexer 155 to a separating circuit 156 of the coder 144. The separating 6 circuit is operative to separate or demultiplex the digital video 7 signal and the picture type information from the output signal b, 8 to supply the separated digital video signal to a digital 0 interface 157, and to supply the separated picture type .0 information to a coding circuit 158. The interface 157 is .1 adapted to apply the separated digital video signal to the coding .2 circuit 158.
3 The coding circuit 158 serves to encode the separated .4 digital video signal as a function of the separated picture type to produce a re-coded digital video signal which includes, for 6 each re-encoded picture, its picture type as identified by the 7-.*-.separated picture type signal.
The re-coded digital video signal from the coding .*:.circuit 158 is supplied to the decoder 145, which operates in a :similar manner as the decoder 143.
Decoding circuit 160 of decoder 145 decodes the recoded digital video signal to produce a re-decoded digital video 3 signal and a corresponding picture type signal. The re-decoded 4 digital video signal is supplied to a digital interface 159 and thence to a multiplexer 161 which multiplexes the re-decoded BP22:2952REV1.APP
A
PATENT
450100-2952 1 digital video signal with the picture type signal from decoding 2 circuit 160 to produce a multiplexed digital video signal. The 3 multiplexer 161 multiplexes the picture type signal as a flag in 4 the re-decoded digital video signal.
The multiplexer 161 supplies the multiplexed digital 6 video signal to an A/D converter 146 which serves to convert the 7 multiplexed digital video signal to an analog video signal also 8 referred to as output signal c. The converter 146 applies the S. output signal c to an output terminal 147.
.0 Due to the inclusion of the picture type identifier in .1 the signals b and c, the codecs of Fig. 16 process respective .2 pictures of the video signals b and c in the same manner, that 3 is, as the same one of an I-picture, a P-picture or a B-picture.
4 Consequently, the deterioration in picture quality at each codec .:is minimized even when the picture quality changes from picture 6 .to picture due to the type of predictive coding employed from 7 .2'..!picture to picture.
Fig. 17 shows the coding circuits of Figs. 14 and 16 in more detail. In Fig. 17, elements similar to those in Fig. 6 are indicated by the same reference numerals, and detailed 1 explanations thereof are omitted.
2 In Fig. 17, a picture type signal is supplied to input 3 terminal 70 which serves to supply the picture type signal to motion vector detector 450, predictive judging circuit 454 and variable length coding circuit 458. The processing performed by
BP
22 :2952REV1.APP 1
PATENT
450100-2952 1 elements 450, 454 and 458 is similar to the processing performed 2 by elements 50, 54 and 58 of Fig. 6, except that the elements of 3 Fig. 17 perform in accordance with the picture type identified in 4 the external picture type signal which indicates the picture type used in previous coding. The variable length coding circuit 458 6 includes the picture type based on the external picture type 7 signal as part of the header information.
3 Fig. 18 shows the decoding circuits of Figs. 14 and 16 in more detail. In Fig. 18, elements similar to those in Fig. 9 3 are indicated by the same reference numerals, and detailed L explanations thereof are omitted.
2 Variable length decoding circuit 482 of Fig. 18 is 3 similar to variable length decoding circuit 82 of Fig. 9, except I that circuit 482 applies the picture t ype separated from the encoded signal not only to motion compensator 487, but also to .:..output terminal 92.
Although an illustrative embodiment of the present S:invention, and various modifications thereof, have been described detail herein with reference to the accompanying drawings, it :is to be understood that the invention is not limited to this *precise embodiment and the described modifications, and that S.-ee.various changes and further modifications may be effected therein by one skilled in the art without departing from the scope or spirit of the invention as defined in the appended claims.
BP22:2952REV1.APP The claims defining the invention are as follows: 1. An apparatus for processing a picture signal that had been previously coded, comprising: means for receiving a picture type signal included in said picture signal s indicating one of intra-picture coding, predictive coding and bi-directionally predictive coding representing the previous types of coding for respective pictures represented by said picture signal; and coding means for encoding said picture signal as a function of said picture type signal to produce an encoded picture signal.
2. The apparatus of claim 1, wherein said means for receiving includes means for separating said picture type signal from said picture signal.
3. The apparatus of claim 1, further comprising means for decoding said encoded picture signal as a function of said picture type signal.
4. The apparatus of claim 1, wherein said picture signal is a digital S. 15 signal.
5. The apparatus of claim 1, wherein said coding means includes: S motion vector detection means for detecting motion vectors between said pictures represented by said picture signal as a function of said picture type signal; predictive judging means for choosing one of intra-coding, forward predictive 5* 20 coding, backward predictive coding and bi-directionally predictive coding macro-block by macro-block as a function of said picture type signal; and o, variable length coding means for encoding said picture type signal in said 0C** encoded picture signal.
°S 6. An apparatus for processing an encoded picture signal, comprising: means for decoding said encoded picture signal to produce a picture type signal and a decoded picture signal, said picture type signal representing a type of encoding of said encoded picture signal; and means for multiplexing said picture type signal and said decoded picture signal to produce an output signal.
[N:\Iibcc]00987:SEC
Claims (14)
- 7. The apparatus of claim 6, wherein each picture of said decoded picture signal includes a vertical blanking interval; and said means for multiplexing inserts said picture type signal into the vertical blanking intervals of said decoded picture signal.
- 8. The apparatus of claim 6, further comprising means for encoding said decoded picture signal as a function of said picture type signal.
- 9. The apparatus of claim 6, wherein said decoded picture signal is a digital signal. The apparatus of claim 6, wherein said means for decoding includes variable length decoding means for separating said picture type signal from said output signal and wherein said means for multiplexing is operative to multiplex the separated picture type signal.
- 11. A method for processing a picture signal that had been previously coded, comprising the steps of: #0 15 receiving a picture type signal included in said picture signal indicating one of intra-picture coding, predictive coding and bi-directionally predictive coding :i representing the previous types of coding for respective pictures represented by said picture signal; and encoding said picture signal as a function of said picture type signal to produce 20 an encoded picture signal.
- 12. The method of claim 11, wherein the step of receiving includes ""separating said picture type signal from said picture signal.
- 13. The method of claim 11, further comprising a step of decoding said encoded picture signal as a function of said picture type signal.
- 14. The method of claim 11, wherein said picture signal is a digital signal. The method of claim 11, wherein the step of encoding includes: detecting motion vectors between said pictures represented by said picture signal as a function of said picture type signal; IN:\IibccJOO987:SEC -47- choosing one of intra-coding, forward predictive coding, backward predictive coding and bi-directionally predictive coding macro-block by macro-block as a function of said picture type signal; and encoding said picture type signal in said encoded picture signal.
- 16. A method for processing an encoded picture signal, comprising: decoding said encoded picture signal to produce a picture type signal and a decoded picture signal, said picture type signal representing a type of encoding of said encoded picture signal; and multiplexing said picture type signal and said decoded picture signal to produce an output signal.
- 17. The method of claim 16, wherein each picture of said decoded picture signal includes a vertical blanking interval; and the step of multiplexing inserts said picture type signal into the vertical blanking intervals of said decoded picture signal. 15 18. The method of claim 16, further comprising a step of encoding said decoded picture signal as a function of said picture type signal. t a
- 19. The method of claim 16, wherein said decoded picture signal is a S i.t: g digital signal. The method of claim 16, wherein the step of decoding includes 20 separating said picture type signal from said output signal and wherein the step of multiplexing multiplexes the separated picture type signal. a.
- 21. An apparatus for processing a picture signal that had been previously coded, said apparatus being substantially as hereinbefore described with reference to 66 Figs. 16 to 18 of the accompanying drawings.
- 22. An apparatus for processing an encoded picture signal, said apparatus being substantially as hereinbefore described with reference to Figs. 16 to 18 of the accompanying drawings. IN:\libcc100987:SEC -48
- 23. A method for processing a picture signal that had been previously coded, said method being substantially as hereinbefore described with reference to Figs. 16 to 18 of the accompanying drawings.
- 24. A method for processing an encoded picture signal, said method being substantially as hereinbefore described with reference to Figs. 16 to 18 of the accompanying drawings. DATED this Eighth Day of February 1998 Sony Corporation Patent Attorneys for the Applicant SPRUSON FERGUSON @0 S @0 S 0000 0@ 0O 4. 0000 S. 0 S. 0 S. S S 00 5 0* @SSS S. S. S OS S S S 65 5505 S [I.:\!ibcc!OO9s7:SEC Picture Signal Transmitting Method and Apparatus Abstract A picture type identifier, indicating one of intra-picture coding (an I-picture), forward or backward predictive coding (a P-picture) and bi-directionally predictive coding (a B-picture), is included with a picture signal when the signal is encoded and when the signal is decoded. Each of intial and subsequent encoding and decoding is a function of the included picture type. 00 S 00 *0 0* IN:\LIBT]07066:GMM
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP6982993A JP3163830B2 (en) | 1993-03-29 | 1993-03-29 | Image signal transmission method and apparatus |
JP5-69829 | 1993-03-29 | ||
AU59095/94A AU5909594A (en) | 1993-03-29 | 1994-03-25 | Picture signal transmitting method and apparatus |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
AU59095/94A Division AU5909594A (en) | 1993-03-29 | 1994-03-25 | Picture signal transmitting method and apparatus |
Publications (2)
Publication Number | Publication Date |
---|---|
AU5299298A AU5299298A (en) | 1998-03-26 |
AU707033B2 true AU707033B2 (en) | 1999-07-01 |
Family
ID=25632246
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
AU52992/98A Expired AU707033B2 (en) | 1993-03-29 | 1998-02-06 | Picture signal transmitting method and apparatus |
Country Status (1)
Country | Link |
---|---|
AU (1) | AU707033B2 (en) |
-
1998
- 1998-02-06 AU AU52992/98A patent/AU707033B2/en not_active Expired
Non-Patent Citations (1)
Title |
---|
AT&T TECH JOURNAL,VOL 72 NO. 1 FEB 93 NEW YORK US P67-89, A. RAVINA ET AL "IMAGE & VIDEO CODING STANDARDS" * |
Also Published As
Publication number | Publication date |
---|---|
AU5299298A (en) | 1998-03-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5473380A (en) | Picture signal transmitting method and apparatus | |
US5715009A (en) | Picture signal transmitting method and apparatus | |
US5805225A (en) | Method and apparatus for variable resolution video picture coding/decoding | |
JP3672185B2 (en) | CODING SYSTEM, DEVICE USING THE SAME, AND RECORDING MEDIUM | |
KR100766740B1 (en) | Apparatus and method for converting data using encoding history information | |
US5657086A (en) | High efficiency encoding of picture signals | |
US6031575A (en) | Method and apparatus for encoding an image signal, method and apparatus for decoding an image signal, and recording medium | |
JP3911035B2 (en) | Moving picture coding method and moving picture coding apparatus | |
JP3980659B2 (en) | Video encoding method and apparatus, video decoding method and apparatus. | |
AU707033B2 (en) | Picture signal transmitting method and apparatus | |
JPH06276481A (en) | Picture signal coding and decoding method and recording medium | |
JP4139983B2 (en) | Encoded stream conversion apparatus, encoded stream conversion method, stream output apparatus, and stream output method | |
JP4543321B2 (en) | Playback apparatus and method | |
JP4482811B2 (en) | Recording apparatus and method | |
JP4539637B2 (en) | Stream recording apparatus and stream recording method, stream reproduction apparatus and stream reproduction method, stream transmission apparatus and stream transmission method, and program storage medium | |
JP3516622B2 (en) | Decoding apparatus and method | |
JP3164110B2 (en) | Encoding device and method | |
JP3500340B2 (en) | Coding apparatus and method | |
JP3307379B2 (en) | Decoding apparatus and method | |
JP3516621B2 (en) | Encoding device and method | |
JPH0759092A (en) | Transmitter for picture signal | |
JP2000165870A (en) | Coding device and its method | |
JP2000156859A (en) | Device and method for encoding | |
JPH06326999A (en) | Method and device for picture signal transmission and method and device for picture signal decoding | |
JP2001177841A (en) | Image signal transmission method and device, and image signal decoding method and device |