Lines Matching defs:slice

187     VAAPIEncodeSlice *slice;
198 // if the last slice is smaller than the one before it. Since
210 // Remove rounding error from last slice only.
216 slice = &pic->slices[i];
217 slice->index = i;
219 slice->row_start = 0;
220 slice->block_start = 0;
223 slice->row_start = prev->row_start + prev->row_size;
224 slice->block_start = prev->block_start + prev->block_size;
226 slice->block_size = slice->row_size * ctx->slice_block_cols;
229 "%d-%d (%d blocks).\n", i, slice->row_start,
230 slice->row_start + slice->row_size - 1, slice->row_size,
231 slice->block_start, slice->block_start + slice->block_size - 1,
232 slice->block_size);
242 VAAPIEncodeSlice *slice;
248 slice = &pic->slices[index];
249 slice->index = index;
257 ctx->row_bd[j], slice->block_start, ctx->col_width[i],
258 ctx->row_height[j], slice->block_size);
269 VAAPIEncodeSlice *slice;
472 slice = &pic->slices[i];
475 slice->codec_slice_params = av_mallocz(ctx->codec->slice_params_size);
476 if (!slice->codec_slice_params) {
483 err = ctx->codec->init_slice_params(avctx, pic, slice);
485 av_log(avctx, AV_LOG_ERROR, "Failed to initialise slice "
494 err = ctx->codec->write_slice_header(avctx, pic, slice,
497 av_log(avctx, AV_LOG_ERROR, "Failed to write per-slice "
511 slice->codec_slice_params,
2099 "slice structure modes (%#x).\n", slice_structure);
2115 av_log(avctx, AV_LOG_ERROR, "Supported slice structure (%#x) doesn't work for "
2136 // Tile slice is not allowed to cross the boundary of a tile due to
2137 // the constraints of media-driver. Currently we support one slice
2142 "using requested tile number for slice.\n",
2206 av_log(avctx, AV_LOG_ERROR, "Failed to query slice "
2243 "%d (from %d) due to driver constraints on slice "