Home
last modified time | relevance | path

Searched refs:cur_frame (Results 1 – 12 of 12) sorted by relevance

/Linux-v5.4/drivers/media/pci/tw5864/
Dtw5864-core.c128 struct tw5864_h264_frame *cur_frame, *next_frame; in tw5864_h264_isr() local
135 cur_frame = &dev->h264_buf[cur_frame_index]; in tw5864_h264_isr()
139 cur_frame->vlc_len = tw_readl(TW5864_VLC_LENGTH) << 2; in tw5864_h264_isr()
140 cur_frame->checksum = tw_readl(TW5864_VLC_CRC_REG); in tw5864_h264_isr()
141 cur_frame->input = input; in tw5864_h264_isr()
142 cur_frame->timestamp = ktime_get_ns(); in tw5864_h264_isr()
143 cur_frame->seqno = input->frame_seqno; in tw5864_h264_isr()
144 cur_frame->gop_seqno = input->frame_gop_seqno; in tw5864_h264_isr()
149 cur_frame = next_frame; in tw5864_h264_isr()
167 tw_writel(TW5864_VLC_STREAM_BASE_ADDR, cur_frame->vlc.dma_addr); in tw5864_h264_isr()
[all …]
/Linux-v5.4/drivers/media/usb/zr364xx/
Dzr364xx.c175 int cur_frame; member
565 idx = cam->cur_frame; in zr364xx_read_video_callback()
636 cam->last_frame = cam->cur_frame; in zr364xx_read_video_callback()
637 cam->cur_frame++; in zr364xx_read_video_callback()
639 if (cam->cur_frame == cam->buffer.dwFrames) in zr364xx_read_video_callback()
640 cam->cur_frame = 0; in zr364xx_read_video_callback()
1079 cam->cur_frame = 0; in zr364xx_start_acquire()
1112 cam->cur_frame = 0; in zr364xx_prepare()
1377 cam->cur_frame = 0; in zr364xx_board_init()
/Linux-v5.4/drivers/media/usb/uvc/
Duvc_v4l2.c278 frame = stream->cur_frame; in uvc_v4l2_get_format()
322 stream->cur_frame = frame; in uvc_v4l2_set_format()
396 frame = stream->cur_frame; in uvc_v4l2_set_streamparm()
405 if (&format->frame[i] == stream->cur_frame) in uvc_v4l2_set_streamparm()
408 if (format->frame[i].wWidth != stream->cur_frame->wWidth || in uvc_v4l2_set_streamparm()
409 format->frame[i].wHeight != stream->cur_frame->wHeight) in uvc_v4l2_set_streamparm()
431 stream->cur_frame = frame; in uvc_v4l2_set_streamparm()
1134 sel->r.width = stream->cur_frame->wWidth; in uvc_ioctl_g_selection()
1135 sel->r.height = stream->cur_frame->wHeight; in uvc_ioctl_g_selection()
Duvcvideo.h554 struct uvc_frame *cur_frame; member
Duvc_video.c2053 stream->cur_frame = frame; in uvc_video_init()
/Linux-v5.4/drivers/usb/host/
Dimx21-hcd.c561 int cur_frame; in schedule_isoc_etds() local
581 cur_frame = imx21_hc_get_frame(hcd); in schedule_isoc_etds()
582 if (frame_after(cur_frame, td->frame)) { in schedule_isoc_etds()
584 cur_frame, td->frame); in schedule_isoc_etds()
602 debug_isoc_submitted(imx21, cur_frame, td); in schedule_isoc_etds()
737 int cur_frame; in imx21_hc_urb_enqueue_isoc() local
802 cur_frame = imx21_hc_get_frame(hcd); in imx21_hc_urb_enqueue_isoc()
805 urb->start_frame = wrap_frame(cur_frame + 5); in imx21_hc_urb_enqueue_isoc()
810 if (frame_after(cur_frame, urb->start_frame)) { in imx21_hc_urb_enqueue_isoc()
813 urb->start_frame, cur_frame, in imx21_hc_urb_enqueue_isoc()
[all …]
/Linux-v5.4/include/uapi/linux/
Domap3isp.h181 __u16 cur_frame; member
194 __u16 cur_frame; member
/Linux-v5.4/sound/xen/
Dxen_snd_front_alsa.c580 snd_pcm_uframes_t delta, new_hw_ptr, cur_frame; in xen_snd_front_alsa_handle_cur_pos() local
582 cur_frame = bytes_to_frames(substream->runtime, pos_bytes); in xen_snd_front_alsa_handle_cur_pos()
584 delta = cur_frame - stream->be_cur_frame; in xen_snd_front_alsa_handle_cur_pos()
585 stream->be_cur_frame = cur_frame; in xen_snd_front_alsa_handle_cur_pos()
/Linux-v5.4/drivers/media/usb/s2255/
Ds2255drv.c218 int cur_frame; member
1070 vc->cur_frame = 0; in start_streaming()
1706 idx = vc->cur_frame; in save_frame()
1792 idx = vc->cur_frame; in save_frame()
1832 vc->last_frame = vc->cur_frame; in save_frame()
1833 vc->cur_frame++; in save_frame()
1835 if ((vc->cur_frame == SYS_FRAMES) || in save_frame()
1836 (vc->cur_frame == vc->buffer.dwFrames)) in save_frame()
1837 vc->cur_frame = 0; in save_frame()
1953 vc->cur_frame = 0; in s2255_create_sys_buffers()
[all …]
/Linux-v5.4/drivers/media/usb/usbvision/
Dusbvision-core.c411 frame = usbvision->cur_frame; in usbvision_find_header()
482 frame = usbvision->cur_frame; in usbvision_parse_lines_422()
690 frame = usbvision->cur_frame; in usbvision_parse_compress()
871 frame = usbvision->cur_frame; in usbvision_parse_lines_420()
1126 frame = usbvision->cur_frame; in usbvision_parse_data()
1158 usbvision->cur_frame = NULL; in usbvision_parse_data()
1275 f = &usbvision->cur_frame; in usbvision_isoc_irq()
2260 usbvision->cur_frame = NULL; in usbvision_init_isoc()
Dusbvision.h398 struct usbvision_frame *cur_frame; /* pointer to current frame, set by usbvision_find_header */ member
Dusbvision-video.c657 usbvision->cur_frame = NULL; in vidioc_reqbufs()
867 usbvision->cur_frame = NULL; in vidioc_s_fmt_vid_cap()