Revision 8ea780d7

View differences:

libavcodec/vc1.c
1275 1275
    v->tfcntrflag = get_bits1(gb);
1276 1276
    v->finterpflag = get_bits1(gb);
1277 1277
    get_bits1(gb); // reserved
1278

  
1279
    av_log(v->s.avctx, AV_LOG_DEBUG,
1280
               "Advanced Profile level %i:\nfrmrtq_postproc=%i, bitrtq_postproc=%i\n"
1281
               "LoopFilter=%i, ChromaFormat=%i, Pulldown=%i, Interlace: %i\n"
1282
               "TFCTRflag=%i, FINTERPflag=%i\n",
1283
               v->level, v->frmrtq_postproc, v->bitrtq_postproc,
1284
               v->s.loop_filter, v->chromaformat, v->broadcast, v->interlace,
1285
               v->tfcntrflag, v->finterpflag
1286
               );
1287

  
1278 1288
    v->psf = get_bits1(gb);
1279 1289
    if(v->psf) { //PsF, 6.1.13
1280 1290
        av_log(v->s.avctx, AV_LOG_ERROR, "Progressive Segmented Frame mode: not supported (yet)\n");
......
1327 1337
static int decode_entry_point(AVCodecContext *avctx, GetBitContext *gb)
1328 1338
{
1329 1339
    VC1Context *v = avctx->priv_data;
1330
    int i;
1340
    int i, blink, refdist;
1331 1341

  
1332 1342
    av_log(avctx, AV_LOG_DEBUG, "Entry point: %08X\n", show_bits_long(gb, 32));
1333
    get_bits1(gb); // broken link
1343
    blink = get_bits1(gb); // broken link
1334 1344
    avctx->max_b_frames = 1 - get_bits1(gb); // 'closed entry' also signalize possible B-frames
1335 1345
    v->panscanflag = get_bits1(gb);
1336
    get_bits1(gb); // refdist flag
1346
    refdist = get_bits1(gb); // refdist flag
1337 1347
    v->s.loop_filter = get_bits1(gb);
1338 1348
    v->fastuvmc = get_bits1(gb);
1339 1349
    v->extended_mv = get_bits1(gb);
......
1363 1373
        skip_bits(gb, 3); // UV range, ignored for now
1364 1374
    }
1365 1375

  
1376
    av_log(avctx, AV_LOG_DEBUG, "Entry point info:\n"
1377
        "BrokenLink=%i, ClosedEntry=%i, PanscanFlag=%i\n"
1378
        "RefDist=%i, Postproc=%i, FastUVMC=%i, ExtMV=%i\n"
1379
        "DQuant=%i, VSTransform=%i, Overlap=%i, Qmode=%i\n",
1380
        blink, 1 - avctx->max_b_frames, v->panscanflag, refdist, v->s.loop_filter,
1381
        v->fastuvmc, v->extended_mv, v->dquant, v->vstransform, v->overlap, v->quantizer_mode);
1382

  
1366 1383
    return 0;
1367 1384
}
1368 1385

  

Also available in: Unified diff