Changes between Version 3 and Version 4 of Debug/MacroblocksAndMotionVectors


Ignore:
Timestamp:
Nov 24, 2014, 3:53:57 PM (4 years ago)
Author:
slhck
Comment:

explain MB types briefly

Legend:

Unmodified
Added
Removed
Modified
  • Debug/MacroblocksAndMotionVectors

    v3 v4  
    1717In the output video, each macroblock will be colored according to its type. Additionally, you can see the macroblock partitions as small lines. The following table lists the possible colors and the associated macroblock types. Note that these are parsed in order (from top to bottom), and if one condition matches, the color will be chosen.
    1818
    19 ||= Color               =||= Macroblock Type Condition                       =||
    20 || [[Image(patch1.png)]] || `IS_PCM` (`MB_TYPE_INTRA_PCM`)                    ||
    21 || [[Image(patch2.png)]] || `(IS_INTRA && IS_ACPRED) || IS_INTRA16x16`        ||
    22 || [[Image(patch3.png)]] || `IS_INTRA4x4`                                     ||
    23 || [[Image(patch4.png)]] || `IS_DIRECT`                                       ||
    24 || [[Image(patch5.png)]] || `IS_GMC && IS_SKIP`                               ||
    25 || [[Image(patch6.png)]] || `IS_GMC`                                          ||
    26 || [[Image(patch7.png)]] || `!USES_LIST(1)`                         ||
    27 || [[Image(patch8.png)]] || `!USES_LIST(0)`                         ||
    28 || [[Image(patch9.png)]] || `USES_LIST(0) && USES_LIST(1)` ||
     19||= Color               =||= Macroblock Type Condition                        ||=  Explanation =||
     20|| [[Image(patch1.png)]] || `IS_PCM` (`MB_TYPE_INTRA_PCM`)                    ||  Lossless (raw samples without prediction)              ||
     21|| [[Image(patch2.png)]] || `(IS_INTRA && IS_ACPRED) || IS_INTRA16x16`        ||  16x16 Intra prediction                                 ||
     22|| [[Image(patch3.png)]] || `IS_INTRA4x4`                                     ||  4x4 Intra prediction                                   ||
     23|| [[Image(patch4.png)]] || `IS_DIRECT`                                       ||  No motion vectors are sent (B slices)                  ||
     24|| [[Image(patch5.png)]] || `IS_GMC && IS_SKIP`                               ||  16x16 Skip macroblock (P or B slices)                  ||
     25|| [[Image(patch6.png)]] || `IS_GMC`                                          ||  Global motion compensation (not relevant for H.264)    ||
     26|| [[Image(patch7.png)]] || `!USES_LIST(1)`                                   ||  Reference to past (List 0, P or B slices)              ||
     27|| [[Image(patch8.png)]] || `!USES_LIST(0)`                                   ||  Reference to future (List 1, B slices)                 ||
     28|| [[Image(patch9.png)]] || `USES_LIST(0) && USES_LIST(1)`                    ||  Reference to past and future (List 1 & 2, B slices)    ||
    2929
    3030Note that the decoding of macroblock types is MPEG-specific, so this option will not work for VP8 video, for example.