Lines Matching refs:nb_slices
190 for (i = 0; i < pic->nb_slices; i++)
193 rounding = ctx->slice_block_rows - ctx->nb_slices * ctx->slice_size;
196 av_assert0(rounding < pic->nb_slices);
205 ++pic->slices[pic->nb_slices - i - 1].row_size;
212 pic->slices[pic->nb_slices - 1].row_size += rounding;
215 for (i = 0; i < pic->nb_slices; i++) {
456 if (pic->nb_slices == 0)
457 pic->nb_slices = ctx->nb_slices;
458 if (pic->nb_slices > 0) {
459 pic->slices = av_calloc(pic->nb_slices, sizeof(*pic->slices));
471 for (i = 0; i < pic->nb_slices; i++) {
639 for (i = 0; i < pic->nb_slices; i++)
772 for (i = 0; i < pic->nb_slices; i++)
2082 ctx->nb_slices = req_slices;
2083 ctx->slice_size = ctx->slice_block_rows / ctx->nb_slices;
2090 ctx->nb_slices = (ctx->slice_block_rows + k - 1) / k;
2094 ctx->nb_slices = ctx->slice_block_rows;
2145 ctx->nb_slices = req_tiles;
2196 ctx->nb_slices = 1;
2241 if (ctx->nb_slices > avctx->slices) {
2244 "structure.\n", ctx->nb_slices, avctx->slices);
2246 if (ctx->nb_slices > max_slices) {
2249 ctx->nb_slices, max_slices);
2254 ctx->nb_slices);