Lines Matching refs:mp
547 struct v4l2_pix_format_mplane *mp = &mp_fmt->fmt.pix_mp; in fmt_sp2mp() local
548 struct v4l2_plane_pix_format *ppix = &mp->plane_fmt[0]; in fmt_sp2mp()
552 memset(mp->reserved, 0, sizeof(mp->reserved)); in fmt_sp2mp()
555 mp->width = pix->width; in fmt_sp2mp()
556 mp->height = pix->height; in fmt_sp2mp()
557 mp->pixelformat = pix->pixelformat; in fmt_sp2mp()
558 mp->field = pix->field; in fmt_sp2mp()
559 mp->colorspace = pix->colorspace; in fmt_sp2mp()
560 mp->ycbcr_enc = pix->ycbcr_enc; in fmt_sp2mp()
561 mp->quantization = pix->quantization; in fmt_sp2mp()
562 mp->num_planes = 1; in fmt_sp2mp()
563 mp->flags = pix->flags; in fmt_sp2mp()
573 struct v4l2_pix_format_mplane *mp = &fmt.fmt.pix_mp; in fmt_sp2mp_func() local
574 struct v4l2_plane_pix_format *ppix = &mp->plane_fmt[0]; in fmt_sp2mp_func()
583 pix->width = mp->width; in fmt_sp2mp_func()
584 pix->height = mp->height; in fmt_sp2mp_func()
585 pix->pixelformat = mp->pixelformat; in fmt_sp2mp_func()
586 pix->field = mp->field; in fmt_sp2mp_func()
587 pix->colorspace = mp->colorspace; in fmt_sp2mp_func()
588 pix->ycbcr_enc = mp->ycbcr_enc; in fmt_sp2mp_func()
589 pix->quantization = mp->quantization; in fmt_sp2mp_func()
592 pix->flags = mp->flags; in fmt_sp2mp_func()