CA2364478C - Method and architecture for converting mpeg-2 4:2:2-profile bitstreams into main-profile bitstreams - Google Patents

Method and architecture for converting mpeg-2 4:2:2-profile bitstreams into main-profile bitstreams Download PDF

Info

Publication number
CA2364478C
CA2364478C CA2364478A CA2364478A CA2364478C CA 2364478 C CA2364478 C CA 2364478C CA 2364478 A CA2364478 A CA 2364478A CA 2364478 A CA2364478 A CA 2364478A CA 2364478 C CA2364478 C CA 2364478C
Authority
CA
Canada
Prior art keywords
chroma
format
data
bitstream
conversion
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 - Lifetime
Application number
CA2364478A
Other languages
French (fr)
Other versions
CA2364478A1 (en
Inventor
Xuemin Chen
Limin Wang
Ajay Luthra
Robert O. Eifrig
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Google Technology Holdings LLC
Original Assignee
General Instrument Corp
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by General Instrument Corp filed Critical General Instrument Corp
Publication of CA2364478A1 publication Critical patent/CA2364478A1/en
Application granted granted Critical
Publication of CA2364478C publication Critical patent/CA2364478C/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/186Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being a colour or a chrominance component
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N11/00Colour television systems
    • H04N11/04Colour television systems using pulse code modulation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/40Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using video transcoding, i.e. partial or full decoding of a coded input stream followed by re-encoding of the decoded output stream
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/64Circuits for processing colour signals

Abstract

A system for converting the color format of a digital video bitstream. The system accounts for the allowable formats of the pre- and post-conversion bitstreams, including quantizer (355) precision level, and whether luma and chroma data have separate quantization matrices (385, 390), or share a common quantization matrix. In a particular implementation, an MPEG-2 4:2:2P
bitstream having a color format of 4:2:2 or 4:2:0 is converted to an MP
bitstream having a color format of 4:2:0. Coding efficiencies are achieved by using the luma quantization matrix (390) to re-quantize the chroma data, and re-using luma motion vectors MV for performing motion compensation (320, 325, 510) of the chroma data. Further efficiencies can be achieved by representing a 4:2:2 reference picture in a 4:2:0 format for converting intercoded frames, and changing the position of a pixel downsizing filter (340) and clip function (335). Adjustment (130, 230, 382), of the quantization precision is provided as required. A transcoding function (800) can also be achieved.

Description

METHOD AND ARCHITECTURE FOR CONVERTING MPEG-2 4:2:2-PROFILE BITSTREAMS INTO MAIN-PROFILE BITSTREAMS
BACKGROUND OF THE INVENTION

The present invention provides a system for converting the format of a digital video bitstream.
The invention is particularly suitable for converting a MPEG-2 digital video data from a 4:2:2 Profile format to a Main Profile format.
The following acronyms and abbreviations are used:
4:2:2P - 4:2:2 Profile;
CBP - Coded Block Pattern;
DCT - Discrete Cosine Transform;
HDTV - High Definition Television;
HL - High Level;
IDCT - Inverse DCT;
MB - Macroblock MC - Motion Compensation;
ML - Main Level;
MP - Main Profile;
MV - Motion Vector;
QDC - Quantized Direct Current;
SDTV - Standard Definition Television;
VBV - Video Buffer Verifier;
VLC - Variable Length Coder; and VLD - Variable Length Decoder.
2 A video image is defined by a number of picture elements, also known as pixels or pels. A pixel, which is the smallest element of a raster scan line in the image, has an associated color space. For example, in a YCrCb color space, Y is a luminance component, and Cr and Cb are color difference components. Various sampling formats have been defined, including 4:4:4, 4:2:2, and 4:2:0. For example, with a 4:2:2 format, a macroblock has four 8x8 Y blocks, two 8x8 Cr blocks and two 8x8 Cb blocks. With this format, the sampling frequencies for the Y, Cr and Cb components may be 13.5 MHz, 6.75 MHz and 6.75 MHz, respectively.
With a 4:2:0 format, a macroblock has four 8x8 Y blocks, one 8x8 Cr block and one 8x8 Cb block.
Moreover, various digital video coding standards have been developed for coding video data including, in particular, the MPEG-2 standard, defined in ISO/IEC 13818-2 MPEG-2 Video (ITU-R
H.262), 1995.
MPEG-2 designates several sets of constrained parameters using a two-dimensional ranking order.
One of the dimensions, called the "profile" series, specifies the coding features supported. The other dimension, called "level", specifies the picture resolutions, bit rates, and so forth. that can be accommodated. The most important profile-level combination is called Main Profile at Main Level, or
3 MP@ML. MP@ML supports a 4:2:0 color subsampling ratio.

In addition to the Main Profile, other profiles exist. For example, the Simple Profile is similar to the Main Profile but has no B-pictures. The SNR
Scaleable Profile adds SNR scalability to the Main Profile. The Spatially Scaleable Profile adds spatial scalability to the SNR Scaleable Profile.
The High Profile adds a 4:2:2 color format capability to the Spatially Scaleable Profile.

The Main Level is defined for CCIR 601 video, while the Simple Level is defined for Standard Intermediate Format (SIF) video. Additionally, two higher levels for HDTV are the High-1440 Level, with a maximum of 1440 pixels per line, and the High Level, with a maximum of 1920 pixels per line.
Furthermore, a 4:2:2 profile, also referred to as 4:2:2P, has recently been developed, which accommodates both 4:2:2 and 4:2:0 color formats.
See ISO/IEC 13818-2 Amendment 2, MPEG-2 4:2:2 Profile at Main Level, Jan. 1996; ANSI/SMPTE 308M, SMPTE STANDARD for television - MPEG-2 4:2:2 Profile at High Level, 1997; and ISO/IEC 13818-2 Proposed Draft Amendment 5, 4:2:2 Profile at High Level, March 1998.

The 4:2:2 profile is intended for professional video applications where ease of editing of
4 compressed video and multiple-generation encoding/decoding of video are important requirements. The primary applications targeted by this profile are:
= Storage = Editing and creation of visual effects = Video tape or disk recording for professional use (contribution quality) = Studio post-production of high-quality video sequences = Efficient transmission for storage and distribution of contribution quality video 4:2:2P can provide higher video quality, better chroma resolution and allows a higher bit-rate (at Main Level(ML), up to 50 Mbit/s) than Main Profile (e.g., MP@ML). In particular, 4:2:2P provides separate quantization matrices for luma and chroma data. In studio applications, very high quality video and ITU-R 601 4:2:2 video format are often needed for ease of chroma keying and other special effects. Because of the requirement of ease of editing, more frequent INTRA pictures are necessary, which also results in high coding bit-rates. 4:2:2P
permits all I-picture encoding. This enables fast recovery from transmission errors and can simplify editing applications.

Even the 4:2:2P with a 4:2:0 color format can provide a better quality image than MP with the same color format since 4:2:2P allows greater quantization precision.
5 4:2:2P further allows the high bit rates required to maintain high quality while using only I-picture coding. 4:2:2P also allows the use of P-and B-picture coding types, which can further improve quality or reduce bit rate for the same quality.

Furthermore, in a typical TV broadcast chain, video goes through multiple generations of encode/decode as local TV stations add local programming information and commercials to video before it gets distributed to consumers for reception at their homes, e.g., via a cable television network. Moreover, with analog TV, multiple generations of encode/decode can result in significant picture quality losses. On the other hand, 4:2:2P can preserve high quality after multiple generations of encoding/decoding. In the case of multiple generations without picture manipulation or change in picture coding type between generations, the quality from the 4:2:2P
coder remains nearly constant after the first generation. Use of picture manipulation or change in picture coding type between generations causes some degradation in quality. Nevertheless, the
6 resulting quality is acceptable for a broad range of applications.
TV studios typically produce "contribution quality" video, which usually is ITU-R 601 source video, or 4:2:2P@ML (or 4:2:2P@HL) compressed video.
This video is then encoded and transmitted as "distribution quality" TV. Digital television and HDTV in North America have adopted MPEG-2 MP@ML and MP@HL as their video coding standard. Both MP@ML
and MP@HL encode and transmit only 4:2:0 format distribution quality video. MP provides a common quantization matrix for luma and chroma data. For example, the aggregate data rate for a HDTV system, which includes compressed video, compressed audio, conditional access, and an auxiliary data channel, is around 18 to 20 Mbits/s.
Accordingly, there is a need for an efficient system to convert a 4:2:2P pre-compressed contribution quality bitstream to a MP distribution quality bitstream.
To reduce coding complexity, the system should allow reuse of motion vectors, avoid the need to change MB coding types, and use only a single MC
unit for processing chroma blocks. The system should further provide the capability to perform a decimate-filtering process on residue chroma-blocks in the INTER coded MBs.
7 PCTIUSOO/03870 The system should provide a simple approach to replace the chroma quantization matrix during format conversion it if appears in the 4:2:2P bitstreams.
The system should refine the CBP for chroma blocks.
The system should also provide adjustment of the MPEG DC coefficient precision variable, intra_dc_precision, as required to conform to the coding standard used. For example, the maximum allowed intra do precision level for a MP bitstream is lower than that for a 4:2:2P bitstream.
The system should provide a combined 4:2:2 to 4:2:0 converter and a normal transcoder to perform 4:2:2P to MP transcoding with a format conversion.
The system should avoid the need to fully decode the processed bitstream during the format conversion.
The present invention provides a system having the above and other advantages.
8 SUMMARY OF THE INVENTION

The invention relates to approaches to converting the format of a digital video bitstream, such as for converting a 4:2:2P pre-compressed contribution quality bitstream to a MP distribution quality bitstream.
A method for converting a pre-conversion bitstream having a first format to a post-conversion bitstream having a second format, includes the steps of: at least partially decompressing the pre-conversion bitstream to recover chroma data therein in a pixel domain, recovering quantization matrix data associated with luma data from the pre-conversion bitstream, and re-compressing data corresponding to the recovered chroma data. The re-compressing includes re-quantizing of the data corresponding to the recovered chroma data according to the recovered luma quantization matrix to provide the post-conversion bitstream.
When the pre-conversion bitstream comprises inter coded images, and the recovered chroma data has a first chroma format that corresponds to the first format of the pre-converted bitstream, the method includes the further steps of: recovering motion vectors associated with the luma data from the pre-conversion bitstream, using the recovered luma motion vectors to perform first motion
9 compensation processing of the recovered chroma data for the inter-coded images, where the first motion compensation processing using the first chroma format, filtering the chroma data after the first motion compensation processing to provide chroma data that has a second chroma format that corresponds to the second format of the post-conversion bitstream, and using the recovered luma motion vectors to perform second motion compensation processing of the chroma data with the second chroma format to provide the data for the re-compressing step.
With the second chroma format, one chroma block is provided for at least every two chroma blocks in the first chroma format (e.g., two blocks for 4:2:2 and one block for 4:2:0).
Data corresponding to the chroma data with the second chroma format provided by the filtering step is transformed from a pixel domain to a transform domain, then quantized, then inverse quantized and then inverse transformed to provide data for the second motion compensation processing.
The method may include the further steps of recovering a first quantization precision level from the pre-conversion bitstream, and if the first quantization precision level is greater than a maximum allowed precision level of the second format of the post-conversion bitstream: (i) lowering the first quantization precision level, (ii) recovering DC luma transform data from the pre-conversion bitstream, and (iii) re-quantizing data corresponding to the recovered DC luma transform 5 data according to the lowered quantization precision level.
Alternatively, when the pre-conversion bitstream comprises inter coded images, and the recovered chroma data has a first chroma format that
10 corresponds to the first format of the pre-converted bitstream, the method includes the further steps of:
filtering the recovered chroma data to provide residue chroma data that has a second chroma format that corresponds to the second format of the post-conversion bitstream, recovering motion vectors associated with the luma data from the pre-conversion bitstream, and using the recovered luma motion vectors to perform motion compensation processing of data corresponding to the residue chroma data for the inter-coded images to provide the data for the re-compressing step. Here, the motion compensation processing uses the second chroma format, so only one motion compensator is required. The errors introduced are generally not problematic since chroma errors are less detectable than luma errors in the resulting image.
11 The first format may be the MPEG 4:2:2 Profile format, and the second format may be the MPEG Main Profile format.
A coded block pattern of the pre-conversion bitstream may be modified for use in the post-conversion bitstream.
Moreover, the pre-conversion bitstream and the post-conversion bitstream may use the same macroblock coding type.
Furthermore, the re-quantization step may be responsive to a rate control signal for setting a bit rate of the post-conversion bitstream.
The recovered luma quantization matrix may be modified to improve coding efficiency of the post-conversion bitstream.
A corresponding apparatus is also presented.
12 BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 illustrates a first approach to 4:2:2P
to MP bitstream converting in accordance with the present invention.
FIG. 2 illustrates a second approach to 4:2:2P
to MP bitstream converting in accordance with the present invention.
FIG. 3 illustrates chrominance block bitstream conversion from a 4:2:2P 4:2:2 bitstream to a MP
4:2:0 bitstream in accordance with the present invention.
FIG. 4 illustrates a simplified chrominance-block bitstream conversion from a 4:2:2P 4:2:2 bitstream to a MP 4:2:0 bitstream in accordance with the present invention.
FIG. 5 illustrates an approximated chrominance-block bitstream conversion from a 4:2:2P 4:2:2 bitstream to a MP 4:2:0 bitstream in accordance with the present invention.
FIG. 6 illustrates a chrominance-block bitstream conversion from a 4:2:2P 4:2:0 bitstream to a MP 4:2:0 bitstream in accordance with the present invention.
FIG. 7 illustrates a luminance-block bitstream conversion from a 4:2:2P 4:2:2 or 4:2:0 bitstream to a MP 4:2:0 bitstream when intra do precision=ll in accordance with the present invention.
13 FIG. 8 illustrates a combination of a 4:2:2 to 4:2:0 converter and a transcoder in accordance with the present invention.
14 DETAILED DESCRIPTION OF THE INVENTION
The invention relates to approaches to converting a 4:2:2P pre-compressed contribution quality bitstream to a MP distribution quality bitstream.
In general, a MPEG-2 transcoder is an instrument which converts a pre-compressed MPEG-2 bit stream into another MPEG-2 bit stream at a new rate. A transcoder for converting an MPEG-2 4:2:2P@ML (or 4:2:2P@HL) bit stream to MP@ML (or MP@HL) bit stream can be a cascaded 4:2:2P (@ML or @HL) or MP transcoder and a 4:2:2 to 4:2:0 converter with rate-control. The following transcoding cases are of particular interest: 4:2:2P@ML to MP@ML, 4:2:2P@HL to MP@ML, and 4:2:2P@HL to MP@HL.
Transcoding from HL to ML is very common, e.g., from HDTV format to SDTV format. However, transcoding from ML to HL generally is not of interest since it results in a higher bit rate but does not improve picture quality. If one wants a higher resolution from an ML bitstream, the bitstream can be decoded, and post-processing interpolation can be used to enlarge the image.
There are two different approaches, as shown in FIGS 1 and 2, to achieve 4:2:2P to MP transcoding.
In the Figures, like-numbered elements correspond to one another.

FIG. 1 illustrates a first approach to 4:2:2P
to MP bitstream transcoding in accordance with the present invention. Here, when a pre-compressed 4:2:2P bitstream is input, a 4:2:2 to 4:2:0 5 bitstream converter 110 partially decodes the 4:2:2 bitstream and re-assemble the results to provide a MP bitstream. A conventional 4:2:0 transcoder 120 is then used to generate a new MP compressed bit stream at a new rate. A rate control function 130 10 controls the rate of the bitstream that is output by the transcoder 120.
FIG. 2 illustrates a second approach to 4:2:2P
to MP bitstream transcoding in accordance with the present invention. Here, when a pre-compressed
15 4:2:2P bitstream is input, a 4:2:2P transcoder 210 is cascaded with a 4:2:2 to 4:2:0 bitstream converter 220 to generate a MP compressed bitstream at a new rate, under the control of a rate control function 230.
With rate control, special attention has to be paid to the maximum number of bits in each macroblock since the maximum number of bits in a macroblock for 4:2:0 chroma format is up-bounded by 4,608 bits, but is unconstrained for a macroblock for the 4:2:2P 4:2:2 chroma format.
The present invention focuses on the 4:2:2 to 4:2:0 bitstream converter 110, 220.
16 The 4:2:2P@ML format is an extension to the MP@ML format in many ways. The key ML features are summarized in Table 1. Similarly, 4:2:2P@HL is an extension to MP@HL in many ways. The key HL
features are summarized in Table 2.
17 Table 1 - 4:2:2P@ML and MP@ML
4:2:2P ML MP ML
Chroma format 4:2:2 or 4:2:0 4:2:0 Profile and 10000101 1001000 level identification Repeat first Constrained as MP@ML, Table 8-7 in MPEG-2 Video field with two additional constraints for pictures with more than 512 lines: B
pictures shall have no repeated first fields if the frame rate is 25Hz.
Intra DC 8,9,10, or 11 bits 8,9 or 10 bits precision:
Upper bounds 720 samples/line, 608 720 samples/line, 576 for sample lines/frame, 30 frames/sec. lines/frame, 30 frames/sec density (512 lines/frame for 30 Hz, 608 lines/frame for 25Hz).
Upper bound 11,059,200 pixels/sec. 10,368,000 pixels/sec.
for luma sample rate:
Upper bound 50 MB/sec. 15 Mbits/sec.
for bit rate:
Maximum 9,437,184 bits 1,835,008 bits VBV Buffer size:
Quantization Separate luminance and The same table for both Tables chrominance quantization luminance and chrominance tables Maximum unconstrained for 4:2:2, 4,608 number of bits 4,608 for 4:2:0 in a macroblock:
18 Table 2 - 4:2:2P@HL and MP@HL

4:2:2 HL MP HL
Chroma format 4:2:2 or 4:2:0 4:2:0 Profile and 10000010 1000100 level identification Repeat first Constrained as MP@HL, Table 8-7 in MPEG-2 field with two additional Video constraints for pictures with more than 1152 lines: B
pictures shall have no repeated first fields if the frame rate is 25Hz.
Intra DC 8,9,10, or 11 bits 8,9 or 10 bits precision:
Upper bounds 1920 samples/line, 1152 1920 samples/line, 1152 for sample lines/frame, 60 Frames/sec. lines/frame, 60 Frames/sec.
density Upper bound 62,668,800 pixels/sec. 62,668,800 pixels/sec.
for luma sample rate:
Upper bound 300 MB/sec 80Mbits/sec for bit rate:
Maximum 47,185,920 bits 9,781,248 bits VBV Buffer size:
Quantization Separate luminance and The same table for both Tables chrominance quantization luminance and chrominance tables Maximum Unconstrained 4,608 number of bits in a macroblock:
Without changing the coded macroblock type in the 4:2:2P-bitstreams, the differences between
19 4:2:2P and MP given in Tables 1 and 2 result in the possible changes to syntax listed in Table 3.
Note that the macroblock type, given by a VLC
coded term macroblock type, indicates a number of different characteristics of a macroblock, including:
whether quant scale code is present in the bitstream (macroblock quant), whether forward or backward motion compensation is used (macroblock motion forward and macroblock_motion_backward, respectively), whether coded block pattern is present in the bitstream (macroblock pattern), whether the macroblock is intra-coded (macroblock intra), whether spatial temporal weight code is present in the bitstream (spatial_temporal_weight_code_flag), and the permitted spatial temporal weight classes.

Table 3 - Possible Syntax Changes Elements Syntax Change Action of syntax change A In Sequence_header( ), re-set vbv_buffer _size _value= 1,835,008@ML (9,781,248@HL) and re-set bit-rate-value.
In Sequence_extension( ), re-set profile_and_level_indication =0 100 1000@ML (0 100 0100@HL).
In Picture header( ), re-compute and re-set vbv delay, B In Sequence extension( ), re-set chroma format="4:2:0".
C In Picture_coding_extension( ), re-set intra_dc_precision=8,9, or 10(programmable).
Set chroma 420 e= ro ressive frame;
D In Quant matrix extension( ), re-set load_chroma_intra_quantisermatrix=0 and remove chroma intra uantiser matrix[64].
E In Quant matrix _extension( ), re-set load _chroma non_intra_quantisermatrix=0 and remove chroma non intra quantiser matrix[64].
F Change Coded Block Patterns for each macroblock.
The syntax change actions disclosed in Table 3 can be understood further with reference to the syntaxes for "Sequence header", "Sequence 5 extension", "Picture Header", "Picture coding extension", and "Quant matrix extension", disclosed in the MPEG-2 standard.
Note that if the original intra do precision=ll bits, it will be re-set to 8,9, or 10-bits for 10 compatibility with the MP (see Tables 1 and 2).
The MPEG parameter intra do precision is 2-bit integer defined to have the binary value 00, 01, 10 or 11 to designate a precision of 8, 9, 10 or 11 bits, respectively. The parameter intra do precision indicates values for the multiplier, intra do mult, used for inverse quantizing of DC coefficients of intra coded blocks.
Namely, intra do mult=8, 4, 2 or 1 for intra_dc_precision values of 00, 01, 10 or 11, respectively.
Generally, for inverse quantization, a two-dimensional array of coefficients, QF[v][u], is inverse quantized to produce the reconstructed DCT
coefficients. This process is essentially a multiplication by the quantizer step size. The quantizer step size is modified by two mechanisms.
Namely, a weighting matrix is used to modify the step size within a block, and a scale factor is used so that the step size can be modified at the cost of only a few bits (as compared to encoding an entire new weighting matrix).
Appropriate inverse quantization arithmetic is performed on the transform coefficients in the bitstream to be converted using quantiser scale code, an unsigned, non-zero integer in the range 1 to 31 that indicates the quantisation scale factor, and weighting matrices W[w] [ v] [ u] .
The resulting coefficients, F ''[v][u], are saturated to yield FF[v][u], and then a mismatch control operation is performed to give the final reconstructed DCT coefficients, F[v][u].

Two weighting matrices are used for 4:2:0 data - one for intra macroblocks (luma and chroma), and the other for non-intra macroblocks (luma and chroma). For 4:2:2 data, four matrices are used (intra luma, intra chroma, non-intra luma, and non-intra chroma). Thus, different matrices can be used for luminance and chrominance data. Each matrix has a default set of values which may be overwritten by downloading a user-defined matrix.
For the weighting matrices W[w] [v] [u] , w takes the values 0 to 3 indicating which of the matrices is being used. Table 4 summarizes the rules governing the selection of w.

Table 4 - Selection of w 4:2:0 4:2:2 luma chroma luma Chroma intra blocks 0 0 0 2 (macroblock intra = 1) non-intra blocks 1 1 1 3 (macroblock intra = 0) 1~ 1 For intra blocks, the DC value of a two-dimensional array of quantized DCT transform coefficients, QF[0][0], is treated differently than the AC values. The DC value is inverse quantized to produce the DCT transform DC coefficient array value F''[0][0], according to the relationship:
F' '[0][0]=intra do mult x QF[0][0].
Moreover, vbv delay is re-computed from vbv delay(n)=Bd(n)/R, where Bd(n) is the decoder (VBV) buffer fullness just before decoding picture n, and R is the bit rate. In general, the vbv delay and vbv buffer size re-setting require a quantization feedback loop to avoid over- or under-flow of the VBV buffer and the actual rate buffer.
The new coded block pattern (CBP) for the chroma block of a MB in the MP-bitstream is determined by the re-quantized chrominance data.
The CBP indicates the number of coded blocks for each macroblock, e.g., eight coded blocks for 4:2:2 color format, or six coded blocks for 4:2:0 color format. For example, for a 4:2:2 to 4:2:0 conversion, syntax change F may involve changing the CBP to indicate the presence of two rather than four chroma blocks. No change to the number of luma blocks (e.g., four blocks) occurs.
To perform the 4:2:2P to MP conversion, the following key syntax elements need to be parsed from the 4:2:2P bitstream:
a=(intra do precision==11)?1:0;
b=(chroma format=="4:2:2")?1:0;
c=(load chroma intra quantiser matrix==1)?1:0; and d=(load chroma non intra quantiser matrix==l)?1:0.

The above statements use a C-language like pseudo-code syntax. For example, "a=(intra do precision==11) ? 1 : 0" means "a" is assigned the value "1" if "intra do precision==11"
is true. Otherwise, "a" is assigned the value "0".
As mentioned, intra do precision must have a value of 8, 9 or 10 for MP. Accordingly, it must be reset if intra do precision==l1 (decimal 11, or 1110) .
The term chroma_format is a two-bit integer indicating the chrominance format of the bitstream to be converted. Namely, chroma format = 01 (binary) indicates a 4:2:0 format, and chroma format = 10 indicates a 4:2:2 format. Recall that the 4:2:2P accommodates both the 4:2:2 color format (b=l) and 4:2:0 color format (b=0). The 4:2:0 format of 4:2:2P is also an important case. It differs from ML even though both of them have the same resolution since, with 4:2:2P, both luma and chroma can have different quantization matrices. In contrast, with ML, both luma and chroma use the same quantization matrix. Experiments show that coding with the separate luma and chroma matrices can provide a better quality image.
The term load chroma intra quantiser matrix is a one-bit flag which is set to "1" if chroma_intra_quantiser_matrix follows. If it is set to "0", there is no change in the values that shall be used. If chroma format is "4:2:0" (i.e., 10), the flag takes the value "0".
The term chroma_ intra_quantiser_matrix is a list of sixty-four, non-zero 8-bit unsigned integers 5 used for quantizing intra chroma transform values.
The term load-chroma_non_intra_quantiser_matrix is a one-bit flag which is set to "1" if chroma non intra quantiser matrix follows. If it is set to "0", there is no change in the values that 10 shall be used. If chroma format is "4:2:0" (i.e., 01), this flag takes the value "0".
The term chroma_non_intra_quantiser_matrix is a list of sixty-four, non-zero 8-bit unsigned integers used for quantizing non-intra chroma transform 15 values.
Table 5 defines the sixteen possible cases for the conversion process. For example, for case=0, abcd=0000 (i.e., a=0, b=0, c=0 and d=0). For the options to apply a Q-matrix, this is determined for
20 4:2:2P to MP transcoding/converting by detecting whether or not the received bitstream has a separate Q-matrix for chroma. If it does, the chroma matrix is replaced by a luma matrix.

Table 5 - Cases of Syntax Changes and Texture Converting Process Case: abcd: Syntax Conversion Options changes Process (see Table 3) 0: 0000 A vbv_delay and vbv_size changes 1: 0001 A, E FIG. 6 apply chroma intra uantiser matrix 2: 0010 A, D FIG. 6 apply chroma non intra uantiser matrix 3: 0011 A, D, E FIG. 6 4: 0100 A, B, F FIGs. 3-5 5: 0101 A, B, E, FIGs. 3-5 apply chroma_intra_quantiser_matrix F
6: 0110 A, B, D, FIGS. 3-5 apply F chroma non intra uantiser matrix 7: 0111 A, B, D, FIGs. 3-5 E, F
8: 1000 A, C FIGs. 6, 7 change intra do recision 9: 1001 A, C, E FIGs. 6, 7 change intra_dc_precision a 1 chroma intra uantiser matrix 10: 1010 A, C, D FIGs. 6, 7 change intra_dc_precision apply chroma non intra quantiser matrix 11: 1011 A, C, D, FIGs. 6, 7 change intra_dc_precision E
12: 1100 A, B, C, FIGs. 3-5, 7 change intra_dc_precision F
13: 1101 A, B, C, FIGs. 3-5, 7 change intra_dc_precision E, F apply chroma intra quantiser matrix 14: 1110 A, B, C, FIGs. 3-5, 7 change intra_dc_precision D, F apply chroma non intra quantiser matrix 15: 1111 A, B, C, FIGs. 1,2,4,5,7 change intra_dc_precision D, E, F

In the texture converting process of a format converter in accordance with the present invention, if intra_dc_precision#ll bits, only chrominance blocks need to be re-encoded, and no motion-estimation needs to be performed since motion vectors already determined by the luminance blocks are used for re-encoding the chrominance blocks.
For the case of intra do precision=ll bits in a 4:2:2P bitstream, re-quantization of intra DCT DC
luma components is required for the converting process (along with re-quantization of the chroma components). To simplify the converting process, the motion vectors are re-used for the MP
bitstreams. Since intra do precision can be re-set to 8, 9, or 10 bits, there is a trade-off between saving bits on quantization of intra-DCT DC
components and preserving the accuracy of re-used motion vectors. Therefore, the method to adjust intra do precision is to set the default intra do precision=10 (the highest allowed value for 4:2:0 MP), but it can be over-written to 8 or 9 by the user if desired.
With a higher precision, more bits are needed for transmission. Moreover, both full pel and half pel motion vectors can be re-used. Since at least the half pel MVs are generated from reconstructed pictures, a change in intra do precision could yield errors (e.g., drift), so minimizing such a change during format conversion could reduce the possible errors for 4:2:2P to MP transcoding.
If the re-quantization process is applied in the format conversion, intra do precision=8 should be used if it is desired to reduce the number of coded bits.
If the chroma Q-matrices (chroma intra quantiser matrix and/or chroma non intra quantiser matrix) are applied in the 4:2:2P-bitstream, the luma Q-matrices (luma_intra_quantiser_matrix and/or luma non intra quantiser matrix) are applied in the re-quantization of the chrominance blocks in accordance with the present invention.

When the quantization matrices (Q-matrices) are provided at a format converter, they are encoded in the bitstream in a scan order that is converted into the two-dimensional weighting matrix W[w][u][v] used in the inverse quantizer as discussed above.
FIG. 3 illustrates chrominance block bitstream conversion from a 4:2:2P bitstream to a MP bitstream in accordance with the present invention. FIG. 3 provides a complete block diagram for a converter for converting two (possible) chrominance blocks in a 4:2:2P bitstream (e.g., pre-conversion bitstream) into one chrominance block in a MP bitstream (e.g., post-conversion bitstream). The converter 300 receives a 4:2:2P bitstream at a VLD function 305, which provides MV data for first and second chroma motion-compensation functions, chroma MC(1) 320 and chroma MC(2), respectively.
Information regarding intra or inter mode status of the received data is provided to switches 325, 327 and 370.
For intra mode data, the switch 325 is activated to pass a null "0" signal to an adder 330, the switch 327 is activated to pass a null "0"
signal to an adder 345, and the switch 370 is activated to pass a null "0" signal to an adder 367.
For inter mode data, the switch 325 is activated to pass reference image data from the chroma MC(l) function 320 to the adder 330, and the switch 327 is Activated to pass reference image data from the chroma MC(2) function 326 to the adder 345.

The chromas MC(1) function 320 is the motion-compensation unit used for the 4:2:2 chroma data, 5 while the chroma MC(2) function 325 is the motion-compensation unit used for 4:2:0 chroma data. In accordance with the present invention, luma MV data is used for motion compensation of the 4:2:0 chroma MP data at the chroma MC(2) function 325 (as well as 10 for motion compensation of the 4:2:2 chroma 4:2:2P
data at the chroma MC(1) function 32). This avoids the need for separate motion estimation processing, including searching in a reference frame, for the 4:2:0 chroma MP data.

15 The data output from the VLD function 305 includes quantized transform coefficient data from a current image (e.g., frame). This data is provided to an inverse quantizer Q1-1 310, and to an IDCT
function 315. The resulting pixel domain data is 20 provided to the adder 330, and the output from the adder 330 is provided to a clip function 335 to clip the data between minimum and maximum values if necessary, e.g., in the range [0,255].

The clipped data is provided to a filter 340, 25 which includes a field-based vertical filter and a 2:1 vertical downsampling filter. For example, the vertical filler taps may be {-16,0,79,130,79,0,-16}
for the top-field, while the filter taps are {1,7,7,1} for the bottom-field. The filtered results are clipped into the range [0,255].

Note that the chroma MC(1) function 320 will modify the MVs received from the VLD 305 using 2:1 downsampling of the horizontal (x) components of the MVs. Similarly, the chromas MC(2) function 325 will modify the MVs received from the VLD 305 using 2:1 downsampling of both the horizontal (x) and vertical (y) components of the MVs.

The clipped data is also provided to the chroma MC(1) function 320.

Note that some function units are embedded in other units. For example, differential encoding and decoding of the quantized DCT DC coefficients are considered to be part of VLC block 395 and VLD block 305, respectively. Inverse quantization Q1-1 at block 310 includes the saturation process with the range [-2048, +2047] for each coefficient from the inverse quantization arithmetic. IDCT block 315 includes the saturation with the range [-256, 255]
for each inverse transformed value. The MC blocks, chroma MC(1) 320 and chroma MC(2) 325, include memories for the reference pictures.

A CBP function 316 may be used to change the CBP of the outgoing MP bitstream. The luma Q-matrix function 390 is one factor which could modify the CBP. Other factors are an increase in the re-quantization level, and only one field block in the original (received bitstream) two Cb or Cr blocks of a MB having pixel values.
The filtered current image data, having the 4:2:0 color format, is provided to the adder 345, where either a null signal or reference image data from the chroma MC(2) function is subtracted. At DCT function 350, the data from the adder 345 (comprising the current image 4:2:0 pixel data for an intra coded image, or comprising difference 4:2:0 pixel data corresponding to the difference between the current image and the reference image for an inter coded image) is transformed to DCT
coefficients, and quantized at a re-quantizer (Q1) 355.
The re-quantization level Q1 is shown as corresponding to the inverse quantization level Q-1.
However, the re-quantization level may be adjusted to a different level (Q2), based on a suitable control signal from a rate control function, to provide transcoding of the received bitstream, wherein the MP bitstream is provided at a different rate than the 4:2:2P bitstream.
See FIG. 8 for a full transcoder implementation.
The quantized data is provide to a VLC function 395 to obtain the MP bitstream for transmission or other processing. For example, a transcoder may be concatenated with the format converter 300.

The quantized data is processed at an inverse quantizer 360 and an IDCT function 365. The recovered current image pixel data is then provided to an adder 367, where it is summed with either a null signal (for intra mode data) or reference image data from the chroma MC(2) function 326 (for inter mode data) according to the switch 370. The switch 370 is responsive to intra/inter mode information provided to it (e.g., from the VLD 305).

The output from the adder 367 is clipped at a clip function 375 and provided to the chroma MC(2) function 326.

In the converter 300, the dotted-line function units and paths are conditional (i.e., are used in some cases). For example, a QDC unit 380 may be used to perform the re-quantization of DC chroma coefficients if requested by a user setting, or if intra do precision=1110. Specifically, QDC(8bits)=DC//8 for intra do precision=8, QDC(9bits)=DC//4 for intra do precision=9, and QDC(l0bits)=DC//2 for intra do precision=10. "DC"
denotes the value of the unquantize DC DCT
coefficient. "//" denotes integer division with rounding to the nearest integer. Half-integer values are rounded away from zero.

A function 382 is provided for setting a new intra do precision level (e.g., 8-10 bits) if required, as discussed previously.

A chroma Q-matrix function 385 recovers the chroma quantization matrix for use by the inverse quantizer 310. A luma Q-matrix function 390 recovers the luma quantization matrix for use by the re-quantizer 355 in re-quantizing the 4:2:0 MP
chroma coefficients. Optionally, the luma Q-matrix can be modified for coding reason, e.g., to improve coding efficiency by adjusting the values in the matrix in a manner that should be apparent to those skilled in the art. The re-quantizer 355 also re-quantizes DC luma coefficients when intra do precision=1110.

If no quantization matrix is present in the receives bitstream, a default, such as the default MPEG quantization matrix, may be used. The default matrix may be stored locally at the converter 300, for example.

To balance cost vs. performance trade-off, two simplified chrominance-block bitstream converters are provided next in FIGS 4 and 5.

FIG. 4 illustrates a simplified chrominance-block bitstream conversion from a 4:2:2P bitstream to a MP bitstream in accordance with the present invention. In a converter 400, only on motion-compensation unit, namely the chroma MC(2) function 326, is used. This saves 2/3 of the frame-buffer memories compared with the converter 300 of FIG. 3.
The filter 340 in FIG. 4 is only applied to chrominance blocks re-constructed from the IDCT
function 315, and no clipping is applied in the filtering process.
However, while the converter 400 provides 5 significant reductions in complexity, errors are introduced by this simplification. Three error sources are:
1. removing of chrominance MC(1) and representing the 4:2:2 chroma reference picture in 10 (a) the 4:2:0 format and (b) quantized by the new luma quantizer matrix;
2. changing the position of the filter and clip function blocks, and 3. integer operations of the filtering 15 process.
Since the entire process only involves chrominance, the introduced errors are likely very small since chroma errors are less likely to be perceived in an image.
20 If, in addition to the above approximations, the errors generated by quantization and clipping can be ignored, the chrominance-block bitstream conversion process given by the converter 400 of FIG. 4 can be approximated by the converter 500 of 25 FIG. 5.
FIG. 5 illustrates an approximated chrominance-block bitstream conversion from a 4:2:2P bitstream to a MP bitstream in accordance with the present invention. In the converter 500, a motion-compensation unit, namely the chroma MC(3) function 510, is applied to difference (or residue) images.
By combining the IDCT function 315, filter 340, and DCT function 350 into one single unit 520, the converter 500 reduces complexity. However, such a structure could introduce color drift.
For the case of 4:2:2P with 4:2:0 color format bitstreams, the converter can be further simplified as shown in FIG. 6.
FIG. 6 illustrates a chrominance-block bitstream conversion from a 4:2:2P bitstream with a 4:2:0 color format to a MP bitstream in accordance with the present invention. For the converter 600, an approximation can be made for a low-cost implementation by removing the three dash-line function units: IDCT 315, clip function 335, and DCT
function 350.
For luminance blocks, the only needed conversion is the possible DC precision change 382 shown in FIG. 7.
FIG. 7 illustrates a luminance-block bitstream conversion from a 4:2:2P 4:2:2 or 4:2:0 bitstream to a MP 4:2:0 bitstream when intra do precision=1110 in accordance with the present invention. The converter 700 includes the function 382 for setting a new intra do precision value when the value is out of bounds, or based on a user input.

The various cases of the texture converting processes are summarized in Table 5.
FIG. 8 illustrates a combination of a 4:2:2 to 4:2:0 converter and transcoder in accordance with the present invention. The 4:2:2 to 4:2:0 converter 400 given in FIG. 4 can be combined with a normal transcoder to provide a 4:2:2P to MP transcoder 800.
In the transcoder/converter 800, re-quantization function (Q2) 855 provides a different quantization level than Q1., e.g., in response to a rate control signal. A corresponding inverse quantization function Q2-1 860 is provided. The rate control signal may be generated by a rate control function in a conventional manner to achieve a desired bit rate for the MP bitstream.
Functions 810, 830, 850 and 867 correspond to functions 310, 330, 350 and 367, respectively.
Functions 855', 860' and 365' correspond to functions 855, 860 and 365, respectively.
A luma MC function 820 is also provided to provide motion compensation of the luma data in the received bitstream. Note that the MVs are re-used to avoid the need for motion estimation.
Accordingly, it can be seen that the present invention provides a system for converting the color format of a digital video bitstream. The system accounts for the allowable formats of the pre- and-post-conversion bitstreams, including quantizer precision level, and whether luma and chroma data have separate quantization matrices, or share a common quantization matrix. In a particular implementation, an MPEG-2 4:2:2P bitstream having a color format of 4:2:2 or 4:2:0 (i.e., the pre-conversion bitstream) is converted to a MP bitstream having a color format of 4:2:0 (i.e., the post-conversion bitstream).
Coding efficiencies are achieved by using the luma quantization matrix to re-quantize the chroma data, and re-using luma motion vectors for performing motion compensation of the chroma data.
Further efficiencies can be achieved by representing a 4:2:2 reference picture in a 4:2:0 format for converting inter coded frames.
Further efficiencies can be achieved by changing the position of a pixel downsizing filter and clip function.
Simplifications can also be made for a 4:2:2P
4:2:0 format pre-conversion bitstream.
An efficient conversion for luma blocks is disclosed when the quantization precision of the pre-conversion bitstream is not compatible with that of the post-conversion bitstream.
A transcoding format converter is also disclosed for achieving a different bit rate in the post-conversion bitstream.

Although the invention has been described in connection with various specific embodiments, those skilled in the art will appreciate that numerous adaptations and modifications may be made thereto without departing from the spirit and scope of the invention as set forth in the claims.

Claims (26)

What is claimed is:
1. A method for converting a pre-conversion bitstream having a first format to a post-conversion bitstream having a second format, comprising the steps of:
at least partially decompressing the pre-conversion bitstream to recover chroma data therein in a pixel domain;
recovering quantization matrix data associated with luma data from the pre-conversion bitstream; and re-compressing data corresponding to the recovered chroma data;
said re-compressing including re-quantizing of the data corresponding to the recovered chroma data according to the recovered luma quantization matrix to provide said post-conversion bitstream.
2. The method of claim 1, wherein said pre-conversion bitstream comprises inter coded images, and said recovered chroma data has a first chroma format that corresponds to said first format of said pre-converted bitstream, comprising the further steps of:
recovering motion vectors associated with the luma data from the pre-conversion bitstream;
using the recovered luma motion vectors to perform first motion compensation processing of the recovered chroma data for the inter-coded images;

said first motion compensation processing using said first chroma format;
filtering the chroma data after said first motion compensation processing to provide chroma data that has a second chroma format that corresponds to said second format of said post-conversion bitstream;
and using the recovered luma motion vectors to perform second motion compensation processing of the chroma data with the second chroma format to provide said data for said re-compressing step.
3. The method of claim 2, wherein:
with said second chroma format, one chroma block is provided for at least every two chroma blocks in said first chroma format.
4. The method of claim 2 or 3, wherein:
data corresponding to the chroma data with the second chroma format provided by said filtering step is transformed from a pixel domain to a transform domain, then quantized, then inverse quantized and then inverse transformed to provide data for said second motion compensation processing.
5. The method of one of claims 1 to 4, comprising the further steps of:
recovering a first quantization precision level from the pre-conversion bitstream; and if said first quantization precision level is greater than a maximum allowed precision level of the second format of the post-conversion bitstream:

(i) lowering the first quantization precision level, (ii) recovering DC luma transform data from the pre-conversion bitstream, and (iii) re-quantizing data corresponding to the recovered DC luma transform data according to the lowered quantization precision level.
6. The method of claim 1, wherein said pre-conversion bitstream comprises inter coded images, and said recovered chroma data has a first chroma format that corresponds to said first format of said pre-converted bitstream, comprising the further steps of:
filtering the recovered chroma data to provide residue chroma data that has a second chroma format that corresponds to said second format of said post-conversion bitstream;
recovering motion vectors associated with the luma data from the pre-conversion bitstream; and using the recovered luma motion vectors to perform motion compensation processing of data corresponding to the residue chroma data for the inter-coded images to provide said data for said re-compressing step;
wherein said motion compensation processing uses said second chroma format.
7. The method of claim 6, wherein:

with said second chroma format, one chroma block is provided for at least every two chroma blocks in said first chroma format.
8. The method of one of claims 1 to 7, wherein:
said first format comprises a 4:2:2 color format, and said second format comprises a 4:2:0 color format.
9. The method of one of claims 1 to 7, wherein:
said first format comprises an MPEG 4:2:2 Profile format, and said second format comprises an MPEG Main Profile format.
10. The method of one of claims 1 to 9, wherein:
a coded block pattern of the pre-conversion bitstream is modified for use in the post-conversion bitstream.
11. The method of one of claims 1 to 9, wherein:
the pre-conversion bitstream and the post-conversion bitstream use the same macroblock coding type.
12. The method of one of claims 1 to 11, wherein:
said re-quantization step is responsive to a rate control signal for setting a bit rate of the post-conversion bitstream.
13. The method of one of claims 1 to 12, wherein:
the recovered luma quantization matrix is modified to improve coding efficiency of said post-conversion bitstream.
14. An apparatus for converting a pre-conversion bitstream having a first format to a post-conversion bitstream having a second format, comprising:
means for at least partially decompressing the pre-conversion bitstream to recover chroma data therein in a pixel domain;
means for recovering quantization matrix data associated with luma data from the pre-conversion bitstream; and means for re-compressing data corresponding to the recovered chroma data, including means for re-quantizing the data corresponding to the recovered chroma data according to the recovered luma quantization matrix to provide said post-conversion bitstream.
15. The apparatus of claim 14, wherein said pre-conversion bitstream comprises inter coded images, and said recovered chroma data has a first chroma format that corresponds to said first format of said pre-converted bitstream, further comprising:
means for recovering motion vectors associated with the luma data from the pre-conversion bitstream;

means for using the recovered luma motion vectors to perform first motion compensation processing of the recovered chroma data for the inter-coded images;
said first motion compensation processing using said first chroma format;
a filter for filtering the chroma data after said first motion compensation processing to provide chroma data that has a second chroma format that corresponds to said second format of said post-conversion bitstream; and means for using the recovered luma motion vectors to perform second motion compensation processing of the chroma data with the second chroma format to provide said data for said re-compressing means.
16. The apparatus of claim 15, wherein:
with said second chroma format, one chroma block is provided for at least every two chroma blocks in said first chroma format.
17. The apparatus of claim 15 or 16, wherein:
data corresponding to the chroma data with the second chroma format provided by said filter is transformed from a pixel domain to a transform domain, then quantized, then inverse quantized and then inverse transformed to provide data for said second motion compensation processing.
18. The apparatus of one of claims 14 to 17, further comprising:

means for recovering a first quantization precision level from the pre-conversion bitstream;
and means for: (i) lowering the first quantization precision level, (ii) recovering DC luma transform data from the pre-conversion bitstream, and (iii) re-quantizing data corresponding to the recovered DC
luma transform data according to the lowered quantization precision level, if said first quantization precision level is greater than a maximum allowed precision level of the second format of the post-conversion bitstream.
19. The apparatus of claim 14, wherein said pre-conversion bitstream comprises inter coded images, and said recovered chroma data has a first chroma format that corresponds to said first format of said pre-converted bitstream, further comprising:
a filter for filtering the recovered chroma data to provide residue chroma data that has a second chroma format that corresponds to said second format of said post-conversion bitstream;
means for recovering motion vectors associated with the luma data from the pre-conversion bitstream;
and means for using the recovered luma motion vectors to perform motion compensation processing of data corresponding to the residue chroma data for the inter-coded images to provide said data for said re-compressing means;

wherein said motion compensation processing uses said second chroma format.
20. The apparatus of claim 19, wherein:
with said second chroma format, one chroma block is provided for at least every two chroma blocks in said first chroma format.
21. The apparatus of one of claims 14 to 20, wherein:
said first format comprises a 4:2:2 color format, and said second format comprises a 4:2:0 color format.
22. The apparatus of one of claims 14 to 20, wherein:
said first format comprises an MPEG 4:2:2 Profile format, and said. second format comprises an MPEG Main Profile format.
23. The apparatus of one of claims 14 to 22, wherein:
a coded block pattern of the pre-conversion bitstream is modified for use in the post-conversion bitstream.
24. The apparatus of one of claims 14 to 22, wherein:
the pre-conversion bitstream and the post-conversion bitstream use the same macroblock coding type.
25. The apparatus of one of claims 14 to 24, wherein:

said re-quantization means is responsive to a rate control signal for setting a bit rate of the post-conversion bitstream.
26. The apparatus of one of claims 14 to 25, wherein:
the recovered luma quantization matrix is modified to improve coding efficiency of said post-conversion bitstream.
CA2364478A 1999-02-18 2000-02-16 Method and architecture for converting mpeg-2 4:2:2-profile bitstreams into main-profile bitstreams Expired - Lifetime CA2364478C (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
US09/252,135 US6259741B1 (en) 1999-02-18 1999-02-18 Method of architecture for converting MPEG-2 4:2:2-profile bitstreams into main-profile bitstreams
US09/252,135 1999-02-18
PCT/US2000/003870 WO2000070877A2 (en) 1999-02-18 2000-02-16 Method and architecture for converting mpeg-2 4:2:2-profile bitstreams into main-profile bitstreams

Publications (2)

Publication Number Publication Date
CA2364478A1 CA2364478A1 (en) 2000-11-23
CA2364478C true CA2364478C (en) 2011-07-05

Family

ID=22954748

Family Applications (1)

Application Number Title Priority Date Filing Date
CA2364478A Expired - Lifetime CA2364478C (en) 1999-02-18 2000-02-16 Method and architecture for converting mpeg-2 4:2:2-profile bitstreams into main-profile bitstreams

Country Status (8)

Country Link
US (1) US6259741B1 (en)
EP (1) EP1153512A2 (en)
KR (1) KR100934290B1 (en)
CN (1) CN1347620A (en)
AU (1) AU7469100A (en)
CA (1) CA2364478C (en)
TW (1) TW545057B (en)
WO (1) WO2000070877A2 (en)

Families Citing this family (113)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000030359A1 (en) * 1998-11-17 2000-05-25 Koninklijke Philips Electronics N.V. Method of transcoding coded video signals and corresponding transcoder with motion vector selection
EP1067798A3 (en) * 1999-06-30 2005-11-30 Media Glue Corporation Apparatus, method and computer program product for transcoding a coded moving picture sequence
DE19946267C2 (en) * 1999-09-27 2002-09-26 Harman Becker Automotive Sys Digital transcoding system
US6961063B1 (en) * 2000-06-30 2005-11-01 Intel Corporation Method and apparatus for improved memory management of video images
US7194128B1 (en) * 2000-07-26 2007-03-20 Lockheed Martin Corporation Data compression using principal components transformation
FR2813001B1 (en) * 2000-08-11 2002-12-20 Thomson Multimedia Sa COLOR FORMAT CONVERSION PROCESS OF IMAGE SEQUENCE
US6628709B2 (en) * 2000-12-21 2003-09-30 Matsushita Electric Corporation Of America Bit number prediction for VLC coded DCT coefficients and its application in DV encoding/transcoding
EP1354481A2 (en) * 2001-01-12 2003-10-22 Koninklijke Philips Electronics N.V. Method and device for scalable video transcoding
EP1231794A1 (en) * 2001-02-09 2002-08-14 STMicroelectronics S.r.l. A process for changing the resolution of MPEG bitstreams, a system and a computer program product therefor
EP1231793A1 (en) * 2001-02-09 2002-08-14 STMicroelectronics S.r.l. A process for changing the syntax, resolution and bitrate of MPEG bitstreams, a system and a computer program product therefor
FR2823050A1 (en) * 2001-03-27 2002-10-04 Koninkl Philips Electronics Nv DEVICE IMPLEMENTING JOINTLY POST-PROCESSING AND DATA DECODING
US7602847B1 (en) 2001-03-27 2009-10-13 Vixs Systems, Inc. Device and method for compression of a video stream
US20070053428A1 (en) * 2001-03-30 2007-03-08 Vixs Systems, Inc. Managed degradation of a video stream
US8107524B2 (en) * 2001-03-30 2012-01-31 Vixs Systems, Inc. Adaptive bandwidth footprint matching for multiple compressed video streams in a fixed bandwidth network
GB0116119D0 (en) * 2001-06-30 2001-08-22 Koninkl Philips Electronics Nv Transcoding of video data streams
US6959348B1 (en) * 2001-07-30 2005-10-25 Vixs Systems, Inc. Method and system for accessing data
US7675972B1 (en) * 2001-07-30 2010-03-09 Vixs Systems, Inc. System and method for multiple channel video transcoding
US20030039226A1 (en) * 2001-08-24 2003-02-27 Kwak Joseph A. Physical layer automatic repeat request (ARQ)
US7139330B1 (en) 2001-10-31 2006-11-21 Vixs Systems, Inc. System for signal mixing and method thereof
US7596127B1 (en) 2001-10-31 2009-09-29 Vixs Systems, Inc. System for allocating data in a communications system and method thereof
US7106715B1 (en) 2001-11-16 2006-09-12 Vixs Systems, Inc. System for providing data to multiple devices and method thereof
US7403564B2 (en) * 2001-11-21 2008-07-22 Vixs Systems, Inc. System and method for multiple channel video transcoding
US7356079B2 (en) 2001-11-21 2008-04-08 Vixs Systems Inc. Method and system for rate control during video transcoding
US7165180B1 (en) 2001-11-27 2007-01-16 Vixs Systems, Inc. Monolithic semiconductor device for preventing external access to an encryption key
CN101448162B (en) * 2001-12-17 2013-01-02 微软公司 Method for processing video image
US7236521B2 (en) * 2002-03-27 2007-06-26 Scientific-Atlanta, Inc. Digital stream transcoder
US7190723B2 (en) * 2002-03-27 2007-03-13 Scientific-Atlanta, Inc. Digital stream transcoder with a hybrid-rate controller
US7295610B2 (en) * 2002-03-27 2007-11-13 Scientific-Atlanta, Inc. Hybrid rate control in a digital stream transcoder
US7620109B2 (en) * 2002-04-10 2009-11-17 Microsoft Corporation Sub-pixel interpolation in motion estimation and compensation
US7310679B1 (en) 2002-04-29 2007-12-18 Vixs Systems Inc. Method and system for transmitting video content while preventing other transmissions in a contention-based network
US7120253B2 (en) * 2002-05-02 2006-10-10 Vixs Systems, Inc. Method and system for protecting video data
US7002627B1 (en) 2002-06-19 2006-02-21 Neomagic Corp. Single-step conversion from RGB Bayer pattern to YUV 4:2:0 format
US20040005003A1 (en) * 2002-07-02 2004-01-08 Koninklijke Philips Electronics N.V. Quality improvement for FGS BL coding with U/V coarse quantization
US7136417B2 (en) 2002-07-15 2006-11-14 Scientific-Atlanta, Inc. Chroma conversion optimization
CN100502513C (en) * 2002-09-06 2009-06-17 富士通株式会社 Motion picture encoding device and motion picture decoding method
JP3791922B2 (en) * 2002-09-06 2006-06-28 富士通株式会社 Moving picture decoding apparatus and method
JP3928859B2 (en) * 2002-11-11 2007-06-13 株式会社リコー Image processing apparatus, image processing method, program, and recording medium
US20040141555A1 (en) * 2003-01-16 2004-07-22 Rault Patrick M. Method of motion vector prediction and system thereof
US7408989B2 (en) * 2003-01-16 2008-08-05 Vix5 Systems Inc Method of video encoding using windows and system thereof
US20040161039A1 (en) * 2003-02-14 2004-08-19 Patrik Grundstrom Methods, systems and computer program products for encoding video data including conversion from a first to a second format
US7133452B1 (en) 2003-02-24 2006-11-07 Vixs Systems, Inc. Method and system for transcoding video data
US7606305B1 (en) 2003-02-24 2009-10-20 Vixs Systems, Inc. Method and system for transcoding video data
US7327784B2 (en) * 2003-02-24 2008-02-05 Vixs Systems, Inc. Method and system for transcoding video data
US7130350B1 (en) 2003-02-28 2006-10-31 Vixs Systems, Inc. Method and system for encoding and decoding data in a video stream
US7739105B2 (en) * 2003-06-13 2010-06-15 Vixs Systems, Inc. System and method for processing audio frames
US20050013498A1 (en) 2003-07-18 2005-01-20 Microsoft Corporation Coding of motion vector information
JP4617644B2 (en) 2003-07-18 2011-01-26 ソニー株式会社 Encoding apparatus and method
US7317839B2 (en) * 2003-09-07 2008-01-08 Microsoft Corporation Chroma motion vector derivation for interlaced forward-predicted fields
US7567617B2 (en) 2003-09-07 2009-07-28 Microsoft Corporation Predicting motion vectors for fields of forward-predicted interlaced video frames
US7599438B2 (en) * 2003-09-07 2009-10-06 Microsoft Corporation Motion vector block pattern coding and decoding
US8064520B2 (en) * 2003-09-07 2011-11-22 Microsoft Corporation Advanced bi-directional predictive coding of interlaced video
US7724827B2 (en) 2003-09-07 2010-05-25 Microsoft Corporation Multi-layer run level encoding and decoding
US7668396B2 (en) * 2003-09-29 2010-02-23 Vixs Systems, Inc. Method and system for noise reduction in an image
US7277101B2 (en) 2003-09-29 2007-10-02 Vixs Systems Inc Method and system for scaling images
JP4470431B2 (en) * 2003-10-01 2010-06-02 ソニー株式会社 Data processing apparatus and method
ES2563295T3 (en) * 2004-01-30 2016-03-14 Panasonic Intellectual Property Corporation Of America Motion picture decoding procedure that uses additional quantization matrices
US7406598B2 (en) * 2004-02-17 2008-07-29 Vixs Systems Inc. Method and system for secure content distribution
US20050232497A1 (en) * 2004-04-15 2005-10-20 Microsoft Corporation High-fidelity transcoding
US20050276500A1 (en) * 2004-06-15 2005-12-15 Canon Kabushiki Kaisha Image encoding apparatus, and image processing apparatus and its control method
US7499592B2 (en) 2004-06-15 2009-03-03 Canon Kabushiki Kaisha Image decoding apparatus and its control method
US8442108B2 (en) * 2004-07-12 2013-05-14 Microsoft Corporation Adaptive updates in motion-compensated temporal filtering
US8340177B2 (en) * 2004-07-12 2012-12-25 Microsoft Corporation Embedded base layer codec for 3D sub-band coding
US8374238B2 (en) 2004-07-13 2013-02-12 Microsoft Corporation Spatial scalability in 3D sub-band decoding of SDMCTF-encoded video
US8243820B2 (en) * 2004-10-06 2012-08-14 Microsoft Corporation Decoding variable coded resolution video with native range/resolution post-processing operation
US9071847B2 (en) * 2004-10-06 2015-06-30 Microsoft Technology Licensing, Llc Variable coding resolution in video codec
US7421048B2 (en) * 2005-01-20 2008-09-02 Vixs Systems, Inc. System and method for multimedia delivery in a wireless environment
US7609766B2 (en) * 2005-02-08 2009-10-27 Vixs Systems, Inc. System of intra-picture complexity preprocessing
US8949920B2 (en) * 2005-03-17 2015-02-03 Vixs Systems Inc. System and method for storage device emulation in a multimedia processing system
US7400869B2 (en) * 2005-03-22 2008-07-15 Vixs Systems Inc. System and method for adaptive DC offset compensation in wireless transmissions
RU2368095C1 (en) * 2005-07-22 2009-09-20 Мицубиси Электрик Корпорейшн Image coder and image decoder, method of image coding and method of image decoding, program of image coding and program of image decoding and computer-readable record medium, on which image coding program is recorded, and computer-readable record medium, on which image decoding program is recorded
CN101783943B (en) * 2005-09-20 2013-03-06 三菱电机株式会社 Image encoder and image encoding method
US7707485B2 (en) 2005-09-28 2010-04-27 Vixs Systems, Inc. System and method for dynamic transrating based on content
US20070112826A1 (en) * 2005-11-10 2007-05-17 Vixs Systems, Inc. Multimedia transcoding based on remaining storage capacity
US7956930B2 (en) * 2006-01-06 2011-06-07 Microsoft Corporation Resampling and picture resizing operations for multi-resolution video coding and decoding
US8131995B2 (en) * 2006-01-24 2012-03-06 Vixs Systems, Inc. Processing feature revocation and reinvocation
US8599841B1 (en) 2006-03-28 2013-12-03 Nvidia Corporation Multi-format bitstream decoding engine
US8593469B2 (en) * 2006-03-29 2013-11-26 Nvidia Corporation Method and circuit for efficient caching of reference video data
US8880571B2 (en) * 2006-05-05 2014-11-04 Microsoft Corporation High dynamic range data format conversions for digital media
US7884742B2 (en) * 2006-06-08 2011-02-08 Nvidia Corporation System and method for efficient compression of digital data
US8700387B2 (en) * 2006-09-14 2014-04-15 Nvidia Corporation Method and system for efficient transcoding of audio data
JP2008193627A (en) * 2007-01-12 2008-08-21 Mitsubishi Electric Corp Image encoding device, image decoding device, image encoding method, and image decoding method
US8054886B2 (en) * 2007-02-21 2011-11-08 Microsoft Corporation Signaling and use of chroma sample positioning information
US8107571B2 (en) * 2007-03-20 2012-01-31 Microsoft Corporation Parameterized filters and signaling techniques
US8457958B2 (en) 2007-11-09 2013-06-04 Microsoft Corporation Audio transcoder using encoder-generated side information to transcode to target bit-rate
US8953673B2 (en) * 2008-02-29 2015-02-10 Microsoft Corporation Scalable video coding and decoding with sample bit depth and chroma high-pass residual layers
US8711948B2 (en) * 2008-03-21 2014-04-29 Microsoft Corporation Motion-compensated prediction of inter-layer residuals
US8164862B2 (en) * 2008-04-02 2012-04-24 Headway Technologies, Inc. Seed layer for TMR or CPP-GMR sensor
US9571856B2 (en) * 2008-08-25 2017-02-14 Microsoft Technology Licensing, Llc Conversion operations in scalable video encoding and decoding
US8213503B2 (en) * 2008-09-05 2012-07-03 Microsoft Corporation Skip modes for inter-layer residual video coding and decoding
KR20160114186A (en) * 2008-09-18 2016-10-04 톰슨 라이센싱 Methods and apparatus for video imaging pruning
TWI396431B (en) * 2008-12-22 2013-05-11 Himax Tech Ltd Method of color components compression
US8396114B2 (en) * 2009-01-29 2013-03-12 Microsoft Corporation Multiple bit rate video encoding using variable bit rate and dynamic resolution for adaptive video streaming
US8311115B2 (en) * 2009-01-29 2012-11-13 Microsoft Corporation Video encoding using previously calculated motion information
US8270473B2 (en) * 2009-06-12 2012-09-18 Microsoft Corporation Motion based dynamic resolution multiple bit rate video encoding
US20110158310A1 (en) * 2009-12-30 2011-06-30 Nvidia Corporation Decoding data using lookup tables
US8705616B2 (en) 2010-06-11 2014-04-22 Microsoft Corporation Parallel multiple bitrate video encoding to reduce latency and dependences between groups of pictures
US9591318B2 (en) 2011-09-16 2017-03-07 Microsoft Technology Licensing, Llc Multi-layer encoding and decoding
US11089343B2 (en) 2012-01-11 2021-08-10 Microsoft Technology Licensing, Llc Capability advertisement, configuration and control for video coding and decoding
US20140037005A1 (en) * 2012-08-02 2014-02-06 Penne Y. LEE Transcoding video data
GB2506345A (en) * 2012-09-06 2014-04-02 British Broadcasting Corp Video encoding and decoding with chrominance sub-sampling
US20140198855A1 (en) * 2013-01-14 2014-07-17 Qualcomm Incorporated Square block prediction
US9998750B2 (en) 2013-03-15 2018-06-12 Cisco Technology, Inc. Systems and methods for guided conversion of video from a first to a second compression format
US20140269920A1 (en) * 2013-03-15 2014-09-18 Cisco Technology, Inc. Motion Estimation Guidance in Transcoding Operation
WO2015056566A1 (en) * 2013-10-15 2015-04-23 ソニー株式会社 Image processing device and method
US9774881B2 (en) 2014-01-08 2017-09-26 Microsoft Technology Licensing, Llc Representing motion vectors in an encoded bitstream
US9749642B2 (en) 2014-01-08 2017-08-29 Microsoft Technology Licensing, Llc Selection of motion vector precision
US9942560B2 (en) 2014-01-08 2018-04-10 Microsoft Technology Licensing, Llc Encoding screen capture data
SG10201900004UA (en) * 2014-12-19 2019-02-27 Hfi Innovation Inc Methods of palette based prediction for non-444 color format in video and image coding
US10951912B2 (en) 2016-10-05 2021-03-16 Qualcomm Incorporated Systems and methods for adaptive selection of weights for video coding
US10310821B2 (en) 2017-06-03 2019-06-04 Apple Inc. Integration of learning models into a software development system
CN110324627B (en) * 2018-03-30 2022-04-05 杭州海康威视数字技术股份有限公司 Chroma intra-frame prediction method and device
CN111010572A (en) * 2018-12-04 2020-04-14 北京达佳互联信息技术有限公司 Video coding method, device and equipment
CN114245136B (en) * 2018-12-21 2022-12-27 北京达佳互联信息技术有限公司 Method and apparatus for video encoding and decoding and storage medium

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5218435A (en) 1991-02-20 1993-06-08 Massachusetts Institute Of Technology Digital advanced television systems
US5260808A (en) 1991-04-23 1993-11-09 Canon Kabushiki Kaisha Image processing apparatus
NL9301358A (en) * 1993-08-04 1995-03-01 Nederland Ptt Transcoder.
JP2933487B2 (en) 1994-07-15 1999-08-16 松下電器産業株式会社 How to convert chroma format
US6389174B1 (en) 1996-05-03 2002-05-14 Intel Corporation Video transcoding with interim encoding format
GB9611511D0 (en) 1996-06-03 1996-08-07 Digi Media Vision Ltd Improvements in or relating to the bit-rate of a signal
US5808570A (en) * 1996-06-28 1998-09-15 Philips Electronics North America Corp. Device and method for pair-match Huffman transcoding and high-performance variable length decoder with two-word bit stream segmentation which utilizes the same
US6144698A (en) * 1996-10-31 2000-11-07 Mitsubishi Electric Information Technology Center America, Inc. (Ita) Digital video decoder and method of decoding a digital video signal
US6141447A (en) * 1996-11-21 2000-10-31 C-Cube Microsystems, Inc. Compressed video transcoder
KR100240073B1 (en) * 1997-10-15 2000-01-15 윤종용 Method and apparatus for receiver analog broadcasting of digital broadcasting receiver
KR100235988B1 (en) * 1997-11-12 1999-12-15 구자홍 Video format conversion appratus and its method in dtv
JP2002515218A (en) 1998-03-31 2002-05-21 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ Modify coded data

Also Published As

Publication number Publication date
WO2000070877A3 (en) 2001-06-28
KR100934290B1 (en) 2009-12-29
TW545057B (en) 2003-08-01
US6259741B1 (en) 2001-07-10
AU7469100A (en) 2000-12-05
EP1153512A2 (en) 2001-11-14
KR20010102228A (en) 2001-11-15
CN1347620A (en) 2002-05-01
WO2000070877A2 (en) 2000-11-23
CA2364478A1 (en) 2000-11-23

Similar Documents

Publication Publication Date Title
CA2364478C (en) Method and architecture for converting mpeg-2 4:2:2-profile bitstreams into main-profile bitstreams
US5278647A (en) Video decoder using adaptive macroblock leak signals
Tudor MPEG-2 video compression
Tudor et al. Real-time transcoding of MPEG-2 video bit streams
US7620103B2 (en) Programmable quantization dead zone and threshold for standard-based H.264 and/or VC1 video encoding
US8300688B2 (en) Method for video transcoding with adaptive frame rate control
US6434197B1 (en) Multi-functional transcoder for compressed bit streams
EP1195993B1 (en) Transcoding of video signal
US6081295A (en) Method and apparatus for transcoding bit streams with video data
US6441754B1 (en) Apparatus and methods for transcoder-based adaptive quantization
US7194032B1 (en) Circuit and method for modifying a region of an encoded image
US8175148B2 (en) Method and device for indicating quantizer parameters in a video coding system
US7957600B2 (en) Methods and systems for rate-distortion optimized quantization of transform blocks in block transform video coding
Puri Video coding using the MPEG-2 compression standard
US6498816B1 (en) Circuit and method for formatting each of a series of encoded video images into respective regions
US7379498B2 (en) Reconstructing a compressed still image by transformation to a compressed moving picture image
JPH06125543A (en) Encoding device
JP2006191253A (en) Rate converting method and rate converter
JP2000236547A (en) Image information converter and image information conversion method
JP4292659B2 (en) Image information conversion apparatus and image information conversion method
JP4292658B2 (en) Image information conversion apparatus and image information conversion method
Zdepski et al. Overview of the Grand Alliance HDTV video compression system
WO2008095825A1 (en) Video transcoding with reduced drift
Sunna AVC/H. 264
MXPA00000319A (en) Multi-functional transcoder for compressed bit stream

Legal Events

Date Code Title Description
EEER Examination request
MKEX Expiry

Effective date: 20200217