Lines Matching defs:width
81 c->slice_stride = FFALIGN(avctx->width, 32);
96 if (avctx->width & 1 || avctx->height & 1) {
98 "4:2:0 video requires even width and height.\n");
109 if (avctx->width & 1) {
111 "4:2:2 video requires even width.\n");
237 int width, int height)
249 for (i = 0; i < width; i++) {
258 for (i = 0; i < width; i++) {
269 k += dst_stride - width;
281 ptrdiff_t stride, int width, int height)
289 for (i = 0; i < width; i++) {
307 c->llvidencdsp.sub_median_pred(dst, src - stride, src, width, &A, &B);
308 dst += width;
314 static void count_usage(uint8_t *src, int width,
320 for (i = 0; i < width; i++) {
323 src += width;
350 int width, int height, HuffEntry *he)
360 for (i = 0; i < width; i++)
363 src += width;
381 int width, int height, PutByteContext *pb)
401 av_image_copy_plane(dst + sstart * width, width,
403 width, send - sstart);
410 c->llvidencdsp.sub_left_predict(dst + sstart * width, src + sstart * stride, stride, width, send - sstart);
417 median_predict(c, src + sstart * stride, dst + sstart * width,
418 stride, width, send - sstart);
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) {
486 offset += write_huff_codes(dst + sstart * width, c->slice_bits,
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,