Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/staging/media/meson/vdec/
Desparser.c87 int num_frames, cur_frame; in vp9_update_header() local
111 for (cur_frame = 0; cur_frame < num_frames; cur_frame++) { in vp9_update_header()
112 frame_size[cur_frame] = 0; in vp9_update_header()
114 frame_size[cur_frame] |= in vp9_update_header()
118 if (cur_frame == 0) in vp9_update_header()
119 tot_frame_size[cur_frame] = in vp9_update_header()
120 frame_size[cur_frame]; in vp9_update_header()
122 tot_frame_size[cur_frame] = in vp9_update_header()
123 tot_frame_size[cur_frame - 1] + in vp9_update_header()
124 frame_size[cur_frame]; in vp9_update_header()
[all …]
Dcodec_vp9.c479 struct vp9_frame *cur_frame; member
870 if (vp9->cur_frame->type == KEY_FRAME || vp9->cur_frame->intra_only) { in codec_vp9_set_mcrcc()
987 vp9->cur_frame->width && in codec_vp9_set_mpred_mv()
989 vp9->cur_frame->height && in codec_vp9_set_mpred_mv()
1003 codec_vp9_get_frame_mv_paddr(vp9, vp9->cur_frame)); in codec_vp9_set_mpred_mv()
1005 codec_vp9_get_frame_mv_paddr(vp9, vp9->cur_frame)); in codec_vp9_set_mpred_mv()
1021 u32 buf_idx = vp9->cur_frame->index; in codec_vp9_update_next_ref()
1026 refresh_frame_flags = vp9->cur_frame->type == KEY_FRAME ? in codec_vp9_update_next_ref()
1069 if (!vp9->cur_frame) in codec_vp9_update_ref()
1072 refresh_frame_flags = vp9->cur_frame->type == KEY_FRAME ? in codec_vp9_update_ref()
[all …]
/linux-6.1.9/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-6.1.9/drivers/staging/media/deprecated/zr364xx/
Dzr364xx.c174 int cur_frame; member
556 s32 idx = cam->cur_frame; in zr364xx_read_video_callback()
631 cam->last_frame = cam->cur_frame; in zr364xx_read_video_callback()
632 cam->cur_frame++; in zr364xx_read_video_callback()
634 if (cam->cur_frame == cam->buffer.dwFrames) in zr364xx_read_video_callback()
635 cam->cur_frame = 0; in zr364xx_read_video_callback()
1075 cam->cur_frame = 0; in zr364xx_start_acquire()
1108 cam->cur_frame = 0; in zr364xx_prepare()
1379 cam->cur_frame = 0; in zr364xx_board_init()
/linux-6.1.9/drivers/media/usb/uvc/
Duvc_v4l2.c323 frame = stream->cur_frame; in uvc_v4l2_get_format()
369 stream->cur_frame = frame; in uvc_v4l2_set_format()
443 frame = stream->cur_frame; in uvc_v4l2_set_streamparm()
452 if (&format->frame[i] == stream->cur_frame) in uvc_v4l2_set_streamparm()
455 if (format->frame[i].wWidth != stream->cur_frame->wWidth || in uvc_v4l2_set_streamparm()
456 format->frame[i].wHeight != stream->cur_frame->wHeight) in uvc_v4l2_set_streamparm()
478 stream->cur_frame = frame; in uvc_v4l2_set_streamparm()
1168 sel->r.width = stream->cur_frame->wWidth; in uvc_ioctl_g_selection()
1169 sel->r.height = stream->cur_frame->wHeight; in uvc_ioctl_g_selection()
Duvcvideo.h448 struct uvc_frame *cur_frame; member
Duvc_video.c2160 stream->cur_frame = frame; in uvc_video_init()
/linux-6.1.9/include/uapi/linux/
Domap3isp.h183 __u16 cur_frame;
198 __u16 cur_frame;
/linux-6.1.9/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-6.1.9/drivers/media/usb/s2255/
Ds2255drv.c218 int cur_frame; member
1068 vc->cur_frame = 0; in start_streaming()
1704 idx = vc->cur_frame; in save_frame()
1790 idx = vc->cur_frame; in save_frame()
1830 vc->last_frame = vc->cur_frame; in save_frame()
1831 vc->cur_frame++; in save_frame()
1833 if ((vc->cur_frame == SYS_FRAMES) || in save_frame()
1834 (vc->cur_frame == vc->buffer.dwFrames)) in save_frame()
1835 vc->cur_frame = 0; in save_frame()
1951 vc->cur_frame = 0; in s2255_create_sys_buffers()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_hw_sequencer.c3337 unsigned int cur_frame = tg->funcs->get_frame_count(tg); in dcn10_update_pending_status() local
3339 …if (cur_frame != hwseq->wa_state.disallow_self_refresh_during_multi_plane_transition_applied_on_fr… in dcn10_update_pending_status()