Lines Matching defs:height

96         if (avctx->width & 1 || avctx->height & 1) {
98 "4:2:0 video requires even width and height.\n");
154 /* Check that the slice count is not larger than the subsampled height */
155 subsampled_height = avctx->height >> av_pix_fmt_desc_get(avctx->pix_fmt)->log2_chroma_h;
158 "Slice count %d is larger than the subsampling-applied height %d.\n",
175 c->slice_buffer[i] = av_malloc(c->slice_stride * (avctx->height + 2) +
202 * By default uses multiple slices depending on the subsampled height.
237 int width, int height)
247 for (j = 0; j < height; j++) {
281 ptrdiff_t stride, int width, int height)
294 if (height == 1)
306 for (j = 1; j < height; j++) {
315 int height, uint64_t *counts)
319 for (j = 0; j < height; j++) {
350 int width, int height, HuffEntry *he)
359 for (j = 0; j < height; j++) {
381 int width, int height, PutByteContext *pb)
400 send = height * (i + 1) / c->slices & cmask;
409 send = height * (i + 1) / c->slices & cmask;
416 send = height * (i + 1) / c->slices & cmask;
428 count_usage(dst, width, height, counts);
432 /* If non-zero count is found, see if it matches width * height */
435 if (counts[symbol] == width * (int64_t)height) {
480 send = height * (i + 1) / c->slices & cmask;
487 width * height + 4, width,
530 int width = avctx->width, height = avctx->height;
534 ret = ff_alloc_packet(avctx, pkt, (256 + 4 * c->slices + width * height)
544 av_fast_padded_malloc(&c->slice_bits, &c->slice_bits_size, width * height + 4);
554 c->planes, pic->linesize, width, height);
563 width, height, &pb);
574 pic->linesize[i], i, width, height, &pb);
585 pic->linesize[i], i, width >> !!i, height, &pb);
596 pic->linesize[i], i, width >> !!i, height >> !!i,