Changes between Version 6 and Version 7 of Debug/MacroblocksAndMotionVectors


Ignore:
Timestamp:
Jun 15, 2018, 5:39:47 PM (3 months ago)
Author:
micha137
Comment:

Add table column for the output of -debug mb_type

Legend:

Unmodified
Added
Removed
Modified
  • Debug/MacroblocksAndMotionVectors

    v6 v7  
    4545In 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. 
    4646 
    47 ||= Color               =||= Macroblock Type Condition                        ||=  Explanation =|| 
    48 || [[Image(patch1.png)]] || `IS_PCM` (`MB_TYPE_INTRA_PCM`)                    ||  Lossless (raw samples without prediction)              || 
    49 || [[Image(patch2.png)]] || `(IS_INTRA && IS_ACPRED) || IS_INTRA16x16`        ||  16x16 Intra prediction                                 || 
    50 || [[Image(patch3.png)]] || `IS_INTRA4x4`                                     ||  4x4 Intra prediction                                   || 
    51 || [[Image(patch4.png)]] || `IS_DIRECT`                                       ||  No motion vectors are sent (B slices)                  || 
    52 || [[Image(patch5.png)]] || `IS_GMC && IS_SKIP`                               ||  16x16 Skip macroblock (P or B slices)                  || 
    53 || [[Image(patch6.png)]] || `IS_GMC`                                          ||  Global motion compensation (not relevant for H.264)    || 
    54 || [[Image(patch7.png)]] || `!USES_LIST(1)`                                   ||  Reference to past (List 0, P or B slices)              || 
    55 || [[Image(patch8.png)]] || `!USES_LIST(0)`                                   ||  Reference to future (List 1, B slices)                 || 
    56 || [[Image(patch9.png)]] || `USES_LIST(0) && USES_LIST(1)`                    ||  Reference to past and future (List 1 & 2, B slices)    || 
     47||= Color               =||= Macroblock Type Condition                       =||= Explanation                                           =||= Output of -debug mb_type =|| 
     48|| [[Image(patch1.png)]] || `IS_PCM` (`MB_TYPE_INTRA_PCM`)                    ||  Lossless (raw samples without prediction)              || P || 
     49|| [[Image(patch2.png)]] || `(IS_INTRA && IS_ACPRED) || IS_INTRA16x16`        ||  16x16 Intra prediction                                 || A || 
     50|| [[Image(patch3.png)]] || `IS_INTRA4x4`                                     ||  4x4 Intra prediction                                   || i || 
     51|| [[Image(patch4.png)]] || `IS_DIRECT`                                       ||  No motion vectors are sent (B slices)                  || D || 
     52|| [[Image(patch5.png)]] || `IS_GMC && IS_SKIP`                               ||  16x16 Skip macroblock (P or B slices)                  || g || 
     53|| [[Image(patch6.png)]] || `IS_GMC`                                          ||  Global motion compensation (not relevant for H.264)    || G || 
     54|| [[Image(patch7.png)]] || `!USES_LIST(1)`                                   ||  Reference to past (List 0, P or B slices)              || > || 
     55|| [[Image(patch8.png)]] || `!USES_LIST(0)`                                   ||  Reference to future (List 1, B slices)                 || < || 
     56|| [[Image(patch9.png)]] || `USES_LIST(0) && USES_LIST(1)`                    ||  Reference to past and future (List 1 & 2, B slices)    || X || 
    5757 
    5858If none matches, the macroblock will be rendered as grey. Note that the decoding of macroblock types is MPEG-specific, so this option will not work for VP8 video, for example.