宏区块
(英语:)是一种影像压缩的术语。
大区块是运动预测的基本单位,一张完整的帧通常会被切割成几个大区块,MPEG-2和较早期的编解码器定义大区块都是8×8像素,现代的一点编解码器像是H.263和H.264的大区块通常都是16×16像素和相应区域内的、色差信号阵列共同组成。
大区块为基准来选择特定的预测类型,而非整个图像都使用同样的类型:
- I图像()只可含有节点大区块。
- P图像()可含有节点大区块或预测大区块 。
- B图像()可含有节点、预测和前后预测大区块。
宏块编码
+------+------+-------+--------+-----+----+----+--------+
| ADDR | TYPE | QUANT | VECTOR | CBP | b0 | b1 | ... b5 |
+------+------+-------+--------+-----+----+----+--------+
- ADDR:在的地址
- TYPE:宏块的类型(intra-frame, inter frame、视频压缩略图像类型)
- QUANT:
- VECTOR:运动矢量
- CBP:编码后区块样式,some blocks in macroblock match well, some match poorly - this is bit mask indicating which one is present.
- bN:(4 Y, 1 Cr, 1 Cb)
注释
- . [2020-10-06]. (原始内容存档于2012-10-07).
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.