Searched refs:vidinf (Results 1 – 2 of 2) sorted by relevance
44 int get_video_info(struct hdpvr_device *dev, struct hdpvr_video_info *vidinf) in get_video_info() argument48 vidinf->valid = false; in get_video_info()68 vidinf->width = dev->usbc_buf[1] << 8 | dev->usbc_buf[0]; in get_video_info()69 vidinf->height = dev->usbc_buf[3] << 8 | dev->usbc_buf[2]; in get_video_info()70 vidinf->fps = dev->usbc_buf[4]; in get_video_info()71 vidinf->valid = vidinf->width && vidinf->height && vidinf->fps; in get_video_info()
274 struct hdpvr_video_info vidinf; in hdpvr_start_streaming() local281 ret = get_video_info(dev, &vidinf); in hdpvr_start_streaming()285 if (!vidinf.valid) { in hdpvr_start_streaming()293 "video signal: %dx%d@%dhz\n", vidinf.width, in hdpvr_start_streaming()294 vidinf.height, vidinf.fps); in hdpvr_start_streaming()