Lines Matching refs:num_x
156 int num_x; /* #slices horizontally */
421 put_vc2_ue_uint(&s->pb, s->num_x);
534 const int left = b->width * (sx+0) / s->num_x;
535 const int right = b->width * (sx+1) / s->num_x;
585 const int left = b->width * slice->x / s->num_x;
586 const int right = b->width *(slice->x+1) / s->num_x;
650 int slice_redist_range = FFMIN(SLICE_REDIST_TOTAL, s->num_x*s->num_y);
657 for (slice_x = 0; slice_x < s->num_x; slice_x++) {
658 SliceArgs *args = &enc_args[s->num_x*slice_y + slice_x];
669 s->avctx->execute(s->avctx, rate_control, enc_args, NULL, s->num_x*s->num_y,
672 for (i = 0; i < s->num_x*s->num_y; i++) {
713 for (i = 0; i < s->num_x*s->num_y; i++) {
789 for (slice_x = 0; slice_x < s->num_x; slice_x++) {
790 SliceArgs *args = &enc_args[s->num_x*slice_y + slice_x];
796 s->avctx->execute(s->avctx, encode_hq_slice, enc_args, NULL, s->num_x*s->num_y,
972 s->slice_max_bytes = slice_ceil = av_rescale(s->frame_max_bytes, 1, s->num_x*s->num_y);
1162 s->num_x = s->plane[0].dwt_width/s->slice_width;
1165 s->slice_args = av_calloc(s->num_x*s->num_y, sizeof(SliceArgs));