Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/staging/media/meson/vdec/
Desparser.c86 int num_frames, cur_frame; in vp9_update_header() local
110 for (cur_frame = 0; cur_frame < num_frames; cur_frame++) { in vp9_update_header()
111 frame_size[cur_frame] = 0; in vp9_update_header()
113 frame_size[cur_frame] |= in vp9_update_header()
117 if (cur_frame == 0) in vp9_update_header()
118 tot_frame_size[cur_frame] = in vp9_update_header()
119 frame_size[cur_frame]; in vp9_update_header()
121 tot_frame_size[cur_frame] = in vp9_update_header()
122 tot_frame_size[cur_frame - 1] + in vp9_update_header()
123 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.6.21/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.6.21/drivers/media/usb/uvc/
Duvc_v4l2.c376 frame = stream->cur_frame; in uvc_v4l2_get_format()
422 stream->cur_frame = frame; in uvc_v4l2_set_format()
496 frame = stream->cur_frame; in uvc_v4l2_set_streamparm()
505 if (&format->frames[i] == stream->cur_frame) in uvc_v4l2_set_streamparm()
508 if (format->frames[i].wWidth != stream->cur_frame->wWidth || in uvc_v4l2_set_streamparm()
509 format->frames[i].wHeight != stream->cur_frame->wHeight) in uvc_v4l2_set_streamparm()
531 stream->cur_frame = frame; in uvc_v4l2_set_streamparm()
1218 sel->r.width = stream->cur_frame->wWidth; in uvc_ioctl_g_selection()
1219 sel->r.height = stream->cur_frame->wHeight; in uvc_ioctl_g_selection()
Duvcvideo.h446 const struct uvc_frame *cur_frame; member
Duvc_video.c2192 stream->cur_frame = frame; in uvc_video_init()
/linux-6.6.21/include/uapi/linux/
Domap3isp.h183 __u16 cur_frame;
198 __u16 cur_frame;
/linux-6.6.21/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.6.21/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.6.21/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_hw_sequencer.c3333 unsigned int cur_frame = tg->funcs->get_frame_count(tg); in dcn10_update_pending_status() local
3335 …if (cur_frame != hwseq->wa_state.disallow_self_refresh_during_multi_plane_transition_applied_on_fr… in dcn10_update_pending_status()
/linux-6.6.21/kernel/bpf/
Dverifier.c16639 struct bpf_func_state *cur_frame; in is_state_visited() local
16643 cur_frame = cur->frame[cur->curframe]; in is_state_visited()
16647 iter_reg = &cur_frame->regs[BPF_REG_1]; in is_state_visited()