Revision dfd2a005 libavcodec/dnxhdenc.c

View differences:

libavcodec/dnxhdenc.c
552 552
            if (bits > ctx->frame_bits)
553 553
                break;
554 554
        }
555
        //dprintf(ctx->m.avctx, "lambda %d, up %u, down %u, bits %d, frame %d\n",
555
        //av_dlog(ctx->m.avctx, "lambda %d, up %u, down %u, bits %d, frame %d\n",
556 556
        //        lambda, last_higher, last_lower, bits, ctx->frame_bits);
557 557
        if (end) {
558 558
            if (bits > ctx->frame_bits)
......
582 582
            down_step = 1<<LAMBDA_FRAC_BITS;
583 583
        }
584 584
    }
585
    //dprintf(ctx->m.avctx, "out lambda %d\n", lambda);
585
    //av_dlog(ctx->m.avctx, "out lambda %d\n", lambda);
586 586
    ctx->lambda = lambda;
587 587
    return 0;
588 588
}
......
610 610
            if (bits > ctx->frame_bits)
611 611
                break;
612 612
        }
613
        //dprintf(ctx->m.avctx, "%d, qscale %d, bits %d, frame %d, higher %d, lower %d\n",
613
        //av_dlog(ctx->m.avctx, "%d, qscale %d, bits %d, frame %d, higher %d, lower %d\n",
614 614
        //        ctx->m.avctx->frame_number, qscale, bits, ctx->frame_bits, last_higher, last_lower);
615 615
        if (bits < ctx->frame_bits) {
616 616
            if (qscale == 1)
......
640 640
                return -1;
641 641
        }
642 642
    }
643
    //dprintf(ctx->m.avctx, "out qscale %d\n", qscale);
643
    //av_dlog(ctx->m.avctx, "out qscale %d\n", qscale);
644 644
    ctx->qscale = qscale;
645 645
    return 0;
646 646
}

Also available in: Unified diff