Knowledge

Macroblock

Source đź“ť

130:
macroblock can be split into multiple variable-sized prediction blocks, called partitions. In an inter-predicted macroblock in H.264/AVC, a separate motion vector is specified for each partition. Correspondingly, in an intra-predicted macroblock, where samples are predicted by extrapolating from the edges of neighboring blocks, the predicted direction is specified on a per-partition basis. In H.264/AVC, prediction partition size ranges from 4Ă—4 to 16Ă—16 samples for both inter-prediction (motion compensation) and intra-prediction.
1638: 1628: 120:
In more modern macroblock-based video coding standards such as H.263 and H.264/AVC, transform blocks can be of sizes other than 8Ă—8 samples. For instance, in H.264/AVC main profile, the transform block size is 4Ă—4. In H.264/AVC High profile, the transform block size can be either 4Ă—4 or 8Ă—8, adapted
129:
Distinct from the division into transform blocks, a macroblock can be split into prediction blocks. In early standards such as H.261, MPEG-1 Part 2, and H.262/MPEG-2 Part 2, motion compensation is performed with one motion vector per macroblock. In more modern standards such as H.264/AVC, a
99:
A macroblock is divided into transform blocks, which serve as input to the linear block transform, e.g. the DCT. In H.261, the first video codec to use macroblocks, transform blocks have a fixed size of 8Ă—8 samples. In the
108:
chroma subsampling, a 16Ă—16 macroblock consists of 16Ă—16 luma (Y) samples and 8Ă—8 chroma (Cb and Cr) samples. These samples are split into four Y blocks, one Cb block and one Cr block. This design is also used in
46:(DCT). A macroblock typically consists of 16Ă—16 samples, and is further subdivided into transform blocks, and may be further subdivided into prediction blocks. Formats which are based on macroblocks include 117:
formats, e.g. 4:0:0, 4:2:2, or 4:4:4, the number of chroma samples in a macroblock will be smaller or larger, and the grouping of chroma samples into blocks will differ accordingly.
153:+------+------+-------+--------+-----+----+----+--------+ | ADDR | TYPE | QUANT | VECTOR | CBP | b0 | b1 | ... b5 | +------+------+-------+--------+-----+----+----+--------+ 462: 1130: 941: 113:
and most other macroblock-based video codecs with a fixed transform block size, such as MPEG-1 Part 2 and H.262/MPEG-2 Part 2. In other
830: 1336: 1159: 953: 644: 1341: 918: 1071: 1448: 1186: 1125: 936: 886: 709: 569: 554: 455: 1561: 1571: 1409: 1260: 1179: 973: 250: 1544: 1164: 958: 746: 1641: 677: 17: 1306: 1631: 1534: 1076: 634: 448: 396: 624: 619: 372:"Information technology â€” Generic coding of moving pictures and associated audio information: Video" 1677: 1672: 1566: 1493: 1331: 1311: 1255: 913: 704: 507: 184:
CBP â€” Coded Block Pattern, this is bit mask indicating for which blocks coefficients are present.
1667: 1576: 1517: 1443: 1291: 881: 876: 731: 574: 245: 43: 1581: 1154: 948: 649: 1522: 893: 780: 736: 549: 532: 522: 1147: 898: 682: 527: 1419: 1551: 1235: 697: 659: 480: 255: 197: 143: 8: 1466: 1357: 1316: 1301: 1270: 1265: 1174: 1081: 1014: 983: 968: 751: 227: 139: 63: 1539: 1509: 1488: 1394: 1326: 1220: 908: 724: 714: 609: 589: 584: 114: 1120: 421: 1483: 1471: 1453: 1321: 1205: 1142: 988: 903: 859: 820: 502: 260: 39: 35: 1458: 1414: 1387: 1382: 1240: 1225: 1135: 1044: 1039: 868: 601: 579: 471: 240: 83: 75: 1377: 1191: 1115: 1096: 1066: 1034: 1000: 559: 497: 138:
A possible bitstream representation of a macroblock in a video codec which uses
1169: 963: 692: 687: 544: 517: 489: 392: 1661: 1476: 1424: 1091: 1086: 1061: 993: 614: 512: 223: 179: 71: 59: 1597: 564: 539: 440: 51: 1556: 1434: 1230: 1106: 1056: 390: 165: 161: 1613: 1404: 1399: 1286: 1051: 265: 79: 371: 337: 316: 292: 82:, the macroblock as a basic processing unit has been replaced by the 1527: 1372: 1029: 1296: 770: 719: 169: 402:. IEEE Transactions on Circuits and Systems for Video Technology 810: 397:"Overview of the High Efficiency Video Coding (HEVC) Standard" 1645: 1250: 843: 790: 235: 231: 219: 147: 105: 101: 67: 55: 800: 654: 639: 629: 215: 110: 47: 775: 741: 317:"Advanced video coding for generic audiovisual services" 42:
formats based on linear block transforms, typically the
293:"Video codec for audiovisual services at p x 64 kbit/s" 27:
Processing unit in image and video compression formats
206:
is commonly used to refer to block coding artifacts.
175:
QUANT â€” quantization value to vary quantization
146:
is given below. It is similar to the format used in
384: 1659: 456: 338:"Video coding for low bit rate communication" 470: 160:TYPE â€” identifies type of macroblock ( 133: 463: 449: 413: 419: 14: 1660: 365: 363: 361: 359: 357: 355: 353: 310: 308: 286: 284: 282: 280: 187:bN â€” the blocks (4 Y, 1 Cr, 1 Cb) 444: 391:G.J. Sullivan; J.-R. Ohm; W.-J. Han; 369: 335: 314: 290: 157:ADDR â€” address of block in image 124: 89: 350: 329: 305: 277: 94: 24: 25: 1689: 1637: 1636: 1627: 1626: 191: 251:Video compression picture types 13: 1: 420:Marshall, Dave (2001-04-10). 271: 426:Multimedia Module No: CM0340 7: 209: 121:on a per-macroblock basis. 10: 1694: 1518:Compressed data structures 840:RLE + BWT + MTF + Huffman 508:Asymmetric numeral systems 195: 170:bi-directional inter frame 1622: 1606: 1590: 1508: 1433: 1365: 1356: 1279: 1213: 1204: 1105: 1022: 1013: 929: 877:Discrete cosine transform 867: 858: 807:LZ77 + Huffman + context 760: 670: 600: 488: 479: 246:Discrete cosine transform 44:discrete cosine transform 1582:Smallest grammar problem 134:Bitstream representation 50:, where they are called 34:is a processing unit in 1523:Compressed suffix array 1072:Nyquist–Shannon theorem 315:ITU-T (February 2012). 336:ITU-T (January 2005). 1552:Kolmogorov complexity 1420:Video characteristics 797:LZ77 + Huffman + ANS 1642:Compression software 1236:Compression artifact 1192:Psychoacoustic model 422:"Intra Frame Coding" 370:ITU-T (April 2013). 291:ITU-T (March 1993). 256:Compression artifact 198:Compression artifact 1632:Compression formats 1271:Texture compression 1266:Standard test image 1082:Silence compression 228:H.262/MPEG-2 Part 2 140:motion compensation 64:H.262/MPEG-2 Part 2 1540:Information theory 1395:Display resolution 1221:Chroma subsampling 610:Byte pair encoding 555:Shannon–Fano–Elias 115:chroma subsampling 1678:Image compression 1673:Video compression 1655: 1654: 1504: 1503: 1454:Deblocking filter 1352: 1351: 1200: 1199: 1009: 1008: 854: 853: 261:Deblocking filter 125:Prediction blocks 104:color space with 90:Technical details 40:video compression 16:(Redirected from 1685: 1668:Data compression 1640: 1639: 1630: 1629: 1459:Lapped transform 1363: 1362: 1241:Image resolution 1226:Coding tree unit 1211: 1210: 1020: 1019: 865: 864: 486: 485: 472:Data compression 465: 458: 451: 442: 441: 436: 435: 433: 432: 417: 411: 410: 408: 407: 401: 388: 382: 381: 379: 378: 367: 348: 347: 345: 344: 333: 327: 326: 324: 323: 312: 303: 302: 300: 299: 288: 241:Coding tree unit 144:transform coding 95:Transform blocks 84:coding tree unit 76:H.264/MPEG-4 AVC 21: 1693: 1692: 1688: 1687: 1686: 1684: 1683: 1682: 1658: 1657: 1656: 1651: 1618: 1602: 1586: 1567:Rate–distortion 1500: 1429: 1348: 1275: 1196: 1101: 1097:Sub-band coding 1005: 930:Predictive type 925: 850: 817:LZSS + Huffman 767:LZ77 + Huffman 756: 666: 602:Dictionary type 596: 498:Adaptive coding 475: 469: 439: 430: 428: 418: 414: 405: 403: 399: 389: 385: 376: 374: 368: 351: 342: 340: 334: 330: 321: 319: 313: 306: 297: 295: 289: 278: 274: 212: 200: 194: 154: 136: 127: 97: 92: 28: 23: 22: 15: 12: 11: 5: 1691: 1681: 1680: 1675: 1670: 1653: 1652: 1650: 1649: 1634: 1623: 1620: 1619: 1617: 1616: 1610: 1608: 1604: 1603: 1601: 1600: 1594: 1592: 1588: 1587: 1585: 1584: 1579: 1574: 1569: 1564: 1559: 1554: 1549: 1548: 1547: 1537: 1532: 1531: 1530: 1525: 1514: 1512: 1506: 1505: 1502: 1501: 1499: 1498: 1497: 1496: 1491: 1481: 1480: 1479: 1474: 1469: 1461: 1456: 1451: 1446: 1440: 1438: 1431: 1430: 1428: 1427: 1422: 1417: 1412: 1407: 1402: 1397: 1392: 1391: 1390: 1385: 1380: 1369: 1367: 1360: 1354: 1353: 1350: 1349: 1347: 1346: 1345: 1344: 1339: 1334: 1329: 1319: 1314: 1309: 1304: 1299: 1294: 1289: 1283: 1281: 1277: 1276: 1274: 1273: 1268: 1263: 1258: 1253: 1248: 1243: 1238: 1233: 1228: 1223: 1217: 1215: 1208: 1202: 1201: 1198: 1197: 1195: 1194: 1189: 1184: 1183: 1182: 1177: 1172: 1167: 1162: 1152: 1151: 1150: 1140: 1139: 1138: 1133: 1123: 1118: 1112: 1110: 1103: 1102: 1100: 1099: 1094: 1089: 1084: 1079: 1074: 1069: 1064: 1059: 1054: 1049: 1048: 1047: 1042: 1037: 1026: 1024: 1017: 1011: 1010: 1007: 1006: 1004: 1003: 1001:Psychoacoustic 998: 997: 996: 991: 986: 978: 977: 976: 971: 966: 961: 956: 946: 945: 944: 933: 931: 927: 926: 924: 923: 922: 921: 916: 911: 901: 896: 891: 890: 889: 884: 873: 871: 869:Transform type 862: 856: 855: 852: 851: 849: 848: 847: 846: 838: 837: 836: 833: 825: 824: 823: 815: 814: 813: 805: 804: 803: 795: 794: 793: 785: 784: 783: 778: 773: 764: 762: 758: 757: 755: 754: 749: 744: 739: 734: 729: 728: 727: 722: 712: 707: 702: 701: 700: 690: 685: 680: 674: 672: 668: 667: 665: 664: 663: 662: 657: 652: 647: 642: 637: 632: 627: 622: 612: 606: 604: 598: 597: 595: 594: 593: 592: 587: 582: 577: 567: 562: 557: 552: 547: 542: 537: 536: 535: 530: 525: 515: 510: 505: 500: 494: 492: 483: 477: 476: 468: 467: 460: 453: 445: 438: 437: 412: 395:(2012-05-25). 383: 349: 328: 304: 275: 273: 270: 269: 268: 263: 258: 253: 248: 243: 238: 211: 208: 196:Main article: 193: 190: 189: 188: 185: 182: 178:VECTOR â€” 176: 173: 158: 152: 135: 132: 126: 123: 96: 93: 91: 88: 26: 9: 6: 4: 3: 2: 1690: 1679: 1676: 1674: 1671: 1669: 1666: 1665: 1663: 1647: 1643: 1635: 1633: 1625: 1624: 1621: 1615: 1612: 1611: 1609: 1605: 1599: 1596: 1595: 1593: 1589: 1583: 1580: 1578: 1575: 1573: 1570: 1568: 1565: 1563: 1560: 1558: 1555: 1553: 1550: 1546: 1543: 1542: 1541: 1538: 1536: 1533: 1529: 1526: 1524: 1521: 1520: 1519: 1516: 1515: 1513: 1511: 1507: 1495: 1492: 1490: 1487: 1486: 1485: 1482: 1478: 1475: 1473: 1470: 1468: 1465: 1464: 1462: 1460: 1457: 1455: 1452: 1450: 1447: 1445: 1442: 1441: 1439: 1436: 1432: 1426: 1425:Video quality 1423: 1421: 1418: 1416: 1413: 1411: 1408: 1406: 1403: 1401: 1398: 1396: 1393: 1389: 1386: 1384: 1381: 1379: 1376: 1375: 1374: 1371: 1370: 1368: 1364: 1361: 1359: 1355: 1343: 1340: 1338: 1335: 1333: 1330: 1328: 1325: 1324: 1323: 1320: 1318: 1315: 1313: 1310: 1308: 1305: 1303: 1300: 1298: 1295: 1293: 1290: 1288: 1285: 1284: 1282: 1278: 1272: 1269: 1267: 1264: 1262: 1259: 1257: 1254: 1252: 1249: 1247: 1244: 1242: 1239: 1237: 1234: 1232: 1229: 1227: 1224: 1222: 1219: 1218: 1216: 1212: 1209: 1207: 1203: 1193: 1190: 1188: 1185: 1181: 1178: 1176: 1173: 1171: 1168: 1166: 1163: 1161: 1158: 1157: 1156: 1153: 1149: 1146: 1145: 1144: 1141: 1137: 1134: 1132: 1129: 1128: 1127: 1124: 1122: 1119: 1117: 1114: 1113: 1111: 1108: 1104: 1098: 1095: 1093: 1092:Speech coding 1090: 1088: 1087:Sound quality 1085: 1083: 1080: 1078: 1075: 1073: 1070: 1068: 1065: 1063: 1062:Dynamic range 1060: 1058: 1055: 1053: 1050: 1046: 1043: 1041: 1038: 1036: 1033: 1032: 1031: 1028: 1027: 1025: 1021: 1018: 1016: 1012: 1002: 999: 995: 992: 990: 987: 985: 982: 981: 979: 975: 972: 970: 967: 965: 962: 960: 957: 955: 952: 951: 950: 947: 943: 940: 939: 938: 935: 934: 932: 928: 920: 917: 915: 912: 910: 907: 906: 905: 902: 900: 897: 895: 892: 888: 885: 883: 880: 879: 878: 875: 874: 872: 870: 866: 863: 861: 857: 845: 842: 841: 839: 834: 832: 829: 828: 827:LZ77 + Range 826: 822: 819: 818: 816: 812: 809: 808: 806: 802: 799: 798: 796: 792: 789: 788: 786: 782: 779: 777: 774: 772: 769: 768: 766: 765: 763: 759: 753: 750: 748: 745: 743: 740: 738: 735: 733: 730: 726: 723: 721: 718: 717: 716: 713: 711: 708: 706: 703: 699: 696: 695: 694: 691: 689: 686: 684: 681: 679: 676: 675: 673: 669: 661: 658: 656: 653: 651: 648: 646: 643: 641: 638: 636: 633: 631: 628: 626: 623: 621: 618: 617: 616: 613: 611: 608: 607: 605: 603: 599: 591: 588: 586: 583: 581: 578: 576: 573: 572: 571: 568: 566: 563: 561: 558: 556: 553: 551: 548: 546: 543: 541: 538: 534: 531: 529: 526: 524: 521: 520: 519: 516: 514: 511: 509: 506: 504: 501: 499: 496: 495: 493: 491: 487: 484: 482: 478: 473: 466: 461: 459: 454: 452: 447: 446: 443: 427: 423: 416: 398: 394: 387: 373: 366: 364: 362: 360: 358: 356: 354: 339: 332: 318: 311: 309: 294: 287: 285: 283: 281: 276: 267: 264: 262: 259: 257: 254: 252: 249: 247: 244: 242: 239: 237: 233: 229: 225: 224:MPEG-1 Part 2 221: 217: 214: 213: 207: 205: 204:macroblocking 199: 192:Macroblocking 186: 183: 181: 180:motion vector 177: 174: 171: 167: 163: 159: 156: 155: 151: 149: 145: 141: 131: 122: 118: 116: 112: 107: 103: 87: 85: 81: 77: 73: 72:MPEG-4 Part 2 69: 65: 61: 60:MPEG-1 Part 2 57: 53: 49: 45: 41: 37: 33: 19: 18:Macroblocking 1598:Hutter Prize 1562:Quantization 1467:Compensation 1261:Quantization 1245: 984:Compensation 550:Shannon–Fano 490:Entropy type 429:. Retrieved 425: 415: 404:. Retrieved 386: 375:. Retrieved 341:. Retrieved 331: 320:. Retrieved 296:. Retrieved 203: 201: 137: 128: 119: 98: 31: 29: 1557:Prefix code 1410:Frame types 1231:Color space 1057:Convolution 787:LZ77 + ANS 698:Incremental 671:Other types 590:Levenshtein 166:inter frame 162:intra frame 1662:Categories 1614:Mark Adler 1572:Redundancy 1489:Daubechies 1472:Estimation 1405:Frame rate 1327:Daubechies 1287:Chain code 1246:Macroblock 1052:Companding 989:Estimation 909:Daubechies 615:Lempel–Ziv 575:Exp-Golomb 503:Arithmetic 431:2014-02-13 406:2013-04-26 393:T. Wiegand 377:2013-04-28 343:2013-04-28 322:2013-04-28 298:2013-04-28 272:References 266:Pixelation 80:H.265/HEVC 52:MCU blocks 32:macroblock 1591:Community 1415:Interlace 801:Zstandard 580:Fibonacci 570:Universal 528:Canonical 202:The term 1577:Symmetry 1545:Timeline 1528:FM-index 1373:Bit rate 1366:Concepts 1214:Concepts 1077:Sampling 1030:Bit rate 1023:Concepts 725:Sequitur 560:Tunstall 533:Modified 523:Adaptive 481:Lossless 210:See also 1535:Entropy 1484:Wavelet 1463:Motion 1322:Wavelet 1302:Fractal 1297:Deflate 1280:Methods 1067:Latency 980:Motion 904:Wavelet 821:LHA/LZH 771:Deflate 720:Re-Pair 715:Grammar 545:Shannon 518:Huffman 474:methods 1646:codecs 1607:People 1510:Theory 1477:Vector 994:Vector 811:Brotli 761:Hybrid 660:Snappy 513:Golomb 74:, and 1437:parts 1435:Codec 1400:Frame 1358:Video 1342:SPIHT 1251:Pixel 1206:Image 1160:ACELP 1131:ADPCM 1121:ÎĽ-law 1116:A-law 1109:parts 1107:Codec 1015:Audio 954:ACELP 942:ADPCM 919:SPIHT 860:Lossy 844:bzip2 835:LZHAM 791:LZFSE 693:Delta 585:Gamma 565:Unary 540:Range 400:(PDF) 236:H.264 232:H.263 220:H.261 148:H.261 106:4:2:0 102:YCbCr 78:. In 68:H.263 56:H.261 36:image 1449:DPCM 1256:PSNR 1187:MDCT 1180:WLPC 1165:CELP 1126:DPCM 974:WLPC 959:CELP 937:DPCM 887:MDCT 831:LZMA 732:LDCT 710:DPCM 655:LZWL 645:LZSS 640:LZRW 630:LZJB 234:and 216:JPEG 142:and 111:JPEG 48:JPEG 38:and 30:The 1494:DWT 1444:DCT 1388:VBR 1383:CBR 1378:ABR 1337:EZW 1332:DWT 1317:RLE 1307:KLT 1292:DCT 1175:LSP 1170:LAR 1155:LPC 1148:FFT 1045:VBR 1040:CBR 1035:ABR 969:LSP 964:LAR 949:LPC 914:DWT 899:FFT 894:DST 882:DCT 781:LZS 776:LZX 752:RLE 747:PPM 742:PAQ 737:MTF 705:DMC 683:CTW 678:BWT 650:LZW 635:LZO 625:LZ4 620:842 1664:: 1312:LP 1143:FT 1136:DM 688:CM 424:. 352:^ 307:^ 279:^ 230:, 226:, 222:, 218:, 168:, 164:, 150:. 86:. 70:, 66:, 62:, 58:, 54:, 1648:) 1644:( 464:e 457:t 450:v 434:. 409:. 380:. 346:. 325:. 301:. 172:) 20:)

Index

Macroblocking
image
video compression
discrete cosine transform
JPEG
MCU blocks
H.261
MPEG-1 Part 2
H.262/MPEG-2 Part 2
H.263
MPEG-4 Part 2
H.264/MPEG-4 AVC
H.265/HEVC
coding tree unit
YCbCr
4:2:0
JPEG
chroma subsampling
motion compensation
transform coding
H.261
intra frame
inter frame
bi-directional inter frame
motion vector
Compression artifact
JPEG
H.261
MPEG-1 Part 2
H.262/MPEG-2 Part 2

Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.

↑