Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/media/pci/tw5864/
Dtw5864-core.c137 struct tw5864_h264_frame *cur_frame, *next_frame; in tw5864_h264_isr() local
144 cur_frame = &dev->h264_buf[cur_frame_index]; in tw5864_h264_isr()
148 cur_frame->vlc_len = tw_readl(TW5864_VLC_LENGTH) << 2; in tw5864_h264_isr()
149 cur_frame->checksum = tw_readl(TW5864_VLC_CRC_REG); in tw5864_h264_isr()
150 cur_frame->input = input; in tw5864_h264_isr()
151 cur_frame->timestamp = ktime_get_ns(); in tw5864_h264_isr()
152 cur_frame->seqno = input->frame_seqno; in tw5864_h264_isr()
153 cur_frame->gop_seqno = input->frame_gop_seqno; in tw5864_h264_isr()
158 cur_frame = next_frame; in tw5864_h264_isr()
176 tw_writel(TW5864_VLC_STREAM_BASE_ADDR, cur_frame->vlc.dma_addr); in tw5864_h264_isr()
[all …]
/Linux-v4.19/drivers/media/usb/zr364xx/
Dzr364xx.c186 int cur_frame; member
579 idx = cam->cur_frame; in zr364xx_read_video_callback()
650 cam->last_frame = cam->cur_frame; in zr364xx_read_video_callback()
651 cam->cur_frame++; in zr364xx_read_video_callback()
653 if (cam->cur_frame == cam->buffer.dwFrames) in zr364xx_read_video_callback()
654 cam->cur_frame = 0; in zr364xx_read_video_callback()
1099 cam->cur_frame = 0; in zr364xx_start_acquire()
1132 cam->cur_frame = 0; in zr364xx_prepare()
1395 cam->cur_frame = 0; in zr364xx_board_init()
/Linux-v4.19/drivers/media/usb/uvc/
Duvc_v4l2.c284 frame = stream->cur_frame; in uvc_v4l2_get_format()
329 stream->cur_frame = frame; in uvc_v4l2_set_format()
403 frame = stream->cur_frame; in uvc_v4l2_set_streamparm()
412 if (&format->frame[i] == stream->cur_frame) in uvc_v4l2_set_streamparm()
415 if (format->frame[i].wWidth != stream->cur_frame->wWidth || in uvc_v4l2_set_streamparm()
416 format->frame[i].wHeight != stream->cur_frame->wHeight) in uvc_v4l2_set_streamparm()
438 stream->cur_frame = frame; in uvc_v4l2_set_streamparm()
1140 sel->r.width = stream->cur_frame->wWidth; in uvc_ioctl_g_selection()
1141 sel->r.height = stream->cur_frame->wHeight; in uvc_ioctl_g_selection()
Duvcvideo.h510 struct uvc_frame *cur_frame; member
Duvc_video.c1983 stream->cur_frame = frame; in uvc_video_init()
/Linux-v4.19/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-v4.19/include/uapi/linux/
Domap3isp.h181 __u16 cur_frame; member
194 __u16 cur_frame; member
/Linux-v4.19/sound/xen/
Dxen_snd_front_alsa.c528 snd_pcm_uframes_t delta, new_hw_ptr, cur_frame; in xen_snd_front_alsa_handle_cur_pos() local
530 cur_frame = bytes_to_frames(substream->runtime, pos_bytes); in xen_snd_front_alsa_handle_cur_pos()
532 delta = cur_frame - stream->be_cur_frame; in xen_snd_front_alsa_handle_cur_pos()
533 stream->be_cur_frame = cur_frame; in xen_snd_front_alsa_handle_cur_pos()
/Linux-v4.19/drivers/media/usb/s2255/
Ds2255drv.c227 int cur_frame; member
1092 vc->cur_frame = 0; in start_streaming()
1726 idx = vc->cur_frame; in save_frame()
1812 idx = vc->cur_frame; in save_frame()
1852 vc->last_frame = vc->cur_frame; in save_frame()
1853 vc->cur_frame++; in save_frame()
1855 if ((vc->cur_frame == SYS_FRAMES) || in save_frame()
1856 (vc->cur_frame == vc->buffer.dwFrames)) in save_frame()
1857 vc->cur_frame = 0; in save_frame()
1973 vc->cur_frame = 0; in s2255_create_sys_buffers()
[all …]
/Linux-v4.19/drivers/media/usb/usbvision/
Dusbvision-core.c421 frame = usbvision->cur_frame; in usbvision_find_header()
492 frame = usbvision->cur_frame; in usbvision_parse_lines_422()
700 frame = usbvision->cur_frame; in usbvision_parse_compress()
881 frame = usbvision->cur_frame; in usbvision_parse_lines_420()
1136 frame = usbvision->cur_frame; in usbvision_parse_data()
1168 usbvision->cur_frame = NULL; in usbvision_parse_data()
1286 f = &usbvision->cur_frame; in usbvision_isoc_irq()
2273 usbvision->cur_frame = NULL; in usbvision_init_isoc()
Dusbvision.h409 struct usbvision_frame *cur_frame; /* pointer to current frame, set by usbvision_find_header */ member
Dusbvision-video.c675 usbvision->cur_frame = NULL; in vidioc_reqbufs()
886 usbvision->cur_frame = NULL; in vidioc_s_fmt_vid_cap()