Lines Matching refs:gst_video_info
624 gst_video_info_init (&xcamsrc->gst_video_info); in gst_xcam_src_init()
626 …gst_video_info_set_format (&xcamsrc->gst_video_info, GST_VIDEO_FORMAT_YUY2, DEFAULT_VIDEO_WIDTH, D… in gst_xcam_src_init()
629 …gst_video_info_set_format (&xcamsrc->gst_video_info, GST_VIDEO_FORMAT_NV12, DEFAULT_VIDEO_WIDTH, D… in gst_xcam_src_init()
1276 xcamsrc->gst_video_info = info; in gst_xcam_src_set_caps()
1278 for (uint32_t n = 0; n < GST_VIDEO_INFO_N_PLANES (&xcamsrc->gst_video_info); n++) { in gst_xcam_src_set_caps()
1279 GST_VIDEO_INFO_PLANE_OFFSET (&xcamsrc->gst_video_info, n) = offset; in gst_xcam_src_set_caps()
1281 … GST_VIDEO_INFO_PLANE_STRIDE (&xcamsrc->gst_video_info, n) = format.fmt.pix.bytesperline * 2 / 3; in gst_xcam_src_set_caps()
1285 GST_VIDEO_INFO_PLANE_STRIDE (&xcamsrc->gst_video_info, n) = format.fmt.pix.bytesperline; in gst_xcam_src_set_caps()
1288 … GST_VIDEO_INFO_PLANE_STRIDE (&xcamsrc->gst_video_info, n) = format.fmt.pix.bytesperline / 2; in gst_xcam_src_set_caps()
1290 offset += GST_VIDEO_INFO_PLANE_STRIDE (&xcamsrc->gst_video_info, n) * format.fmt.pix.height; in gst_xcam_src_set_caps()
1299 GST_VIDEO_INFO_FPS_D(&xcamsrc->gst_video_info), in gst_xcam_src_set_caps()
1300 GST_VIDEO_INFO_FPS_N(&xcamsrc->gst_video_info)); in gst_xcam_src_set_caps()
1330 GST_VIDEO_INFO_WIDTH (&xcamsrc->gst_video_info), in gst_xcam_src_decide_allocation()