Lines Matching defs:height
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;
98 s->coded_height = height;
100 s->height = AV_CEIL_RSHIFT(height, 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,
244 h_align = 16 * 2; // interlaced needs 2 macroblocks height
326 *height = FFALIGN(*height, h_align);
334 *height += 2;
350 void avcodec_align_dimensions(AVCodecContext *s, int *width, int *height)
357 avcodec_align_dimensions2(s, width, height, linesize_align);
434 int height = is_chroma ? AV_CEIL_RSHIFT(frame->height, desc->log2_chroma_h) : frame->height;
439 for (y = 1; y < height; y++) {
444 for (y = 0; y < height; y++) {
1161 bitrate = (int64_t)bits_per_coded_sample * avctx->width * avctx->height *