WO2011046446A1 - Methods for video coding and decoding - Google Patents
Methods for video coding and decoding Download PDFInfo
- Publication number
- WO2011046446A1 WO2011046446A1 PCT/NO2010/000361 NO2010000361W WO2011046446A1 WO 2011046446 A1 WO2011046446 A1 WO 2011046446A1 NO 2010000361 W NO2010000361 W NO 2010000361W WO 2011046446 A1 WO2011046446 A1 WO 2011046446A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- macroblocks
- regular
- macroblock
- size
- row
- 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.)
- Ceased
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods 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/18—Methods 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 set of transform coefficients
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/102—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
- H04N19/129—Scanning of coding units, e.g. zig-zag scan of transform coefficients or flexible macroblock ordering [FMO]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/134—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
- H04N19/146—Data rate or code amount at the encoder output
- H04N19/147—Data rate or code amount at the encoder output according to rate distortion criteria
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods 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/17—Methods 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 an image region, e.g. an object
- H04N19/176—Methods 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 an image region, e.g. an object the region being a block, e.g. a macroblock
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/60—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
- H04N19/61—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding in combination with predictive coding
Definitions
- the exemplary embodiments described herein relate to the field of digital video compression, and more specifically variable macroblock sizes and the scanning order of macroblocks .
- Transmission of moving pictures in real-time is employed in several applications such as video conferencing, net meetings, TV broadcasting and video telephony.
- Capacity is defined with bits, either as a constant value or as bits/time unit. In both cases, the main goal is to reduce the number of bits.
- the first step in the coding process is to divide the picture into square blocks of pixels, for instance 16x16. These blocks are typically denoted as macroblocks (or MBs for short) . This is done for luminance information as well as for chrominance information.
- a scanning order of the MBs is established. A scanning order defines the encoding/decoding order of the MBs in a picture. A raster scan is typically used.
- the following prediction process significantly reduces the amount of bits required for each picture in a video sequence to be transferred. It takes advantage of the similarity of parts of the sequence with other parts of the sequence, and produces a prediction for the pixels in the block. This may be based on pixels in an already coded/decoded picture (called inter prediction) or on already coded/decoded pixels in the same picture (intra prediction) . The prediction is mainly based on vectors representing movements. In a typical video sequence, the content of a present block M would be similar to a corresponding block in a previously decoded picture.
- a motion vector of (3; 4) means that the content of M has moved 3 pixels to the left and 4 pixels upwards since the previously decoded picture.
- the vector may also include decimals, requiring interpolation between the pixels.
- the difference between the pixels to be coded and the predicted pixels is often referred to as a residual .
- the residual represented as a block of data still contains internal correlation.
- a well-known method of taking advantage of this is to perform a two dimensional block transform.
- an 8x8 Discrete Cosine Transform (DCT) is used, whereas H.264 uses a NxN (where N can be 4 or 8) integer type transform.
- DCT Discrete Cosine Transform
- NxN where N can be 4 or 8 integer type transform.
- Entropy coding implies lossless representation of the quantized transform coefficients.
- the transform coefficients it is common to position the low frequency coefficient (or DC coefficient) in the upper left corner. Then the horizontal and vertical spatial frequency increase to the right and down.
- the scanning usually starts with the coefficient in the left upper corner and follows a zig-zag pattern around the diagonal direction towards the lower right corner of the MB, but in other cases the entropy coding may be more efficient if "inverse scanning" (high to low frequency) is used.
- inverse scanning high to low frequency
- An exemplary embodiment described herein provides a method of video coding executed by an encoder apparatus, the method comprising: arranging, at the encoder apparatus, residual pixels into macroblocks, the macroblocks comprising regular macroblocks, each having a size pxp, and at least one of first large macroblocks, each having a size
- p indicates a spatial size of a regular macroblock
- k, 1, m and n are integer numbers
- n is divisible by 1; scanning, at the encoder apparatus, said regular macroblocks in a first zig-zag scanning pattern within first rectangular picture fragments corresponding to the size of the first large macroblock or the second large macroblock; and indicating, at the encoder apparatus, occurrences of regular macroblocks and
- a block type code arranged in an order of which the regular macroblocks and at least one of the first large macroblocks and the second large macroblocks are scanned.
- Figure 1 indicates the scanning pattern of Macro Blocks according to in a conventional way of video coding
- Figure 2 shows an example of a scanning pattern of macroblocks according to a first embodiment
- Figure 3 shows an example of a scanning pattern
- Figure 4 shows an example of a computer system that is programmed as an encoder/decoder .
- Exemplary embodiments described herein provide a scanning order and a scanning scheme of macroblocks (or MBs for short) which is adjusted for coding of pictures of high resolution.
- Scanning in this context means the order of which the MBs within a video picture are coded or
- Raster scan is the conventional way of scanning MBs in video coding. As can be seen from figure 1, this means that MBs are scanned as MB-lines from left to right and then the MB-lines from top to bottom.
- Figure 2 illustrates an example of a scanning pattern according to a first embodiment of the present invention.
- the scan starts with the upper left MB and proceeds horizontally towards the right. However, the scan does not proceed all the way to the end of the row.
- the scan turns down to the leftmost MB in the row of MBs below, and proceeds towards the right. This is repeated in a zig-zag pattern within a 4x3 dimension rectangle of MB blocks.
- Such rectangles of MB blocks in which a zig-zag scanning pattern appears may also be denoted as scanning fragments.
- a large macroblock (or LMB for short) with the size corresponding to the size of 4x3 regular macroblocks can be inserted in the picture without compromising with the overall scanning pattern.
- the LMBs can be positioned as a replacement of 4x3 MBs in what otherwise would have been a 4x3 dimension scanning fragment as described above.
- the LMB would then have a size of 64x48 pixels. Smaller LMBs must be used at the right and bottom edge according to the size of the above- mentioned fragments covering the remaining picture is adjusted accordingly as indicated in figure 2.
- an LMB can have the size of (m*p)x(n*p) pixels, n and m being integer
- FIG. 3 illustrates an example of an alternative
- the scan starts with the upper left MB and proceeds towards the right. However, when reaching the second MB in the upper row, the scan turns down to the leftmost MB in the row of MBs below, and proceeds towards the right to the second MB in the second row of MBs. As can be seen in figure 3, at this point, a zig-zag scan has been performed within a small fragment of 2x2 MBs. The scan then jumps up to the third MB in the upper row and performs a corresponding zig-zag scan within the next small fragment of 2x2 MBs on the right hand side. After scanning these two small fragments the scanning jumps down to the leftmost MB on the third row, and perform a corresponding scanning on the two small
- a second LMB can have the size of (m*p) x (n*p) pixels, n and m being integer numbers, and p the pixel dimension of an MB.
- a first LMB can have the size of (k*p)x(l*p) pixels, k and 1 being integer numbers.
- the size parameter k may be selected from the set ⁇ 2, 3, 4, 5, 6, 7, 8, 9, 10 ⁇ ;
- the size parameter 1 may be selected from the set ⁇ 2, 3, 4, 5, 6, 7, 8, 9, 10 ⁇ ;
- the size parameter m equals a positive integer multiplied by k, and in particular, a positive integer ⁇ 2
- the size parameter m equals a positive integer multiplied by 1, and in particular, a positive integer ⁇ 2
- the size parameter p may, e.g., be selected from the set ⁇ 4, 8, 12, 16, 20, 24, 28, 32 ⁇
- Regular macroblocks are, in general, square with size pxp .
- k 1 if the first large macroblock is square.
- k will be different from 1.
- m n if the second large macroblock is square.
- scanning fragment levels there are as many scanning fragment levels as there are L B variants, and the scanning fragments have the same size as the respective LMB variants.
- a scanning fragment of a lower level must further have a known scanning pattern within the next scanning fragment level, and the dimensions of a scanning fragment must be divisible by the dimensions of the a lower level scanning fragment.
- the scanning fragment level of 4x4 MBs is of a higher level than the scanning fragment level of 2x2 MBs, which has a scanning pattern within the fragment level of 4x4 MBs, and the dimensions are divisible by each other. There could also accordingly be a third and a fourth scanning fragment following the same logic.
- Distortion is most often calculated as the square_sum (indicated by pixel_errors 2 ) of the reconstructed pixel errors.
- Rate depends on the number of bits used to code the block.
- k is a constant not very different from 1, e.g. ke[0.5, 1.5], or ke[0.8, 1.2].
- RD LMB and RD MB are calculated. If RD MB ⁇ RD LMB the coding is based on 16x16 MBs. Otherwise, the coding is based on
- the description above is for a full RD decision. This is one of many methods. In some situations the described procedure may be found too implementation costly. In such cases the distortion as described above may be replaced by some other measure of distortion - either of the reconstructed pixels or prediction errors. The last may typically come from motion estimation where a Sum of Absolute Differences (SAD) between pixels to be coded and already decoded pixels are calculated. Such a distortion measure alone or together with a number of bits used for coding may be used instead of a full RD measure as described above. The decision may also be based on minimizing the number of bits used (bit rate consumption) only. However, the decision methods are all referred to as rate distortion measure in this application.
- SAD Sum of Absolute Differences
- coding will have a result that for most of the MBs there is no need to send any information. This is mainly because there has been no change in the MB since the last picture. An MB that does not need to transmit any information is often called a skipped block.
- the decoder will already know how to reconstruct the pixels in a skipped or "not coded" MB. For other MBs there will be bits transmitted in order to reconstruct the pixels on the decoder. Such a MB is referred to as "coded”.
- a common motion vector or set of motion vectors can represent larger pixel areas, i.e. a whole LMB.
- the transform operation and motion vector estimate is preferably performed according to the standards, but then on a block size larger than conventionally.
- All the transform coefficients resulting in the LMB transform may be quantized and entropy coded, but more realistically, a subset of for instance the 8x8 lowest frequency coefficients could be used. In this case, a method of quantizing and coding 8x8 transform coefficients otherwise used for 8x8 block transform can be reused.
- a decoder will receive the indications of regular MB and LMB in a separate code arranged in the order of which they occur in the scanning pattern logics used at the encoder side.
- the actual positions and occurrences of MBs and LMBs in the picture can then be derived from the run code which states the run (distance) between non-skipped blocks, the block type indications, the received order of which, and the zig-zag scanning pattern which in turn is given from the block type indications in combination with knowing the scanning pattern logics on the encoder side.
- Fig. 4 illustrates an example of video conferencing encoder/decoder apparatus that is configured to implement the encoding and/or decoding embodiments described supra.
- the algorithms described supra may be written in computer executable instructions, which may be executed by the machine shown in Fig. 4.
- the encoder/decoder apparatus may be embodied in a video conference endpoint or may be a stand alone device.
- the computer system 1201 includes a bus 1202 or other communication mechanism for communicating information, and a processor 1203 coupled with the bus 1202 for processing the information.
- the computer system 1201 also includes a main memory 1204, such as a random access memory (RAM) or other dynamic storage device (e.g., dynamic RAM (DRAM), static RAM (SRAM), and synchronous DRAM (SDRAM)), coupled to the bus 1202 for storing information and instructions to be executed by processor 1203.
- RAM random access memory
- DRAM dynamic RAM
- SRAM static RAM
- SDRAM synchronous DRAM
- main memory 1204 may be used for storing temporary variables or other intermediate
- the computer system 1201 furthermore, stores information during the execution of instructions by the processor 1203.
- the computer system 1201 furthermore, stores information during the execution of instructions by the processor 1203.
- ROM read only memory
- PROM programmable ROM
- EPROM erasable PROM
- EEPROM electrically erasable PROM
- the computer system 1201 also includes a disk controller 1206 coupled to the bus 1202 to control one or more storage devices for storing information and instructions, such as a magnetic hard disk 1207, and a removable media drive 1208 (e.g., floppy disk drive, read-only compact disc drive, read/write compact disc drive, compact disc jukebox, tape drive, and removable magneto-optical drive) .
- the storage devices may be added to the computer system 1201 using an appropriate device interface (e.g., small computer system interface (SCSI) , integrated device electronics (IDE) , enhanced-IDE (E-IDE) , direct memory access (DMA) , or ultra-DMA) .
- SCSI small computer system interface
- IDE integrated device electronics
- E-IDE enhanced-IDE
- DMA direct memory access
- ultra-DMA ultra-DMA
- the computer system 1201 may also include special purpose logic devices (e.g., application specific integrated circuits (ASICs)) or configurable logic devices (e.g., simple programmable logic devices (SPLDs) , complex programmable logic devices (CPLDs) , and field
- special purpose logic devices e.g., application specific integrated circuits (ASICs)
- configurable logic devices e.g., simple programmable logic devices (SPLDs) , complex programmable logic devices (CPLDs)
- SPLDs simple programmable logic devices
- CPLDs complex programmable logic devices
- FPGAs programmable gate arrays
- the computer system 1201 may also include a display controller 1209 coupled to the bus 1202 to control a display 1210, for displaying information and/or video to a user.
- the computer system includes input devices, such as a keyboard 1211 and a pointing device 1212, for interacting with a computer user and providing information to the processor 1203.
- the pointing device 1212 for example, may be a mouse, a trackball, or a pointing stick for communicating direction information and command selections to the processor 1203 and for controlling cursor movement on the display 1210.
- a printer may provide printed listings of data stored and/or generated by the computer system 1201.
- the computer system 1201 performs a portion or all of the processing steps of the exemplary embodiments discussed supra in response to the processor 1203 executing one or more sequences of one or more instructions contained in a memory, such as the main memory 1204. Such instructions may be read into the main memory 1204 from another computer readable medium, such as a hard disk 1207 or a removable media drive 1208. One or more processors in a multi-processing arrangement may also be employed to execute the sequences of instructions contained in main memory 1204.
- the computer system 1201 includes at least one computer readable storage medium or memory for holding
- Examples of computer readable media are compact discs, hard disks, floppy disks, tape, magneto-optical disks, PROMs (EPROM, EEPROM, flash EPROM) , DRAM, SRAM, SDRAM, or any other magnetic medium, compact discs (e.g., CD-ROM), or any other optical medium, punch cards, paper tape, or other physical medium with patterns of holes.
- computer readable media are compact discs, hard disks, floppy disks, tape, magneto-optical disks, PROMs (EPROM, EEPROM, flash EPROM) , DRAM, SRAM, SDRAM, or any other magnetic medium, compact discs (e.g., CD-ROM), or any other optical medium, punch cards, paper tape, or other physical medium with patterns of holes.
- processing instructions or a computer program, programmed according to the teachings of any of the methods described herein, may be tangibly embodied on a computer readable storage medium, or in a memory.
- the instructions or the program may be embodied on a propagated signal, which may be
- any network element communicatively operating in a computer or communications network such as computers, servers, terminals, clients, video conference endpoints, multipoint control units, routers, bridges, hubs, switches, or gateways.
- the exemplary embodiments include software for controlling the computer system 1201, for driving a device or devices for implementing the
- Such software may include, but is not limited to, device drivers, operating systems,
- Such computer readable media further includes the computer readable storage medium of the present invention for performing all or a portion (if processing is
- the computer code devices may be any interpretable or executable code mechanism, including but not limited to scripts, interpretable programs, dynamic link libraries (DLLs), Java classes, and complete executable programs. Moreover, parts of the processing of the present
- the computer system 1201 also includes a communication interface 1213 coupled to the bus 1202.
- LAN local area network
- the communication interface 1215 or to another communications network 1216 such as the Internet.
- the communication interface 1216 such as the Internet.
- the 1213 may be a network interface card to attach to any packet switched LAN.
- the network interface card to attach to any packet switched LAN.
- communication interface 1213 may be an asymmetrical digital subscriber line (ADSL) card, an integrated services digital network (ISDN) card or a modem to provide a data communication connection to a
- ADSL asymmetrical digital subscriber line
- ISDN integrated services digital network
- Wireless links may also be implemented. In any such
- the communication interface 1213 sends and receives electrical, electromagnetic or optical signals that carry digital data streams representing various types of information.
- the network link 1214 typically provides data
- the network link 1214 may provide a connection to another computer through a local network 1215 (e.g., a LAN) or through equipment operated by a service provider, which provides communication services through a communications network 1216.
- a local network 1215 e.g., a LAN
- a service provider which provides communication services through a communications network 1216.
- the baseband signals convey the digital data as unmodulated electrical pulses that are descriptive of a stream of digital data bits, where the term "bits" is to be construed broadly to mean symbol, where each symbol conveys at least one or more information bits.
- the digital data may also be used to modulate a carrier wave, such as with amplitude, phase and/or frequency shift keyed signals that are propagated over a conductive media, or transmitted as electromagnetic waves through a propagation medium.
- the digital data may be sent as unmodulated baseband data through a "wired"
- the computer system 1201 can transmit and receive data, including program code, through the
- the network link 1214 may provide a connection through a LAN 1215 to a mobile device 1217 such as a personal digital assistant (PDA) laptop computer, or cellular telephone.
- PDA personal digital assistant
- the present invention is useful especially with large picture formats and result in both lower bit usage and better decoding fidelity than conventional methods using MB size of 16x16 pixels only.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
- Compression, Expansion, Code Conversion, And Decoders (AREA)
Abstract
A method for scanning macroblocks in video compression and selecting alternatively sized large macroblocks accordingly. The scanning pattern is divided into scanning fragments with a size corresponding to different possible large macroblocks. This allows for varying the size of the selected macroblocks, based on minimizing distortion and/or bit rate consumption.
Description
2010/000361
Methods for video coding and decoding Technological Field
The exemplary embodiments described herein relate to the field of digital video compression, and more specifically variable macroblock sizes and the scanning order of macroblocks .
Background
Transmission of moving pictures in real-time is employed in several applications such as video conferencing, net meetings, TV broadcasting and video telephony.
However, representing moving pictures requires bulk information as digital video typically is described by representing each pixel in a picture with 8 bits (1
Byte) . Such uncompressed video data results in large bit volumes, and cannot be transferred over conventional communication networks and transmission lines in real time due to limited bandwidth.
Thus, enabling real time video transmission requires a large extent of data compression. Data compression may, however, compromise the picture quality. Therefore, great efforts have been made to develop compression techniques allowing real time transmission of high quality video over bandwidth limited data connections .
Many video compression standards have been developed over the last 20 years. Many of those methods are
standardized through ISO (the International Standards organization) or ITU (the International
Telecommunications Union) . In addition, a number of other proprietary ' methods have been developed. The main standardized methods are:
ITU: H.261, H.262, H.263, H.264
ISO: MPEG1, MPEG2, MPEG4/AVC)
In video compression systems, the main goal is to
represent the video information with as little capacity as possible. Capacity is defined with bits, either as a constant value or as bits/time unit. In both cases, the main goal is to reduce the number of bits.
The first step in the coding process according to these standards is to divide the picture into square blocks of pixels, for instance 16x16. These blocks are typically denoted as macroblocks (or MBs for short) . This is done for luminance information as well as for chrominance information. A scanning order of the MBs is established. A scanning order defines the encoding/decoding order of the MBs in a picture. A raster scan is typically used.
This means that MBs are scanned as MB-lines from left to right and then the MB-lines from top to bottom. A raster scan order is illustrated in figure 1. The following prediction process significantly reduces the amount of bits required for each picture in a video sequence to be transferred. It takes advantage of the similarity of parts of the sequence with other parts of the sequence, and produces a prediction for the pixels in the block. This may be based on pixels in an already coded/decoded picture (called inter prediction) or on already coded/decoded pixels in the same picture (intra prediction) . The prediction is mainly based on vectors representing movements. In a typical video sequence, the content of a present block M would be similar to a corresponding block in a previously decoded picture. If no changes have occurred since the previously decoded picture, the content of M would be equal to a block of the same location in the previously decoded picture. In other cases, an object in the picture may have been moved so that the content of M is more equal to a block of a different location in the previously decoded picture. Such movements are represented by motion vectors (V) . As an example, a motion vector of (3; 4) means that the content of M has moved 3 pixels to the left and 4 pixels
upwards since the previously decoded picture. For
improved accuracy, the vector may also include decimals, requiring interpolation between the pixels.
Since the predictor part is known to both encoder and decoder, only the difference has to be transferred. This difference typically requires much less capacity for its representation. The difference between the pixels to be coded and the predicted pixels is often referred to as a residual .
The residual represented as a block of data (e.g. 4x3 pixels) still contains internal correlation. A well-known method of taking advantage of this is to perform a two dimensional block transform. In H.263 an 8x8 Discrete Cosine Transform (DCT) is used, whereas H.264 uses a NxN (where N can be 4 or 8) integer type transform. This transforms NxN pixels into NxN transform coefficients and they can usually be represented by fewer bits than the pixel representation. Transform of a NxN array of pixels with internal correlation will probably result in a 4x3 block of transform coefficients with much fewer non-zero values than the original 4x3 pixel block.
Direct representation of the transform coefficients is still too costly for many applications. A quantization process is carried out for a further reduction of the data representation. Hence the transform coefficients undergo quantization. A simple version of quantisation is to divide parameter values by a number - resulting in a smaller number that may be represented by fewer bits.
This is the major tool for controlling the bit production and reconstructed picture quality. It should be mentioned that this quantization process has as a result that the reconstructed video sequence is somewhat different from the uncompressed sequence. This phenomenon is referred to as "lossy coding". This means that the reconstructed pictures typically have lower quality than the original pictures. The output from the quantization process are integer numbers - which do not represent the original transform coefficients correctly. These integers
together with integers representing the side information
is coded in a lossless way and transmitted to the
decoder .
Finally, a scanning within the MBs of the two dimensional transform coefficient data into a one dimensional set of data is performed, and the one dimensional set is further transformed according to an entropy coding scheme.
Entropy coding implies lossless representation of the quantized transform coefficients. In depicting the transform coefficients it is common to position the low frequency coefficient (or DC coefficient) in the upper left corner. Then the horizontal and vertical spatial frequency increase to the right and down. The scanning usually starts with the coefficient in the left upper corner and follows a zig-zag pattern around the diagonal direction towards the lower right corner of the MB, but in other cases the entropy coding may be more efficient if "inverse scanning" (high to low frequency) is used. The above steps are listed in a natural order for the encoder. The decoder will to some extent perform the operations in the opposite order and do "inverse"
operations as inverse transform instead of transform and de-quantization instead of quantization.
In connection with the introduction of video formats of higher resolution in video conferencing, an increasing number of pixels will represent a picture of the same physical segment. Hence, an image section will contain an increasing number of 16x16 B. The probability of many adjacent MBs having the same characteristics, e.g. motion vectors and zero-transforms, is therefore increasing, and consequently also redundant data representation. Summary of the invention
The invention has been set forth in the appended claims.
An exemplary embodiment described herein provides a method of video coding executed by an encoder apparatus, the method comprising:
arranging, at the encoder apparatus, residual pixels into macroblocks, the macroblocks comprising regular macroblocks, each having a size pxp, and at least one of first large macroblocks, each having a size
(k*p) x (l*p) , and second large macroblocks, each having a size (m*p) x (n*p) , the arranging being determined by a predefined criterion for minimizing at least one of rate consumption or rate distortion, and wherein
p indicates a spatial size of a regular macroblock, k, 1, m and n are integer numbers,
m is divisible by k and
n is divisible by 1; scanning, at the encoder apparatus, said regular macroblocks in a first zig-zag scanning pattern within first rectangular picture fragments corresponding to the size of the first large macroblock or the second large macroblock; and indicating, at the encoder apparatus, occurrences of regular macroblocks and
at least one of first large macroblocks and second large macroblocks
by a block type code arranged in an order of which the regular macroblocks and at least one of the first large macroblocks and the second large macroblocks are scanned.
A corresponding inverse method for decoding is also described herein.
Furthermore, the present specification describes
exemplary embodiments of an encoding apparatus, a
decoding apparatus, and computer programs, implementing the methods .
Brief description of the drawings
In order to make the invention more readily
understandable, the discussion that follows will refer to the accompanying drawings .
Figure 1 indicates the scanning pattern of Macro Blocks according to in a conventional way of video coding,
Figure 2 shows an example of a scanning pattern of macroblocks according to a first embodiment,
Figure 3 shows an example of a scanning pattern
macroblocks according to a second embodiment; a
Figure 4 shows an example of a computer system that is programmed as an encoder/decoder .
Detailed description of the present invention
Exemplary embodiments described herein provide a scanning order and a scanning scheme of macroblocks (or MBs for short) which is adjusted for coding of pictures of high resolution. Scanning in this context means the order of which the MBs within a video picture are coded or
decoded. Raster scan is the conventional way of scanning MBs in video coding. As can be seen from figure 1, this means that MBs are scanned as MB-lines from left to right and then the MB-lines from top to bottom.
Figure 2 illustrates an example of a scanning pattern according to a first embodiment of the present invention. The scan starts with the upper left MB and proceeds horizontally towards the right. However, the scan does not proceed all the way to the end of the row. After the fourth MB in the upper line, the scan turns down to the leftmost MB in the row of MBs below, and proceeds towards the right. This is repeated in a zig-zag pattern within a 4x3 dimension rectangle of MB blocks. Such rectangles of MB blocks in which a zig-zag scanning pattern appears, may also be denoted as scanning fragments. After
finishing the scan of these MBs, the scanning is
performed equivalently on the right hand adjacent 4x3
dimension rectangle of MB blocks. When reaching the right picture border, the scanning proceeds to the leftmost 4x3 dimension rectangle of MB blocks below the already- scanned blocks.
At the right or bottom edge of the picture, there may not be room for a full 4x3 fragment. In this case, the size of the fragments covering the remaining picture is adjusted accordingly as indicated in figure 2. The scanning pattern according to the above description allows for the introduction of larger blocks of
alternative sizes. For the scanning pattern in the example described above, a large macroblock (or LMB for short) with the size corresponding to the size of 4x3 regular macroblocks can be inserted in the picture without compromising with the overall scanning pattern. The LMBs can be positioned as a replacement of 4x3 MBs in what otherwise would have been a 4x3 dimension scanning fragment as described above. In the case of each MB having a size of 16x16 pixels, the LMB would then have a size of 64x48 pixels. Smaller LMBs must be used at the right and bottom edge according to the size of the above- mentioned fragments covering the remaining picture is adjusted accordingly as indicated in figure 2.
The dimensions in the description of the first embodiment are of course only examples. A variety of other
dimensions of MBs and LMBs are conceivable, but the size of the LMBs must correspond to the size of an integer number MBs, the scanning pattern and hence the size of the scanning fragment. Consequently, other scanning patterns could be used. Generally, an LMB can have the size of (m*p)x(n*p) pixels, n and m being integer
numbers, and p the pixel dimension of a regular
macroblock.
Figure 3 illustrates an example of an alternative
scanning pattern according to a second embodiment of the present invention. The scan starts with the upper left MB and proceeds towards the right. However, when reaching the second MB in the upper row, the scan turns down to the leftmost MB in the row of MBs below, and proceeds
towards the right to the second MB in the second row of MBs. As can be seen in figure 3, at this point, a zig-zag scan has been performed within a small fragment of 2x2 MBs. The scan then jumps up to the third MB in the upper row and performs a corresponding zig-zag scan within the next small fragment of 2x2 MBs on the right hand side. After scanning these two small fragments the scanning jumps down to the leftmost MB on the third row, and perform a corresponding scanning on the two small
fragments just below, ending in the fourth MB in the fourth row. As can be seen, a group of blocks
corresponding to the 4x4 scanning fragment as described in the first embodiment has been scanned, but in a different scanning pattern forming four small scanning patterns each containing 2x2 MBs.
The second embodiment of the invention allows
consequently for two alternative LMBs, a first LMB corresponding to the size of the small fragment (2x2 MBs), and a second LMB corresponding to a large fragment (4x4 MBs) . In the case of each MB having a size of 16x16 pixels, the first LMB would then have a size of 32x32 pixels . The dimensions in the description of the second
embodiment above are of course only examples . A variety of other dimensions of MBs and first and second LMBs are conceivable, but the size of the LMBs must correspond to the size of an integer number MBs, the scanning pattern and hence the size of the scanning fragment. The size of a second LMB must also correspond to the size of an integer number first LMBs. Consequently, other scanning patterns could be used. Generally, a second LMB can have the size of (m*p) x (n*p) pixels, n and m being integer numbers, and p the pixel dimension of an MB. A first LMB can have the size of (k*p)x(l*p) pixels, k and 1 being integer numbers. The fact that the size of a second LMB must also correspond to the size of an integer number first LMBs implies further that m is divisible by k, and n is divisible by 1, without remainder.
In the example above, k=2 , 1=2, m=4, n=4 and p=16.
Further exemplary values for the size parameters are given below. It will readily be recognized that other possibilities also exist.
The size parameter k may be selected from the set {2, 3, 4, 5, 6, 7, 8, 9, 10};
The size parameter 1 may be selected from the set {2, 3, 4, 5, 6, 7, 8, 9, 10};
The size parameter m equals a positive integer multiplied by k, and in particular, a positive integer ≥ 2
multiplied by k. Thus, if k=2, m may be suitably selected from the set {4, 6, 8, 10, 12, 14, 18, 18, 20}. If k=3, m may be suitably selected from the set {6, 9, 12, 15, 18, 21, 24, 27, 30}, and so on.
The size parameter m equals a positive integer multiplied by 1, and in particular, a positive integer ≥ 2
multiplied by 1. Thus, if 1=2, n may be suitably selected from the set {4, 6, 8, 10, 12, 14, 18, 18, 20}. If 1=3, n may be suitably selected from the set {6, 9, 12, 15, 18, 21, 24, 27, 30}, and so on. The size parameter p may, e.g., be selected from the set {4, 8, 12, 16, 20, 24, 28, 32}
Regular macroblocks are, in general, square with size pxp .
Large macroblocks of the first or second type, as
described in the present disclosure, may also be square, but they are not necessarily square. It will readily be understood that k equals 1 if the first large macroblock is square. Such an example has been explained with reference to figure 3, wherein k=l=2. If the first large macroblock is rectangular, but not square, k will be different from 1. Such an example has been explained with reference to figure 2, wherein k=4 and 1=3.
Likewise it will readily be understood that m equals n if the second large macroblock is square. Such an example has been dscribed with reference to figure 3 , wherein m=n=4. If the second large macroblock is rectangular, but not square, m will be different from n.
Note the distinction between the following typographical symbols used in the present specification and claims: the letter "1", used as a numerical (integer) size parameter for large macroblocks, and the fixed number (one) "1".
There is no limitation of the number of LMBs of different sizes, even if there are only two given in the
description above with reference to figur 3 . In the embodiments described above, there are as many scanning fragment levels as there are L B variants, and the scanning fragments have the same size as the respective LMB variants. A scanning fragment of a lower level must further have a known scanning pattern within the next scanning fragment level, and the dimensions of a scanning fragment must be divisible by the dimensions of the a lower level scanning fragment. For example, in the case of the second embodiment described above, there is a first scanning fragment level of 2x2 MBs, and a second scanning fragment level of 4x4 MBs. The scanning fragment level of 4x4 MBs is of a higher level than the scanning fragment level of 2x2 MBs, which has a scanning pattern within the fragment level of 4x4 MBs, and the dimensions are divisible by each other. There could also accordingly be a third and a fourth scanning fragment following the same logic.
There are many ways of deciding if coding shall be based on 16x16 MBs or a LMB of some size. One frequently used method is to make the decision based on a rate distortion measure. The rate distortion (or RD for short) measure over a block is typically: Rate Distortion = Distortion + Rate = D + R
=sum (pixel_errors2) + f (bits_to_code_the _block) .
Distortion (D) is most often calculated as the square_sum (indicated by pixel_errors2 ) of the reconstructed pixel errors. Rate (R) depends on the number of bits used to code the block.
Moreover, the reason that there are reconstructed pixel errors is that transform coefficients are not represented exactly but have been quantized. The quantization
interval may be defined by q. A small q results in a small D, and a large number of bits. On the other hand, a large q results in a large D and a small number of bits. From this the function f () is of the form: f (bits_to_code_the _block) = k*q* bits_to_code_the
_block, where k is a constant not very different from 1, e.g. ke[0.5, 1.5], or ke[0.8, 1.2].
For the pixel area of a size corresponding to a LMB, RDLMB and RDMB are calculated. If RDMB < RDLMB the coding is based on 16x16 MBs. Otherwise, the coding is based on
LMB. Similarly, if there are more block sizes (more LMB sizes) the RD values are calculated and compared to arrive at the overall solution with the lowest
Rate_Distortion measure (RD) . "
The description above is for a full RD decision. This is one of many methods. In some situations the described procedure may be found too implementation costly. In such cases the distortion as described above may be replaced by some other measure of distortion - either of the reconstructed pixels or prediction errors. The last may typically come from motion estimation where a Sum of Absolute Differences (SAD) between pixels to be coded and already decoded pixels are calculated. Such a distortion measure alone or together with a number of bits used for coding may be used instead of a full RD measure as described above. The decision may also be based on minimizing the number of bits used (bit rate consumption) only. However, the decision methods are all referred to as rate distortion measure in this application.
Occurrences of MBs and different types of LMBs are
000361
12 signalled in a block type code as bits in the bit stream between encoder and decoder. The combination of the order of the bit codes sent, the actual scanning order and the run code will uniquely indicate positions of MBs and different LMBs. Run coding is explained further below.
Normally, coding will have a result that for most of the MBs there is no need to send any information. This is mainly because there has been no change in the MB since the last picture. An MB that does not need to transmit any information is often called a skipped block. The decoder will already know how to reconstruct the pixels in a skipped or "not coded" MB. For other MBs there will be bits transmitted in order to reconstruct the pixels on the decoder. Such a MB is referred to as "coded".
This is a situation where "run coding" is used in many areas. Instead of indicating whether each MB is "coded" or "not coded", it is more efficient to use a code only for the "coded" MBs. This code contains information of how many "not coded" MBs there were since the last
"coded" MB. Hence the "run" from the last coded MB is coded. In combination with the block type code indicating MB or a LMB variant, the further scan pattern will be given, and the run code will have that pattern as an assumption.
Introducing LMBs provides the possibility of performing a transform operation on larger pixel areas when
appropriate for example by transforming all the pixels of one luminance/chrominance component in an LMB with a size and dimension of the transform matrix corresponding to the size and dimension of the LMB. Likewise, a common motion vector or set of motion vectors can represent larger pixel areas, i.e. a whole LMB. The transform operation and motion vector estimate is preferably performed according to the standards, but then on a block size larger than conventionally.
All the transform coefficients resulting in the LMB transform may be quantized and entropy coded, but more realistically, a subset of for instance the 8x8 lowest frequency coefficients could be used. In this case, a
method of quantizing and coding 8x8 transform coefficients otherwise used for 8x8 block transform can be reused.
The above description is directed to encoding, but the corresponding applies also for decoding, but in an inverse manner.
A decoder will receive the indications of regular MB and LMB in a separate code arranged in the order of which they occur in the scanning pattern logics used at the encoder side. The actual positions and occurrences of MBs and LMBs in the picture can then be derived from the run code which states the run (distance) between non-skipped blocks, the block type indications, the received order of which, and the zig-zag scanning pattern which in turn is given from the block type indications in combination with knowing the scanning pattern logics on the encoder side.
Fig. 4 illustrates an example of video conferencing encoder/decoder apparatus that is configured to implement the encoding and/or decoding embodiments described supra. The algorithms described supra may be written in computer executable instructions, which may be executed by the machine shown in Fig. 4. The encoder/decoder apparatus may be embodied in a video conference endpoint or may be a stand alone device.
The computer system 1201 includes a bus 1202 or other communication mechanism for communicating information, and a processor 1203 coupled with the bus 1202 for processing the information. The computer system 1201 also includes a main memory 1204, such as a random access memory (RAM) or other dynamic storage device (e.g., dynamic RAM (DRAM), static RAM (SRAM), and synchronous DRAM (SDRAM)), coupled to the bus 1202 for storing information and instructions to be executed by processor 1203. In addition, the main memory 1204 may be used for
storing temporary variables or other intermediate
information during the execution of instructions by the processor 1203. The computer system 1201 further
includes a read only memory (ROM) 1205 or other static storage device (e.g., programmable ROM (PROM), erasable PROM (EPROM) , and electrically erasable PROM (EEPROM) ) coupled to the bus 1202 for storing static information and instructions for the processor 1203.
The computer system 1201 also includes a disk controller 1206 coupled to the bus 1202 to control one or more storage devices for storing information and instructions, such as a magnetic hard disk 1207, and a removable media drive 1208 (e.g., floppy disk drive, read-only compact disc drive, read/write compact disc drive, compact disc jukebox, tape drive, and removable magneto-optical drive) . The storage devices may be added to the computer system 1201 using an appropriate device interface (e.g., small computer system interface (SCSI) , integrated device electronics (IDE) , enhanced-IDE (E-IDE) , direct memory access (DMA) , or ultra-DMA) .
The computer system 1201 may also include special purpose logic devices (e.g., application specific integrated circuits (ASICs)) or configurable logic devices (e.g., simple programmable logic devices (SPLDs) , complex programmable logic devices (CPLDs) , and field
programmable gate arrays (FPGAs)) .
The computer system 1201 may also include a display controller 1209 coupled to the bus 1202 to control a display 1210, for displaying information and/or video to a user. The computer system includes input devices, such as a keyboard 1211 and a pointing device 1212, for interacting with a computer user and providing
information to the processor 1203. The pointing device 1212, for example, may be a mouse, a trackball, or a pointing stick for communicating direction information and command selections to the processor 1203 and for controlling cursor movement on the display 1210. In addition, a printer may provide printed listings of data stored and/or generated by the computer system 1201.
The computer system 1201 performs a portion or all of the processing steps of the exemplary embodiments discussed supra in response to the processor 1203 executing one or more sequences of one or more instructions contained in a memory, such as the main memory 1204. Such instructions may be read into the main memory 1204 from another computer readable medium, such as a hard disk 1207 or a removable media drive 1208. One or more processors in a multi-processing arrangement may also be employed to execute the sequences of instructions contained in main memory 1204.
The computer system 1201 includes at least one computer readable storage medium or memory for holding
instructions programmed according to the teachings of the invention and for containing data structures, tables, records, or other data described herein. Examples of computer readable media are compact discs, hard disks, floppy disks, tape, magneto-optical disks, PROMs (EPROM, EEPROM, flash EPROM) , DRAM, SRAM, SDRAM, or any other magnetic medium, compact discs (e.g., CD-ROM), or any other optical medium, punch cards, paper tape, or other physical medium with patterns of holes.
The processing instructions, or a computer program, programmed according to the teachings of any of the
methods described herein, may be tangibly embodied on a computer readable storage medium, or in a memory.
Alternatively, the instructions or the program may be embodied on a propagated signal, which may be
transmitted, forwarded or received by any network element communicatively operating in a computer or communications network, such as computers, servers, terminals, clients, video conference endpoints, multipoint control units, routers, bridges, hubs, switches, or gateways.
Stored on any one or on a combination of computer
readable storage media, the exemplary embodiments include software for controlling the computer system 1201, for driving a device or devices for implementing the
invention, and for enabling the computer system 1201 to interact with a human user (e.g., video conference participant) . Such software may include, but is not limited to, device drivers, operating systems,
development tools, and applications software. Such computer readable media further includes the computer readable storage medium of the present invention for performing all or a portion (if processing is
distributed) of the processing performed in implementing the invention.
The computer code devices may be any interpretable or executable code mechanism, including but not limited to scripts, interpretable programs, dynamic link libraries (DLLs), Java classes, and complete executable programs. Moreover, parts of the processing of the present
invention may be distributed for better performance, reliability, and/or cost.
The computer system 1201 also includes a communication interface 1213 coupled to the bus 1202. The
communication interface 1213 provides a two-way data communication coupling to a network link 1214 that is connected to, for example, a local area network (LAN)
1215, or to another communications network 1216 such as the Internet. For example, the communication interface
1213 may be a network interface card to attach to any packet switched LAN. As another example, the
communication interface 1213 may be an asymmetrical digital subscriber line (ADSL) card, an integrated services digital network (ISDN) card or a modem to provide a data communication connection to a
corresponding type of communications line. Wireless links may also be implemented. In any such
implementation, the communication interface 1213 sends and receives electrical, electromagnetic or optical signals that carry digital data streams representing various types of information.
The network link 1214 typically provides data
communication through one or more networks to other data devices. For example, the network link 1214 may provide a connection to another computer through a local network 1215 (e.g., a LAN) or through equipment operated by a service provider, which provides communication services through a communications network 1216. The local network
1214 and the communications network 1216 use, for
example, electrical, electromagnetic, or optical signals that carry digital data streams, and the associated physical layer (e.g., CAT 5 cable, coaxial cable, optical fiber, etc) . The signals through the various networks and the signals on the network link 1214 and through the communication interface 1213, which carry the digital
data to and from the computer system 1201 maybe
implemented in baseband signals, or carrier wave based signals. The baseband signals convey the digital data as unmodulated electrical pulses that are descriptive of a stream of digital data bits, where the term "bits" is to be construed broadly to mean symbol, where each symbol conveys at least one or more information bits. The digital data may also be used to modulate a carrier wave, such as with amplitude, phase and/or frequency shift keyed signals that are propagated over a conductive media, or transmitted as electromagnetic waves through a propagation medium. Thus, the digital data may be sent as unmodulated baseband data through a "wired"
communication channel and/or sent within a predetermined frequency band, different than baseband, by modulating a carrier wave. The computer system 1201 can transmit and receive data, including program code, through the
network(s) 1215 and 1216, the network link 1214 and the communication interface 1213. Moreover, the network link 1214 may provide a connection through a LAN 1215 to a mobile device 1217 such as a personal digital assistant (PDA) laptop computer, or cellular telephone.
The present invention is useful especially with large picture formats and result in both lower bit usage and better decoding fidelity than conventional methods using MB size of 16x16 pixels only.
Numerous modifications and variations of the present invention are possible in light of the above teachings.
It is therefore to be understood that within the scope of the appended claims, the invention may be practiced otherwise than as specifically described herein.
Claims
1. A method of video coding executed by an encoder apparatus, the method comprising: arranging, at the encoder apparatus, residual pixels into macroblocks, the macroblocks comprising regular macroblocks, each having a size pxp, and at least one of first large macroblocks, each having a size
(k*p)x(l*p), and second large macroblocks, each having a size
(m*p) x (n*p) , the arranging being determined by a predefined criterion for minimizing at least one of rate consumption or rate distortion, and wherein
p indicates a spatial size of a regular macroblock, k, 1, m and n are integer numbers,
m is divisible by k and
n is divisible by 1; scanning, at the encoder apparatus, said regular
macroblocks in a first zig-zag scanning pattern within first rectangular picture fragments corresponding to the size of the first large macroblock or the second large macroblock; and indicating, at the encoder apparatus, occurrences of regular macroblocks and
at least one of first large macroblocks and second large macroblocks
by a block type code arranged in an order of which the regular macroblocks and at least one of the first large macroblocks and the second large macroblocks are scanned.
2 . The method according to claim 1, wherein
if the first rectangular picture fragments
correspond to the size of the first large macroblock, then a scanning order of the first rectangular picture fragments corresponds to a second zig-zag scanning pattern within second rectangular picture fragments corresponding to the size of the second large macroblock.
3. The method according to claim 1 or 2, further comprising: calculating a rate distortion as a square sum of reconstructed pixel errors and a rate depending on the number of bits used to code a block, and determining, based on the rate distortion, whether coding will be based on the regular macroblock, the first large macroblock, or the second large macroblock.
4. The method according to claim one of the claims
1-3, further comprising: transforming a first large macroblock by a
(k*p)x(l*p) transform matrix, resulting in a
corresponding first large macroblock of transform
coefficients; and transforming a second large macroblock by a
(m*p) x (n*p) transform matrix, resulting in a
corresponding second large macroblock of transform coefficients .
5. The method according to one of the claims 1-4, wherein
the first or second large macroblock is represented by a set of motion vectors.
6. The method according to one of the claims 1-5, further comprising: quantizing only ixi upper left transform
coefficients of a large macroblock of transform coefficients; and setting not-quantized transform coefficients of the large macroblock of transform coefficients to zero.
7. The method according to claim 2,
further comprising: starting the second zig-zag scanning pattern in a first rectangular picture fragment in an upper left corner of one certain second rectangular picture fragment and ending the scanning pattern in a first rectangular picture fragment in a lowest right corner of the one certain second rectangular picture fragment.
8. The method according to one of claims 1 to 6, further comprising: if the first rectangular picture fragments
correspond to the size of the second large macroblock, starting the first zig-zag pattern in a leftmost and first regular macroblock in an upper and first row of regular macroblocks in a rectangular picture fragment, heading horizontally towards the right along the upper and first row of regular macroblocks to an m' th regular macroblock of the upper and first row of regular macroblocks , turning to a leftmost and first regular macroblock in a second row of regular macroblocks proceeding to the m' th regular macroblock of the second row of regular macroblocks, and continuing accordingly until the m' th regular macroblock in the n' th row of regular macroblocks is reached .
9. The method according to one of the claims 1 to
6, further comprising: if the first rectangular picture fragments correspond to the size of the first large macroblock, starting the first zig-zag pattern in a leftmost and first macroblock in an upper and first row of regular macroblocks in a rectangular picture fragment, heading horizontally towards the right along the upper and first row of regular macroblocks to a k'th regular macroblock of the upper and first row of regular macroblocks, turning to a leftmost and first regular macroblock in a second row of regular macroblocks proceeding to the k'th regular macroblock of the second row of regular macroblocks, and continuing accordingly until the k'th regular
macroblock in the l'th row of regular macroblocks is reached .
10. The method according to one of the claims 1 to 9, wherein
p equals 16, m and n equals 4, and k and 1 equals 2.
11. A method of video decoding, executed by a decoding apparatus, for transforming transform
coefficients in a coded video picture to residual pixels, the method comprising: decoding, at the decoding apparatus, a run code resulting in non-skipped block runs; decoding, at the decoding apparatus, a block type code resulting in block type indications of
macroblocks of transform coefficients, the
macroblocks comprising regular macroblocks having size pxp, and at least one of first large macroblocks having size (k*p)x(l*p), and second large macroblocks having size
(m*p) x (n*p) , wherein p indicates the spatial size of a regular macroblock,
k, 1, m and n are integer numbers,
m is divisible by k and
n is divisible by 1; deriving, at the decoding apparatus, a zig-zag scanning pattern from the type block indications; and determining, at the decoding apparatus, occurrences and positions of the regular macroblock and at least one of the first large macroblocks and the second large macroblocks in the coded video picture from the block type indications.
12. The method according to claim 11, further comprising :
transforming a regular macroblock by a pxp transform matrix resulting in a corresponding regular macroblock of residual pixels; transforming a first large macroblock by a
(k*p)x(l*p) transform matrix resulting in a corresponding first large macroblock of residual pixels; and transforming a second large macroblock by a
(m*p) (n*p) transform matrix resulting in a corresponding second large macroblock of residual pixels.
13. A computer program, tangibly embodied on a computer readable storage medium, or in a memory, or on a propagated signal, the computer program comprising processing instructions which, when executed by a
processing device in an encoding apparatus, causes the encoding apparatus to perform a method as set forth in one of the claims 1-10.
14. A computer program, tangibly embodied on a computer readable storage medium, or in a memory, or on a propagated signal, the computer program comprising processing instructions which, when executed by a processing device in a decoding apparatus, causes the decoding apparatus to perform a method as set forth in one of the claims 11-12.
15. A video encoding apparatus, comprising
a processor, input/output circuits and a memory,
the memory containing a computer program as set forth in claim 13.
16. A video decoding apparatus, comprising
a processor, input/output circuits and a memory,
the memory containing a computer program as set forth in claim 14.
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| EP20100823661 EP2489194A4 (en) | 2009-10-16 | 2010-10-13 | Methods for video coding and decoding |
| CN201080046525.9A CN102726048B (en) | 2009-10-16 | 2010-10-13 | Methods for video encoding and decoding |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| NO20093155A NO331356B1 (en) | 2009-10-16 | 2009-10-16 | Methods, computer programs and devices for encoding and decoding video |
| NO20093155 | 2009-10-16 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2011046446A1 true WO2011046446A1 (en) | 2011-04-21 |
Family
ID=43876325
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/NO2010/000361 Ceased WO2011046446A1 (en) | 2009-10-16 | 2010-10-13 | Methods for video coding and decoding |
Country Status (5)
| Country | Link |
|---|---|
| US (1) | US8699580B2 (en) |
| EP (1) | EP2489194A4 (en) |
| CN (1) | CN102726048B (en) |
| NO (1) | NO331356B1 (en) |
| WO (1) | WO2011046446A1 (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2012128701A1 (en) * | 2011-03-18 | 2012-09-27 | Telefonaktiebolaget L M Ericsson (Publ) | Encoder, decoder for scanning a picture and methods thereof |
| WO2014154175A1 (en) * | 2013-03-29 | 2014-10-02 | Mediatek Inc. | Method and apparatus for arranging pixels of picture in storage units each having storage size not divisible by pixel size |
Families Citing this family (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US9826197B2 (en) | 2007-01-12 | 2017-11-21 | Activevideo Networks, Inc. | Providing television broadcasts over a managed network and interactive content over an unmanaged network to a client device |
| US8754900B2 (en) | 2010-06-17 | 2014-06-17 | Thinci, Inc. | Processing of graphics data of a server system for transmission |
| US9373152B2 (en) | 2010-06-17 | 2016-06-21 | Thinci, Inc. | Processing of graphics data of a server system for transmission including multiple rendering passes |
| US10409445B2 (en) * | 2012-01-09 | 2019-09-10 | Activevideo Networks, Inc. | Rendering of an interactive lean-backward user interface on a television |
| US9800945B2 (en) | 2012-04-03 | 2017-10-24 | Activevideo Networks, Inc. | Class-based intelligent multiplexing over unmanaged networks |
| WO2014145921A1 (en) | 2013-03-15 | 2014-09-18 | Activevideo Networks, Inc. | A multiple-mode system and method for providing user selectable video content |
| CN104159106B (en) * | 2013-05-14 | 2017-12-01 | 联发科技股份有限公司 | Video encoding method, video decoding method and device thereof |
| US9832478B2 (en) | 2013-05-14 | 2017-11-28 | Mediatek Inc. | Video encoding method and apparatus for determining size of parallel motion estimation region based on encoding related information and related video decoding method and apparatus |
| EP3005712A1 (en) | 2013-06-06 | 2016-04-13 | ActiveVideo Networks, Inc. | Overlay rendering of user interface onto source video |
| US9788029B2 (en) | 2014-04-25 | 2017-10-10 | Activevideo Networks, Inc. | Intelligent multiplexing using class-based, multi-dimensioned decision logic for managed networks |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2004253826A (en) * | 2002-10-03 | 2004-09-09 | Matsushita Electric Ind Co Ltd | Adaptive macroblock scanning method for video and image compression |
| WO2008027192A2 (en) * | 2006-08-25 | 2008-03-06 | Thomson Licensing | Methods and apparatus for reduced resolution partitioning |
| EP1956847A1 (en) * | 2005-11-08 | 2008-08-13 | Matsushita Electric Industrial Co., Ltd. | Moving picture coding method, moving picture decoding method, and apparatuses of the same |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5021891A (en) * | 1990-02-27 | 1991-06-04 | Qualcomm, Inc. | Adaptive block size image compression method and system |
| EP1483918A2 (en) * | 2002-03-05 | 2004-12-08 | Koninklijke Philips Electronics N.V. | Method and system for layered video encoding |
| KR20090129926A (en) * | 2008-06-13 | 2009-12-17 | 삼성전자주식회사 | Image encoding method and apparatus, image decoding method and apparatus |
-
2009
- 2009-10-16 NO NO20093155A patent/NO331356B1/en not_active IP Right Cessation
-
2010
- 2010-10-08 US US12/900,886 patent/US8699580B2/en active Active
- 2010-10-13 WO PCT/NO2010/000361 patent/WO2011046446A1/en not_active Ceased
- 2010-10-13 CN CN201080046525.9A patent/CN102726048B/en not_active Expired - Fee Related
- 2010-10-13 EP EP20100823661 patent/EP2489194A4/en not_active Ceased
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2004253826A (en) * | 2002-10-03 | 2004-09-09 | Matsushita Electric Ind Co Ltd | Adaptive macroblock scanning method for video and image compression |
| EP1956847A1 (en) * | 2005-11-08 | 2008-08-13 | Matsushita Electric Industrial Co., Ltd. | Moving picture coding method, moving picture decoding method, and apparatuses of the same |
| WO2008027192A2 (en) * | 2006-08-25 | 2008-03-06 | Thomson Licensing | Methods and apparatus for reduced resolution partitioning |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2012128701A1 (en) * | 2011-03-18 | 2012-09-27 | Telefonaktiebolaget L M Ericsson (Publ) | Encoder, decoder for scanning a picture and methods thereof |
| WO2014154175A1 (en) * | 2013-03-29 | 2014-10-02 | Mediatek Inc. | Method and apparatus for arranging pixels of picture in storage units each having storage size not divisible by pixel size |
| US9514510B2 (en) | 2013-03-29 | 2016-12-06 | Mediatek Inc. | Method and apparatus for arranging pixels of picture in storage units each having storage size not divisible by pixel size |
| US10134107B2 (en) | 2013-03-29 | 2018-11-20 | Mediatek Inc. | Method and apparatus for arranging pixels of picture in storage units each having storage size not divisible by pixel size |
| US10163188B2 (en) | 2013-03-29 | 2018-12-25 | Mediatek Inc. | Method and apparatus for arranging pixels of picture in storage units each having storage size not divisible by pixel size |
Also Published As
| Publication number | Publication date |
|---|---|
| US20110110433A1 (en) | 2011-05-12 |
| NO20093155A1 (en) | 2011-04-18 |
| NO331356B1 (en) | 2011-12-12 |
| CN102726048A (en) | 2012-10-10 |
| EP2489194A4 (en) | 2013-06-12 |
| CN102726048B (en) | 2016-01-20 |
| US8699580B2 (en) | 2014-04-15 |
| EP2489194A1 (en) | 2012-08-22 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR102820911B1 (en) | Encoding And Decoding Methods For Video Information | |
| US8699580B2 (en) | Method, apparatus, and computer readable medium for video compression | |
| KR101947657B1 (en) | Method and apparatus for encoding intra prediction information | |
| KR101622450B1 (en) | Video encoding and decoding using transforms | |
| KR101947658B1 (en) | Method and apparatus for decoding image | |
| KR100324610B1 (en) | Image predictive decoding apparatus and method thereof | |
| JP3764458B2 (en) | Image encoding method, image decoding method, image encoding device, image decoding device, and program | |
| EP2262269A2 (en) | Skip macroblock coding | |
| KR20130103803A (en) | Image encoding device and method | |
| KR20130045148A (en) | Method and apparatus for encoding image in intra prediction mode | |
| CA2610276A1 (en) | Image encoder and image decoder, image encoding method and image decoding method, image encoding program and image decoding program, and computer readable recording medium recorded with image encoding program and computer readable recording medium recorded with image decoding program | |
| WO2013003726A1 (en) | Block based adaptive loop filter | |
| KR20200091848A (en) | Method for intra prediction and apparatus thereof | |
| KR20130045151A (en) | Method and apparatus for generating reconstruction block | |
| EP2196031B1 (en) | Method for alternating entropy coding | |
| US8989276B2 (en) | Video encoder/decoder, method and computer program product | |
| US9277214B2 (en) | Sub-picture hierarchical QP coding | |
| KR20210002506A (en) | Encoding and decoding of video | |
| HK40064956B (en) | Video decoding method, apparatus, computer-readable medium and electronic device | |
| CN117397237A (en) | System and method for transform coefficient symbol prediction and coding | |
| HK40046827A (en) | Video encoding and decoding method, device, computer-readable medium and electronic equipment | |
| HK40046827B (en) | Video encoding and decoding method, device, computer-readable medium and electronic equipment | |
| KR20040084328A (en) | Method for adaptively updating intra macroblock based on intermediate data | |
| HK1164594B (en) | Method of processing video picture |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| WWE | Wipo information: entry into national phase |
Ref document number: 201080046525.9 Country of ref document: CN |
|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 10823661 Country of ref document: EP Kind code of ref document: A1 |
|
| DPE1 | Request for preliminary examination filed after expiration of 19th month from priority date (pct application filed from 20040101) | ||
| WWE | Wipo information: entry into national phase |
Ref document number: 2010823661 Country of ref document: EP |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |