Macroblock

Macroblock
Example of image with macroblocking due to transmission error.

Macroblock is an image compression component and technique based on discrete cosine transform used on still images and video frames. Macroblocks are usually composed of two or more blocks of pixels. In the JPEG standard macroblocks are called MCU blocks.

The size of a block depends on the codec and is usually a multiple of 4. In MPEG2 and other early codecs the size is fixed at blocks of 8x8 pixels. In more modern codecs such as h.263 and h.264 the overarching macroblock size is fixed at 16x16 pixels, but this is broken down into smaller blocks or partitions which are either 4, 8, 12 or 16 pixels by 4, 8, 12 or 16 pixels. (Combinations of these smaller partitions must combine to form 16x16 macroblocks.)

Sizes of macroblocks are usually expressed in the number of luminance pixels they contain.[citation needed][clarification needed] Color information is usually encoded at a lower resolution than the luminance information. For example, the colour information of an 8x8 macroblock in a 4:1:1 colour space will be encoded into a Y Cb Cr format. The Luminance will be encoded at an 8x8 pixel size and the difference-red and difference-blue information each at a size of 2x2. In the decode process these will be stretched out to cover the 8x8 space.[1].

Each macroblock contains 4 Y (luminance) block, 1 Cb (blue color difference) block, 1 Cr (red color difference) block (4:2:0).[1] (It also could be represented by 4:2:2 or 4:4:4 YCbCr format). Macroblocks can be subdivided further into smaller blocks, called partitions. H.264, for example, supports block sizes as small as 4x4.

Contents

Macroblock coding

+------+------+-------+--------+-----+----+----+--------+
| ADDR | TYPE | QUANT | VECTOR | CBP | b0 | b1 | ... B5 |
+------+------+-------+--------+-----+----+----+--------+
  • ADDR .... address of block in image
  • TYPE .... identifies type of macroblock (intra-frame, inter frame, bi-directional inter frame)
  • QUANT ... quantization value to vary quantization
  • VECTOR... motion vector
  • CBP...... Coded Block Pattern, some blocks in macroblock match well, some match poorly - this is bit mask indicating which one is present.
  • the blocks (4 Y, 1 Cr, 1 Cb)

Macroblocking

Macroblocking in a JPEG, where the error shows as low-resolution.

This is a non-technical term, used when macroblocks are either missing and show up as video errors, or when bandwidth is not enough to encode fine detail. Square areas of the picture do not show the correct portion of the image. Instead they either show a single color block, or a low-resolution block with noticeable edges. This effect is also referred to as tiling[2], mosaicing, pixelating, quilting or checkerboarding. Advanced decoders hide these types of errors with a technique called error concealment. Consumer equipment often calls this technique 'MPEG Noise Reduction'.[3]

See also

References

  1. ^ a b http://www.cs.cf.ac.uk/Dave/Multimedia/node248.html
  2. ^ The MPEG handbook by John Watkinson. http://books.google.com/books?id=STFAx4jqU5IC&pg=PA343&lpg=PA343&dq=tiling+mpeg&source=web&ots=orZJnUBtk5&sig=IxPYZSsRy48ZxKbjYWe2LOUx3FE&hl=en&sa=X&oi=book_result&resnum=8&ct=result. 
  3. ^ "PC Magazine, Definition of blocking artifacts". http://www.pcmag.com/encyclopedia_term/0,2542,t=blocking+artifacts&i=56319,00.asp. 

Wikimedia Foundation. 2010.

Игры ⚽ Нужен реферат?

Look at other dictionaries:

  • Macroblock — Macrobloc Le terme Macrobloc de l anglais Macroblock désigne deux notions : un élément composant certains signaux vidéo numériques un phénomène, effet ou artefact pouvant survenir lors de la compression vidéo numérique ou du décodage de ce… …   Wikipédia en Français

  • macroblock — makroblokas statusas T sritis radioelektronika atitikmenys: angl. macroblock vok. Makroblock, m rus. макроблок, m pranc. macrobloc, m …   Radioelektronikos terminų žodynas

  • macroblock — noun a) A block of adjacent pixels, typically a rectangular 16x16 block b) An area of a dig where there are multiple adjacent block excavations See Also: microblock …   Wiktionary

  • macroblock — ● ►en n. m. ►GRAPH Bloc de 16 x 16 pixels dans une image (frame) d une vidéo au format MPEG …   Dictionnaire d'informatique francophone

  • Flexible Macroblock Ordering — H.264/MPEG 4 AVC is a new standard for digital video compression jointly developed by ITU T’s Video Coding Experts Group (VCEG) and ISO/IEC’s Moving Picture Experts Group (MPEG).Next to efficient coding algorithms, the H.264/AVC specifications… …   Wikipedia

  • Flexible Macroblock Ordering — Saltar a navegación, búsqueda H.264/MPEG 4 AVC es el nuevo estándar de compresión de vídeo digital desarrollado conjuntamente por Grupo de Expertos en Codificación de Vídeo (VCEG) de la UIT T y Grupo de Expertos en Imágenes en Movimiento (MPEG)… …   Wikipedia Español

  • MPEG-1 — Moving Picture Experts Group Phase 1 (MPEG 1) Filename extension .mpg, .mpeg, .mp1, .mp2, .mp3, .m1v, .m1a, .m2a, .mpa, .mpv Internet media type audio/mpeg, video/mpeg Developed by ISO, IEC Type of format audio, vid …   Wikipedia

  • H.264/MPEG-4 AVC — H.264 is a standard for video compression. It is also known as MPEG 4 Part 10, or MPEG 4 AVC (for Advanced Video Coding). As of 2008, it is the latest block oriented motion compensation based codec standard developed by the ITU T Video Coding… …   Wikipedia

  • HD Photo — Infobox file format name = HD Photo extension = .hdp (formerly .wdp) mime = image/vnd.ms photo owner = Microsoft creatorcode = genre = graphics file format containerfor = containedby = extendedfrom = extendedto = HD Photo (formerly Windows Media… …   Wikipedia

  • Comparison of H.264 and VC-1 — H.264 and VC 1 are popular video compression standards gaining use in the industry as of 2007[update]. Contents 1 Overview 2 Terminology 3 Features …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”