Lines Matching defs:pixmp

174 	struct v4l2_pix_format_mplane *pixmp = &f->fmt.pix_mp;
175 struct v4l2_plane_pix_format *pfmt = pixmp->plane_fmt;
180 memset(pixmp->reserved, 0, sizeof(pixmp->reserved));
182 fmt = find_format(inst, pixmp->pixelformat, f->type);
185 pixmp->pixelformat = V4L2_PIX_FMT_H264;
187 pixmp->pixelformat = V4L2_PIX_FMT_NV12;
190 fmt = find_format(inst, pixmp->pixelformat, f->type);
195 pixmp->width = clamp(pixmp->width, frame_width_min(inst),
197 pixmp->height = clamp(pixmp->height, frame_height_min(inst),
200 pixmp->width = ALIGN(pixmp->width, 128);
201 pixmp->height = ALIGN(pixmp->height, 32);
203 pixmp->width = ALIGN(pixmp->width, 2);
204 pixmp->height = ALIGN(pixmp->height, 2);
206 if (pixmp->field == V4L2_FIELD_ANY)
207 pixmp->field = V4L2_FIELD_NONE;
208 pixmp->num_planes = fmt->num_planes;
209 pixmp->flags = 0;
211 sizeimage = venus_helper_get_framesz(pixmp->pixelformat,
212 pixmp->width,
213 pixmp->height);
217 pfmt[0].bytesperline = ALIGN(pixmp->width, 128);
236 struct v4l2_pix_format_mplane *pixmp = &f->fmt.pix_mp;
250 orig_pixmp = *pixmp;
257 pixfmt_out = pixmp->pixelformat;
260 pixfmt_cap = pixmp->pixelformat;
275 inst->colorspace = pixmp->colorspace;
276 inst->ycbcr_enc = pixmp->ycbcr_enc;
277 inst->quantization = pixmp->quantization;
278 inst->xfer_func = pixmp->xfer_func;
296 inst->output_buf_size = pixmp->plane_fmt[0].sizeimage;
304 struct v4l2_pix_format_mplane *pixmp = &f->fmt.pix_mp;
315 pixmp->pixelformat = fmt->pixfmt;
318 pixmp->width = inst->width;
319 pixmp->height = inst->height;
320 pixmp->colorspace = inst->colorspace;
321 pixmp->ycbcr_enc = inst->ycbcr_enc;
322 pixmp->quantization = inst->quantization;
323 pixmp->xfer_func = inst->xfer_func;
325 pixmp->width = inst->out_width;
326 pixmp->height = inst->out_height;