Lines Matching refs:slice_dat
617 SliceArgs *slice_dat = arg; in rate_control() local
618 VC2EncContext *s = slice_dat->ctx; in rate_control()
619 const int top = slice_dat->bits_ceil; in rate_control()
620 const int bottom = slice_dat->bits_floor; in rate_control()
622 int quant = slice_dat->quant_idx, step = 1; in rate_control()
623 int bits_last, bits = count_hq_slice(slice_dat, quant); in rate_control()
627 bits = count_hq_slice(slice_dat, quant); in rate_control()
638 slice_dat->quant_idx = av_clip(quant, 0, s->q_ceil-1); in rate_control()
639 slice_dat->bytes = SSIZE_ROUND(bits >> 3); in rate_control()
723 SliceArgs *slice_dat = arg; in encode_hq_slice() local
724 VC2EncContext *s = slice_dat->ctx; in encode_hq_slice()
725 PutBitContext *pb = &slice_dat->pb; in encode_hq_slice()
726 const int slice_x = slice_dat->x; in encode_hq_slice()
727 const int slice_y = slice_dat->y; in encode_hq_slice()
728 const int quant_idx = slice_dat->quant_idx; in encode_hq_slice()
729 const int slice_bytes_max = slice_dat->bytes; in encode_hq_slice()