Lines Matching defs:width
58 return V4L2_TYPE_IS_MULTIPLANAR(fmt->type) ? fmt->fmt.pix_mp.width : fmt->fmt.pix.width;
88 fmt1->fmt.pix_mp.width != fmt2->fmt.pix_mp.width ||
91 fmt1->fmt.pix.width != fmt2->fmt.pix.width ||
111 static inline int v4l2_get_framesize_compressed(V4L2Context* ctx, int width, int height)
118 return ((width * height * 3 / 2) / 2) + 128;
121 size = FFALIGN(height, 32) * FFALIGN(width, 32) * 3 / 2 / 2;
135 ctx->format.fmt.pix_mp.width = ctx->width;
141 v4l2_get_framesize_compressed(ctx, ctx->width, ctx->height);
145 ctx->format.fmt.pix.width = ctx->width;
151 v4l2_get_framesize_compressed(ctx, ctx->width, ctx->height);
205 s->capture.width = v4l2_get_width(&cap_fmt);
215 ret = ff_set_dimensions(s->avctx, s->capture.width, s->capture.height);
217 av_log(logger(ctx), AV_LOG_WARNING, "update avcodec height and width\n");