Home
last modified time | relevance | path

Searched refs:vidinf (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/media/usb/hdpvr/
H A Dhdpvr-control.c44 int get_video_info(struct hdpvr_device *dev, struct hdpvr_video_info *vidinf) in get_video_info() argument
48 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()
H A Dhdpvr-video.c274 struct hdpvr_video_info vidinf; in hdpvr_start_streaming() local
281 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()