Macroblock

From Wikipedia, the free encyclopedia

Jump to: navigation, search

Macroblock is a term used in video compression, which represents a block of 16 by 16 pixels[1]. Each macroblock contains 4 Y (luminance) block, 1 Cb (blue color difference) block, 1 Cr (red color difference) block (4:2:0).[2] (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

[edit] 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)

[edit] Macroblocking

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. Advanced decoders hide these types of errors with a technique called error concealment. Consumer equipment often calls this technique as MPEG Noise Reduction system."[3]

This effect is also referred to as microblocking, tiling [4], mosaicking or pixelating.

[edit] See also

[edit] References

  1. ^ http://www.cs.cf.ac.uk/Dave/Multimedia/node248.html
  2. ^ http://www.cs.cf.ac.uk/Dave/Multimedia/node248.html
  3. ^ "PC Magazine, Definition of blocking artifacts". http://www.pcmag.com/encyclopedia_term/0,2542,t=blocking+artifacts&i=56319,00.asp. 
  4. ^ "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. 
Personal tools
Languages