Lines Matching refs:acoder
472 ArithCoder acoder;
529 arith2_init(&acoder, &gB);
531 implicit_rect = !arith2_get_bit(&acoder);
533 while (arith2_get_bit(&acoder)) {
538 r->x = arith2_get_number(&acoder, avctx->width);
540 r->x = arith2_get_number(&acoder, avctx->width -
543 r->y = arith2_get_number(&acoder, avctx->height);
544 r->w = arith2_get_number(&acoder, avctx->width - r->x) + 1;
545 r->h = arith2_get_number(&acoder, avctx->height - r->y) + 1;
563 if (!implicit_rect && arith2_get_bit(&acoder)) {
568 wmv9_mask = arith2_get_bit(&acoder) - 1;
570 wmv9_mask = arith2_get_number(&acoder, 256);
572 wmv9rects[i].coded = arith2_get_number(&acoder, 2);
575 buf += arith2_get_consumed_bytes(&acoder);
576 buf_size -= arith2_get_consumed_bytes(&acoder);
664 arith2_init(&acoder, &gB);
666 if (c->corrupted = ff_mss12_decode_rect(&ctx->sc[0], &acoder, 0, 0,
671 buf += arith2_get_consumed_bytes(&acoder);
672 buf_size -= arith2_get_consumed_bytes(&acoder);
677 arith2_init(&acoder, &gB);
678 if (c->corrupted = ff_mss12_decode_rect(&ctx->sc[1], &acoder, 0,
684 buf += arith2_get_consumed_bytes(&acoder);
685 buf_size -= arith2_get_consumed_bytes(&acoder);