X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fh264data.h;h=a5ed069e94bda944fcc7e3bbbf11f3956c057eee;hb=6c1fb3e7631178c2a45c6c41b9b8d9ee3a5298fc;hp=c459523f71cd9ef551fa022fafed60d49d720593;hpb=e10979ff5624248dc86780443df9ebd8cc48e246;p=ffmpeg diff --git a/libavcodec/h264data.h b/libavcodec/h264data.h index c459523f71c..a5ed069e94b 100644 --- a/libavcodec/h264data.h +++ b/libavcodec/h264data.h @@ -80,7 +80,14 @@ static const uint8_t luma_dc_field_scan[16]={ static const uint8_t chroma_dc_scan[4]={ (0+0*2)*16, (1+0*2)*16, - (0+1*2)*16, (1+1*2)*16, //FIXME + (0+1*2)*16, (1+1*2)*16, +}; + +static const uint8_t chroma422_dc_scan[8]={ + (0+0*2)*16, (0+1*2)*16, + (1+0*2)*16, (0+2*2)*16, + (0+3*2)*16, (1+1*2)*16, + (1+2*2)*16, (1+3*2)*16, }; // zigzag_scan8x8_cavlc[i] = zigzag_scan8x8[(i/4) + 16*(i%4)]