Lines Matching defs:width
90 int ff_set_dimensions(AVCodecContext *s, int width, int height)
92 int ret = av_image_check_size2(width, height, s->max_pixels, AV_PIX_FMT_NONE, 0, s);
95 width = height = 0;
97 s->coded_width = width;
99 s->width = AV_CEIL_RSHIFT(width, s->lowres);
107 int ret = av_image_check_sar(avctx->width, avctx->height, sar);
140 void avcodec_align_dimensions2(AVCodecContext *s, int *width, int *height,
325 *width = FFALIGN(*width, w_align);
339 // the next rounded up width is 32
340 *width = FFMAX(*width, 32);
343 *width = FFMAX(*width, 32);
350 void avcodec_align_dimensions(AVCodecContext *s, int *width, int *height)
357 avcodec_align_dimensions2(s, width, height, linesize_align);
362 *width = FFALIGN(*width, align);
433 int bytes = is_chroma ? AV_CEIL_RSHIFT(frame->width, desc->log2_chroma_w) : frame->width;
1161 bitrate = (int64_t)bits_per_coded_sample * avctx->width * avctx->height *